Question: Solve the following PDE: 2 u / x 2 + b u / x = u / t Boundary conditions u (0,
Solve the following PDE:
∂2u/∂x2 + b∂u/∂x = ∂u/∂t
Boundary conditions u(0, l) = 0 u(1, l) = 0
Initial conditions u(x, 0) = 0 0 ≤ x ≤ 1
Use second-order accurate finite-difference analogues for the derivatives with a Crank-Nicolson formulation to integrate in time. Write a computer program for the solution. Increase the value of Δt by 10% for each time step to more quickly obtain the steady-state solution, and select values of Δx and Δt for good accuracy. Plot u versus x for various values of t. Solve for values of b = 4, 2, 0, - 2, - 4.
Step by Step Solution
3.35 Rating (185 Votes )
There are 3 Steps involved in it
Substituting of second order correct CrankNicolson analogues into the governing equation give the fo... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
45-M-N-A-O-A-P (166).docx
120 KBs Word File
