Question: Solve the following PDE: 2 u / x 2 + b u / x = u / t Boundary conditions u (0,

Solve the following PDE:

2u/∂x2 + bu/∂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

1 Expert Approved Answer
Step: 1 Unlock

Substituting of second order correct CrankNicolson analogues into the governing equation give the fo... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

45-M-N-A-O-A-P (166).docx

120 KBs Word File

Students Have Also Explored These Related Numerical Analysis Questions!