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 computer code and data files described and made available on this web page are 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.