diffusion_pde_test


diffusion_pde_test, a MATLAB code which calls diffusion_pde(), which solves the diffusion PDE dudt - mu * d2udx2 = 0 in one spatial dimension, with a constant diffusion coefficient mu, and periodic boundary conditions, using FTCS, the forward time difference, centered space difference method.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and codes:

diffusion_pde, a MATLAB code which solves the diffusion PDE dudt - mu * d2udx2 = 0 in one spatial dimension, with a constant diffusion coefficient mu, and periodic boundary conditions, using FTCS, the forward time difference, centered space difference method.

Source Code:


Last revised on 04 May 2021.