Elliptic Partial Differential Equations Solution in Cartesian Coordinate System
Elliptic Partial Differential Equations Solution in Cartesian Coordinate System
Elliptic Partial Differential Equations
( Solution in Cartesian coordinate system)
Other category of second order PDE, which are basically used to characterize steady state
systems are called as Elliptic PDE. More prevalent examples are Laplace Equation and Poisson
Equation. Every potential function satisfies Laplace Equation. Another simple example is of heat
transfer in a rectangular plate under certain boundary conditions,where the temperature is to be
determined after a large time under steady state condition.
2u 2u
2 f ( x, y ) or 2u f ( x, y ), a x b, c y d (1.1)
x 2
y
Let the domain be subdivided by drawing horizontal and vertical lines at an equal
distance of y and x respectively. Let i and j be chosen as dummy variables along x and y
axis for i =1,2,...,N and j =1,2,...,M.
Replacing both the second order derivatives in eqn.(1.1) by central difference approximations:
For x y :
Equation (1.3) reduces to Laplace equation if f = 0. This equation can be solved iteratively both
explicitly as well as implicitly. The boundary conditions can be written as:
Explicit scheme:
u i,j+1 (1/4)
(1/4)u i‐1,j u i+1,j (1/4)
u i, j
u i,j‐1 (1/4)
We start with here, j 1, i 1,2,....., N . However it involves u i 1, j as well as u i , j 1 which are
unknowns. Hence one has to start with guessed values. Thus an iterative procedure has to be
implemented. The guessed value has to be to chosen carefully in accordance with the boundary
conditions. Now R.H.S. can be handled accordingly with Jacobi’s or Gauss-Seidel approach.
The two possible iterative formulae, thus can be written as:
The superscript ‘n’ denotes the number of iterations. Both the formulae have the truncation error
o( x ) 2 o( y ) 2 . The iteration may be carried row-wise or column-wise.
It may be noted that x and y are taken to be small so usually number of nodes are
quite large. But sometimes geometrical symmetry may occur depending on the boundary
conditions. In that case the computational efforts can be reduced. For example if the boundary
conditions are u (0, y ) u 0 , u ( a, y ) u0 , u ( x,0) u1 , u ( x, b) u1 then there is symmetry along
both x & y axis. This symmetry may be helpful in reducing the computations and one has to find
solution only in ¼ of the domain.
2u 2 u
Example: 0.5 x, defined over 0 x 0.8, 0 y 0.6, with subjected to u 1 at
x 2 y 2
u
x 0, y 0, y 0.6 and u at x 0.8, Obtain the solution correct to 2d using both
x
equations (1.5) and (1.6) and compare the result.
Solution:
2u 2u
0.5 x
x 2 y 2
U sin g equation (1.5) we have
(uin1, j uin1, j uin, j 1 uin, j 1 ) 0.50.2 i
3
n 1
u i, j (1.7)
4 4
u u5,1 u3,1
u u 1.8
x 4,1 2 0.2
4 ,1 4 ,1
u1n,11
1 n
4
u1,1 u 2n,1 1.996 1.9
Put i 2, j 1 in equation 1.7
1
u 2n,11 u1n,1 u 2n,1 u3n,1 0.992
4
1.10
Put i 3, j 1 in equation 1.7
1
u3n,11 u 2n,1 u3n,1 u 4n,1 0.998
4
1.11
Put i 4, j 1 in equation 1.7 and by equation(1.8)
u 4n,11
5
13
2u3n,1 0.984 1.12
Hence finally we have four equations 1.9 , 1.10 , 1.11 , 1.12 which are solved iteratively.
The values as obtained are shown below:
u1n,11
4
1 n
u1,1 u 2n,1 1.996
u 2n,11
4
1 n1
u1,1 u 2n,1 u3n,1 0.992
u3n,11
4
1 n1
u 2,1 u3n,1 u 4n,1 0.998
u 4n,11
5
13
2u3n,11 0.984
These equations are solved iteratively, the results obtained are shown below: