Professional Documents
Culture Documents
Introduction
Numerical schemes of 3
th
and 4
th
order in
time
Stability
Numerical experiments
Conclusions
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.2/29
Introduction
Consider partial differential equation of the form
u
t
= Lu +N(u, t)
where L is a higher-order linear term and N is low-order
nonlinear term.
After discretization in space we obtain a systems of ODEs
u = Lu +N(u, t)
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.3/29
Introduction
Consider partial differential equation of the form
u
t
= Lu +N(u, t)
where L is a higher-order linear term and N is low-order
nonlinear term.
After discretization in space we obtain a systems of ODEs
u = Lu +N(u, t)
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.3/29
Basic methods
SL = Sliders Extent ion of LI, split the linear part into three regions (low,
medium and high), (Fornberg and Driscoll 99)
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.4/29
Basic methods
SL = Sliders Extent ion of LI, split the linear part into three regions (low,
medium and high), (Fornberg and Driscoll 99)
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.4/29
Basic methods
SL = Sliders Extent ion of LI, split the linear part into three regions (low,
medium and high), (Fornberg and Driscoll 99)
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.4/29
Basic methods
IF = Integrating Factor Make a change of variable then solve exactly for the
linear part and use the numerical scheme for the transformed nonlinear equation
(Mayday, Patera, Rnquist 90, Milewski and Tabak 99, Trefethen 00, Krogstad
03).
v = exp(Lt)u
exp(Lt)u
t
Lu
. .
v
t
= exp(Lt)N(u)
v
t
= exp(Lt)N(exp(Lt)v)
IF = Integrating Factor Make a change of variable then solve exactly for the
linear part and use the numerical scheme for the transformed nonlinear equation
(Mayday, Patera, Rnquist 90, Milewski and Tabak 99, Trefethen 00, Krogstad
03).
v = exp(Lt)u
exp(Lt)u
t
Lu
. .
v
t
= exp(Lt)N(u)
v
t
= exp(Lt)N(exp(Lt)v)
IF = Integrating Factor Make a change of variable then solve exactly for the
linear part and use the numerical scheme for the transformed nonlinear equation
(Mayday, Patera, Rnquist 90, Milewski and Tabak 99, Trefethen 00, Krogstad
03).
v = exp(Lt)u
exp(Lt)u
t
Lu
. .
v
t
= exp(Lt)N(u)
v
t
= exp(Lt)N(exp(Lt)v)
u = Lu +N(u(t), t)
u(t
0
) = u
0
Use the same integrating factor like in IF
d
dt
(exp(Lt)u) = exp(Lt)N(u(t))
Integrate over a single time step of length h
u
n+1
= exp(Lh)u
n
+exp(Lh)
_
h
0
exp(L)N(u(t
n
+), t
n
+ )d
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.6/29
Exponential Time Differencing
(1)
u = Lu +N(u(t), t)
u(t
0
) = u
0
Use the same integrating factor like in IF
d
dt
(exp(Lt)u) = exp(Lt)N(u(t))
Integrate over a single time step of length h
u
n+1
= exp(Lh)u
n
+exp(Lh)
_
h
0
exp(L)N(u(t
n
+), t
n
+ )d
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.6/29
ETD (1/2)
N(u(t), t) = constant
ETD1: u
n+1
= exp(Lh)u
n
+L
1
N
n
(exp(Lh) I), where N
n
= N(u
n
, t
n
)
N(u(), ) = N
n
+
h
(N
n
N
n1
)
ETD2:
u
n+1
= exp(Lh)u
n
+ h
1
L
2
N
n
(exp(Lh)(I +Lh) 2Lh I)
+h
1
L
2
N
n1
(exp(Lh) +Lh +I)
In general
ETDs: u
n+1
= exp(Lh)u
n
+h
s1
m=0
g
m
m
k=0
(1)
k
_
m
k
_
N
nk
, where g
m
are given by
Lhg
0
= exp(Lh) I
Lhg
m+1
+I = g
m
+
1
2
g
m1
+
1
3
g
m2
+ +
g
0
m+1
, m 0.
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.7/29
ETD (1/2)
N(u(t), t) = constant
ETD1: u
n+1
= exp(Lh)u
n
+L
1
N
n
(exp(Lh) I), where N
n
= N(u
n
, t
n
)
N(u(), ) = N
n
+
h
(N
n
N
n1
)
ETD2:
u
n+1
= exp(Lh)u
n
+ h
1
L
2
N
n
(exp(Lh)(I +Lh) 2Lh I)
+h
1
L
2
N
n1
(exp(Lh) +Lh +I)
In general
ETDs: u
n+1
= exp(Lh)u
n
+h
s1
m=0
g
m
m
k=0
(1)
k
_
m
k
_
N
nk
, where g
m
are given by
Lhg
0
= exp(Lh) I
Lhg
m+1
+I = g
m
+
1
2
g
m1
+
1
3
g
m2
+ +
g
0
m+1
, m 0.
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.7/29
ETD (1/2)
N(u(t), t) = constant
ETD1: u
n+1
= exp(Lh)u
n
+L
1
N
n
(exp(Lh) I), where N
n
= N(u
n
, t
n
)
N(u(), ) = N
n
+
h
(N
n
N
n1
)
ETD2:
u
n+1
= exp(Lh)u
n
+ h
1
L
2
N
n
(exp(Lh)(I +Lh) 2Lh I)
+h
1
L
2
N
n1
(exp(Lh) +Lh +I)
In general
ETDs: u
n+1
= exp(Lh)u
n
+h
s1
m=0
g
m
m
k=0
(1)
k
_
m
k
_
N
nk
, where g
m
are given by
Lhg
0
= exp(Lh) I
Lhg
m+1
+I = g
m
+
1
2
g
m1
+
1
3
g
m2
+ +
g
0
m+1
, m 0.
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.7/29
ETD (2/2)
Another way of producing the same formulas (Krogstad 03)
Lemma 1 Let N
k
=
d
k
dt
k
t = t
0
N(u(t), t) then the solution u(t) of (1) is
u(t
0
+ h) = exp(Lh)u
0
+
k=0
t
k+1
k
(tL)N
k
,
where
0
(z) =
exp(z) 1
z
,
k+1
(z) =
k
(z)
k
(0)
z
, k = 1, 2, . . .
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.8/29
Lie-group Methods
k
k
r,J
F
k
) Exp(
k
k
r,1
F
k
)(p)
F
r
= hF
Y
r
= h
i
f
i
(Y
r
)E
i
end
y
1
= Exp(
k
k
J
F
k
) Exp(
k
k
1
F
k
)p
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.9/29
Lie-group Methods
k
k
r,J
F
k
) Exp(
k
k
r,1
F
k
)(p)
F
r
= hF
Y
r
= h
i
f
i
(Y
r
)E
i
end
y
1
= Exp(
k
k
J
F
k
) Exp(
k
k
1
F
k
)p
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.9/29
Lie-group Methods
k
k
r,J
F
k
) Exp(
k
k
r,1
F
k
)(p)
F
r
= hF
Y
r
= h
i
f
i
(Y
r
)E
i
end
y
1
= Exp(
k
k
J
F
k
) Exp(
k
k
1
F
k
)p
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.9/29
ETD1 and Lie-group Integrators
We can rewrite the equation (1) in the form
t
(u) be the Frozen Vector Field at the point ( u,
t)
F
u,
t
(u) = (L, N( u,
t)).u = Lu +N( u,
t)
The ow of such vector eld is the solution of u = F
u,
t
(u), u(0) = u
0
Exp(tF
u,
t
).u
0
= exp(tL)u
0
+t
0
(tL)N( u,
t)
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.10/29
ETD1 and Lie-group Integrators
We can rewrite the equation (1) in the form
t
(u) be the Frozen Vector Field at the point ( u,
t)
F
u,
t
(u) = (L, N( u,
t)).u = Lu +N( u,
t)
The ow of such vector eld is the solution of u = F
u,
t
(u), u(0) = u
0
Exp(tF
u,
t
).u
0
= exp(tL)u
0
+t
0
(tL)N( u,
t)
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.10/29
ETD1 and Lie-group Integrators
We can rewrite the equation (1) in the form
t
(u) be the Frozen Vector Field at the point ( u,
t)
F
u,
t
(u) = (L, N( u,
t)).u = Lu +N( u,
t)
The ow of such vector eld is the solution of u = F
u,
t
(u), u(0) = u
0
Exp(tF
u,
t
).u
0
= exp(tL)u
0
+t
0
(tL)N( u,
t)
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.10/29
ETD2 and Lie-group Integrators (1/3)
We can rewrite the equation (1) in the form
y = (A
u,t
, a).y =
F
u,t
(y)
y(0) = y
0
where
A
u,t
=
_
_
_
_
L
N(u,t)N
0
t
0 0
_
_
_
_
, a =
_
_
_
_
N
0
1
_
_
_
_
,
y =
_
_
_
_
u
v
_
_
_
_
, y
0
=
_
_
_
_
u
0
0
_
_
_
_
, N
0
= N(u
0
, 0)
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.11/29
ETD2 and Lie-group Integrators (2/3)
Let
F
u,
t
(y) be the Frozen Vector Field at the point ( u,
t)
F
u,
t
(u) = (A
u,
t
, a).y = A
u,
t
y +a,
where
A
u,
t
=
_
_
_
_
L
NN
0
t
0 0
_
_
_
_
,
N = N( u,
t)
The ow of such vector eld is the solution of y =
F
u,
t
(y), y(0) = y
0
Exp(t
F
u,
t
).y
0
=
_
_
exp(tL)u
0
+t
0
(tL)N
0
+ t
2
1
(tL)
NN
0
t
t
_
_
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.12/29
ETD2 and Lie-group Integrators (2/3)
Let
F
u,
t
(y) be the Frozen Vector Field at the point ( u,
t)
F
u,
t
(u) = (A
u,
t
, a).y = A
u,
t
y +a,
where
A
u,
t
=
_
_
_
_
L
NN
0
t
0 0
_
_
_
_
,
N = N( u,
t)
The ow of such vector eld is the solution of y =
F
u,
t
(y), y(0) = y
0
Exp(t
F
u,
t
).y
0
=
_
_
exp(tL)u
0
+t
0
(tL)N
0
+ t
2
1
(tL)
NN
0
t
t
_
_
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.12/29
ETD2 and Lie-group Integrators (3/3)
The commutator between two vector elds is
[(A, a).u , (B, b).u] = (C, c).u,
where C = [A, B], c = (Ab Ba)
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.13/29
3
th
order RK schemes
0
1 -
0
2
0
4
2
3
1
+
0
8
2
+ 4
1
4
2
1
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.14/29
3
th
order RK schemes
0
1 -
0
2
0
4
2
3
1
+
0
8
2
+ 4
1
4
2
1
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.14/29
3
th
order CF schemes
1
12
3
4
ETDCF3:
0
1
3
1
3
0
2
3
0
2
3
0
1
3
1
12
0
3
4
0
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.15/29
3
th
order CF schemes
1
12
3
4
ETDCF3:
0
1
3
1
3
0
2
3
0
2
3
0
1
3
1
12
0
3
4
0
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.15/29
3
th
order schemes and ETD2
ETD2RK3:
0
1
2
1
2
0
1
0
4
1
4
1
4
2
3
1
+
0
8
2
+ 4
1
4
2
ETD2CF3:
0
1
3
1
3
0
2
3
2
3
4
3
1
4
3
1
9
2
9
2
1
+
0
18
2
+ 6
1
9
2
3
2
1
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.16/29
3
th
order schemes and ETD2
ETD2RK3:
0
1
2
1
2
0
1
0
4
1
4
1
4
2
3
1
+
0
8
2
+ 4
1
4
2
ETD2CF3:
0
1
3
1
3
0
2
3
2
3
4
3
1
4
3
1
9
2
9
2
1
+
0
18
2
+ 6
1
9
2
3
2
1
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.16/29
4
th
order schemes (1/4)
CF4:
(Celledoni, Martinsen, Owren)
0
1
2
1
2
1
2
0
1
2
1
2
1
2
0 0
1
2
-
1
2
0 1
1
4
1
6
1
6
-
1
12
-
1
12
1
6
1
6
1
4
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.17/29
4
th
order schemes (2/4)
ETDRK4:
(Krogstad)
0
1
2
1
2
0
1
2
0
1
2
0
1
2
1
2
0
0 0
1
2
-
1
2
0
0
0
4
2
3
1
+
0
4
2
+ 2
1
4
2
+ 2
1
4
2
1
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.18/29
4
th
order schemes (3/4)
ETDRK4B:
(Krogstad)
0
1
2
1
2
0
1
2
1
2
1
0
1
0
2
1
0 2
1
4
2
3
1
+
0
4
2
+ 2
1
4
2
+ 2
1
4
2
1
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.19/29
4
th
order schemes (3/4)
ETDCF4:
0
1
2
1
2
0
1
2
0
1
2
0
1
2
1
2
0
0 0
1
2
-
1
2
0
0
0
1
4
0
1
6
0
1
6
0
-
1
12
0
-
1
12
0
1
6
0
1
6
0
1
4
0
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.20/29
Stability
We consider the model equation
u = cu +u
u(0) = 1
where c and are scalars
For computing the
i
functions we use the approach suggested by Kassam and
Trefethen
i
(L) =
1
2i
_
i
(t)(tI L)
1
dt,
where is a contour well separated from 0
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.21/29
Stability
We consider the model equation
u = cu +u
u(0) = 1
where c and are scalars
For computing the
i
functions we use the approach suggested by Kassam and
Trefethen
i
(L) =
1
2i
_
i
(t)(tI L)
1
dt,
where is a contour well separated from 0
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.21/29
Stability regions for 3
th
order schemes
5 4 3 2 1 0 1 2 3 4 5
5
4
3
2
1
0
1
2
3
4
5
Stability region for ETDRK3
5 4 3 2 1 0 1 2 3 4 5
5
4
3
2
1
0
1
2
3
4
5
Stability region for ETD2RK3
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.22/29
Stability regions for 4
th
order schemes
5 4 3 2 1 0 1 2 3 4 5
5
4
3
2
1
0
1
2
3
4
5
Stability region for ETDRK4
5 4 3 2 1 0 1 2 3 4 5
5
4
3
2
1
0
1
2
3
4
5
Stability region for ETDRK4B
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.23/29
Numerical experiments
Example 1: Test equation
u = 1.5u + 2t
2
t + u
u(0) = 2
L = 1.5 and N = 2t
2
t +u
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.24/29
Test equation
10
3
10
2
10
1
10
0
10
12
10
10
10
8
10
6
10
4
10
2
10
0
10
2
Stepsize h
E
r
r
o
r
a
t
t
i
m
e
=
6
5
Test equation
ETDCF3
ETDRK3
ETD2CF3
ETD2RK3
10
3
10
2
10
1
10
0
10
12
10
10
10
8
10
6
10
4
10
2
10
0
Stepsize h
E
r
r
o
r
a
t
t
i
m
e
=
6
5
Test equation
ETDRK4
ETDCF4
ETDRK4B
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.25/29
Numerical experiments
Example 2: Kuramoto-Sivashinsky equation
u
t
= uu
x
u
xx
u
xxxx
x [0, 32]
u(x, 0) = cos(
x
16
)(1 +sin(
x
16
))
We discretise the spatial part using Fourier spectral method. The transformed equation
in the Fourier space is
u
t
=
ik
a
u
2
+ (k
2
k
)
u,
(L u)(k) = (k
2
k
4
) u(k) and N( u, t) =
ik
2
(F((F
1
( u))
2
))
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.26/29
Numerical experiments
Example 2: Kuramoto-Sivashinsky equation
u
t
= uu
x
u
xx
u
xxxx
x [0, 32]
u(x, 0) = cos(
x
16
)(1 +sin(
x
16
))
We discretise the spatial part using Fourier spectral method. The transformed equation
in the Fourier space is
u
t
=
ik
a
u
2
+ (k
2
k
)
u,
(L u)(k) = (k
2
k
4
) u(k) and N( u, t) =
ik
2
(F((F
1
( u))
2
))
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.26/29
Kuramoto-Sivashinsky equation
10
2
10
1
10
0
10
5
10
4
10
3
10
2
10
1
10
0
Stepsize h
R
e
l
a
t
i
v
e
e
r
r
o
r
a
t
t
i
m
e
=
6
5
KuramotoSivashinsky equation
ETDRK3
ETD2RK3
ETD2CF3
10
2
10
1
10
0
10
7
10
6
10
5
10
4
10
3
10
2
10
1
10
0
Stepsize h
R
e
l
a
t
i
v
e
e
r
r
o
r
a
t
t
i
m
e
=
6
5
KuramotoSivashinsky equation
ETDRK4
ETDCF4
ETDRK4B
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.27/29
Conclusion
We discuss how to choose the frozen vector eld in order to receive better
approximation of the nonlinear part.
The above approach can be successfully applied when the nonlinear part of the
system is periodic.
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.28/29
Conclusion
We discuss how to choose the frozen vector eld in order to receive better
approximation of the nonlinear part.
The above approach can be successfully applied when the nonlinear part of the
system is periodic.
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.28/29
Conclusion
We discuss how to choose the frozen vector eld in order to receive better
approximation of the nonlinear part.
The above approach can be successfully applied when the nonlinear part of the
system is periodic.
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.28/29
Conclusion
We discuss how to choose the frozen vector eld in order to receive better
approximation of the nonlinear part.
The above approach can be successfully applied when the nonlinear part of the
system is periodic.
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.28/29
References
S.M. Cox, P.C. Matthews, Exponential time differencing for stiff systems, J. Comp.
Phys. 176, 430-455 (2002)
A.K. Kassam, L.N. Trefethen, Fourth-order time stepping for stiff PDEs, Submitted
to SIAM J. Sci. Comput. (2002)
S. Krogstad, Generalized integrating factor methods for stiff PDEs, available at:
http://www.ii.uib.no/stein
Exponential Time Differencing and Lie-Group Methods for Stiff Problems p.29/29