Professional Documents
Culture Documents
N A s ~~ ; . n
- 78567
,
-
March 1979
U N G L E Y RESEARCH C E N T E h
LIBRARY, PIASA
tI.",PPTO?I, '!!P.GI?IIA
NASA
Nat~onalAeronaut~csand
Space Admin~strat~on
National Aeronaut~csand
Space Administration
Ames Research Center
The parameter space for which the resulting AD1 schemes are second-
Some numerical
...........................
Preliminaries . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1. Linear multistep methods . . . . . . . . . . . . . . . . . . .
2.2.
One-leg (multistep) methods . . . . . . . . . . . . . . . . .
2.3.
Combined linear multistep methods . . . . . . . . . . . . . .
Unconditionally stable schemes . . . . . . . . . . , . . . . . . . .
An AD1 scheme: the p(E) or A formulation . . . . . . . . . . . .
A general two-step AD1 scheme . . . . . . . . . . . . . . . . . . .
5.1. General formulation . . . . . . . . . . . . . . . . . . . . . .
1. Introduction.
2.
3.
4.
5.
5.2.
.............
g
10
15
19
19
21
. . . . . . . . . . . . . . . . . . . . . . 24
f o r m u l a t i o n w i t h no mixed d e r i v a t i v e . . . . . . . . . . 26
5.3
Algorithmselection.
5.4
General
. . . . . . . . . . . . . . . . . . . . . 27
7. N u m e r i c a l e x a m p l e s . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8. Concluding remarks . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Appendix A:
S t a b i l i t y a n a l y s i s of combined LMMs . . . . . . . . . . . . . 36
Appendix B:
S t a b i l i t y a n a l y s i s f o r two-step AD1 schemes . . . . . . . . . 38
R e f e r e n c e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.
Time-dependent
1.
coefficients
Introduction.
a p p l i e d t o a p a r a b o l i c e q u a t i o n , f o r example,
(1. l a )
where
(1. l b )
a,c > 0
(l.lc,d)
b 2 < 4ac
i n v e r s i o n problems.
I f t h e mixed d e r i v a t i v e
a2/axay
of t h e o p e r a t o r
(matrix)
L
I n t h e method o f Douglas
L) i s reduced t o f o u r one-
The two a d d i t i o n a l i n v e r s i o n s a r e t h e d i r e c t r e s u l t of
k e e p i n g t h e mixed d e r i v a t i v e i m p l i c i t .
can be o b t a i n e d i f t h e mixed d e r i v a t i v e i s e v a l u a t e d e x p l i c i t y .
n o t s o obvious i s t h e s t a b i l i t y of t h e s e s i m p l e r schemes.
Perhaps
In fact, it is
rather surprising that one can develop unconditionally stable algorithms for
where
a,b,c
The general
formulation of [20] is second-order accurate if b = 0 but first-order accurate in time if the mixed derivative is included.
mixed derivative is treated explicitly.
general,
making use of known results from the theory of difference methods for ODEs to
construct methods for PDEs.
to construct implicit methods for PDEs are invariably LMMs although this fact
is seldom noted.
(see, e. g. , [6,l o ] ) , one can use this information to advantage when attempting
to construct schemes for PDEs.
as a review of the theory and notation for linear multistep methods including
A-stability, A,-stability,
- one
then modify the scheme by treating the mixed derivative explicitly and reinvestigate the stability properties.
formulation.
In Sec. 6 a simple
2.
Preliminaries.
I n t h i s s e c t i o n we b r i e f l y review t h e t h e o r y of
( m u l t i s t e p ) methods.
I n a d d i t i o n , we i n t r o d u c e combined LMMs.
2.1.
L i n e a r m u l t i s t e p methods.
A linear
k-step method f o r t h e f i r s t -
i s d e f i n e d by t h e d i f f e r e n c e e q u a t i o n
and
p and
where
a r e t h e g e n e r a t i n g polynomials,
i s t h e s h i f t operator, t h a t is,
I n (2.2),
i s t h e numerical s o l u t i o n a t t h e p o i n t
un
time s t e p , and
otherwise.
f n = f (un, t n ) .
t = tn = nAt, A t
The method i s e x p l i c i t i f
Bk
is the
0 and i m p l i c i t
Consistency and n o r m a l i z a t i o n a r e e x p r e s s e d by t h e r e l a t i o n s :
(i.e.,
k = 2
i n (2.3))
can b e w r i t t e n a s
For the class of all two-step methods that are at least second-order accurate,
the parameters (8,5,+) are related by
and consequently, a(E) can be rewritten in terms of the two parameters (8,C) as
= 0:
where
is a complex constant.
~ ( 5 )- AAtu(5)
= 0
AAt
equation (2.13) satisfies the root condition; that is, its roots
6
cR
all
I<,(
satisfy
An LMM i s s a i d
t o b e A-stable i f i t s s t a b i l i t y r e g i o n c o n t a i n s a l l of t h e l e f t h a l f of t h e
Ant
complex
p l a n e i n c l u d i n g t h e imaginary a x i s [ 4 ] .
A simple t e s t f o r
By
A-stable i f and o n l y i f
An LMM i s s a i d t o be
A,-stable
t i v e r e a l a x i s of t h e complex
i f t h e r e g i o n of s t a b i l i t y c o n t a i n s t h e negaXAt
plane, t h a t is, t h e i n t e r v a l
(-a,
01.
A,-stable
i f and o n l y i f
(2.15~)
O r e + $ .
The d e t a i l s of t h e a n a l y s i s f o r o b t a i n i n g t h e s e i n e q u a l i t i e s a r e d e s c r i b e d i n
[21].
A-stability.
A,-stability
However, f o r t h e c l a s s of a l l second-order
i s a weaker
C;520-1,
51-7.
and b o t h s e t s of i n e q u a l -
The parameter space (1~5)for which the class of two-step, second-order methods
is A-stable, happens to coincide with the parameter space for which the class
is A,-stable
in Table 1 and indicated by the symbols in Fig. 1 are both Ao- and A-stable.
Dahlquist has proved that the order of accuracy of an A-stable LMM
cannot exceed two [4].
A,-stable
with the parabolic equation (1.1) is real and negative, the application of an
A,-stable
First, conven-
dures, AD1 schemes of temporal order greater than 2 can be constructed for
PDEs where Ao-stable LMMs are appropriate; however, the unconditional stability of the higher order AD1 schemes is an open question.
consideration is computer storage.
stability is answered in the affirmative, the scheme must be at least a threestep method since the two-step method (2.6) contains no A,-stable
third-order
subclass.
2.2.
c o r r e s p o n d i n g t o (2.2) i s
p (E)cn = ~ t (o(E)cn,
f
o ( ~ ) t ~ >
(2.17)
An
u
where
d e n o t e s t h e one-leg method s o l u t i o n .
(2.17) can b e o b t a i n e d by s h i f t i n g t h e o p e r a t o r
p a r e n t h e s i s of
As an
D a h l q u i s t [ 5 ] h a s proved t h e f o l l o w i n g
Let { i n ) be a
f o r m u l a t i o n makes i t e a s y t o c o n s t r u c t
coeffi-
cients.
2.3.
Combined l i n e a r m u l t i s t e p methods.
I f the function
d i f f e r e n t i a l e q u a t i o n (2.1) i s s p l i t i n t o a sum, t h a t i s ,
f ( u ) of t h e
For
(2.20)
where t h e s u b s c r i p t s on
o l and a2
Bj
f l and f 2 .
of t h e
The
3.
U n c o n d i t i o n a l l y s t a b l e schemes.
I n t h i s s e c t i o n we examine t h e s t a -
d i f f e r e n c i n g approximation i s an
A,-stable
LMM.
Although n o t e s s e n t i a l t o t h e f i n a l g o a l of con-
s t r u c t i n g u n c o n d i t i o n a l l y s t a b l e AD1 schemes w i t h t h e mixed d e r i v a t i v e computed e x p l i c i t l y , t h i s i n t e r m e d i a t e a n a l y s i s does i s o l a t e t h e s t a b i l i t y cons t r a i n t s due t o t h e a p p l i c a t i o n of combined LMMs and t h o s e due t o approximate
factorization.
AD1 v a r i a n t f o l l o w s d i r e c t l y (Sec. 4 ) .
S i n c e o u r i n t e r e s t is i n c o n s t r u c t -
A,-stable.
By
where
a2
is a l i n e a r d i f f e r e n t i a l operator.
the coefficients
a,b,c
For s i m p l i c i t y we assume t h a t
a r e independent of time.
The c a s e of time-dependent
c o e f f i c i e n t s i s c o n s i d e r e d i n Sec. 6.
I n s e r t i o n of (3.1) i n t o ( 2 . 2 ) y i e l d s
u(x,y,t) = v ( t ) e
where
v ( t ) i s t h e F o u r i e r c o e f f i c i e n t and
(wave numbers).
~(K~x+K~Y)
K
,K~
S u b s t i t u t i o n of ( 3 . 3 ) i n t o (1.1) y i e l d s an ODE f o r
v(t):
where
(3.4b)
The q u a d r a t i c form i n t h e p a r e n t h e s i s of (3.4b) i s p o s i t i v e d e f i n i t e i f and
only i f t h e i n e q u a l i t i e s ( l . l c , d ) a r e s a t i s f i e d .
These c o n s t r a i n t s c o n s t i -
t u t e t h e p a r a b o l i c i t y c o n d i t i o n of t h e PDE and e n s u r e t h a t t h e s o l u t i o n of
(3.4) i s damped w i t h time.
To complete t h e s t a b i l i t y a n a l y s i s of t h e PDE
X < 0.
S i n c e we assumed t h a t (2.2) i s
(3.2) i s unconditionally s t a b l e .
A,-stable,
t h e PDE scheme
I n p r a c t i c e , t h e s p a t i a l d e r i v a t i v e s i n (3.2)
t h e scheme (3.2) r e d u c e s t o
11
T h e i r p a p e r appeared about t h e
a t i v e t e r m and i t s p r e s e n c e p r e c l u d e s t h e c o n s t r u c t i o n of a n e f f i c i e n t AD1
method.
derivative explicitly.
a d v e r s e e f f e c t on t h e u n c o n d i t i o n a l s t a b i l i t y of t h e a l g o r i t h m .
This s t a b i l i t y
q u e s t i o n i s c o n s i d e r e d i n t h e remainder of t h i s s e c t i o n .
Consider t h e combined LMM (2.20) where
Let (2.2) r e p r e s e n t a second-order
A,-stable
(3.6a,b)
where
ol(E)=o(E)
u l and o2 a r e d e f i n e d a s f o l l o w s .
LMM and d e f i n e
u2(E) = u e ( E )
LMM.
With t h e s e d e f i n i t i o n s ,
,
= 0
i n the generating
p(5) a s f o r t h e
(2.20) becomes
The
LMM (3.7) as
where
w = B / a
k k '
The parameter o
i s d e f i n e d s o t h a t t h e o p e r a t o r o ( E ) - wp(E) on t h e r i g h t h a n d
12
left-hand side.
w r i t i n g o u t t h e h i g h e s t d e g r e e term of t h e o p e r a t o r
n+k
n+k-1
to
.
F i n a l l y , t o a p p l y t h e combined scheme (3.8) t o t h e PDE ( 1 . 1 ) , we s p l i t t h e
l i n e a r d i f f e r e n t i a l o p e r a t o r of ( 3 . 1 ) , i . e . ,
fl(u) = ( a K +
ax2
c -)u
ay
and
f2(u) = b
a 2~
axay
By s u b s t i t u t i n g (3.11) i n t o ( 3 . 8 ) , we o b t a i n
uxx and u
YY
and e x p l i c i t f o r
a 2 u e ( ~ ) u n.
axay
xy'
(3.13)
w(E)lun
i n which c a s e
U n f o r t u n a t e l y , t h e method w i t h
u,(E)
d e f i n e d by (3.13) i s o n l y f i r s t - o r d e r
accurate.
For t h e s t a b i l i t y a n a l y s i s of (3.12), we c o n s i d e r t h e second-order,
s t e p methods where
p (E)
two-
e x p l i c i t operator
8 = 0,
Scheme (3.12)
i s found t o be u n c o n d i t i o n a l l y s t a b l e f o r a l l v a l u e s of
satisfying
a,b,c
e q u a l i t i e s ( l . l c , d ) i f and o n l y i f
The v a l u e s of t h e p a r a m e t e r s ( 0 , E ) s a t i s f y i n g t h e s e i n e q u a l i t i e s a r e shown by
t h e shaded r e g i o n of F i g . 2.
I n e q u a l i t y (3.16a) i s more r e s t r i c t i v e t h a n
(2.16a) f o r t h e g e n e r a t i n g second-order,
( s e e Fig. 1 ) .
5 = 2 8 - 1
coefficient
A 0- s t a b l e
Methods t h a t f a l l i n t h e r e g i o n between t h e l i n e s
(3.17)
and above
two-step method t o b e
112
and
E = 8 - 1
a r e n o t u n c o n d i t i o n a l l y s t a b l e f o r a l l v a l u e s of t h e
s a t i s f y i n g inequality (1.ld).
Note t h a t , w i t h t h e e x c e p t i o n
It i s of i n t e r e s t t o n o t e t h a t t h e e x p l i c i t o p e r a t o r (3.15) c a n
a l s o b e o b t a i n e d from t h e i m p l i c i t o p e r a t o r (2.9) a p p l i e d t o
fn,
by u s i n g l i n e a r e x t r a p o l a t i o n , t h a t i s ,
fn+2 = 2fn+'
t o approximate
n+2
fn
+ 0(dt2) ,
r a t h e r d i s r e p u t a b l e , t h e a p p l i c a t i o n of a n e x p l i c i t INM does n o t .
I n t h e f o l l o w i n g s e c t i o n we f i n d t h e r a t h e r remarkable r e s u l t t h a t a n
approximate f a c t o r i z a t i o n of t h e l e f t - h a n d s i d e of (3.12) i n t o a product of
one-dimensional o p e r a t o r s r e s t o r e s most of t h e parameter s p a c e (8,E) f o r
14
u n c o n d i t i o n a l s t a b i l i t y l o s t b y t h e e x p l i c i t t r e a t m e n t of t h e mixed
derivative.
4.
An AD1 scheme:
the
p(E) o r A
formulation.
I n t h e procedure sug-
g e s t e d i n [ 2 0 ] f o r d e s i g n i n g AD1 schemes, t h e i m p l i c i t o p e r a t o r t o b e i n v e r t e d
p(E)u
I n t h e absence of a mixed d e r i v a t i v e t h i s c h o i c e e n s u r e s t h a t
I n t h i s s e c t i o n we c o n s t r u c t a n AD1 scheme i n t h e
p(~)u".
But by expanding
P ( E ) U ~i n a Taylor s e r i e s about
t e n c y and n o r m a l i z a t i o n c o n d i t i o n s (2.5a,b),
un
one o b t a i n s
and u s i n g t h e c o n s i s -
t e r m (4.2)
Consequently, t h e cross-product
ae(E) i s g i v e n by
conventional t o use
(4.1) by
The e x p l i c i t o p e r a t o r
E l .
n+l
The s h i f t e d d i f f e r e n c e o p e r a t o r s f o r t h e second-order,
two-
s t e p method can b e w r i t t e n a s
nun = ~ - l p( E ) u ~=
(1
S)E
(1
(4.5b)
[(l
5)A
5v]un
(4.5~)
= (1
(4.5a)
where t h e symbols
A and V
o p e r a t o r s d e f i n e d by
S)un+l
+ 25) +
(1
S E - ~ I U ~,
,
2 6 ) ~ " + Sun-',
dun
(4.8)
n+ 1
n
u
- u
n
n
n-1
Vu = u - u
by
A.
where
(1 + E)un+l
(4.12~)
where
hu*
Remark:
nun
(4.11)
26)un
(1
- Eun-l ,
defined by (3.13)
were used rather than a second-order method, the right-hand side of (4.1)
would be the same as (3.14).
would be replaced by
r a t e i n time f o r t h e mixed d e r i v a t i v e , i t i s u n c o n d i t i o n a l l y s t a b l e f o r v a l u e s
of (8,E) i n t h e shaded r e g i o n of Fig. 1.
T h i s r e s u l t was e s t a b l i s h e d i n [20,
Appendix A] by c o n s t r u c t i n g t h e scheme s o t h a t t h e c h a r a c t e r i s t i c e q u a t i o n
(which d e t e r m i n e s t h e s t a b i l i t y o f t h e method) f o r t h e f a c t o r e d p a r t i a l d i f f e r e n c e e q u a t i o n had t h e same form a s t h e c h a r a c t e r i s t i c e q u a t i o n (2.13) f o r
t h e ordinary d i f f e r e n t i a l equation.
The scheme (4.11) i s second-order a c c u r a t e i n t h e mixed d e r i v a t i v e b u t
t h e c h a r a c t e r i s t i c e q u a t i o n no l o n g e r h a s t h e form (2.13).
Consequently, t h e
The s t a b i l i t y a n a l y s i s o f Appendix B i s f o r t h e
The
for-
a,b,c
satisfying inequalities
( l . l c , d ) i f and o n l y i f
methods t h a t f a l l i n t h e r e g i o n between t h e c u r v e s
5 = 2 0 - 1
and above
coefficient
112
and
0 = 2(1
3
++ 45512
a r e n o t u n c o n d i t i o n a l l y s t a b l e f o r a l l v a l u e s of t h e
[2]).
However,
t h e r e remains a l a r g e c l a s s of u n c o n d i t i o n a l l y s t a b l e methods i n c l u d i n g , e . g . ,
t h e backward d i f f e r e n t i a t i o n formula ( s e e T a b l e 1 ) .
5.
I n t h e AD1 f o r m u l a t i o n d e s c r i b e d i n
t h e p r e v i o u s s e c t i o n i t i s e s s e n t i a l t h a t t h e unknown v a r i a b l e b e a t l e a s t a
f i r s t d i f f e r e n c e t o e n s u r e t h a t t h e approximate f a c t o r i z a t i o n does n o t degrade
t h e second-order a c c u r a c y of t h e scheme; f o r example, t h e unknown v a r i a b l e
n
(E)un = Au
E-'p
i s an approximation t o
A t ( a u / a t ) ( s e e Eq.
(4.3)).
The c h o i c e
where
A and V
can b e w r i t t e n a s
a = 1 and a f i r s t d i f f e r e n c e o t h e r w i s e .
f i r s t difference is f o r
5.1.
n , n+l
is an a r b i t r a r y r e a l constant.
difference i f
n-1,
The most a c c u r a t e
a = -1.
General f o r m u l a t i o n .
i s o b t a i n e d i f we choose (A
av)un
a s t h e unknown v a r i a b l e .
We f i r s t r e w r i t e
av)un
a s t h e unknown v a r i a b l e .
the operators
E-lp(E),
E-lo(E),
M u l t i p l y i n g ( 3 . 7 ) by
E-'
After subtracting
avun
a w ~ t v f ? from b o t h s i d e s , t h e r e f o l l o w s
and i n s e r t i n g
(4.6b), and
(5.3)
(A- av)un
wAt(A
a ~ ) f y= 1A+t E; [l
+ (i -
8 +f)V](fy
+ fy)
Using ( 3 . l l ) , one o b t a i n s
a,b,c
The p a r a m e t e r s p a c e ( 1 ~ 5 )s a t i s f y i n g t h e s e i n e q u a l i t i e s i s i n d i c a t e d i n F i g . 4
f o r s e v e r a l v a l u e s of
a.
r i g h t o f t h e c u r v e l a b e l e d w i t h t h a t v a l u e of
1/2.
a , t h e s t a b l e range is t o t h e
a
and above t h e c u r v e
t h e smallest region f o r
-1
i n t h e r a n g e [-1,1] w i t h
s t a b i l i t y i s a monotone i n c r e a s i n g f u n c t i o n of
and t h e l a r g e s t f o r
i s more s t r i n g e n t t h a n (2.16a) a s i s a p p a r e n t i n F i g . 4.
+l. I n e q u a l i t y (5.7a)
Along t h e l i n e
5 = 0, i n e q u a l i t y (5.7a) becomes
and t h e s m a l l e s t allowed v a l u e f o r
a = 1, i n which c a s e (5.8)
o c c u r s when
becomes
5 =
a.
A s a consequence of i n e q u a l i -
i s chosen t o b e
f o r m u l a t i o n of Sec. 4.
5/(1
satisfying
E ) , scheme (5.5) r e d u c e s t o
T h i s AD1 method h a s t h e p e c u l i a r p r o p e r t y t h a t
112) a r e n o t uncondi-
I f t h e parameter
the
5 , t h a t i s , on t h e p a r t i c u l a r
f o r m u l a t i o n i s uncon-
S p e c i a l c a s e s of g e n e r a l f o r m u l a t i o n .
a = 1.
Various c o n s t a n t v a l u e s of
21
c l a s s i c a l d i f f e r e n c e o p e r a t o r r e p r e s e n t e d by (5.1) f o r t h e chosen v a l u e s of
a.
5.2a.
The
formulation (a
0).
If
i s chosen t o be z e r o , t h e
g e n e r a l scheme (5.5) r e d u c e s t o
which we c a l l t h e
formulation [1,19] s i n c e
Aun
i s t h e unknown v a r i a b l e .
The parameter s p a c e f o r u n c o n d i t i o n a l s t a b i l i t y i s g i v e n by t h e i n e q u a l i a = 0
5.2b.
The
i2
f o r m u l a t i o n (a = 1 ) .
t h e unknown v a r i a b l e (A
( s e e Eq.
(5.1)).
and i s shown g r a p h i c a l l y i n F i g . 4.
av)un
I n t h e g e n e r a l AD1 f o r m u l a t i o n (5.5)
i s a n approximation t o
At(au/at)
if
a # 1
A l e s s n a t u r a l c h o i c e f o r t h e unknown v a r i a b l e f o r a f i r s t -
o r d e r ( t e m p o r a l ) d i f f e r e n t i a l e q u a t i o n i s t h e second d i f f e r e n c e o b t a i n e d when
a = 1.
I n t h i s c a s e , (5.1) becomes
where t h e c l a s s i c a l second d i f f e r e n c e o p e r a t o r
(5.13)
82un = un+'
The p o s s i b i l i t y of u s i n g
62un
l i n e a r one-step methods ( e . g . ,
2un
62
i s d e f i n e d by
+ un - 1 .
a s t h e unknown v a r i a b l e d o e s n o t a r i s e f o r
t h e t r a p e z o i d a l formula (2.11))
since these
If a
obtain
=-
At
i ,a(
a2
+b-
axay
";)b
ay
(i
+ i)VIun
VU"
which, for a
1, becomes
o(~t4)
E-'~(E) formula-
62
formulation is
=
1 and is
formulation (a
-1).
(5.16)
where
(5.17)
2p6
A-aV=A+V=2piY
2
,n-1
a = -1,
5 1 --2
0 1 1 + E ,
which is identical to the stability space for the unfactored scheme (3.12)
(see inequality (3.16) and Fig. 2).
5.3.
methods one can choose a scheme with properties that are desirable with regard
to computer storage, computational simplicity, and temporal behavior when
applied to stiff problems and/or problems with nonsmooth data.
The choice
s-
(5.20)
Since w
0/(1
w + - l
=
2 o .
(5.21)
0 =
(E + I)(E
+$)
it is plotted in Fig. 3. Another variant is obtained by rewriting the righthand side of (4.11) as
If in addition, we choose
112, then
(-
RHS (4.11) = At a
In this special case, each spatial derivative on the right-hand side of (4.11)
requires evaluation at only a single time level.
(8 = 112, 5 =
Table 1).
A,-
1/2 of
that the modulus of at least one root of the characteristic equation (2.13)
approaches 1 as XAt
+ a.
This
formulation (5.11) is
Eq. (4.2)].
The A
derivatives on the right-hand side operate on the same function, that is,
[I + (5
veniently
1/2)v]un.
un
note that if b
It is important to
and the general two-step AD1 formula (5.5) is unconditionally stable for the
same values of (8,C) as for the original second-order, two-step method (see
inequalities (2.16) and Fig. 1).
scheme (5.6) in the absence of a mixed derivative, that is, b = 0. The difference (5.1) corresponds to the difference
(5.28a)
un+i
n+l
u*
~ $ ~ = l + a ,
b = 0 ) , where
p(E) and a ( E ) a r e d e f i n e d
s a t i s f y i n e q u a l i t i e s (2.16).
I f we a p p l y t h e
<
The r e s u l t i n g scheme i s u n c o n d i t i o n a l l y s t a b l e f o r
a 5 1 s i n c e t h e LMM i s
R e c a l l t h a t t h e d i s c u s s i o n of t h i s
A,-stable.
p a r a g r a p h i s o n l y f o r t h e c a s e of no mixed d e r i v a t i v e .
6.
Time-dependent c o e f f i c i e n t s .
I f the coefficients
a,b,c
of t h e PDE
p(E) i s a p p l i e d .
This
u l and u2
d e f i n e d by (3.6),
f l and f 2
a s (3.11) and o b t a i n
where
t and
fe
a r e d e f i n e d by
t = u(E)tn
(6.4a,b)
-te =
ue ( E ) t
I f ( 6 . 3 ) i s m o d i f i e d t o t h e p r e f a c t o r e d form by s u b t r a c t i n g
from e a c h s i d e , we o b t a i n
(6.5)
(l
- A
-a+
) ax2
t and
te
d e f i n e d by ( 6 . 4 ) .
For second-order,
t and
are
C o n s e q u e n t l y , t h e f a c t o r e d scheme
(4.1) i s v a l i d f o r time-dependent c o e f f i c i e n t s p r o v i d e d
a t t h e a p p r o p r i a t e times
a , c , and b
a,c,b
a r e evaluated
te.
two-step mzthods, t h e s h i f t e d - d i f f e r e n c e o p e r a t o r s a r e
d e f i n e d by (4.6) and ( 4 . 7 ) .
For t h i s case
coefficients
same t i m e which we d e n o t e by
a,b,c
a r e a l l evaluated a t t h e
t*.
Numerical examples.
sections are used to solve the parabolic equation (1.1) for a test problem
with variable coefficients.
to find the optimum scheme but to demonstrate by numerical example that each
of the formulations - A, A, and ti2 - achieves the purported second-order
accuracy.
An exact solution is
condition is
(7.3)
u(x,y,O) = x2y
+ xy2 ,
0 2 x, y 5 1
This model problem is a variant of an example given by McKee and Mitchell [15]
modified so that the coefficients a,b,c are time-dependent.
29
I n t h e numerical computations of t h i s s e c t i o n , t h e s p a t i a l d e r i v a t i v e s
were a p p r o x i m a t e d by t h e f o l l o w i n g c e n t r a l d i f f e r e n c e a p p r o x i m a t i o n s
(7.4)
0(Ax2)
(7.5)
2Q
(7.6)
where
- ( ~ l s > ~ ( ~ a ) ~
AXAY
qj ,k + o ( n x 2 , n y 2 )
axay
Here
6 and p
a r e classical finite-difference
o p e r a t o r s d e f i n e d by
and h e n c e
C o n s i d e r , f o r example, t h e
f o r m u l a t i o n (4.12).
With t h e s p a t i a l
d e r i v a t i v e s r e p l a c e d by t h e c e n t r a l - d i f f e r e n c e q u o t i e n t s ( 7 . 4 ) - ( 7 . 6 ) ,
x- and y - o p e r a t o r s
on t h e l e f t - h a n d
t i o n o f a t r i d i a g o n a l system.
s i d e of (4.12a,b)
each r e q u i r e s t h e solu-
T h e r e i s a well-known and h i g h l y e f f i c i e n t
s o l u t i o n a l g o r i t h m f o r t r i d i a g o n a l systems (see, e . g . ,
s o l u t i o n of t h e
x-operator
(4.12a)
t h e dummy t e m p o r a l d i f f e r e n c e
Au*
(along each
t i o n u s i n g (4.12b)
A *
[ l l , p. 5 5 1 ) .
y-constant
The
l i n e ) requires
a l o n g t h e l e f t and r i g h t b o u n d a r i e s .
problems c o n s i d e r e d i n t h i s s e c t i o n , we assume t h a t
b o u n d a r i e s , and c o n s e q u e n t l y
the
In
u ( t ) i s g i v e n on t h e
c a n b e d e t e r m i n e d by a n e x p l i c i t c a l c u l a -
a p p l i e d a l o n g b o t h t h e l e f t - and r i g h t - h a n d
boundaries.
to
S i n c e t h e a l g o r i t h m s c o n s i d e r e d i n t h i s paper a r e , i n g e n e r a l , two-step
(temporal) schemes, a s o l u t i o n a t
i s needed t o g e t h e r w i t h t h e i n i t i a l
t = At
c o n d i t i o n t o s t a r t t h e computation.
h e r e i n , t h e e x a c t s o l u t i o n (7.2) a t
t = At
t i o n a l l e v e l of d a t a .
t h e f i r s t time step.
was used t o p r o v i d e t h e a d d i -
0 = 1/2,
0.
t h e t r u n c a t i o n e r r o r i s z e r o ) f o r a polynomial of d e g r e e n o t exceeding t h r e e
and (7.6) i s e x a c t f o r a polynomial of d e g r e e n o t exceeding two.
Since t h e
Con-
Eq.
( 4 . 4 ) ) , and, of c o u r s e ,
roundoff e r r o r .
For each numerical experiment, we compute t h e
which i s d e f i n e d a s follows.
L2 norm of t h e e r r o r
a t each g r i d p o i n t i s d e f i n e d by
j ,k
where
n
u
j,k
solution.
n
u(jAx,kAy,t ) i s t h e a n a l y t i c a l
i s t h e n u m e r i c a l s o l u t i o n and
The Euclidean o r
L2
L2 e r r o r =
norm of t h e e r r o r i s d e f i n e d by
[(eAe:,Jk]
'"
j = l k=1
where
J and K
a r e t h e t o t a l number of g r i d p o i n t s i n t h e
x- and y - d i r e c t i o n s .
= 1/2) (see
The
L2
A , A , and 6 2
a given time ( t = 1 . 0 ) w i t h a f i x e d r a t i o of
A ~ / A X=
were r e p e a t e d w i t h s u c c e s s i v e l y s m a l l e r v a l u e s of
e r r o r vs.
At.
(The
Lp
r a c y o f t h e methods.
L2
rate
r a t e i s t h e s l o p e of a log-log graph of t h e
The computations
so that the
At
+.
could be computed.
1.0.
At
-t
0.)
error, the
L2
L2
each computation, t h e d i f f e r e n c e s i n t h e
L2
e r r o r ( f o r a given
At) r e s u l t
The
f o r m u l a t i o n w i t h t h e back-
For r e f e r e n c e , t h e r e s u l t s
The
L2
e r r o r s and r a t e s
t h a t i s , a f i r s t - o r d e r temporal t r e a t m e n t
a,b,c
The c o e f f i c i e n t s should b e e v a l u a t e d a t
I n obtaining the
At.
e r r o r s l i s t e d i n column ( 3 ) , t h e c o e f f i c i e n t s were e v a l u a t e d a t
L2
rather
t* and t h e l o s s of a c c u r a c y i s a p p a r e n t .
than
It i s important t o n o t e f o r
i n the
= 0
t h a t the operator
Consequently, t h e
that the
A and A
( 5 . 6 ~ ) ; hence, t h e
n- 1
u
A
formulations a r e i d e n t i c a l i f
a = 0.)
i s n o t needed t o compute
formulation f o r
f i x e d v a l u e of
An advantage of t h e
i n the f i n a l step
Consequently, because t h e
= 0 , t h i s s u b c l a s s of schemes h a s
form and t h e r o b u s t n e s s of t h e
e r r o r and r a t e f o r s e v e r a l schemes w i t h
L2
f o r u n c o n d i t i o n a l s t a b i l i t y when a p p l i e d t o
formulations a r e i d e n t i c a l f o r
compares t h e
(Recall
5 # 0 has a s i g n i f i c a n t l y
t h e s i m p l i c i t y of t h e
5 = 0.
form g e n e r a l l y r e q u i r e s t h e l e a s t amount of s t o r a g e .
On t h e o t h e r hand, t h e
i n t h e r e g i o n of
Ao-stability
s t a n t i s a monotone i n c r e a s i n g f u n c t i o n of
L2
d e f i n e d by (4.5)
a l g o r i t h m i s given by (5.6) w i t h
formulation i s t h a t
A and A
f o r m u l a t i o n becomes
hun = AU
the
tn
e r r o r s f o r a given v a l u e of
At
0.
A form.
5 = 0.
Table 4
For a
( s e e Fig. I ) , t h e e r r o r con-
T h i s i s v e r i f i e d by comparing
i n Table 4.
satisfying inequality
methods l i s t e d i n T a b l e 1.
i n t h e c a p t i o n of Table 5.
The l o s s of u n c o n d i t i o n a l s t a b i l i t y f o r t h e t r a p e -
8.
A,-stable
Concluding remarks.
I n t h i s paper we combine t h e c l a s s of a l l
f a c t o r i z a t i o n t o c o n s t r u c t u n c o n d i t i o n a l l y s t a b l e AD1 methods f o r p a r a b o l i c
e q u a t i o n s ( i n two s p a c e dimensions) w i t h a mixed d e r i v a t i v e .
For c o m p u t a t i o n a l
s i m p l i c i t y t h e mixed d e r i v a t i v e i s t r e a t e d e x p l i c i t y .
I n t h e a p p l i c a t i o n of t h e approximate f a c t o r i z a t i o n method w e c o n s i d e r
several different solution variables.
p ( ~ ) u a~s t h e unknown v a r i a b l e .
I n Sec. 4 we f o l l o w [ 2 0 ] and s e l e c t
T h i s c h o i c e p r o v i d e s a n a t u r a l framework f o r
A,-stable
LMMs w i t h approximate f a c t o r i z a t i o n .
The c h o i c e o f t h e unknown
av)un
a s t h e unknown v a r i a b l e i n Sec. 5.
l a t i o n c o n t a i n s a parameter
second-order,
two-step method.
i n a d d i t i o n t o t h e parameters ( 8 , t ) of t h e
The parameter s p a c e ( a , 8 , 5 ) f o r u n c o n d i t i o n a l
s t a b i l i t y i s determined i n Appendix B.
S e v e r a l g e n e r a l o b s e r v a t i o n s can be
made r e g a r d i n g t h e s t a b i l i t y o f t h e s e schemes:
i n t h e range [-1,1],
The g e n e r a l formu-
(1) F o r a g i v e n v a l u e of
t h e parameter s p a c e ( 8 , 5 ) f o r u n c o n d i t i o n a l s t a b i l i t y i s
(compare F i g . 1
e x p l i c i t t r e a t m e n t of mixed d e r i v a t i v e ) a l g o r i t h m (3.12)
(compare F i g . 2 w i t h F i g s . 3 and 4 ) .
a, the
(3) The
a = 5/(1
depends
62 formulation
a = 1).
tion equation
p (E)
formulation (i. e. , a
eter space (shaded region of Fig. 1) for unconditional stability as the generating A-stable LMM.
In fact, the
LMMs
Consequently,
one can use the class of time-differencing schemes of this paper to design
second-order AD1 algorithms for mixed hyperbolic-parabolic systems of nonlinear
equations.
Appendix A.
S t a b i l i t y a n a l y s i s of combined LMMs.
I n t h i s appendix we
ODE :
-du- -
(A. l a , b )
dt
A1 and A 2
where
XIU
A2u ;
A1 < 0, X1
a r e r e a l constants.
X2 I 0
I n a d d i t i o n , we i n v e s t i g a t e t h e s t a b i l -
( 2 . 9 ) , and (3.15).
t i o n (A.l) w i t h
f l = Xlu
The a n a l y s i s i s f o r
two-step methods.
p(E),
a ( E ) , and oe(E) a r e d e f i n e d
and
f 2 = A2u, we o b t a i n a d i f f e r e n c e e q u a t i o n
whose c h a r a c t e r i s t i c e q u a t i o n i s
a2c2
(A. 2)
alc
+ a.
= 0
where
(A. 3 a )
a, = ( 1
5)
BXIAt
(A. 3b)
(A. 3 c )
Equation (A. 2 ) i s a von Neumann polynomial [ 1 6 ] , t h a t i s ,
1C 1
5 1, i f and only
if
(A. 4a)
a0 I. a 2
and
(A. 4b)
-(a2
where w i t h o u t l o s s of g e n e r a l i t y
ao) I a l 5 a2
a2
a.
i s assumed t o b e p o s i t i v e .
The i n e q u a l -
Note t h a t f o r t h e s p e c i a l c a s e
A,-stability
are
A2 = 0, (A.6b) becomes
<
28
1 and condi-
t i o n s (A.6) r e d u c e t o (2.16).
For t h e s t a b i l i t y a n a l y s i s of t h e u n f a c t o r e d scheme (3.12) f o r t h e PDE
(1.1) we need o n l y c o n s i d e r t h e s t a b i l i t y of t h e l i n e a r two-step scheme (3.7)
a p p l i e d t o t h e ODE (3.4) f o r t h e F o u r i e r c o e f f i c i e n t ,
I n t h i s appendix we
c o n s i d e r o n l y t h e s p a t i a l l y continuous s o l u t i o n ; however, t h e r e s u l t s a r e
a p p l i c a b l e t o t h e s p a t i a l l y d i s c r e t e c a s e ( s e e l a s t paragraph of Appendix B).
The c o n d i t i o n s on t h e parameters (8,5) f o r t h e u n c o n d i t i o n a l s t a b i l i t y of
(3.12) c a n b e d e r i v e d from t h e
tions
(A. 7 a , b )
XI
= -(a12
+C
K ~, ~ ) A 2 =
,K
There f o l l o w s
(A. 8 a , b )
The i n e q u a l i t i e s (A.8aYb) t o g e t h e r w i t h ( l . l c , d )
(A. 9a , b )
6 2
--12
imply
F S 8 - 1 .
A,-stable.
Consequently, we have t h e
r e s u l t t h a t t h e second-order e x p l i c i t t r e a t m e n t of t h e mixed d e r i v a t i v e
reduces t h e parameter s p a c e (0,C)
Appendix B.
I n t h i s appen-
assume t h a t
where
vn
We
i s s p a t i a l l y c o n t i n u o u s and s e e k a s o l u t i o n o f t h e form
i s t h e F o u r i e r c o e f f i c i e n t and
I,
K~
a r e t h e Fourier variables.
P r i o r t o a n a c t u a l n u m e r i c a l computation, t h e s p a t i a l d e r i v a t i v e s a r e r e p l a c e d
by a p p r o p r i a t e d i f f e r e n c e q u o t i e n t s ; however, a s i n d i c a t e d a t t h e end o f t h i s
appendix, t h e s t a b i l i t y proof f o r t h e s p a t i a l l y d i s c r e t e c a s e r e q u i r e s o n l y a
minor m o d i f i c a t i o n of t h e f o l l o w i n g s t a b i l i t y p r o o f .
By s u b s t i t u t i n g (B.l) i n t o (5.5), we f i n d t h a t t h e F o u r i e r c o e f f i c i e n t
satisfies
where we have d e f i n e d
and
w = 0/(1
5).
The a m p l i f i c a t i o n f a c t o r i s d e f i n e d by
(B. 4 )
n+ 1
n
5v
,
5
s a t i s f i e s the quadratic
equation
03.5)
a2c2
where
(B. 6a)
a, = ( 1
+ A) ( 1 +
C)
a15
a.
= 0
(B. 6c)
a(A+ C)
+ 1-=
c = 0
a).
= C = 0
in
the roots of the quadratic (B.5) have modulus bounded by unity for
those values of (8,E) shown in the shaded region of Fig. 1, that is,
(B. 7a,b)
Note that a
if B = C
= 0.
We must
determine if there are additional restrictions on the parameters (8,E) for the
unconditional stability of the factored scheme (5.5) for arbitrary values of
a,b,c
(B.8a,b)
a > O ,
b2<4ac
(B. 9)
C =-+bt(ar12
2
+ bklk2 + ckZ2)
> 0
since the positive definiteness of this quadratic form was the condition which
led originally to (B.8).
The coefficients (B.6) of the quadratic (B.5) are real and consequently
the roots
satisfy
151 5 1
0s1 + 5
(B.10)
(1
(A+ B + C )
u)AC
if and only if
u s l .
(B.11)
8 and E.
If the coeffi-
cients (B.6) are inserted into the right inequality of (A.4b) one obtains
(B. 12)
The determination of necessary and sufficient conditions for this inequality
is simplified if it is rewritten as
kl
(B. 14a,b)
&
It can be shown that necessary and sufficient conditions for the polynomial P
in
kl,k2 defined by
(B. 15)
P = e, ( k , k , ) 2
(B. 16b)
2 1 G
(B. 17e)
- 1 s ~ ~ .
if and
only if
(B. 20)
(B. 21)
(~.11), (B.lS),
and (B.21).
In the above stability analysis we assumed that the spatial derivatives
were continuous.
If, for example, the spatial derivatives in (5.5) are replaced by the
proceeds as above with the exception that the exponential in (B.l) is replaced
by
(B. 22)
where
x = jAx, y = kAy.
(B. 23a,b)
(B. 24)
-+
B cos
1
2
7
cos 2 '
where
= K ~ A X,
O2 = K
,A
S i n c e t h e s t a b i l i t y r e g i o n d e f i n e d by i n e q u a l i t i e s (B.7b),
K~
and
K~
and
(B. 25)
we o b t a i n t h e same s t a b i l i t y r a n g e f o r t h e d i s c r e t e c a s e .
I f one u s e s a non-
(B. 26)
where
t h e o n l y m o d i f i c a t i o n n e c e s s a r y i n t h e s t a b i l i t y a n a l y s i s i s replacement of
(B. 24) by
(B. 27)
REFERENCES
[l]
R. M.
[2]
A,-stable
methods,
, Error
a n a l y s i s f o r a c l a s s o f methods f o r s t i f f n o n - l i n e a r i n i -
, The
, Positive
f u n c t i o n s and some a p p l i c a t i o n s t o s t a b i l i t y q u e s t i o n s
Proceeding t o b e p u b l i s h e d by Academic P r e s s ,
J. DOUGLAS, On t h e numerical i n t e g r a t i o n of
uxx
+ uyy
= ut
by i m p l i c i t
Equations, P r e n t i c e - H a l l ,
Englewood C l i f f s , N . J . ,
1971.
1 1
[20]
1978.
[21] R. F. WARMING and R. M. BEAM, Factored, A-stable, linear multistep
methods
- an
TABLE 1
P a r t i a l l i s t o f second-order two-step methods.
8
Method
Symbol i n
Fig. 1
One-step t r a p e z o i d a l formula
rn
Backward d i f f e r e n t i a t i o n
1 --1 -3
Lees t y p e [14]
3
-
--I
Adams t y p e [17]
Two-step t r a p e z o i d a l formula
1
2
--21 --1
2
TABLE 2
Lp error of the A, A, and 62 formulations at t = 1.0.
At =
Ax
Ay
0.2
A formulation
A formularion
6 formulation
. ~
A~/AX
L2 error
time steps
L2 rate L2 error
L2 rate L2 error
L2 rate
Number of
0.785~10'~
0.107~10'~
2.02
0.1
10
10
0.193~10'~
0.05
20
20
0.479~10'~
0.025
40
40
0.119~10'~
0.134~10-~
2.01
0.266~10-~
2.01
2.03
0.649~10-~
2.01
2.03
0.160~10-~
1.57
0.452~10-~
- 1.72
0.137~10'~
- 1.89
0.372~10-~
TABLE 3
Numerical experiments illustrating (1) second-order A formulation, (2) degradation in
accuracy when mixed derivative is computed with a first-order method, (3) deterioration
in accuracy when time-dependent coefficients are not evaluated at proper time level.
At=
Numberof
At'*x2
Ax = Ay
0.2
time steps
5
(1)
L~ error
(2)
L~ rate L~ error
0.758~10-~
10
10
0.193~10-~
0.05
20
20
0.479~10'~
0.025
40
40
0.119~10-~
L~ rate
0.907~10'~
0.585~10'~
2.02
0.1
(3)
L~ rate L~ error
0.59
0.389~10'~
2.01
1.72
0.275~10-~
0.85
0.216~10'~
2.01
1.63
0.888~10-~
0.94
0.113~10'~
1.47
0.320~10'~
TABLE 4
L2 e r r o r of t h e
At =
Ax = Ay
0.2
Number of
t i m e steps
formulation f o r
= 0
and s e v e r a l v a l u e s o f
5 = 0, 8 = 213
A ~ I A X. ~
L2 e r r o r
L2 r a t e
5
0.705~10'~
5 = 0, 8 = 314
L2 e r r o r
10
10
0.169~10'~
0.05
20
20
0.415~10'~
0.025
40
40
0.102xl0'~
L2 r a t e
0.871~10'~
2.06
0.1
at
t = 1.0.
5 = 0 , (3 = 312
L2 e r r o r
0.262~10-~
1.85
2.07
0.208~10'~
2.03
0.726x10-~
2.00
2.03
0.511~10-~
2.02
0.181~10-~
2.02
0.126~10'~
L2 r a t e
2.01
0.448x10-~
TABLE 5
L2 e r r o r of
at
t = 1.0.
f o r m u l a t i o n (4.11)
Parameters a r e
of time s t e p s = 200,
Method
One-step t r a p e z o i d a l
Backward d i f f e r e n t i a t i o n
Lees t y p e
Adams t y p e
Two-step t r a p e z o i d a l
1
11
L2 e r r o r
0.246~10~
0.479x10'~
0.405~10~~
0.505~10'~
1 0.772~10-~
FIGURE CAPTIONS
FIG. 1.
A,-
and A-stable domain of the parameters (8,E) for the class of all
p (E),
u(E),
and ue(E)
defined by (2.7a),
(2.91,
and (3.15).
FIG. 3.
tored
A formulation (4.11).
FIG. 4. Unconditionally stable domain of the parameters (8,E) for the factored general formulation (5.5) for several values of a.
Figure 1.- A,and A-stable domain of the parameters (8,S) for the class of all
second-order two-step methods. Symbols denote methods listed in Table 1.
54
Figure 4.- Unconditionally stable domain of the parameters ( 0 , 5 ) for the factored general formulation (5.5) for several values of a.
.
..
1. Report No.
NASA TM-78569
5. Report Date
4. T ~ t l eand Subt~tle
7. Author(s)
Richard M. Beam
and R. F. Warming
A-7766
10. Work Unit No.
505-15-31-01-00-21
11. Contract or Grant No.
Technical Memorandum
16. Abstract
Alternating direction implicit (ADI) schemes for two-dimensional parabolic equations with a mixed derivative are constructed by using the class
of all Ao-stable linear two-step methods in conjunction with the method of
approximate factorization. The mixed derivative is treated with an explicit
two-step method which is compatible with an implicit A,-stable method. The
parameter space for which the resulting AD1 schemes are second-order accurate and unconditionally stable is determined. Some numerical examples are
given.
AD1 methods
Numerical analysis Unlimited
A,-stability
Computational
Parabolic equations
fluid dynamics
Implicit methods
Linear multistep
STAR Category
methods
19. Security Classif. (of this report)
Unclassified
Unclassified
64
57
'For sale by the National Technic31 Information Service, Springfield, Virginia 221 61
22. Price*
$4.50