Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ......

15
Chapter 7 Parabolic Equation OUTLINE OUTLINE 7-1 General Remarks 7-2 Finite Difference Formulation 7-3 Parabolic Equations in Two-Space Dimensions 7 3 Parabolic Equations in Two Space Dimensions Chapter 7: Parabolic Equation

Transcript of Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ......

Page 1: Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ... (6-3) is defined as being implicit, since more than one unknown appears in the finite

Chapter 7 Parabolic Equation

OUTLINEOUTLINE7-1 General Remarks7-2 Finite Difference Formulation7-3 Parabolic Equations in Two-Space Dimensions7 3 Parabolic Equations in Two Space Dimensions

Chapter 7: Parabolic Equation

Page 2: Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ... (6-3) is defined as being implicit, since more than one unknown appears in the finite

7-1 General Remarks

Equations of motion in fluid mechanics are frequently reduced to parabolicEquations of motion in fluid mechanics are frequently reduced to parabolic formulations. Boundary layer equations are examples of such formulations.In addition, the unsteady heat conduction equation is also parabolic.

7 1

Chapter 7: Parabolic Equation

7-1

Page 3: Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ... (6-3) is defined as being implicit, since more than one unknown appears in the finite

7-2 Finite Difference Formulations (1)

A typical parabolic second-order PDE is the unsteady heat conduction equation, which is considered first in one-space dimension. It has the following form

2 uu ∂∂

(1) FTCS (forward time/central space) method:

2xu

tu

∂∂

=∂∂ α

∂(i) is expressed by a forward difference approximation whichis of order :

tu

∂∂

