up

source.nb
source.cdf
source code in HTML
source code in PDF

Finite difference solution of the diffusion-convection in 1D

Nasser M. Abbasi

Feb 10, 2012 compiled on — Wednesday July 06, 2016 at 08:23 AM
This Demonstration solves the convection-diffusion partial differential equation (PDE) cuxx = dut + aux  in one dimension with periodic boundary conditions. You can specify different initial conditions. Selected preconfigured test cases are available from the pull down menu.

The system is discretized in space and for each time step the solution is found using un+1 = Aun

The plot shown represents the solution u (x, t)  . You can select to view the solution in 3D or in 2D using the controls at the top of the display.