Docsity

Elliptic Partial Differential Equations - Numerical Methods - Lecture Slides, Slides of Mathematical Methods for Numerical Analysis and Optimization

Partial preview of the text

Download Elliptic Partial Differential Equations - Numerical Methods - Lecture Slides and more Slides Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Elliptic Partial Differential

Equations - Introduction

Defining Elliptic PDE’s

  • The general form for a second order linear PDE with two independent variables (

) and one dependent variable ( ) is

  • Recall the criteria for an equation of this type to be considered elliptic
  • For example, examine the Laplace equation given by

then

thus allowing us to classify this equation as elliptic.

2 0

A ^ xuB  xuyC  yuD

B^2  4 AC  0

2 0

2 2

2  xT  yT, where A, 1 B, (^0) C  1

4 0

(^2404) ( 1 )( 1 )   

BAC  

x , y u

Discretizing the Elliptic PDE

Tt

Tr

x

y

( i , j ) ( i  1 , j ) ( i , j  1 )

( i  1 , j )

( i , j  1 )

( 0 , 0 ) ( m , 0 )

( 0 , n )

Tb

Tl ( i , j )

xyyx

mxL

nyW

(^2)  ^2

(^2) ( , ) 2 ( , ) ( , ) ( , ) x

x y T x x y T x y T x x y x

T

     

(^2)   2

(^2) ( , ) 2 ( , ) ( , ) ( , ) y

x y T x y y T x y T x y y y

T

     

Discretizing the Elliptic PDE

Tt

Tr

x

y

( i , j ) ( i  1 , j ) ( i , j  1 )

( i  1 , j )

( i , j  1 )

( 0 , 0 ) ( m , 0 )

( 0 , n )

Tb

Tl ( i , j )

xyyx

 ^2

1 , , 1 , (^2) ,

(^2 ) x

T T T x

T (^) i j i j i j i j     

 (^)   (^2)  ^2

x

x y T x x y T x y T x x y

x

T

Substituting these approximations into the Laplace equation yields:

if,

the Laplace equation can be rewritten as

Discretizing the Elliptic PDE

   

1 , 2 , 2 1 , , 1 2 , 2 , (^1)  0 

   

 ^     y

T T T x

Ti (^) j Ti j Ti j i j i j i j

x   y

Ti  1 , jTi  1 , jTi , j  1  Ti , j  1  4 T (^) i , j  0

2 0

2 2

2  

  

y

T x

T

Once the governing equation has been discretized there are several numerical methods that can be used to solve the problem.

We will examine the:

  • Direct Method
  • Gauss-Seidel Method
  • Lieberman Method

Discretizing the Elliptic PDE

Ti  1 , jTi  1 , jTi , j  1  Ti , j  1  4 T (^) i , j  0

Example 1: Direct Method

We can discretize the plate by taking,

x  y  0. 6 m

x

y

T 0 , 0 T 1 , 0 T 2 , 0 T 3 , 0 T 4 , 0
T 0 , 1
T 0 , 2
T 0 , 3
T 0 , 4
T 0 , 5
T 1 , 1 T 2 , 1 T 3 , 1 T 4 , 1
T 1 , 2 T 2 , 2 T 3 , 2 T 4 , 2
T 1 , 3 T 2 , 3 T 3 , 3 T 4 , 3
T 1 , 4 T 2 , 4 T 3 , 4 T 4 , 4
T 1 , 5 T 2 , 5 T 3 , 5 T 4 , 5

Example 1: Direct Method

The nodal temperatures at the boundary nodes are given by:

300 , 1 , 2 , 3

50 , 1 , 2 , 3

100 , 1 , 2 , 3 , 4

75 , 1 , 2 , 3 , 4

 

 

 

 

T i

T i

T j

T j

i

i

j

j

300  C

100  C

50  C

75  C

Example 1: Direct Method

We can develop similar equations for every interior node leaving us with an

equal number of equations and unknowns.

Question: How many equations would this generate?

Example 1: Direct Method

We can develop similar equations for every interior node leaving us with an

equal number of equations and unknowns.

Question: How many equations would this generate? Answer: 12

Solving yields: C

T

T

T

T

T

T

T

T

T

T

T

T

































































  1. 446

  2. 271

  3. 389

  4. 9833

  5. 512

  6. 248

  7. 302

  8. 5443

  9. 355

  10. 907

  11. 0252

  12. 8924

3 , 4

3 , 3

3 , 2

3 , 1

2 , 4

2 , 3

2 , 2

2 , 1

1 , 4

1 , 3

1 , 2

1 , 1

x

y

75 75 75 75 50 50 50

100

100

100

100

(^300300300)

173 120 93 74

Example 2: Gauss-Seidel Method

Consider a plate that is subjected to the boundary conditions shown

below. Find the temperature at the interior nodes using a square grid with a length of

using the Gauss-Siedel method. Assume the initial temperature at all interior nodesto be.

50  C

75  C

300  C

100  C

  1. 4 m

  2. 0 m

x

y

  1. 4 m  3. 0 m
  2. 6 m 0  C

Example 2: Gauss-Seidel Method

We can discretize the plate by taking

x  y  0. 6 m

Example 2: Gauss-Seidel Method

  • Now we can begin to solve for the temperature at each interior node using
  • Assume all internal nodes to have an initial temperature of zero.

i =1 and j =1 T 1 , 1  T^2 ,^1  T^0 ,^1  4 T^1 ,^2 ^ T^1 ,^0

4 ^0 ^75 ^0 ^50  31. 2500  C

i =1 and j =2 T 1^ , 2  T^2 ,^2  T^0 ,^24  T^1 ,^3 ^ T^1 ,^1

4 ^0 ^75 ^0 ^31.^2500

 26. 5625  C

Iteration

4 Ti , jTi ^1 , jTi ^1 , jTi , j ^1 ^ Ti , j^ ^1

Example 2: Gauss-Seidel Method

After the first iteration, the temperatures are as follows. These will now be used asthe nodal temperatures for the second iteration.

x

y

31 20 43

27 12 39

25 9. 3 37

(^100102135)

300  C

100  C

50  C

75  C