( ) )16(...1

−Δ+Δ−

=∂∂ +

tot

uutu n

ini

7 2

Chapter 7: Parabolic Equation

7-2

Page 4: Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ... (6-3) is defined as being implicit, since more than one unknown appears in the finite

7-2 Finite Difference Formulations (2)

(ii) Using the second-order central differencing of orderf h diff i ( ) b i d

( )2xΔ

for the diffusion term , eq. (6-1) can be approximatedby

( )( )

22

111

Δ+−

=Δ− −+

+ ni

ni

ni

ni

ni

xuuu

tuu α

(iii) Eq (6-2) is also called explicit formulation

( )( )

( ) )26(...2 1121 −+−

ΔΔ

+=⇒ −++ n

ini

ni

ni

ni uuu

xtuu α

(iii) Eq. (6 2) is also called explicit formulation, which is of order . It will beshown that the solution is stable for

( ) ( )[ ]2, xt ΔΔ

( ) 21

2 ≤ΔΔ tαshown that the solution is stable for ( ) 22Δ x

7 3

Chapter 7: Parabolic Equation

7-3

Page 5: Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ... (6-3) is defined as being implicit, since more than one unknown appears in the finite

7-2 Finite Difference Formulations (3)

(2) BTCS (backward/central space) method:(i)

( )ni

ni

ni

ni

ni

xuuu

tuu

Δ+−

=Δ− +

−++

++

2

11

111

1 2α( )

( ) ( ) ( )ni

ni

ni

ni uu

xtu

xtu

xt

xt

−−=ΔΔ

+⎥⎦

⎤⎢⎣

ΔΔ

+−ΔΔ

ΔΔ

++

++−

112

12

112 )36(...21 ααα

( ) ( ) ( )ni

ni

ni

ni

ni

ni

ni Ducubua

xxx

=++⇒

Δ⎦⎣ ΔΔ++

++−

11

111

The above equation can be solved by TDMA.

7 4

Chapter 7: Parabolic Equation

7-4

Page 6: Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ... (6-3) is defined as being implicit, since more than one unknown appears in the finite

7-2 Finite Difference Formulations (4)

(ii) Eq. (6-3) is defined as being implicit, since more than one unknown appears in the finite difference equation. As a result,a set of simultaneous equations needs to be solved, whichrequire more computation time per time step Implicit methodsrequire more computation time per time step. Implicit methodsgreater advantage on the stability of the finite differenceequations, since most are unditionally stable. Therefore, aq , y ,larger step size in time is permitted.

7 5

Chapter 7: Parabolic Equation

7-5

Page 7: Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ... (6-3) is defined as being implicit, since more than one unknown appears in the finite

7-2 Finite Difference Formulations (5)

(3) CTCS (central time/central space) method: (The Crank-Nicolson method)(i) If the diffusion term of eq. (6-1) is replaced by the average

of the central differences at time levels n and n+1, thediscretized equation would be of the form:discretized equation would be of the form:

ni

ni

ni

ni

ni

ni

ni

ni uuuuuuuu 11

11

111

1

)46(221 −++−

+++

+

⎥⎤

⎢⎡ +−

++−

⎟⎞

⎜⎛−

( ) ( )( ) ( ) n

ini

ni

ni

ni

ni

iiiiiiii

ruurruruurru

xxt

111

111

1

211

211

22

)46(...2

+++

++

++

+−+=−++−⇒

−⎥⎦

⎢⎣ Δ

⎟⎠⎞

⎜⎝⎛=

Δα

( ) ( ) iiiiii ruurruruurru 1111 22 −++− ++++⇒

Note: The left side of eq. (6-4) is a central difference of

step, i.e., , which is ( )2/2

1

tuu

tu n

ini

Δ−

=∂∂ +

( )2to Δ

7 6

Chapter 7: Parabolic Equation2/tΔ

7-6

Page 8: Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ... (6-3) is defined as being implicit, since more than one unknown appears in the finite

7-2 Finite Difference Formulations (6)

7 7

Chapter 7: Parabolic Equation

7-7

Page 9: Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ... (6-3) is defined as being implicit, since more than one unknown appears in the finite

7-2 Finite Difference Formulations (7)

(ii) The method may be thought of as the addition of two step computations as follows:Using the explicit method,

)6(2 112/1 uuuuu n

ini

ni

ni

ni +−− ++

while using the implicit method,( )

)56(...22/ 2

11 ax

uuut

uu iiiii −Δ

+=

Δ−+α

1112/11

( ))56(...2

2/ 2

11

111

2/11

bx

uuutuu n

ini

ni

ni

ni −

Δ+−

=Δ− +

−++

+++

α

Adding eqs. (6-5a) and (6-5b), we can get eq. (6-4).(iii) This implicit method is unconditionally stable and is of

order that is a second order accurate scheme( ) ( )[ ]22t ΔΔorder , that is a second-order accurate scheme.Example

( ) ( )[ ], xt ΔΔ

7 8

Chapter 7: Parabolic Equation

7-8

Page 10: Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ... (6-3) is defined as being implicit, since more than one unknown appears in the finite

7-3 Parabolic Equations in Two-Space Dimensions (1)

Consider the model equationq

⎟⎟⎠

⎞⎜⎜⎝

⎛∂∂

+∂∂

=∂∂

2

2

2

2

yu

xu

tu α

(1) FTCS (or Explicit) method:

⎤⎡1

( ) ( ) ⎥⎥⎦

⎢⎢⎣

Δ

++

Δ

+=

Δ

− −−+−−++

21,,1,

2,1,,1,

1, 22

yuuu

xuuu

tuu n

jin

jin

jin

jin

jin

jin

jin

ji α

which is of order Stability analysis indicates that the method is stable for

( ) ( ) ( )[ ]22 ,, yxt ΔΔΔ

2/1≤+ yx ddwhere

If Δx=Δy i e dx=dy=d then( ) ( )22 ,

ytd

xtd yx Δ

Δ=

ΔΔ

=αα

2/1≤d 7 9

Chapter 7: Parabolic Equation

If Δx=Δy, i.e., dx=dy=d, then 2/1≤d 7-9

Page 11: Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ... (6-3) is defined as being implicit, since more than one unknown appears in the finite

7-3 Parabolic Equations in Two-Space Dimensions (2)

7 10

Chapter 7: Parabolic Equation

7-10

Page 12: Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ... (6-3) is defined as being implicit, since more than one unknown appears in the finite

7-3 Parabolic Equations in Two-Space Dimensions (3)

(2) Implicit (BTCS) method:(i) Consider an implicit formulation for which the FDE is

⎤⎡ +++++++ 1111111 22 nnnnnnnn

( ) ( ) ⎥⎥⎦

⎢⎢⎣

Δ

+−+

Δ

+=

Δ

− +−

+++

+−

++−+

+

2

11,

1,

11,

2

1,1

1,

1,1,

1, 22

yuuu

xuuu

tuu n

jin

jin

jin

jin

jin

jin

jin

ji α

nji

njiy

njiy

njiyx

njix

njix uudududdudud ,

11,

11,

1,

1,1

1,1 )122( −=++++−+⇒ +

++−

++−

++

7 11

Chapter 7: Parabolic Equation

7-11

Page 13: Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ... (6-3) is defined as being implicit, since more than one unknown appears in the finite

7-3 Parabolic Equations in Two-Space Dimensions (4)

(ii) The 2-D FDEs in the ADI formulation are

( ) ( ) ( ) ⎥⎤

⎢⎡ +−

++

=− −+

+−

++−+

+

21,,1,

2

2/1,1

2/1,

2/1,1,

2/1, 22 uuuuuuuu n

jin

jin

jin

jin

jin

jin

jin

ji α( ) ( ) ( ) ⎥⎥⎦⎢

⎢⎣ Δ

+ΔΔ 222/ yxt

α

dand

( ) ( ) ( ) ⎥⎥⎦

⎢⎢⎣

Δ

+−+

Δ

+=

Δ

− +−

+++

+−

++−+

+

2

11,

1,

11,

2

2/1,1

2/1,

2/1,1

2/,

1, 22

2/ yuuu

xuuu

tuu n

jin

jin

jin

jin

jin

jin

jin

ji α

7 12

Chapter 7: Parabolic Equation

7-12

Page 14: Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ... (6-3) is defined as being implicit, since more than one unknown appears in the finite

7-3 Parabolic Equations in Two-Space Dimensions (5)

This method is of order and is unconditionally( ) ( ) ( )[ ]222 ,, yxt ΔΔΔ

stable. The above equations are written in the tridiagonal form as

2/12/12/1 nji

nji

nji

nji

nji

nji udududududud 1,2,21,2

2/1,11

2/1,1

2/1,11 )21()21( −+

++

++− +−+=−++−

2/12/12/1111 )21()21( ++++++ +−+=−++− nnnnnn udududududud ,11,1,111,2,21,2 )21()21( −++− ++=++ jijijijijiji udududududud

where

( ) ( )2221 21

21,

21

21

ytdd

xtdd yx Δ

Δ==

ΔΔ

==αα

7 13

Chapter 7: Parabolic Equation

7-13

Page 15: Chapter 7 Parabolic Equation OUTLINE 7-1 General … file7 1 Chapter 7: Parabolic Equation- ... (6-3) is defined as being implicit, since more than one unknown appears in the finite

7-3 Parabolic Equations in Two-Space Dimensions (6)

7 14

Chapter 7: Parabolic Equation

7-14