advection_pde_test


advection_pde_test, a MATLAB code which calls advection_pde(), which solves the advection PDE dudt + c * dudx = 0 in one spatial dimension, with a constant velocity c, and periodic boundary conditions, using the FTCS method, forward time difference, centered space difference.

Licensing:

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

Related Data and codes:

advection_pde, a MATLAB code which solves the advection PDE dudt + c * dudx = 0 in one spatial dimension, with a constant velocity c, and periodic boundary conditions, using the FTCS method, forward time difference, centered space difference.

Source Code:


Last revised on 04 May 2021.