Solving the Convection-Diffusion Equation in 1D Using Finite Differences
Solving the Convection-Diffusion Equation in 1D Using Finite Differences
This Demonstration shows the solution of the convection-diffusion partial differential equation (PDE) in one dimension with periodic boundary conditions. You can specify different initial conditions. Selected preconfigured test cases are available from the dropdown menu.
c=d+a
u
xx
u
t
u
x
The system is discretized in space and for each time step the solution is found using =A. The plot shown represents the solution . You can select a 3D or 2D view using the controls at the top of the display.
n+1
u
n
u
u(x,t)