HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern 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 (discrete mathematics), graph or a lattice (group), discrete grid. For the case of a finite-dimensional graph ...
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 the ...
. 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 computation, symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of ...
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 continuous f ...
.


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, \Delta x=\Delta y) on an grid gives the following formula: ( ^2 u )_ = \frac (u_ + u_ + u_ + u_ - 4 u_) = g_ where 2 \le i \le m-1 and 2 \le j \le n-1 . The preferred arrangement of the solution vector is to use
natural ordering Natural order could refer to: Science * Natural order (philosophy), concept in philosophy * Natural order hypothesis, hypotheses of second-language acquisition * ''Ordo naturalis'', Latin for "natural order" once used to describe plant families ...
which, prior to removing boundary elements, would look like: \mathbf = \begin u_ , u_ , \ldots , u_ , u_ , u_ , \ldots , u_ , \ldots , u_ \end^\mathsf This will result in an linear system: A\mathbf = \mathbf where A = \begin ~D & -I & ~0 & ~0 & ~0 & \cdots & ~0 \\ -I & ~D & -I & ~0 & ~0 & \cdots & ~0 \\ ~0 & -I & ~D & -I & ~0 & \cdots & ~0 \\ \vdots & \ddots & \ddots & \ddots & \ddots & \ddots & \vdots \\ ~0 & \cdots & ~0 & -I & ~D & -I & ~0 \\ ~0 & \cdots & \cdots & ~0 & -I & ~D & -I \\ ~0 & \cdots & \cdots & \cdots & ~0 & -I & ~D \end, I 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 o ...
, and D , also , is given by: D = \begin ~4 & -1 & ~0 & ~0 & ~0 & \cdots & ~0 \\ -1 & ~4 & -1 & ~0 & ~0 & \cdots & ~0 \\ ~0 & -1 & ~4 & -1 & ~0 & \cdots & ~0 \\ \vdots & \ddots & \ddots & \ddots & \ddots & \ddots & \vdots \\ ~0 & \cdots & ~0 & -1 & ~4 & -1 & ~0 \\ ~0 & \cdots & \cdots & ~0 & -1 & ~4 & -1 \\ ~0 & \cdots & \cdots & \cdots & ~0 & -1 & ~4 \end, and \mathbf is defined by \mathbf = -\Delta x^2 \begin g_ , g_ , \ldots , g_ , g_ , g_ , \ldots , g_ , \ldots , g_ \end^\mathsf. For each u_ equation, the columns of D correspond to a block of m components in u : \begin u_ , & u_ , & \ldots, & u_ , & u_ , & u_ , & \ldots , & u_ \end^\mathsf while the columns of I to the left and right of D each correspond to other blocks of m components within u : \begin u_ , & u_ , & \ldots, & u_ , & u_ , & u_ , & \ldots , & u_ \end^\mathsf and \begin u_ , & u_ , & \ldots, & u_ , & u_ , & u_ , & \ldots , & u_ \end^\mathsf respectively. From the above, it can be inferred that there are n block columns of m in A . It is important to note that prescribed values of u (usually lying on the boundary) would have their corresponding elements removed from I and D . For the common case that all the nodes on the boundary are set, we have 2 \le i \le m - 1 and 2 \le j \le n - 1 , and the system would have the dimensions , where D and I would have dimensions .


Example

For a 3×3 ( m = 3 and n = 3 ) grid with all the boundary nodes prescribed, the system would look like: \begin U \end = \begin u_, u_, u_, u_, u_, u_, u_, u_, u_ \end^\mathsf with A = \left[\begin ~4 & -1 & ~0 & -1 & ~0 & ~0 & ~0 & ~0 & ~0 \\ -1 & ~4 & -1 & ~0 & -1 & ~0 & ~0 & ~0 & ~0 \\ ~0 & -1 & ~4 & ~0 & ~0 & -1 & ~0 & ~0 & ~0 \\ \hline -1 & ~0 & ~0 & ~4 & -1 & ~0 & -1 & ~0 & ~0 \\ ~0 & -1 & ~0 & -1 & ~4 & -1 & ~0 & -1 & ~0 \\ ~0 & ~0 & -1 & ~0 & -1 & ~4 & ~0 & ~0 & -1 \\ \hline ~0 & ~0 & ~0 & -1 & ~0 & ~0 & ~4 & -1 & ~0 \\ ~0 & ~0 & ~0 & ~0 & -1 & ~0 & -1 & ~4 & -1 \\ ~0 & ~0 & ~0 & ~0 & ~0 & -1 & ~0 & -1 & ~4 \end\right] and : \mathbf = \left[\begin -\Delta x^2 g_ + u_ + u_ \\ -\Delta x^2 g_ + u_ ~~~~~~~~ \\ -\Delta x^2 g_ + u_ + u_ \\ -\Delta x^2 g_ + u_ ~~~~~~~~ \\ -\Delta x^2 g_ ~~~~~~~~~~~~~~~~ \\ -\Delta x^2 g_ + u_ ~~~~~~~~ \\ -\Delta x^2 g_ + u_ + u_ \\ -\Delta x^2 g_ + u_ ~~~~~~~~ \\ -\Delta x^2 g_ + u_ + u_ \end\right]. As can be seen, the boundary u 's are brought to the right-hand-side of the equation. The entire system is while D and I are and given by: D = \begin ~4 & -1 & ~0 \\ -1 & ~4 & -1 \\ ~0 & -1 & ~4 \\ \end and -I = \begin -1 & ~0 & ~0 \\ ~0 & -1 & ~0 \\ ~0 & ~0 & -1 \end.


Methods of solution

Because \begin A \end is block tridiagonal and sparse, many methods of solution have been developed to optimally solve this linear system for \begin U \end . 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 O(n^) ,
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 O(n^) , 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 th ...
s which is O(n \log(n)) . An optimal O(n) 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 th ...
, 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: \frac + \frac + \frac = 0 where v_x is the velocity in the x direction, v_y is velocity in y and v_z is the velocity in the z direction. Taking divergence of the momentum equation and using the incompressibility constraint, the pressure Poisson equation is formed given by: \nabla^2 p = f(\nu, V) where \nu is the kinematic viscosity of the fluid and V 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 happe ...
s. It appears as the relative value function for the dynamic programming equation in a Markov decision process, and as the ''
control variate The control variates method is a variance reduction technique used in Monte Carlo methods. It exploits information about the errors in estimates of known quantities to reduce the error of an estimate of an unknown quantity. Glasserman, P. (2004). ...
'' 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