You are on page 1of 40

HYP2002

Ninth International Conference on Hyperbolic Problems Theory, Numerics, Applications


Pasadena, California, March 25-29, 2002

Implicit-Explicit Runge-Kutta schemes


for hyperbolic systems with relaxation

Lorenzo Pareschi
Department of Mathematics
University of Ferrara, Italy

pareschi@dm.unife.it
http://www.unife.it/∼prl

Joint work with


Giovanni Russo
University of Catania
1
Introduction
Hyperbolic systems with relaxation

Many physical models are described by hyperbolic systems with relaxation of the form
1
∂tU + ∂xF (U ) = R(U ), x ∈ R,
ε
where U = U (x, t) ∈ RN , F : RN → RN , F 0 (U ) has real eigenvalues and admits a basis of
eigenvectors ∀ U ∈ RN and ε > 0 is called relaxation parameter.

Examples
Gas dynamics
Shallow water
Discrete kinetic models
Extended Thermodynamics
Hydrodynamical models for semiconductors
Traffic models
Granular gases
...................

Related problems: convection-diffusion-reaction, low Mach number/diffusive limits

. Purpose of the talk is to give an overview of Runge-Kutta time discretization methods


for such systems, with particular emphasis on the treatment of stiff regimes.
2
Example:
A simple prototype example of relaxation system is given by

∂tu + ∂xf1(u, v) = 0,
1
∂tv + ∂xf2(u, v) = − (v − e(u)),
ε
which corresponds to U = (u, v), F (U ) = (f1 (u, v), f2 (u, v)), R(U ) = (0, e(u) − v).

As ε → 0 we get the local equilibrium v = e(u) and setting G(u) = f1 (u, e(u)) the reduced
system of conservation laws

∂tu + ∂xG(u) = 0.
Numerical requirements

• In most cases F (U ) is non stiff and 1ε R(U ) contains the stiffness. It is desirable to
develop numerical schemes which are explicit in F and implicit in R.

• It is essential that the numerical scheme is accurate for the reduced limit system of
conservation laws. This property is related to L-stability.

• The schemes should be high resolution shock capturing, yielding correct shock loca-
tion and speed without numerical oscillations.

3
Outline

. Implicit-Explicit (IMEX) Runge-Kutta schemes


– Splitting methods
– IMEX-Runge Kutta
– Order conditions

. Asymptotic behavior
– Zero relaxation limit
– Asymptotic properties of IMEX schemes

. Stability analysis
– Stability matrix
– Prototype equations

. Space discretizations

. Applications

. Conclusions
4
Implicit-Explicit Runge Kutta schemes
We can consider the system of ode’s
1
y 0 = f (y) + g(y),
ε
where y = y(t) ∈ RN , f, g : RN → RN .
Splitting methods
A simple splitting consists in solving separately the non-stiff problem

y 0 = f (y),
applying an explicit scheme and, using an implicit scheme, the stiff problem
1
y0 = g(y).
ε
Only first order accurate, but has several advantages:
. Some properties of the solution are maintained (e.g. positivity, strong stability perserving
(SSP) property)
. Consistency with the stiff limit as ε → 0
. In many cases the implicit scheme for g can be explicitly solved
Remark Higher order splitting methods (ex. Strang splitting) can be constructed. Tipi-
cally these extensions present a severe loss of accuracy when the g term is stiff.
5
IMEX-RK methods
An Implicit-Explicit (IMEX) Runge-Kutta scheme has the form
i−1 ν
X X 1
Yi = y 0 + h ãij f (t0 + c̃j h, Yj ) + h aij g(t0 + cj h, Yj ),
j=1 j=1
ε
ν ν
X X 1
y1 = y 0 + h w̃i f (t0 + c̃i h, Yi ) + h wi g(t0 + ci h, Yi ).
i=1 i=1
ε
à = (ãij ), ãij = 0, j ≥ i and A = (aij ): ν × ν matrices.
Coefficient vectors: c̃ = (c̃1 , . . . , c̃ν )T , w̃ = (w̃1 , . . . , w̃ν )T , c = (c1 , . . . , cν )T , w = (w1 , . . . , wν )T .

c̃ Ã c A
Double Butcher tableau: .
w̃T wT
Sufficient condition to guarantee that f is always evaluated explicitly: the scheme for g
is diagonally implicit (DIRK) and the first raw and first column of A are zero.
Remarks

