fd1d_advection_diffusion_steady_test, a MATLAB code which calls fd1d_advection_diffusion_steady(), which applies the finite difference method to solve the steady advection diffusion equation v*ux-k*uxx=0 in one spatial dimension, with constant velocity v and diffusivity k.
The information on this web page is distributed under the MIT license.
fd1d_advection_diffusion_steady, a MATLAB code which applies the finite difference method (FDM) to solve the steady advection diffusion equation v*ux-k*uxx=0 in one spatial dimension, with constant velocity v and diffusivity k.