fd1d_advection_lax_wendroff_test


fd1d_advection_lax_wendroff_test, a Fortran77 code which calls fd1d_advection_lax_wendroff(), which applies the finite difference method (FDM) to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the Lax-Wendroff method for the time derivative.

Licensing:

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

Related Data and Programs:

fd1d_advection_lax_wendroff, a Fortran77 code which applies the finite difference method (FDM) to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the Lax-Wendroff method for the time derivative.

Source Code:

Graphical output for this program was created using GNUPLOT. Data at selected time steps was written to a "data" file, and the appropriate GNUPLOT commands were written to a "command" file. The plot can be created by the command

        gnuplot < advection_commands.txt
      


Last revised on 08 December 2023.