• Similarly to splitting methods IMEX schemes can be applied as a sequence of single


explicit steps for f and implicit steps for g. This property is important in applications.

• Previously developed Runge-Kutta methods for similar problems can be cast in the
IMEX formalism (Zhong methods, splitting methods).

6
Some References:
• F.Coron, B.Perthame, SIAM J. Numer. Anal., (1991)

• R. Pember, SIAM J. Sci. Stat. Comp. and SIAM J. App. Math., (1993)

• P. Roe, M. Arora, Num. Meth. PDEs, (1993).

• S. Jin, J. Comp. Phys., (1995)

• R. E. Caflisch, S. Jin and G. Russo, SIAM J. Numer. Anal., (1997).

• U. Ascher, S. Ruuth, B. Wetton, SIAM J. Numer. Anal., (1995)

• U. Asher, S. Ruuth, and R. J. Spiteri, Appl. Numer. Math., (1997)

• X. Zhong, J. Comp. Phys., (1996)

• G. Akridis, M. Crouzeix, C. Makridakis, Num. Math., (1999)

• J. Frank, W. H. Hudsdorder, J. G. Verwer, App. Num. Math., (1997)

• C. A. Kennedy, M. H. Carpenter, App. Num. Math., (2003)

• L.P., G.Russo, Adv. Th. Comp. Math. (2000), preprint (2003)

• M.L.Minion, Comm. Math. Sci. (to appear)

• S.F.Liotta, V.Romano, G.Russo, SIAM J. Numer. Anal., (2001)

• L.P., SIAM J. Numer. Anal, (2001).

• M.K.Banda, A.Klar, L.P., M.Seaid, App. Math. Lett. (2003), preprint (2002)

7
Order conditions
Assume
P P P P
c̃i = j ãi,j , ci = j ai,j , i w̃i = 1, i wi = 1.
then the analysis can be limited to autonomous systems and the first order conditions
are automatically satisfied.
Second order:
P P P P
i w̃i c̃i = 1/2, i wi ci = 1/2, i w̃i ci = 1/2, i wi c̃i = 1/2,

Third order:
P P P P
ij w̃i ãij c̃j = 1/6, i w̃i c̃i c̃i = 1/3, ij wi aij cj = 1/6, i w i ci ci = 1/3,

Mixed conditions:
P P P
w̃ ã c
ij i ij j = 1/6, ij w̃i aij c̃j = 1/6, ij w̃i aij cj = 1/6,
P P P
w ã c
ij i ij j = 1/6, ij wi aij c̃j = 1/6, ij wiãij c̃j = 1/6,
P P
i w̃ i c i c i = 1/3, i w̃i c̃i ci = 1/3,
P P
w
i i i ic̃ c̃ = 1/3, i wi c̃i ci = 1/3.

Remark If wi = w̃i and ci = c̃i , then mixed conditions are automatically satisfied. This is
not true for higher that third order accuracy
8
Higher order: IMEX schemes can be considered as a particular case of additive Runge-
Kutta methods and therefore higher order conditions can be derived as well using a
generalization of Butcher 1-trees to 2-trees. However the number of coupling conditions
increase dramatically with the order of the schemes.

IMEX-RK Number of coupling conditions


order General case w̃i = wi c̃ = c c̃ = c and w̃i = wi
1 0 0 0 0
2 2 0 0 0
3 12 3 2 0
4 56 21 12 2
5 252 110 54 15
6 1128 528 218 78

9
Examples of IMEX schemes

Notation: SCHEME(s, σ, p)
s implicit stages, σ explicit stages, p order. Explicit tableu (left), Implicit tableu (right).

SP(1,1,1)
0 0 1 1
1 1

Midpoint(1,2,2)
0 0 0 0 0 0
1/2 1/2 0 , 1/2 0 1/2 ,
0 1 0 1

Jin(2,2,2)
0 0 0 −1 −1 0
1 1 0 , 2 1 1
1/2 1/2 1/2 1/2

10
CJR(3,2,2)
0 0 0 0 0 0 0 0 0 0
α̃ α̃ 0 0 0 0 0 0 0 0
α̃ α̃ 0 0 0 γ γ 0 β 0
1 ηα̃ η β̃ 0 0 1 γη 0 βη µ
1 ηα̃ η β̃ 0 0 1 γη 0 βη µ

