Professional Documents
Culture Documents
These slides are partially based on the recommended textbook: Culbert B. Laney.
“Computational Gas Dynamics,” CAMBRIDGE UNIVERSITY PRESS, ISBN 0-521-62558-0
1 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 2 / 43
Outline
3 General Results
4 Solid Boundaries
5 Far-Field Boundaries
How Many Flow Variables to Specify
Which Flow Variables to Specify
Free-Stream Conditions
Nonreflecting Boundary Conditions
Steger-Warming Flux Vector Splitting Method for the Euler
Equations
2 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 3 / 43
Note: This chapter considers only formally zero-, first-, and second-order
accurate boundary treatments so that there is no need to distinguish
between finite difference and finite volume schemes. For the sake of
simplicity, it also focuses on one-dimensional flows and explicit
time-integration methods. The generalizations of the presented material
to multidimensional flows and implicit time-integration methods are
straightforward.
3 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 4 / 43
Two Types of Boundaries
rigid stationary
rigid moving (not covered in this chapter)
flexible (or deformable) stationary (not covered in this chapter)
flexible (or deformable) dynamic (not covered in this chapter)
Solid boundaries reflect existing waves
4 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 5 / 43
Two Types of Boundaries
5 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 6 / 43
Two Types of Boundaries
6 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 7 / 43
Two Types of Grids
7 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 8 / 43
Two Types of Grids
8 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 9 / 43
General Results
9 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 10 / 43
General Results
10 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 11 / 43
General Results
Recall that the von Neumann analysis of linear stability applies only
at periodic boundaries
Recall that the linear matrix stability analysis accounts for boundary
treatments and therefore can determine their effects on numerical
stability
Recall that the CFL condition is necessary for nonlinear stability
11 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 11 / 43
General Results
Recall that the von Neumann analysis of linear stability applies only
at periodic boundaries
Recall that the linear matrix stability analysis accounts for boundary
treatments and therefore can determine their effects on numerical
stability
Recall that the CFL condition is necessary for nonlinear stability
11 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 11 / 43
General Results
Recall that the von Neumann analysis of linear stability applies only
at periodic boundaries
Recall that the linear matrix stability analysis accounts for boundary
treatments and therefore can determine their effects on numerical
stability
Recall that the CFL condition is necessary for nonlinear stability
11 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 11 / 43
General Results
Recall that the von Neumann analysis of linear stability applies only
at periodic boundaries
Recall that the linear matrix stability analysis accounts for boundary
treatments and therefore can determine their effects on numerical
stability
Recall that the CFL condition is necessary for nonlinear stability
11 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 12 / 43
General Results
12 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 12 / 43
General Results
12 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 12 / 43
General Results
12 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 13 / 43
Solid Boundaries
13 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 14 / 43
Solid Boundaries
ρ(xL − x, t) = ρ(xL + x, t)
vx (xL − x, t) = −vx (xL + x, t)
p(xL − x, t) = p(xL + x, t)
14 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 15 / 43
Solid Boundaries
15 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 16 / 43
Solid Boundaries
16 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 17 / 43
Solid Boundaries
18 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 19 / 43
Solid Boundaries
19 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 20 / 43
Solid Boundaries
20 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 21 / 43
Solid Boundaries
1
Z t n+1
bn ≈
=⇒ F [0, p(x1/2 , t) , 0]T dt
x1/2
∆t tn
(W1n+1 )2 = (W1n )2 = 0 ⇒ (F
bx )2 = (F
1/2
bx )2
3/2
22 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 23 / 43
Far-Field Boundaries
23 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 23 / 43
Far-Field Boundaries
24 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 25 / 43
Far-Field Boundaries
How Many Flow Variables to Specify
25 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 25 / 43
Far-Field Boundaries
How Many Flow Variables to Specify
25 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 25 / 43
Far-Field Boundaries
How Many Flow Variables to Specify
25 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 26 / 43
Far-Field Boundaries
How Many Flow Variables to Specify
27 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 27 / 43
Far-Field Boundaries
Which Flow Variables to Specify
27 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 27 / 43
Far-Field Boundaries
Which Flow Variables to Specify
28 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 28 / 43
Far-Field Boundaries
Which Flow Variables to Specify
28 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 28 / 43
Far-Field Boundaries
Which Flow Variables to Specify
28 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 28 / 43
Far-Field Boundaries
Which Flow Variables to Specify
28 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 28 / 43
Far-Field Boundaries
Which Flow Variables to Specify
28 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 28 / 43
Far-Field Boundaries
Which Flow Variables to Specify
28 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 28 / 43
Far-Field Boundaries
Which Flow Variables to Specify
28 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 28 / 43
Far-Field Boundaries
Which Flow Variables to Specify
28 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 28 / 43
Far-Field Boundaries
Which Flow Variables to Specify
28 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 28 / 43
Far-Field Boundaries
Which Flow Variables to Specify
29 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 29 / 43
Far-Field Boundaries
Which Flow Variables to Specify
29 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 30 / 43
Far-Field Boundaries
Free-Stream Conditions
30 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 31 / 43
Far-Field Boundaries
Free-Stream Conditions
In practice
if the computational domain is sufficiently (and often prohibitively)
large — for example, when the artificial far-field boundaries
delimiting the computational domain associated with the flow past
an airfoil are located away from the wall boundaries at distances of
the order of 50 times the chord (in the case of a wing) — the above
temptation is reasonable, not necessarily because at these distances
the flow is at the free-stream conditions, but because the outgoing
waves will be heavily dissipated by discretization errors (artificial
viscosity) by the time they reach these artificial far-field boundaries
otherwise, the above temptation is unreasonable and will cause the
outgoing waves (especially shock waves) to partially reflect from
these artificial far-field boundaries and pollute the numerical solution
in the interior of the computational domain
31 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 32 / 43
Far-Field Boundaries
Nonreflecting Boundary Conditions
32 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 32 / 43
Far-Field Boundaries
Nonreflecting Boundary Conditions
32 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 33 / 43
Far-Field Boundaries
Nonreflecting Boundary Conditions
34 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 35 / 43
Far-Field Boundaries
Nonreflecting Boundary Conditions
p = p(x + ct)
35 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 36 / 43
Far-Field Boundaries
Nonreflecting Boundary Conditions
36 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 37 / 43
Far-Field Boundaries
Nonreflecting Boundary Conditions
37 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 38 / 43
Far-Field Boundaries
Nonreflecting Boundary Conditions
dp dp dp
dξ0 = dρ − 2
, dξ+ = dvx + , dξ− = dvx −
c∞ ρ∞ c∞ ρ∞ c∞
39 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 40 / 43
Far-Field Boundaries
Steger-Warming Flux Vector Splitting Method for the Euler Equations
40 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 41 / 43
Far-Field Boundaries
Steger-Warming Flux Vector Splitting Method for the Euler Equations
Z t n+1 Z
n 1 →
−
Recall also that Fi? ≈
b F · ~νi? dΓi dt is
∆t t n ∂Ci?
constructed in 2D exactly like
Z t n+1
1
Fbxni+1/2 ≈
Fx W (xi+1/2 , t) dt is constructed in 1D
∆t t n
However, the upwind method to be described here will not be based
→
−
on Fbijn = F (WRIEMANN (Mij , t)) · ~νij
41 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 42 / 43
Far-Field Boundaries
Steger-Warming Flux Vector Splitting Method for the Euler Equations
42 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 42 / 43
Far-Field Boundaries
Steger-Warming Flux Vector Splitting Method for the Euler Equations
νj∞ = ~
v~ v ·~
νj∞ ; and v~
νj∞ with multiplicity 3
43 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 43 / 43
Far-Field Boundaries
Steger-Warming Flux Vector Splitting Method for the Euler Equations
Recall from Chapter 7 that the eigenvalues of A(~
νj∞ ) = A~ νj∞ ± c, where
νj∞ are: v~
νj∞ = ~
v~ v ·~
νj∞ ; and v~
νj∞ with multiplicity 3
Analysis: if the far-field boundaries are located sufficiently far from the flow obstacle, at
both subsonic inflow and outflow boundaries, the boundary treatment
bn = F
bn (Wj , W∞ , ~ + −
Fj∞ j∞ νj∞ ) = A (Wj , ~
νj∞ ) Wj + A (Wj , ~
νj∞ ) W∞
43 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 43 / 43
Far-Field Boundaries
Steger-Warming Flux Vector Splitting Method for the Euler Equations
Recall from Chapter 7 that the eigenvalues of A(~
νj∞ ) = A~ νj∞ ± c, where
νj∞ are: v~
νj∞ = ~
v~ v ·~
νj∞ ; and v~
νj∞ with multiplicity 3
Analysis: if the far-field boundaries are located sufficiently far from the flow obstacle, at
both subsonic inflow and outflow boundaries, the boundary treatment
bn = F
bn (Wj , W∞ , ~ + −
Fj∞ j∞ νj∞ ) = A (Wj , ~
νj∞ ) Wj + A (Wj , ~
νj∞ ) W∞
43 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 43 / 43
Far-Field Boundaries
Steger-Warming Flux Vector Splitting Method for the Euler Equations
Recall from Chapter 7 that the eigenvalues of A(~
νj∞ ) = A~ νj∞ ± c, where
νj∞ are: v~
νj∞ = ~
v~ v ·~
νj∞ ; and v~
νj∞ with multiplicity 3
Analysis: if the far-field boundaries are located sufficiently far from the flow obstacle, at
both subsonic inflow and outflow boundaries, the boundary treatment
bn = F
bn (Wj , W∞ , ~ + −
Fj∞ j∞ νj∞ ) = A (Wj , ~
νj∞ ) Wj + A (Wj , ~
νj∞ ) W∞
43 / 43
AA214: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 43 / 43
Far-Field Boundaries
Steger-Warming Flux Vector Splitting Method for the Euler Equations
Recall from Chapter 7 that the eigenvalues of A(~
νj∞ ) = A~ νj∞ ± c, where
νj∞ are: v~
νj∞ = ~
v~ v ·~
νj∞ ; and v~
νj∞ with multiplicity 3
Analysis: if the far-field boundaries are located sufficiently far from the flow obstacle, at
both subsonic inflow and outflow boundaries, the boundary treatment
bn = F
bn (Wj , W∞ , ~ + −
Fj∞ j∞ νj∞ ) = A (Wj , ~
νj∞ ) Wj + A (Wj , ~
νj∞ ) W∞