In
mathematics, the discrete Poisson equation is the
finite difference
A finite difference is a mathematical expression of the form . If a finite difference is divided by , one gets a difference quotient. The approximation of derivatives by finite differences plays a central role in finite difference methods for t ...
analog of the
Poisson equation
Poisson's equation is an elliptic partial differential equation of broad utility in theoretical physics. For example, the solution to Poisson's equation is the potential field caused by a given electric charge or mass density distribution; with t ...
. In it, the
discrete Laplace operator
In mathematics, the discrete Laplace operator is an analog of the continuous Laplace operator, defined so that it has meaning on a graph or a discrete grid. For the case of a finite-dimensional graph (having a finite number of edges and vertices) ...
takes the place of the
Laplace operator
In mathematics, the Laplace operator or Laplacian is a differential operator given by the divergence of the gradient of a scalar function on Euclidean space. It is usually denoted by the symbols \nabla\cdot\nabla, \nabla^2 (where \nabla is t ...
. The discrete Poisson equation is frequently used in
numerical analysis
Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of numerical methods th ...
as a stand-in for the continuous Poisson equation, although it is also studied in its own right as a topic in
discrete mathematics
Discrete mathematics is the study of mathematical structures that can be considered "discrete" (in a way analogous to discrete variables, having a bijection with the set of natural numbers) rather than "continuous" (analogously to continu ...
.
On a two-dimensional rectangular grid
Using the
finite difference
A finite difference is a mathematical expression of the form . If a finite difference is divided by , one gets a difference quotient. The approximation of derivatives by finite differences plays a central role in finite difference methods for t ...
numerical method to discretize
the 2-dimensional Poisson equation (assuming a uniform spatial discretization,
) on an grid gives the following formula:
where
and
. The preferred arrangement of the solution vector is to use
natural ordering which, prior to removing boundary elements, would look like:
This will result in an linear system:
where
is the
identity matrix
In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere.
Terminology and notation
The identity matrix is often denoted by I_n, or simply by I if the size is immaterial ...
, and
, also , is given by:
and
is defined by
For each
equation, the columns of
correspond to a block of
components in
:
while the columns of
to the left and right of
each correspond to other blocks of
components within
:
and
respectively.
From the above, it can be inferred that there are
block columns of
in
. It is important to note that prescribed values of
(usually lying on the boundary) would have their corresponding elements removed from
and
. For the common case that all the nodes on the boundary are set, we have
and
, and the system would have the dimensions , where
and
would have dimensions .
Example
For a 3×3 (
and
) grid with all the boundary nodes prescribed, the system would look like:
with
and
:
As can be seen, the boundary
's are brought to the right-hand-side of the equation. The entire system is while
and
are and given by:
and
Methods of solution
Because
is block tridiagonal and sparse, many methods of solution
have been developed to optimally solve this linear system for
.
Among the methods are a generalized
Thomas algorithm
In numerical linear algebra, the tridiagonal matrix algorithm, also known as the Thomas algorithm (named after Llewellyn Thomas), is a simplified form of Gaussian elimination that can be used to solve tridiagonal systems of equations. A tridiagona ...
with a resulting computational complexity of
,
cyclic reduction Cyclic reduction is a numerical method for solving large linear systems by repeatedly splitting the problem. Each step eliminates even or odd rows and columns of a matrix and remains in a similar form. The elimination step is relatively expensive ...
,
successive overrelaxation that has a complexity of
, and
Fast Fourier transform
A fast Fourier transform (FFT) is an algorithm that computes the discrete Fourier transform (DFT) of a sequence, or its inverse (IDFT). Fourier analysis converts a signal from its original domain (often time or space) to a representation in t ...
s which is
. An optimal
solution can also be computed using
multigrid methods In numerical analysis, a multigrid method (MG method) is an algorithm for solving differential equations using a hierarchy of discretizations. They are an example of a class of techniques called multiresolution methods, very useful in problems exhi ...
.
Applications
In
computational fluid dynamics
Computational fluid dynamics (CFD) is a branch of fluid mechanics that uses numerical analysis and data structures to analyze and solve problems that involve fluid flows. Computers are used to perform the calculations required to simulate t ...
, for the solution of an incompressible flow problem, the incompressibility condition acts as a constraint for the pressure. There is no explicit form available for pressure in this case due to a strong coupling of the velocity and pressure fields. In this condition, by taking the divergence of all terms in the momentum equation, one obtains the pressure poisson equation.
For an incompressible flow this constraint is given by:
where
is the velocity in the
direction,
is velocity in
and
is the velocity in the
direction. Taking divergence of the momentum equation and using the incompressibility constraint, the pressure Poisson equation is formed given by:
where
is the kinematic viscosity of the fluid and
is the velocity vector.
[
Fletcher, Clive A. J., ''Computational Techniques for Fluid Dynamics: Vol I'', 2nd Ed., Springer-Verlag, Berlin, 1991, page 334–339.
]
The discrete Poisson's equation arises in the theory of
Markov chain
A Markov chain or Markov process is a stochastic model describing a sequence of possible events in which the probability of each event depends only on the state attained in the previous event. Informally, this may be thought of as, "What happen ...
s. It appears as the relative value function for the dynamic programming equation in a
Markov decision process, and as the ''
control variate'' for application in simulation variance reduction.
[ S. P. Meyn and R.L. Tweedie, 2005.]
Markov Chains and Stochastic Stability
Second edition to appear, Cambridge University Press, 2009.[ S. P. Meyn, 2007.]
Cambridge University Press, 2007. [ Asmussen, Søren, Glynn, Peter W., 2007. "Stochastic Simulation: Algorithms and Analysis". Springer. Series: Stochastic Modelling and Applied Probability, Vol. 57, 2007.]
Footnotes
References
*Hoffman, Joe D., '' Numerical Methods for Engineers and Scientists, 4th Ed.'', McGraw–Hill Inc., New York, 1992.
*Sweet, Roland A., '' SIAM Journal on Numerical Analysis, Vol. 11, No. 3 '', June 1974, 506–520.
*{{Cite book , last1=Press , first1=WH , last2=Teukolsky , first2=SA , last3=Vetterling , first3=WT , last4=Flannery , first4=BP , year=2007 , title=Numerical Recipes: The Art of Scientific Computing , edition=3rd , publisher=Cambridge University Press , publication-place=New York , isbn=978-0-521-88068-8 , chapter=Section 20.4. Fourier and Cyclic Reduction Methods , chapter-url=http://apps.nrbook.com/empanel/index.html#pg=1053
Finite differences
Numerical differential equations