Chapter 2 - Numerical Methods For Parabolic PDE
Chapter 2 - Numerical Methods For Parabolic PDE
2.1 Introduction
u t = div [ f grad u ]
= ∇ ⋅ [ f ∇u ]
… (2)
U 0, j +1 = g (t j +1 ) & U M , j +1 = h (t j +1 )
… (7)
− At other points, 0 < i < M, the PDE will be replaced by same difference
equation, by approximating the space derivative by the 2nd order central
difference and the time derivative by a forward difference at (x i , t j ) .
− The explicit relation (equation (9)) is often called the forward difference
equation.
Δt 1
− The requirement that < places a severe restriction on the
( Δx )
2
2
interval size in the t direction with a resultant increase in computation.
t
j +1
j
i −1 i i +1
x
− The simplest implicit method is that suggested first by O'Brien et al, by
approximately the derivative u xx in the j + 1 row instead of in the j
row. We obtain
1 1
⎡⎣U i , j +1 − U i , j ⎤⎦ = 2 ⎡⎣U i +1, j +1 − 2U i , j +1 + U i −1, j +1 ⎤⎦
k h
… (11)
i.e. in terms of the unknowns in the j + 1 row
− rU i −1, j +1 + (1 + 2r )U i , j +1 − rU i +1, j +1 = U i , j
… (12)
where r = k 2
h
− Crank and Nicolson used an average of approximations in the j and
j + 1 row instead of equation (11).
1
− With λ = 1 , we get O'Brien formulation, and with λ = , we get Crank-
2
Nicolson formula.
− Example:
u t = u xx
… (14)
I.C.'s u ( x , 0) = 1
… (15)
∂u
B.C.'s u ( 0, t ) = 0 , (1, t ) = 1
∂x
… (16)
1 1 k 3 2
Let h = , k = , so r = 2 = and λ = .
3 6 h 2 3
− If 2nd order central difference is used for discretizing the time derivative,
such as
U i , j +1 −U i , j −1 1
= 2 ⎡⎣U i +1, j − 2U i , j + U i −1, j ⎤⎦
2k h
… (19)
the resulting difference equation is unconditionally unstable.
u ( n +1) − u =○ ⎡⎣u ( n ) − u ⎤⎦ as n → ∞
… (22)
− As for Newton linearization, one replaces the R.H.S. of equation (21) by
f (u ( n ) ) + (u ( n +1) − u ( n ) ) f ′ (u ( n ) )
∴The linearized PDE becomes
Lu ( n +1) = f (u ( n ) ) + (u ( n +1) − u ( n ) ) f ′ (u ( n ) )
i.e. Lu ( n +1) − f ′ (u ( n ) ) u ( n +1) = f (u ( n ) ) − u ( n ) f ′ (u ( n ) )
… (23)
− This sequence, when convergent, is usually quadratically convergent, i.e.
u ( n +1) − u =○ ⎡⎢(u ( n ) − u ) ⎤⎥ as n → ∞
2
⎣ ⎦
… (24)
− From the above, one can see that the solution of the non-linear problem
is two level,