2µ − 1 2µ2 − 2µ + 1 1 1
β= , γ=− , α̃ = , β̃ = − , η = −2µ(µ − 1)
2(µ − 1) 2µ(µ − 1) 2µ 2(µ − 1)

LRR(3,2,2)
0 0 0 0 0 0 0 0 0 0
1/2 1/2 0 0 0 1/2 0 1/2 0 0
1/3 1/3 0 0 0 , 1/3 0 0 1/3 0
1 0 1 0 0 1 0 0 3/4 1/4
0 1 0 0 1 0 0 3/4 1/4

ARS(2,2,2)
0 0 0 0 0 0 0 0 √
γ γ 0 0 γ 0 γ 0 2 1
, , γ =1− ,δ = 1 −
1 δ 1−δ 0 1 0 1−γ γ 2 2γ
δ 1−δ 0 0 1−γ γ

11
Asymptotic behavior
Relaxation operators and zero-relaxation limit
Let us consider an hyperbolic system with relaxation
1
∂t U + ∂x F (U ) = R(U ), x ∈ R.
ε
The operator R : R → R is said a relaxation operator if there exists a constant n × N
N N

matrix Q with rank(Q) = n < N such that

QR(U ) = 0 ∀ U ∈ RN .
This gives n independent conserved quantities u = QU that uniquely determine a local
equilibrium U = E(u), such that R(E(u)) = 0.
We obtain a system of n conservation laws which is satisfied by every solution of the
relaxation system

∂t(QU ) + ∂x(QF (U )) = 0.
As ε → 0 we get R(U ) = 0 which implies U = E(u). In this case the relaxation system is
well approximated by the reduced system

∂tu + ∂xG(u) = 0,
where G(u) = QF (E(u)).

12
Asymptotic properties of IMEX schemes

An IMEX scheme for an hyperbolic system with relaxation has the form
i−1 ν
1
Ui(i)
X X
(j)
= U0 + h ãij F (U )+h aij R(U (j)),
j=1 j=1
ε
ν ν
X X 1
U1 = U 0 + h w̃i F (U (i)) + h wi R(U (i)).
i=1 i=1
ε

Definition 1 We say that an IMEX scheme for an hyperbolic system with relaxation
is asymptotic preserving (AP) if in the limit ² → 0 the scheme becomes a consistent
discretization of the limit system of conservation laws. We use the notation APk if the
scheme is of order k in the limit ² → 0.

Note that this definition does not imply that the scheme preserves the order of accuracy
in t in the stiff limit ² → 0. In the latter case the scheme is said asymptotically accurate.

Examples: Scheme SP(1,1,1) is clearly AP1 . Scheme Jin(2,2,2) is AP2 , but it is not
uniformly valid in ε. Schemes Midpoint(1,2,2) and CN(2,2,2) are not AP even if both
implicit parts of the schemes are A-stable. On the contrary, schemes CJR(3,2,2) and
LRR(3,2,2) are AP and uniformly valid in ε, but only scheme LRR(3,2,2) is AP2 .

13
Lemma 1 If all diagonal element of the triangular coefficient matrix A that characterize
the DIRK scheme are non zero, then
lim R(U i) = 0.
²→0

Proof:
In the limit ² → 0 we have
i
X
aij R(U j ) = 0, i = 1, . . . , ν.
j=1

Since the matrix A is non-singular, this implies R(U i) = 0, i = 1, . . . , ν.

Remarks

• As a consequence the vectors of c and c̃ cannot be equal. In fact c̃1 = 0 whereas


c1 6= 0. Note that the condition c = c̃ is commonly used by several authors since it
simplifies the analysis of the schemes.

• If c1 = 0 then the corresponding scheme may be inaccurate if the initial condition is


not “well prepared”. In this case the scheme is not able to treat the so called initial
layer problem and degradation of accuracy in the stiff limit is expected.

Theorem 1 If det A 6= 0 then in the limit ² → 0, the IMEX scheme applied to an hyperbolic
system with relaxation becomes the explicit RK scheme characterized by (Ã, w̃, c̃) applied
to the limit system of conservation laws.
14
Remark

• Clearly one may claim that if the implicit part of the IMEX scheme is A-stable or
L-stable the previous theorem is satisfied. Note however that this is true only if the
tableau of the implicit integrator does not contain any column of zeros that makes
it reducible to a simpler A-stable or L-stable form.

