fd2d_poisson


fd2d_poisson, a Python code which solves a Poisson equation over a user-specified discretized rectangle, with given functions f(x,y) (right hand side) and g(x,y) (Dirichlet boundary conditions), using the Finite Difference Method (FDM).

Licensing:

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

Languages:

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

Related Data and Programs:

fd2d_heat_steady, a Python code which solves the steady state (time independent) heat equation in a 2D rectangular region.

heated_plate, a Python code which solves the steady state heat equation in a 2d rectangular region, and is intended as a starting point for a parallel version.

Source Code:


Last revised on 08 May 2026.