fd1d_heat_explicit_test


fd1d_heat_explicit_test, a C++ program which calls fd1d_heat_explicit() to solve the time-dependent 1D heat equation, using the finite difference method in space, and an explicit version of the method of lines to handle integration in time.

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 Programs:

fd1d_heat_explicit, a C++ library which uses the finite difference method (FDM) and explicit time stepping to solve the time dependent heat equation in 1D.

Source Code:

TEST01 runs with initial condition 50 everywhere, boundary conditions of 90 on the left and 70 on the right, and no right hand side source term.


Last revised on 01 March 2020.