• Finally we observe that this result does not guarantee the accuracy of the solution
for the N − n non conserved quantities. In fact, since the very last step in the scheme
it is not a projection towards the local equilibrium, a final layer effect occurs.

It is easy to show that

Corollary 1 If det A 6= 0 and wj = aνj , j = 1, . . . ν then in the limit ² → 0, the IMEX


scheme is asymptotically accurate, that is it provides the order of accuracy of the explicit
RK scheme characterized by (Ã, w̃, c̃) for both conserved and non conserved variables

We recall that the additional condition wj = aνj , j = 1, . . . ν makes an A−stable method


L−stable. Usually these methods are referred to as stiffly accurate.

15
Theorem guarantees that in the stiff limit the numerical scheme becomes the explicit
RK scheme applied to the equilibrium system, and therefore the order of accuracy of the
limiting scheme is greater or equal to the order of accuracy of the original IMEX scheme.

In particular this implies that if the explicit part of the IMEX scheme is SSP then, in
the stiff limit, we will obtain an SSP method for the limiting conservation law. This
asymptotic SSP property is essential to avoid spurious oscillations in the limit scheme for
the limiting system of conservation laws.

We recall that if U n represents a vector of solution values (for example obtained from a
method of lines approach) we recall the following

Definition 2 A sequence {U n }n∈N is said to be strongly stable in a given norm ||·|| provided
that ||U n+1 || ≤ ||U n || for all n ≥ 0.

The most commonly used norms are the T V -norm and the infinity norm.

16
Examples of IMEX-SSP schemes

In all these schemes the implicit tableau corresponds to an L−stable scheme, that is
wT A−1 e = 1, e being a vector whose components are all equal to 1, whereas the explicit
tableau is SSPk, where k denotes the order of the SSP scheme.

IMEX-SSP2(2,2,2) L-stable scheme


0 0 0 γ γ 0 1
1 1 0 1−γ 1 − 2γ γ γ =1− √
1/2 1/2 1/2 1/2 2

IMEX-SSP2(3,2,2) stiffly accurate scheme


0 0 0 0 1/2 1/2 0 0
0 0 0 0 0 −1/2 1/2 0
1 0 1 0 1 0 1/2 1/2
0 1/2 1/2 0 1/2 1/2

IMEX-SSP2(3,3,2) stiffly accurate scheme


0 0 0 0 1/4 1/4 0 0
1/2 1/2 0 0 1/4 0 1/4 0
1 1/2 1/2 0 1 1/3 1/3 1/3
1/3 1/3 1/3 1/3 1/3 1/3

17
IMEX-SSP3(3,3,2) L-stable scheme
0 0 0 0 γ γ 0 0
1 1 0 0 1−γ 1 − 2γ γ 0 1
γ =1− √
1/2 1/4 1/4 0 1/2 1/2 − γ 0 γ 2
1/6 1/6 2/3 1/6 1/6 2/3

IMEX-SSP3(4,3,3) L-stable scheme


0 0 0 0 0 α α 0 0 0
0 0 0 0 0 0 −α α 0 0
1 0 1 0 0 1 0 1−α α 0
1/2 0 1/4 1/4 0 1/2 β η 1/2 − β − η − α α
0 1/6 1/6 2/3 0 1/6 1/6 2/3

α = 0.24169426078821, β = 0.06042356519705 η = 0.12915286960590


Stability analysis
When studying the A-stability of a RK scheme, one considers a scalar equation of the
form
y 0 = λy, y(0) = 1
with y : R+ → R, and λ ∈ R, <λ ≤ 0. Such test problem is sufficient to characterize the
stability property of a Runge-Kutta scheme when applied to a linear system of the form
y 0 = By, y(0) = y0
with y ∈ Rm , and B ∈ Rm×m .

In the case of IMEX-RK, and in general for additive Runge-Kutta methods, such a stability
analysis has a limited validity. In fact, consider a generic linear system of the form
y 0 = B1 y + B 2 y
with y ∈ Rm , and B1 , B2 ∈ Rm×m , and apply an IMEX scheme which is explicit in B1 y and
implicit in B2 y. The stability of the numerical solution depends on the two matrices B1
and B2 , and not only on their eigenvalues since in general the two matrices do not share
the same eigenvectors, and therefore they can not be diagonalized simultaneously.

18
Stability matrix for a linear system

Let us apply a Runge-Kutta scheme defined by A and w to the linear system


