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 information on this web page is distributed under the MIT 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 18 September 2024.