Next: 5.3.1 Relaxation and Multigrid
Up: 5. Partial Differential Equations
Previous: 5.2.5 Resumé: Conservative-parabolic DE
5.3 Boundary Value Problems: Elliptic DE
Standard problem: two-dimensional potential equation,
For general this is Poisson's equation;
if it is called Laplace's equation.
Assuming
we have
or
Construct a vector
of length by linking together the
rows of the matrix :
The potential equation then reads
or
with
and
Treating the boundaries:
Assume
to be given along the sides:
etc.
At the interior points we have
etc., yielding a modified system matrix
and vector
.
More specifically, the matrix
has the form
Figure 5.4:
Treatment of Dirichlet-type boundary conditions
in the case of a lattice
|
The vector
consists of the nine elements
,
and the vector
has components
Figure 5.5:
Potential equation on a lattice:
at the points the values of the potential
are given (Dirichlet boundary conditions)
|
Neumann boundary conditions of the form
may be treated using a linear approximation for at the rim.
Again considering the previous example,
we proceed as follows:
- Add an additional ``skin layer''of lattice points
points with linearly extrapolated vales of :
- At the original boundary points, such as , we have
Expressing the external values by the internal ones we have
Same form of the discretized Poisson equation as in the interior
region but with ``effective''
charge densities.
Putting things together, we find
Treatment of Neumann-type boundary conditions in the case of a
lattice
Subsections
Next: 5.3.1 Relaxation and Multigrid
Up: 5. Partial Differential Equations
Previous: 5.2.5 Resumé: Conservative-parabolic DE
Franz J. Vesely Oct 2005
See also: "Computational Physics - An Introduction," Kluwer-Plenum 2001