y 0 = By, y(0) = y0
with y ∈ Rm . Then one has
ν
X ν
X
y1 = y 0 + h wi BY (i), Y (i) = y0 + h aij BY (j)
i=1 j=1

Let e ≡ (1, . . . , 1)T ∈ Rm denote a column vector whose components are unitary and let us
define the Kronecker products
   
y n a11 B a12 B · · · a1ν B
n
y  a21 B a22 B · · · a2ν B 
n
  
e ⊗ y =  ..  , A ⊗ B =  ..
  . . .
.

. . . . 
yn aν1 B aν2 B · · · aνν B
After some manipulation the scheme can be conveniently written as
y n+1 = Ry n
where the m × m matrix of absolute stability R is given by
R(Z) = Im + wT Z ⊗ (Iνm − A ⊗ Z)−1 e ⊗ Im ,
with Z ≡ h B.
19
The corresponding scalar function
R(z), z ∈ R
is said the function of absolute stability. The eigenvalues of the matrix of absolute
stability are given by the absolute stability function evaluated at the eigenvalues of the
matrix Z
λ(R(Z)) = R(λ(Z))
and therefore the spectral radius of the matrix of absolute stability is given by
m
ρ(R(Z)) = max |R(λj (Z))|.
j=1

Similarly for a partitioned Runge-Kutta scheme applied to the system


y 0 = B1 y + B 2 y
one obtains
y n+1 = R(Z1 , Z2 )y n
where Z1 = h B1 , Z2 = h B2 , and the matrix of absolute stability is given by
R(Z1 , Z2 ) = Im + (w̃T ⊗ Z1 + wT ⊗ Z2 )(Iνm − Ã ⊗ Z1 − A ⊗ Z2 )−1 e ⊗ Im .
At variance with the standard case, the spectral radius of the matrix does not depend only
on the eigenvalues of the matrices Z1 and Z2 , since the two matrices B1 and B2 in general
do not have a common set of eigenvectors, they can not be diagonalized simultaneously.

20
Prototype problem

A simple non trivial 2 × 2 relaxation system is given by


ut + v x = 0
vt + ux = −µ(v − bu)
In the stiff limit µ → ∞ for 0 < b < 1 the system relaxes to the equation
ut + bux = 0
We look for a Fourier solution u = û(t)eiξx , v = v̂(t)eiξx . One obtains
ût + iξv̂ = 0
v̂t + iξû = −µ(v̂ − bû)
The system can be written in vector form as
dU
= C1 U + C 2 U
dt
where
µ ¶ µ ¶ µ ¶
û 0 1 0 0
U = , C1 = −iξ , C2 = −µ
v̂ 1 0 −b 1
The boundary of the region of absolute stability is given by the relation
ρ(R(Z1 , Z2 )) = 1
where ρ denotes the spectral radius, and Z1 = hC1 , Z2 = hC2 .
21
SP−111 Midpoint−122
5 5
b = 0.1 b = 0.1
b = 0.3 b = 0.3
4 b = 0.5 4 b = 0.5
b = 0.7 b = 0.7
b = 0.9 b = 0.9
3 3

2 2

1 1
ξh

ξh
0 0

−1 −1

−2 −2

−3 −3

−4 −4

−5 −5
−2 −1 0 1 2 3 4 5 6 −2 −1 0 1 2 3 4 5 6
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10
µh µh

Relaxation stability region for scheme SP-111 and Midpoint-122 in the ξh–µh plane.

22
LRR−322 SSP2−222
5 5
b = 0.1 b = 0.1
b = 0.3 b = 0.3
4 b = 0.5 4 b = 0.5
b = 0.7 b = 0.7
b = 0.9 b = 0.9
3 3

2 2

1 1
ξh

ξh
0 0

−1 −1

−2 −2

−3 −3

−4 −4

−5 −5
−2 −1 0 1 2 3 4 5 6 −2 −1 0 1 2 3 4 5 6
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10
µh µh

Relaxation stability region for scheme LRR-322 and SSP2-222 in the ξh–µh plane.
SSP2−322 SSP2−332
5 5
b = 0.1 b = 0.1
b = 0.3 b = 0.3
4 b = 0.5 4 b = 0.5
b = 0.7 b = 0.7
b = 0.9 b = 0.9
3 3

2 2

1 1
ξh

ξh
0 0

−1 −1

