Next: Sample Programs Up:Main
Previous:Hyperbolic Equation
Elliptic equations in two dimensions:
Suppose that R is a bounded region in the
plane with boundary
. The equation
|
(30) |
is said to be
elliptic in R if
for all points
in R. Three distinct problems involving equation (30) arise depending on the boundary conditions prescribed on
- The first boundary value problem or Dirichlet problem, requires a solution u of equation (30) which takes on prescribed values
|
(31) |
on the boundary
- The second boundary value problem or Neumann problem, where
|
(32) |
on the boundary
. Here
refers to derivative along the normal to
directed away from the interior of .
- The third boundary value problem or Robbins problem, with
|
(33) |
on
where
for
Before developing finite difference methods of solving elliptic equations, a most useful analytical tool in the study of elliptic partial differential equation will be introduced. This is the Maximum Principle which will be stated for the linear elliptic equation.
where a,b,c,d and e are functions of the independent variables
. It is clear that in this case any constant represents a solution of the equation. The maximum principle states that the constants are the only solutions which can assume a maximum or minimum value in the interior of the bounded region R. Alternatively, it states that every solution of the elliptic equation achieves its maximum and minimum values on the boundary
of R.
Laplace's equation in a square:
We consider Laplace's equation
|
(34) |
subject to
on the boundary of the unit square
. The square region is covered by a grid with sides parallel to the coordinate axes and the grid spacing is . If , the number of internal grid points or nodes is . The coordinates of a typical internal grid point are , ( and m integers ) and the value of at this grid point is denoted by . Using Taylor's Theorem, we obtain
and
and after addition
Similarly.
and so
leading to the five point finite difference scheme
|
(35) |
for the Laplace's equation, with a local truncation error
where denotes the function satisfying the difference equation at the grid point
The totality of equations at the internal grid points of the unit square leads to the matrix equation
|
(36) |
U=
and
respectively, where denotes the transpose. The elements of the vector U constitute the unknowns
and the elements of the vector K depend on the boundary values
at the grid points on the perimeter of the unit square. Because of the large number of zero element in the matrix A, iterative methods are often used to solve the system (36).
Exercises
Next: Sample Programs Up:Main
Previous:Hyperbolic Equation