A common problem in scientific computing is to solve a time-dependent partial differential equation (PDE) in 1, 2 or 3 spatial dimensions.
Scientific computing have learned (often the hard way) that PDEs can be a mine-field of computational difficulty, manifested through persistent instabilities, difficulaties with boundary values, or very slow convergence.
The general form of a PDE in two independent dimensions (x,y) is
If B2 = AC the equation is parabolic (e.g, 1-dimensional heat flow equation), if B2 < AC it is elliptic (e.g. Laplace's equation) and if B2 > AC it is hyperbolic (e.g. 1-dimensional wave equation).
These different classes of PDE exhibit different kinds of instabilities and error propagation, which actually reflects the underlying character of the natural phenomena they represent.
The harmonic, potential or Laplace equation in two rectangular coordinates is
The problem is to find U(x,y) within a boundary, given its values on the boundary.
There is a fairly obvious representation of the PDE in terms of finite differences. The solution of this set of equations will often involve intricate iteration to deal with the specified boundary contitions.
Solve the 2-D Laplace equation in a square region with U = 1 along one edge, and U=0 along the other three edges.