fd1d_heat_steady_test
fd1d_heat_steady_test,
a Fortran77 code which
calls fd1d_heat_steady(), which
applies the finite difference method (FDM) to estimate the solution of
the steady state heat equation over a one dimensional region, which
can be thought of as a thin metal rod.
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_heat_steady,
a Fortran77 code which
applies the finite difference method (FDM) to estimate the solution of
the steady state heat equation over a one dimensional region, which
can be thought of as a thin metal rod.
Source Code:
-
problem2.f,
uses K(X) which is set to different constants over three subregions,
and F(X) = 0.0, so the solution will be a piecewise linear function
that connects the boundary values.
-
problem2.sh,
commands to compile the problem and run it with the library.
-
problem2_nodes.txt,
the coordinates of the nodes.
-
problem2_values.txt,
the computed temperatures at the nodes.
-
problem2.png,
a PNG image of the solution.
-
problem4.f,
uses K(X) = 1, F(X) defines a heat source and a heat sink, so the
solution can go above and below the boundary values.
-
problem4.sh,
commands to compile the problem and run it with the library.
-
problem4_nodes.txt,
the coordinates of the nodes.
-
problem4_values.txt,
the computed temperatures at the nodes.
-
problem4.png,
a PNG image of the solution.
Last revised on 06 December 2023.