CA AA214 Ch6
CA AA214 Ch6
CA AA214 Ch6
These slides are based on the recommended textbook: Culbert B. Laney. “Computational
Gas Dynamics,” CAMBRIDGE UNIVERSITY PRESS, ISBN 0-521-62558-0
1 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 2 / 75
Outline
8 Multidimensional Extensions
2 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 3 / 75
3 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 4 / 75
Conservative Finite Difference Methods in One Dimension
Recall that scalar conservation laws are simple scalar models of the Euler equations that can
be written in strong conservation form as
∂u ∂f (u)
+ =0 (1)
∂t ∂x
Suppose that a 1D space is divided into grid points xi and “cells” [xi−1/2 , xi+1/2 ], where
xi+1/2 is called a “cell edge”
\
n
∂u n n
∆t = −λ(fˆi+1/2 − fˆi−1/2 ) (2)
∂t i
where the subscript i designates the point xi , the superscript n designates the time t n , a
“hat” designates a time-approximation, and
∆t n+1 n
λ= , ∆t = t −t , ∆x = xi+1/2 − xi−1/2
∆x
4 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 5 / 75
Conservative Finite Difference Methods in One Dimension
5 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 6 / 75
Conservative Finite Difference Methods in One Dimension
6 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 7 / 75
Conservative Finite Difference Methods in One Dimension
uin+1 = u(ui−K
n
1
n
, ..., ui+K2
n+1
; ui−L 1
, ..., uin+1 , ..., ui+L
n+1
2
) (4)
7 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 7 / 75
Conservative Finite Difference Methods in One Dimension
uin+1 = u(ui−K
n
1
n
, ..., ui+K2
n+1
; ui−L 1
, ..., uin+1 , ..., ui+L
n+1
2
) (4)
7 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 8 / 75
Conservative Finite Difference Methods in One Dimension
uin+1 = u(ui−K
n
1
n
, ..., ui+K 2
)
9 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 10 / 75
Conservative Finite Difference Methods in One Dimension
∂u
with Forward Space (FS) approximation of the term (xi , t n ), this
∂x
leads to the FTFS scheme
uin+1 = uin − λ(fˆi+1/2
n
− fˆi−1/2
n
), with fˆi+1/2
n n
= f (ui+1 )
∂u
with Backward Space (BS) approximation of the term (xi , t n ),
∂x
this leads to the FTBS scheme
uin+1 = uin − λ(fˆi+1/2
n
− fˆi−1/2
n
), with fˆi+1/2
n
= f (uin )
∂u
with Central Space (CS) approximation of the term (xi , t n ), this
∂x
leads to the FTCS scheme
1
uin+1 = uin − λ(fˆi+1/2
n
− fˆi−1/2
n
), with fˆi+1/2
n n
= (f (ui+1 ) + f (uin ))
2
11 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 12 / 75
Forward, Backward, and Central Time Methods
Backward Time Methods
∂u
with Forward Space (FS) approximation of the term (xi , t n ), this
∂x
leads to the BTFS scheme
uin+1 = uin − λ(fˆi+1/2
n
− fˆi−1/2
n
), with fˆi+1/2
n n+1
= f (ui+1 )
∂u
with Backward Space (BS) approximation of the term (xi , t n ),
∂x
this leads to the BTBS scheme
uin+1 = uin − λ(fˆi+1/2
n
− fˆi−1/2
n
), with fˆi+1/2
n
= f (uin+1 )
∂u
with Central Space (CS) approximation of the term (xi , t n ), this
∂x
leads to the BTCS scheme
1
uin+1 = uin − λ(fˆi+1/2
n
− fˆi−1/2
n
), with fˆi+1/2
n
= n+1
f (ui+1 ) + f (uin+1 )
2
12 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 13 / 75
Forward, Backward, and Central Time Methods
Central Time Methods
∂u
with Forward Space (FS) approximation of the term (xi , t n ), this
∂x
leads to the CTFS scheme
uin+1 = uin−1 − 2λ(fˆi+1/2
n
− fˆi−1/2
n
), with fˆi+1/2
n n
= f (ui+1 )
∂u
with Backward Space (BS) approximation of the term (xi , t n ),
∂x
this leads to the CTBS scheme
uin+1 = uin−1 − 2λ(fˆi+1/2
n
− fˆi−1/2
n
), with fˆi+1/2
n
= f (uin )
∂u
with Central Space (CS) approximation of the term (xi , t n ), this
∂x
leads to the CTCS scheme
1
uin+1 = uin−1 − 2λ(fˆi+1/2
n
− fˆi−1/2
n
), with fˆi+1/2
n n
= (f (ui+1 ) + f (uin ))
2
13 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 14 / 75
Domain of Dependence and CFL Condition
Numerical and Physical Domains of Dependence
Then
1 if i ≤ −2
ui1 = 1 + λa if i = −1
0 if i ≥ 0
1 if i ≤ −3
(1 + λa)(1 − λa) if i = −2
ui2 =
(1 + λa)(1 + λa) if i = −1
0 if i ≥ 0
and so forth
The first two time-steps reveal that FTFS moves the jump in the
wrong direction (left rather than right!) and produces spurious
oscillations and overshoots
Furthermore, the exact solution yields u(0, ∆t) = 1, but FTFS yields
u01 = 0!
18 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 19 / 75
Domain of Dependence and CFL Condition
Scalar Conservation Laws
19 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 20 / 75
Domain of Dependence and CFL Condition
Scalar Conservation Laws
1
FTCS satisfies the CFL condition if λ ≤ ⇒ −1 ≤ λa ≤ 1
|a|
20 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 20 / 75
Domain of Dependence and CFL Condition
Scalar Conservation Laws
1
FTCS satisfies the CFL condition if λ ≤ ⇒ −1 ≤ λa ≤ 1
|a|
20 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 20 / 75
Domain of Dependence and CFL Condition
Scalar Conservation Laws
1
FTCS satisfies the CFL condition if λ ≤ ⇒ −1 ≤ λa ≤ 1
|a|
For scalar conservation laws, the CFL condition translates into a simple inequality restricting
the time-step size
linear advection equation and explicit forward-time method with
uin+1 = u(ui−K
n n
, ..., ui+K )
1 2
in the x − t plane, the physical domain of dependence is the line of slope 1/a
in the x − t plane, the full numerical domain of dependence of uin+1 is bounded
∆t λ
on the left by a line of slope = and on the right by a line of slope
K1 ∆x K1
∆t λ
− =−
K2 ∆x K2
21 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 21 / 75
Domain of Dependence and CFL Condition
Scalar Conservation Laws
For scalar conservation laws, the CFL condition translates into a simple inequality restricting
the time-step size
linear advection equation and explicit forward-time method with
uin+1 = u(ui−K
n n
, ..., ui+K )
1 2
in the x − t plane, the physical domain of dependence is the line of slope 1/a
in the x − t plane, the full numerical domain of dependence of uin+1 is bounded
∆t λ
on the left by a line of slope = and on the right by a line of slope
K1 ∆x K1
∆t λ
− =−
K2 ∆x K2
For scalar conservation laws, the CFL condition translates into a simple inequality restricting
the time-step size (continue)
linear advection equation and explicit forward-time method with
uin+1 = u(ui−K
n n
, ..., ui+K ) (continue)
1 2
∆x
λ|a| ≤ K ⇔ ∆t ≤ K (5)
|a|
for this reason, λa is called the CFL number or the Courant number
keep in mind however that in general, a = a(u) and therefore the CFL number
depends in general on the solution’s range
22 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 23 / 75
Domain of Dependence and CFL Condition
Scalar Conservation Laws
23 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 23 / 75
Domain of Dependence and CFL Condition
Scalar Conservation Laws
23 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 24 / 75
Domain of Dependence and CFL Condition
The Euler Equations
In 1D, the Euler equations have three families of waves that define
the physical domain of dependence
For each family of waves, a CFL condition can be established for a
given numerical method as in the case of a scalar conservation law:
Then, the overall CFL condition is the most restrictive of all
established CFL conditions
For example, if K1 = K2 = K , A is the Jacobian matrix of the
conservative flux vector, and ρ(A) denotes
its spectral radius
ρ(A) = max (|vx − a|, |vx |, |vx + a| , the CFL condition
of an
explicit forward-time method becomes recall (5)
∆x
λρ(A) ≤ K ⇔ ∆t ≤ K
ρ(A)
24 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 25 / 75
Domain of Dependence and CFL Condition
The Euler Equations
λρ(A) ≤ K
For supersonic flows, all waves travel in the same direction, either
left or right ⇒ the minimum stencil allowed by the CFL condition
n
contains either Wi−1 and Win for right-running supersonic flow, or
n n
Wi and Wi+1 for left-running supersonic flow
For subsonic flows, waves travel in both directions, and the
n
minimum stencil should always contain Wi−1 , Win , and Wi+1
n
25 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 25 / 75
Domain of Dependence and CFL Condition
The Euler Equations
λρ(A) ≤ K
For supersonic flows, all waves travel in the same direction, either
left or right ⇒ the minimum stencil allowed by the CFL condition
n
contains either Wi−1 and Win for right-running supersonic flow, or
n n
Wi and Wi+1 for left-running supersonic flow
For subsonic flows, waves travel in both directions, and the
n
minimum stencil should always contain Wi−1 , Win , and Wi+1
n
25 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 26 / 75
Linear Stability Analysis
26 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 26 / 75
Linear Stability Analysis
26 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 27 / 75
Linear Stability Analysis
von Neumann Analysis
The Fourier series for the continuous (in space) solution u(x, t n ) on
any spatial domain [a, b] is
∞ X ∞
X x −a x −a
u(x, t n ) = a0n + n
am cos 2πm + n
bm sin 2πm
m=1
b−a m=1
b−a
(6)
27 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 27 / 75
Linear Stability Analysis
von Neumann Analysis
The Fourier series for the continuous (in space) solution u(x, t n ) on
any spatial domain [a, b] is
∞ X ∞
X x −a x −a
u(x, t n ) = a0n + n
am cos 2πm + n
bm sin 2πm
m=1
b−a m=1
b−a
(6)
28 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 28 / 75
Linear Stability Analysis
von Neumann Analysis
2πm
where φm = and m = −N/2, · · · , N/2
N
Because of linearity, the amplification factor
Cmn+1
Gm = = Gm (λ)
Cmn
Conclusions
the linear approximation is linearly stable if |Gm (λ)| < 1 for all m
it is neutrally linearly stable if |Gm (λ)| ≤ 1 for all m and |Gm (λ)| = 1
for some m
it is linearly unstable if |Gm (λ)| > 1 for some m
Each of the above conclusion can be re-written in terms of
λ = ∆t/∆x
Application (in class): apply the von Neumann analysis to determine
the stability of the FTFS scheme for the linear advection equation
30 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 31 / 75
Linear Stability Analysis
Matrix Method
31 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 31 / 75
Linear Stability Analysis
Matrix Method
31 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 32 / 75
Linear Stability Analysis
Matrix Method
u n = M n (λ)u 0
Let v = Qu
Then
⇒ v n = Λn (λ)v 0
Conclusions
the linear approximation is linearly stable if ρ (M(λ)) < 1
it is neutrally linearly stable if ρ (M(λ)) = 1
it is linearly unstable if ρ (M(λ)) > 1
32 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 33 / 75
Linear Stability Analysis
Matrix Method
33 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 33 / 75
Linear Stability Analysis
Matrix Method
λρ(A) ≤ K ⇒ ∆tρ(A) ≤ K ∆x
34 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 35 / 75
Formal, Global, and Local Order of Accuracy
Cx
for some constant Cx and the related constant Ct =
λp
Other error measures can be obtained by using the 1-norm, 2-norm,
or any vector norm, or if the error is measured pointwise
35 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 36 / 75
Formal, Global, and Local Order of Accuracy
where eli = u(xi , t n ) − uin is the error for ∆xl and ∆tl = λ∆xl ,
l = 1, 2
36 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 37 / 75
Formal, Global, and Local Order of Accuracy
39 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 40 / 75
Upwind Schemes in One Dimension
40 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 41 / 75
Upwind Schemes in One Dimension
41 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 42 / 75
Upwind Schemes in One Dimension
Upwinding does not ensure shock avoidance if the shock does not
reverse the wind
downwinding on the right above avoids the shock but violates the
CFL condition and thus would create larger errors than crossing the
shock would
42 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 43 / 75
Upwind Schemes in One Dimension
General remarks
upwind methods are popular because of their excellent shock
capturing ability
among simple FT or BT methods, upwind methods outdo centered
methods: However, higher-order upwind methods often have no
special advantages over higher-order centered methods
Sample techniques for designing methods with upwind and adaptive
stencils
flux averaging methods
flux splitting methods?
wave speed splitting methods?
43 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 44 / 75
Upwind Schemes in One Dimension
Introduction to Flux Splitting
∂u ∂f + ∂f −
+ + =0
∂t ∂x ∂x
which is called the flux split form
∂f +
Then, can be discretized conservatively using at least one point
∂x
∂f −
to the left, and can be discretized conservatively using at least
∂x
one point to the right, thus obtaining conservation and satisfaction
of the CFL condition
44 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 45 / 75
Upwind Schemes in One Dimension
Introduction to Flux Splitting
flux splitting cannot describe the true connection between fluxes and
waves, unless all waves run in the same direction
if all waves are right-running, the unique physical flux splitting is
f + = f and f − = 0
if all waves are left-running, the unique physical flux splitting is
f − = f and f + = 0
All waves run in the same direction only for (nonlinear) scalar
conservation laws away from sonic points, and for the Euler
equations in the supersonic regime
45 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 46 / 75
Upwind Schemes in One Dimension
Introduction to Flux Splitting
∂f +
Assume that is discretized with a leftward bias so that the
∂x
approximation at x = xi is centered or biased towards x = xi−1/2
∆fˆi−1/2
+
+
∂f
≈ for some ∆fˆi−1/2
+
∂x i ∆x
∂f −
Assume that is discretized with a rightward bias so that the
∂x
approximation at x = xi is centered or biased towards x = xi+1/2
−
∆fˆi+1/2
−
∂f −
≈ for some ∆fˆi+1/2
∂x i ∆x
Using forward Euler to perform the time-discretization leads to
n n
u n+1 = uin − λ(∆fˆ+
i + ∆fˆ− )
i−1/2 i+1/2
47 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 47 / 75
Upwind Schemes in One Dimension
Introduction to Flux Splitting
Proof n n
−
uin+1 = uin − λ(∆fˆi−1/2
+
+ gin − gin + ∆fˆi+1/2 )
47 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 47 / 75
Upwind Schemes in One Dimension
Introduction to Flux Splitting
Proof n n
−
uin+1 = uin − λ(∆fˆi−1/2
+
+ gin − gin + ∆fˆi+1/2 )
u2 u u
f (u) = = max(0, u) + min(0, u)
2 | {z 2
} | {z 2}
f + (u) f − (u)
48 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 49 / 75
Upwind Schemes in One Dimension
Introduction to Flux Splitting
49 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 49 / 75
Upwind Schemes in One Dimension
Introduction to Flux Splitting
49 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 49 / 75
Upwind Schemes in One Dimension
Introduction to Flux Splitting
49 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 49 / 75
Upwind Schemes in One Dimension
Introduction to Flux Splitting
50 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 51 / 75
Upwind Schemes in One Dimension
Introduction to Wave Speed Splitting
51 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 51 / 75
Upwind Schemes in One Dimension
Introduction to Wave Speed Splitting
51 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 52 / 75
Upwind Schemes in One Dimension
Introduction to Wave Speed Splitting
52 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 52 / 75
Upwind Schemes in One Dimension
Introduction to Wave Speed Splitting
∂u ∂u ∂u
+ a+ + a− =0
∂t ∂x ∂x
52 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 52 / 75
Upwind Schemes in One Dimension
Introduction to Wave Speed Splitting
∂u ∂u ∂u
+ a+ + a− =0
∂t ∂x ∂x
For vector conservation laws such as the Euler equations, one can
split the Jacobian matrix as follows
A(W ) = A+ (W ) + A− (W )
where the eigenvalues of A+ are non negative and those of A− are
non positive
A+ ≥ 0, A− ≤ 0
(recall that A+ and A− are obtained by computing and splitting the
eigenvalues of A)
The wave speed split form of the Euler equations can then be
written as
∂W ∂W ∂W
+ A+ + A− =0
∂t ∂x ∂x
∂W
Again, A+ can then be discretized conservatively using at least
∂x
∂W
one point to the left, and A− using at least one point to the
∂x
right, thus obtaining satisfaction of the CFL condition
53 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 54 / 75
Upwind Schemes in One Dimension
Introduction to Wave Speed Splitting
54 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 54 / 75
Upwind Schemes in One Dimension
Introduction to Wave Speed Splitting
df +
However, the above splitting may or may not satisfy ≥ 0 and
du
df −
≤ 0, and therefore may or may not correspond to a flux
du
splitting
54 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 54 / 75
Upwind Schemes in One Dimension
Introduction to Wave Speed Splitting
df +
However, the above splitting may or may not satisfy ≥ 0 and
du
df −
≤ 0, and therefore may or may not correspond to a flux
du
splitting
Why?
54 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 55 / 75
Upwind Schemes in One Dimension
Introduction to Wave Speed Splitting
∂u
Assume that a+ is discretized with a leftward bias so that the
∂x
approximation at x = xi is centered or biased towards x = xi−1/2
n
uin − ui−1
n
+ ∂u +n
a ≈ ai−1/2
∂x i ∆x
∂u
Assume that a− is discretized with a rightward bias so that the
∂x
approximation at x = xi is centered or biased towards x = xi+1/2
n n
− uin
− ∂u −n ui+1
a ≈ ai+1/2
∂x i ∆x
Using forward Euler to perform the time-discretization leads to
n n
−
uin+1 = uin − λai+1/2 n
(ui+1 +
− uin ) − λai−1/2 (uin − ui−1
n
)
The flux split form and wave speed form are connected via
n n
± ±
∆fˆi+1/2 = ai+1/2 n
(ui+1 − uin )
From the above relation and equation (12), it follows that a method
in wave speed split form is conservative if and only if
n n
+ − n
(ai+1/2 + ai+1/2 )(ui+1 − uin ) = gi+1
n
− gin for some flux function gin
(13)
Hence, the transformation from conservation form to wave speed
form and vice versa is
−n +n
fˆi+1/2
n
= ai+1/2 n
(ui+1 − uin ) + gin , fˆi−1/2
n
= −ai−1/2 (uin − ui−1
n
) + gin
(14)
56 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 57 / 75
Upwind Schemes in One Dimension
Introduction to Wave Speed Splitting
n n
−
uin+1 = uin − λai+1/2 n
(ui+1 +
− uin ) − λai−1/2 (uin − ui−1
n
)
The above notation for the wave speed split form is the standard
notation when wave speed splitting is used to derive new (forward
Euler) approximation methods
57 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 57 / 75
Upwind Schemes in One Dimension
Introduction to Wave Speed Splitting
n n
−
uin+1 = uin − λai+1/2 n
(ui+1 +
− uin ) − λai−1/2 (uin − ui−1
n
)
The above notation for the wave speed split form is the standard
notation when wave speed splitting is used to derive new (forward
Euler) approximation methods
Wave speed split form is also often used as a preliminary step in
nonlinear stability analysis, in which case the standard notation is
n n
−
uin+1 = uin + Ci+1/2
+ n
(ui+1 − uin ) − Ci−1/2 (uin − ui−1
n
)
57 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 57 / 75
Upwind Schemes in One Dimension
Introduction to Wave Speed Splitting
n n
−
uin+1 = uin − λai+1/2 n
(ui+1 +
− uin ) − λai−1/2 (uin − ui−1
n
)
The above notation for the wave speed split form is the standard
notation when wave speed splitting is used to derive new (forward
Euler) approximation methods
Wave speed split form is also often used as a preliminary step in
nonlinear stability analysis, in which case the standard notation is
n n
−
uin+1 = uin + Ci+1/2
+ n
(ui+1 − uin ) − Ci−1/2 (uin − ui−1
n
)
Hence
n n n n n n
+ − − + − +
Ci+1/2 = −λai+1/2 , Ci−1/2 = λai−1/2 ⇔ Ci+1/2 = λai+1/2
(15)
57 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 58 / 75
Upwind Schemes in One Dimension
Introduction to Wave Speed Splitting
58 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 59 / 75
Nonlinear Stability Analysis
59 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 60 / 75
Nonlinear Stability Analysis
61 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 61 / 75
Nonlinear Stability Analysis
Monotonicity Preservation
61 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 61 / 75
Nonlinear Stability Analysis
Monotonicity Preservation
61 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 62 / 75
Nonlinear Stability Analysis
Monotonicity Preservation
Godunov’s theorem: For linear schemes, that is, schemes that can
be described by
XK2
ujn+1 = n
γm uj+m
m=−K1
62 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 63 / 75
Nonlinear Stability Analysis
Total Variation Diminishing
∞
X
TV (u(·, t)) = sup |u(xi+1 , t) − u(xi , t)|
all possible sets of samples xi i=−∞
63 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 63 / 75
Nonlinear Stability Analysis
Total Variation Diminishing
∞
X
TV (u(·, t)) = sup |u(xi+1 , t) − u(xi , t)|
all possible sets of samples xi i=−∞
63 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 64 / 75
Nonlinear Stability Analysis
Total Variation Diminishing
64 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 65 / 75
Nonlinear Stability Analysis
Total Variation Diminishing
65 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 66 / 75
Nonlinear Stability Analysis
Total Variation Diminishing
66 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 66 / 75
Nonlinear Stability Analysis
Total Variation Diminishing
66 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 66 / 75
Nonlinear Stability Analysis
Total Variation Diminishing
66 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 66 / 75
Nonlinear Stability Analysis
Total Variation Diminishing
66 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 67 / 75
Nonlinear Stability Analysis
Total Variation Diminishing
67 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 68 / 75
Nonlinear Stability Analysis
Total Variation Diminishing
68 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 68 / 75
Nonlinear Stability Analysis
Total Variation Diminishing
69 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 70 / 75
Nonlinear Stability Analysis
Positivity
70 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 71 / 75
Nonlinear Stability Analysis
Positivity
71 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 71 / 75
Nonlinear Stability Analysis
Positivity
71 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 72 / 75
Multidimensional Extensions
72 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 73 / 75
Multidimensional Extensions
2D structured grid
73 / 75
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 74 / 75
Multidimensional Extensions
∂W ∂Fx ∂Fy
+ (W ) + (W ) = 0
∂t ∂x ∂y
\n
∂W
∆t = −λx (Fbxni+1/2,j − Fbxni−1/2,j ) − λy (Fbyni,j+1/2 − Fbyni,j−1/2 )
∂t i,j
where
∆t ∆t
λx = , λy =
∆xi ∆yj
∆xi = xi+1/2,j − xi−1/2,j ∀j, ∆yj = yi,j+1/2 − yi,j−1/2 ∀i
75 / 75