fd2d_convergence_test


fd2d_convergence_test, a Python code which calls fd2d_poisson(), which repeatedly solves a Poisson equation on a sequence of finer meshes, so that the relationship between mesh size H and error norm E can be explored.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

fd2d_convergence_test is available in a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

convergence, a Python code which is given a sequence of approximation errors and estimates the order of convergence, assuming the results correspond to a a sequence of decreasing mesh sizes h, or increasing mesh counts n.

fd2d_heat_steady, a Python code which uses the finite difference method (FDM) to solve the steady (time independent) heat equation in 2D.

Source Code:


Last revised on 11 September 2024.