−2 −2

−3 −3

−4 −4

−5 −5
−2 −1 0 1 2 3 4 5 6 −2 −1 0 1 2 3 4 5 6
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10
µh µh

Relaxation stability region for scheme SSP2-322 and SSP2-332 in the ξh–µh plane.
SSP3−332 SSP3−433
5 5
b = 0.1 b = 0.1
b = 0.3 b = 0.3
4 b = 0.5 4 b = 0.5
b = 0.7 b = 0.7
b = 0.9 b = 0.9
3 3

2 2

1 1
ξh

ξh
0 0

−1 −1

−2 −2

−3 −3

−4 −4

−5 −5
−2 −1 0 1 2 3 4 5 6 −2 −1 0 1 2 3 4 5 6
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10
µh µh

Relaxation stability region for scheme SSP3-332 and SSP3-433 in the ξh–µh plane.
Numerical test

Prototype of stiff system


u0 = −v,
1
v0 = u + (e(u) − v).
ε
(Note: eigenvalues of the explicit part are ±i)

Convergence plot, obtained by different values of time step h (starting with h = 0.05). ε
ranges from 10−5 to 1.

L2 norm of the relative error versus ² using a log-scale on the x-axis.

Equilibrium data
u(0) = π/2, v(0) = sin(u(0)) = 1.
Non-equilibrium data
u(0) = π/2, v(0) = 1/2.

23
Convergence rates of some second and third order IMEX schemes for equilibrium initial
data (dashed: v component, continuous: u component).
SSP2−222 SSP2−322 SSP2−332
3 3 3

2.5 2.5 2.5

2 2 2
Convergence rate

Convergence rate

Convergence rate
1.5 1.5 1.5

1 1 1

0.5 0.5 0.5

0 0 0

−0.5 −0.5 −0.5


−6 −5 −4 −3 −2 −1 0 −6 −5 −4 −3 −2 −1 0 −6 −5 −4 −3 −2 −1 0
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10
Epsilon Epsilon Epsilon

ARS−222 SSP3−332 SSP3−443


3 4 4

3.5 3.5
2.5

3 3

2
2.5 2.5
Convergence rate

Convergence rate

Convergence rate
1.5
2 2

1.5 1.5
1

1 1
0.5

0.5 0.5

0
0 0

−0.5 −0.5 −0.5


−5 −4 −3 −2 −1 0 −6 −5 −4 −3 −2 −1 0 −6 −5 −4 −3 −2 −1 0
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10
Epsilon Epsilon Epsilon

24
Convergence rates of some second and third order IMEX schemes for non equilibrium
initial data (dashed: v component, continuous: u component).
SSP2−222 SSP2−322 SSP2−332
3 3 3

2.5 2.5 2.5

2 2 2
Convergence rate

Convergence rate

Convergence rate
1.5 1.5 1.5

1 1 1

0.5 0.5 0.5

0 0 0

−0.5 −0.5 −0.5


−6 −5 −4 −3 −2 −1 0 −6 −5 −4 −3 −2 −1 0 −6 −5 −4 −3 −2 −1 0
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10
Epsilon Epsilon Epsilon

ARS−222 SSP3−332 SSP3−443


3 4 4

3.5 3.5
2.5

3 3

2
2.5 2.5
Convergence rate

Convergence rate

Convergence rate
1.5
2 2

1.5 1.5
1

1 1
0.5

0.5 0.5

0
0 0

−0.5 −0.5 −0.5


−5 −4 −3 −2 −1 0 −6 −5 −4 −3 −2 −1 0 −6 −5 −4 −3 −2 −1 0
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10
Epsilon Epsilon Epsilon

25
Space discretizations
We consider the case of the single scalar equation
1
ut + f (u)x =
g(u).
ε
We have to distinguish between schemes based on cell averages (finite volume approach
as in most schemes) and schemes based on point values (finite difference approach).
Let ∆x and ∆t be the mesh widths. We introduce the grid points
1
xj = j∆x, xj+1/2 = xj + ∆x, j = . . . , −2, −1, 0, 1, 2, . . .
2
and use the standard notations
xj+1/2
1
Z
unj n
= u(xj , t ), ūnj = u(x, tn ) dx.
∆x xj−1/2

