![]() |
GROUP PROJECT IV |
Objective: Check code by reproducing the results of Example 8.12. First, reproduce the results of Examples 8.13 and carry out Exercise 8.4.4 and Computer Problems 8.4.3. Second, reproduce the results of Example 8.14 and carry out Computer Problem 8.4.4.
Before we go forward it is important to remember that the Dirichlet Boundary Condition (U) specifies the values of the solution itself, while the Neumann Boundary Conditions (Ux) specifies the values that the derivative of a solution is to take on the boundary of the domain.
Burger's Equation General Form:
This equation is a nonlinear equation because of uux
It's a simplified model of fluid flow
We'll approximate t(xi,tj) by wij
We use Dirichlet Boundary Condition
\[f(x,t)=
\begin{cases}
u_t +uu_x=Du_{xx} & \\
u(x,0)= f(x) & \text{for } 0 \leq x \leq 1\\
u(x_{l},t)=l(t) & \text{for all } t \geq 0\\
u(x_{r},t)=r(t) & \text{for all } t \geq 0
\end{cases}
\]
Fisher's Equation General Form:
\[f(x,t)=
\begin{cases}
u_t = Du_{xx} + u(1-u) & \\
u(x,0)= f(x) & \\
u_t(x_{l},t)=l(t) & \\
u_x(x_{r},t)=r(t) &
\end{cases}
\]
* To understand these formulas a little better, click here.
Check code by reproducing the results of Example 8.12.
Object: To use the Backward Difference Equation with Newton iteration to solve Burgers’ equation
\[f(x,t)=
\begin{cases}
u_t +uu_x=Du_{xx} & \\
u(x,0)=\frac{2D\beta\pi\sin(\pi x)}{\alpha + \beta\cos(\pi x)} & \text{for } 0 \leq x \leq 1\\
u(0,t)=0 & \text{for all } t \geq 0\\
u(1,t)=0 & \text{for all } t \geq 0
\end{cases}
\]
\(f(x) = 0.5 + 0.5*cos(\pi x)\)
![]() |
\(f(x) = 1.5 + 0.5*cos(\pi x)\)
![]() |
\(f(x) = 1/2 + cos(\pi x)\)
![]() Equilibrium solution approaches 0 |
\(f(x) = 3/2 - cos(2 \pi x)\)
![]() Equilibrioum solution approaches 2 |