The convection–diffusion equation is a combination of the diffusion and convection (advection) equations, and describes physical phenomena where particles, energy, or other physical quantities are transferred inside a physical system due to two processes: diffusion and convection.
This class uses the Crank-Nicolson scheme to obtain a numerical solution of a one-dimensional convection-diffusion PDE.
Gets the coefficients of a discretized 1D convection-diffusion equation for each time step.
Copyright © 2010-2017 Numerical Method Incorporation Limited. All Rights Reserved.