Finite volumes
Integrating the equation on Ij = [xj−1/2 , xj+1/2 ] and dividing by h we obtain
¯
dū ¯¯ 1 1
= − [f (u(x j+1/2 , t)) − f (u(x j−1/2 , t)) + g(u)|j
dt ¯j ∆x ε∆x
As usual the key step is the reconstruction step necessary to reconstruct the function
u(x, t) at the grid points (required to evaluate the right hand side) starting from its cell
average u(x,¯ t).
26
IMEX schemes cannot be applied straightforwardly since on the right hand side we have
the average of the source term g(u) instead of the source term evaluated at the average
of u, g(ū). This makes it difficult to construct IMEX-like schemes of order higher than
two (in fact g(u) = g(u) + O(∆x2 )).

Finite differences

In the position x = xj we obtain


duj 1
= −f (u)x |j + g(uj )
dt ε
where f (u)x |j is an approximation of f (u)x at the grid point x = xj .

Clearly in this latter case IMEX schemes can be applied directly without any additional
difficulty due to the presence of the source term.

Remark An essential feature in all these schemes is the ability of the schemes to handle
with discontinuous solutions. To this aim it is necessary to use non-oscillatory interpolating
algorithms, in order to prevent the onset of spurious oscillations (like WENO methods).
Applications

Broadwell model

∂tρ + ∂xm = 0,
∂tm + ∂xz = 0,
1
∂tz + ∂xm = (ρ2 + m2 − 2ρz),
ε
where ε is the mean free path. The dynamical variables ρ and m are the density and the
momentum respectively, while z represents the flux of momentum.

We perform an accuracy test for schemes ARS(2,2,2) and IMEX-SSP2(2,2,2) with smooth
initial data and periodic b.c. The space discretization is carried out on a staggered grid
using Nassyahu and Tadmor central schemes strategy.

27
Accuracy Test, Convergence Rates

ε 1.0 10−1 10−2 10−3 10−5

Convergence Rates for ρ N

ARS(2,2,2) 2.04134 1.55946 1.39357 1.39515 1.39479 100-200


2.01855 1.51302 1.15942 1.16581 1.16539 200-400
IMEX-SSP2(2,2,2) 2.07772 2.11211 1.96649 2.04715 2.06860 100-200
2.04453 2.07418 2.00709 1.98219 2.04030 200-400

Convergence Rates for z

ARS(2,2,2) 1.92939 1.36074 1.24543 1.25382 1.25448 100-200


1.95090 1.43807 1.11493 1.12162 1.12197 200-400
IMEX-SSP2(2,2,2) 2.06926 2.23039 1.60070 1.85409 2.08532 100-200
2.03151 2.17488 1.76238 1.59695 2.04047 200-400

28
Initial layer fix
Next, we test the schemes with following two Riemann problems
ρl = 2, ml = 1, zl = 1, x < 0.2,
(1)
ρr = 1, mr = 0.13962, zr = 1, x > 0.2,
ρl = 1, ml = 0, zl = 1, x < 0,
(2)
ρr = 0.2, mr = 0, zr = 1, x > 0.

ε=1e−008, t=0.50, N=200 −3


x 10 ε=1e−008, t=0.25, N=200
2.05 5

z(x,t)−zE(x,t)
ρ(x,t)

2 0

−1

−2

−3

−4

1.95 −5
−0.2 −0.15 −0.1 −0.05 0 0.05 0.1 0.15 0.2 0.2 0.25 0.3 0.35 0.4 0.45 0.5
x x

Initial layer for ρ in problem 1 (left) and departure from equilibrium z − z E in problem 2 (right) for ε =
10−8 . Left problem: ARS(2,2,2) (∗), ARSF(2,2,2) (◦), IMEX-SSP2(2,2,2) (×). Right problem: IMEX-
SSP2(2,2,2) (+), IMEX-SSP2F(2,2,2) (×), ARS(2,2,2) (◦).

29
Monatomic gas in Extended Thermodynamics
1
Ut + F (U )x = R(U )
²
 
ρ 0
 
 ρv   0 
1
ρv + 32 p
2
 
U = 2
, R = −
 0 ,

2
ρv 2 + σ
 
   ρσ 
3 2
ρv 3 + 5vp + 2σv + 2q 3
ρ(2q + 3vσ)
 
ρv
 2
ρv + p + σ 
1
ρv + 52 vp + σv + q
3
 
F = 2

2 3 + 4 vp + 7 vσ + 8 q
ρv
 
32 3 3 15
 
4 p σp 32 2
ρv + 5 ρ + 7 ρ + 5 qv + v (8p + 5σ)
ρ: density, u: velocity, p: pressure, σ: stress, q: heat flux
As ² → 0 ⇒ σ → 0, q → 0 we obtain the Euler equations for monatomic gas.
We use IMEX-SSP2(2,2,2) central scheme for a generalization of classical Sod’s problem

U = Ul = (1, 0, 5, 0, 0), x < 0.5,


U = Ur = (0.125, 0, 0.5, 0, 0), x > 0.5.

30
ε=1e−004, t=0.1, N=200 ε=1e−004, t=0.1, N=200 ε=1e−004, t=0.1, N=200
1.2 0.25 1.8

1.6
0.2
1
1.4

0.15 1.2
0.8

1
0.1

q(x,t)

u(x,t)
ρ(x,t)

0.6 0.8

0.05
0.6

0.4
0 0.4

0.2
0.2
−0.05
0

0 −0.1 −0.2
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
x x x

ε=1e−004, t=0.1, N=200 ε=1e−004, t=0.1, N=200


0.07 3.5

0.06
3

0.05
2.5

0.04
2
σ(x,t)

p(x,t)
0.03

1.5
0.02

1
0.01

0.5
0

−0.01 0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
x x

ε = 10−4 , λ = 0.1, N = 200 at time t = 0.1.

31
Lattice-Boltzmann models
v 1
∂tf + · ∇xf = 2 (f − f eq ), x, v ∈ R 2 ,
² ² τ
v ∈ {c0, . . . , cN −1 }, N = 9, ci ∈ {(0, 0), (0, ±1), (±1, 0), (±1, ±1)}.
µ ¶
3 9
f eq [ρ, u](v) = ρ 1 + 3u · v − |u|2 + (u · v)2 f ∗ (v),
2 2
N
X −1 N
X −1
ρ(x, t) = f (x, ci , t), ρu(x, t) = cif (x, ci, t),
i=0 i=0

4 1 1
f ∗ (c 0 ) = , f ∗ (c i ) = , i = 1, ..., 4, f ∗ (c i ) = , i = 5, ..., 8
9 9 36

As ² → 0 we obtain the incompressible Navier-Stokes equations with Reynolds number


O(1/τ ).

shear layer
(x, y) ∈ [0, 2π]2 , ux (x, 0) = 0.05 sin(x), periodic b.c. and
uy (x, y) = tanh(15(y − π/2)/π), y < π, uy (x, y) = tanh(15(3π/2 − y)/π), y > π.
We test IMEX-SSP2(2,2,2) and IMEX-SSP3(3,3,2) schemes combined with second and
third order upwind schemes based on CWENO reconstructions.
32
Euler case (τ = 0): First order (left), Second order (center), Third order (right) at t=4
with N = 64 (bottom) and N = 128 (top) for ε = 10−6 .

6
6
5

5
4

4
h = 1/128

h = 1/128
h = 1/128

3
2

2
1

1
0

0
6

0
6
6

6
5

5
4

4
h = 1/64
h = 1/64

h = 1/64
3

3
2

2
1

1
0

0
6

0
33
Navier-Stokes case (τ = 0.01): First order (left), Second order (center), Third order
(right) at t=10 with N = 64 (bottom) and N = 128 (top) for ε = 10−6 .

6
6
5

5
4

4
h = 1/128

h = 1/128
h = 1/128

3
2

2
1

1
0

0
6

0
6
6

6
5

5
4

4
h = 1/64
h = 1/64

h = 1/64
3

3
2

2
1

1
0

0
6

0
34
Conclusions
Runge-Kutta IMEX schemes represent a powerful tool for the time discretization of hyper-
bolic systems with relaxation. In combination with finite volume schemes (up to second
order) or finite difference schemes (of any order) they provide a new class of efficient
underresolved schemes for the accurate solution of hyperbolic conservation laws with stiff
source terms.

Open problems and extensions:

◦ 4th and 5th order IMEX-SSP schemes

◦ Higher order (more than third) finite volume schemes for hyperbolic systems with
stiff relaxation

◦ Less restrictive conditions for APk property

◦ Development of well-balanced schemes that avoid numerical viscosity

◦ Adaptive multi-modelling

◦ Coupling with hybrid Monte Carlo strategies for multiscale problems.

35

You might also like