Gasdynamics AE4140 Chapter 1: Introduction
Gasdynamics AE4140 Chapter 1: Introduction
AE4140
Chapter 1: Introduction
Ferry Schrijer
[email protected]
Aerodynamics Section
Faculty of Aerospace Engineering
Delft University of Technology
1/60
Introduction
Introductory comments
Notations, definitions and relations for gases
Equation of state
Conservation laws
Euler equations
Entropy
Discontinuities in compressible flow
One-dimensional unsteady jump equations
Multi-dimensional unsteady jump equations
Conservation law of entropy
Too many jump equations
Moving shocks (t, x)-plane, entropy condition II
Numerical approach
2/60
Chapter 1: Introduction
3/60
Introductory comments
Compressibility
4/60
Notations, definitions and relations for gases
1
Specific volume v= ρ volume/unit mass
Pressure p
p
Specific enthalpy h h=e+ ρ
5/60
Notations, definitions and relations for gases
p
Specific total enthalpy H H = h + 12 q 2 = E + ρ
Temperature T
∂e ∂h
Specific heat at const v ,p cv ,cp cv = ∂T v , cp = ∂T p
cp
Ratio of specific heats γ γ= cv (= 1.4 for air)
6/60
Equation of state
cv = cv (T ) and cp = cp (T ).
EOS:
p = ρRT (2)
R is constant for a particular gas.
7/60
Equation of state
(continued)
∂e
From cv = ∂T v :
Z
e= cv (T )dT (3)
∂h
From cp = ∂T p :
Z
h= cp (T )dT (4)
From h = e + pρ :
Z Z
cp (T )dT = cv (T )dT + RT
R = cp (T ) − cv (T ) (5)
R γ(T )R
cv (T ) = , cp (T ) = (6)
γ(T ) − 1 γ(T ) − 1
8/60
Equation of state (continued)
p = (γ − 1)ρe (7)
γR γ p
h = cp T = γ−1 T = γ−1 ρ = γe =⇒
γ−1
p= ρh (8)
γ
9/60
Equation of state (continued)
Molecular degrees of freedom
Principle of equipartition : Internal energy of a gas is equally
distributed over the available degrees of freedom
n = number of degrees of freedom
1
e= nRT ; (9)
2
If n is constant (e.g. n is no function of T ) there follows:
∂e 1
cv = = nR (10a)
∂T v 2
1
cp = R + cv = ( n + 1)R (10b)
2
cp n+2
γ= = (11)
cv n
10/60
Equation of state (continued)
Some examples:
11/60
Equation of state (continued)
Influence of chemistry on R
R depends on the number of particles (molecules, atoms and
ions) per unit mass.
12/60
Equation of state (continued)
µ drops
ionization: O → O + + e−
R rises
13/60
Equation of state (continued)
Entropy
First law of Thermodynamics: de = d̄Q + d̄W
de = d̄Q − pdv .
dT pdv dp dv
ds = cv + = cv +R
T T p v
dp dv
ds = cv +γ (12)
p v
14/60
Equation of state (continued)
γ
Integrate: s − s0 = cv ln ppv
0 v0
γ
s = constant =⇒ pv γ = constant
or
Poisson’s relation:p = Cργ (13)
Irreversible process: T ds > d̄Q (second law).
So, in case of adiabatic flow where d̄Q = 0, ds > 0
15/60
Equation of state (continued)
Sound waves:
I perturbations in density, pressure and temperature are
infinitely small
I the propagation is reversible and adiabatic ⇒ isentropic
Speed of sound:
∂p
a2 = ; (14)
∂ρ s
Perfect gas: p = (γ − 1)ρe
Speed of sound for a perfect gas:
p
a2 = (γ − 1)e + ρ2
(γ − 1)ρ = (γ − 1) e + pρ
= (γ − 1)h = (γ − 1)cp T
= γRT = γp
ρ
16/60
Conservation laws
Integral form of the conservation laws
Mass conservation
ZZZ ZZ
d
ρdV + ρV̄ · n̄dS = 0 (15)
dt V S
| {z } | {z }
time rate of change of mass inside V net mass flow out V through surface S
17/60
Conservation laws
Integral form of the conservation laws
Momentum conservation
ZZZ ZZ
d
ρV̄ dV + ρV̄ V̄ · n̄dS +
dt V S
| {z } | {z }
time rate of change of net flow of momentum across S
momentum inside V
ZZ ZZZ
p · n̄dS = ρf̄ dV +
S | {z }
| {z }
surface force due to pressure body forces
F̄visc + F̄external
|{z} | {z }
viscous forces external forces (strut force, enclosure force)
(16)
18/60
Conservation laws
Integral form of the conservation laws
Comments
I Example of F̄external
F̄external = −F̄ on control volume V , integral of the surface
forces (pressure + viscous).
I F̄visc : viscous forces
ZZ
F̄visc = τ̄¯ · n̄dS
∂V
∂u∂ui
Newtonian fluid: τij = µ + ∂xij + λδij ∂u
∂xj
k
∂xk
Both µ and λ are a function of temperature.
19/60
Conservation laws
Integral form of the conservation laws
Energy equation
ZZZ ZZ
d
ρEdV + ρE V̄ · n̄dS +
dt V
| {z } | S {z }
ofZchange of energy inside V
time rate Z netZflow
ZZ of energy across S
20/60
Conservation laws
Integral form of the conservation laws
Comments
I control volume fixed in space → the time derivative can be
∂
brought into the integral as ∂t
I Conservative force field: f̄ = −∇Φ (x̄) then Φ (x̄) can be
included in E and H
I Q̇ has a volume and a surface component :
ZZZ ZZ
Q̇ = ρcdV − q̄ · n̄dS
V S
| {z } | {z }
volumetric heating heat flux due to conduction
∂
Momentum equation: ρV̄ + ∇ · ρV̄ V̄ + ∇p = ρf̄ (19)
∂t
∂
Energy equation: ρE + ∇ · ρV̄ E + ∇ · pV̄ = ρV̄ · f̄ (20)
∂t
∂ρ
+ ∇ · ρV̄ = 0 (21)
∂t
∂
ρV̄ + ∇ · ρV̄ V̄ + ∇p = 0 (22)
∂t
∂
ρE + ∇ · ρH V̄ = 0 (23)
∂t
23/60
Euler equations
Conservative form
∂U
e ∂F
e ∂G
e ∂H
e
+ + + =0 (24)
∂t ∂x ∂y ∂z
with
ρ ρu ρv ρw
ρu
p + ρu 2
ρvu
ρwu
U=
e
ρv ,F
e =
ρuv ,G
e =
p + ρv 2 ,H
e =
ρwv .
ρw ρuw ρvw p + ρw 2
ρE ρuH ρvH ρwH
U
e is the state vector and F
e, G
e and H
e are flux vectors.
Euler equations are represented in the conservative form.
24/60
Euler equations
Non-conservative form
D ∂
= + V̄ · ∇. (25)
Dt ∂t
This results into
Dρ
+ ρ∇ · V̄ = 0, (26)
Dt
DV̄
ρ + ∇p = 0, (27)
Dt
DE
ρ + ∇ · pV̄ = 0. (28)
Dt
25/60
Entropy
Euler equations: entropy s is constant when moving with a
particle. First law of thermodynamics: d̄Q = T ds
1
T ds = de + pd .
ρ
Ds
Following a fluid particle,determines the behaviour of s,
Dt
Ds 1 De p Dρ
= − 2 .
Dt T Dt ρ Dt
Ds 1 1 DV̄ p
= − ∇ · pV̄ − V̄ · + 2 ρ∇ · V̄ .
Dt T ρ Dt ρ
Ds 1 p V̄ ∇p p
= − ∇ · V̄ − · ∇p + V̄ · + ∇ · V̄ .
Dt T ρ ρ ρ ρ
or
Ds
=0 (29)
Dt
Steady flow → entropy is constant along a streamline.
26/60
Discontinuities in compressible flow
Shock wave
Steady shock (Cs = 0): Vt,1 = Vt,2 , Vn,1 > Vn,2
Steady normal shock: pre-state supersonic and post-state
subsonic
In the general case (Cs 6= 0), how to find the pre and
post-state?
27/60
Discontinuities in compressible flow
Shock wave
Bring the shock into a frame that moves with the shock: shock
frame
Figure: U1 < 0, 1 is
Figure: U1 > 0, 1 is pre-state
post-state
29/60
Discontinuities in compressible flow
Contact discontinuity
Contact discontinuity: velocity Cs to its front, Vn,1 = Vn,2 = Cs .
Furthermore Vn,1 = Vn,2 and ρ, e and s may jump across the
contact discontinuity.
32/60
Discontinuities in compressible flow
Summary of various discontinuities
vn vt c p ρ e s
Shock wave J C cs J J J J
Shear wave C J vn C C C C
Contact discontinuity C C vn C J J J
Shear + contact C J vn C J J J
33/60
One-dimensional unsteady jump equations
1D unsteady flow, shock discontinuity D in the (t, x)-plane
34/60
One-dimensional unsteady jump equations
Which jump fits to the continuous solutions in À and Á?
Consider a small shock element δl with contour c and area A
Divergence theorem:
I x
Ā · n̄ dl = ∇ · ĀdA
c A
with ∂
U nt
Ā = , n̄ = , and ∇ = ∂t
∂ .
F nx ∂x
This can now be written as:
I
U x ∂U ∂F
· n̄dl = + dA = 0.
c F A
∂t ∂x
35/60
One-dimensional unsteady jump equations
36/60
One-dimensional unsteady jump equations
n̄2 is normal to D:
n2t dt
· = −1
n2x dx D
dt
Shock velocity VD = dx D :
37/60
One-dimensional unsteady jump equations
Special case: steady discontinuity → VD = 0
[F ] = 0, or F2 = F1
re-substitute F → Rankine-Hugoniot
relations:
ρ2 u2 = ρ1 u1 (31a)
p2 + ρ2 u22 = p1 + ρ1 u12 (31b)
ρ2 u2 H2 = ρ1 u1 H1 (31c)
38/60
Multi-dimensional unsteady jump equations
Discontinuity D with velocity V̄D and unit vector n̄D
Governing equations:
∂ Ũ ∂ F̃ ∂ G̃ ∂ H̃
+ + + = 0.
∂t ∂x ∂y ∂z
Multi-dimensional jump relation
h i h i h i h i
(V̄D · n̄D ) Ũ = F̃ nDx + G̃ nDy + H̃ nDz (32)
39/60
Multi-dimensional unsteady jump equations
Using the definitions of Ũ, F̃ , G̃ and H̃:
ρ(V̄ − V̄D ) · n̄D =0
ρV̄ (V̄ − V̄D ) · n̄D + pn̄D =0
ρE(V̄ − V̄D ) · n̄D + pV̄ · n̄D = 0.
Discrete algebra: ā · b̄ = [ā] hb̄i + b̄ hāi
The multi-dimensional jump relations can be brought in the
form of the Rankine-Hugoniot relations:
ρ(V̄ − V̄D ) · n̄D =0 (33a)
ρ(V̄ − V̄D )(V̄ − V̄D ) · n̄D + pn̄D =0 (33b)
h i
2
ρ h + 12 V̄ − V̄D
V̄ − V̄D · n̄D = 0 (33c)
40/60
Multi-dimensional unsteady jump equations
41/60
Conservation law of entropy
∂(ρs) ∂
+ (ρus) = 0 (35)
∂t ∂x
Conservation of entropy density ρs →
not valid for irreversible processes!
42/60
Conservation law of entropy
Irreversible flow:
(ρs)t + (ρus)x ≥ 0
Jump inequality:
−VD [ρs] + [ρus] ≥ 0 (36)
Discrete algebra + density jump equation:
hρui
− VD [s] ≥ 0. (37)
hρi
43/60
Too many jump equations
Rankine-Hugoniot relations:
ρ1 u1 = ρ2 u2
p1 + ρ1 u12 = p2 + ρ2 u22
ρ1 u1 H1 = ρ2 u2 H2
With these, the well know shock wave relations can be derived:
p2 2γ
=1+ (M 2 − 1)
p1 γ+1 1
ρ2 (γ + 1)M12
=
ρ1 2 + (γ − 1)M12
T2
2γ 2 2 + (γ − 1)M 2
1
= 1+ M1 − 1
T1 γ+1 (γ + 1)M12
u2 2 (M12 − 1)
=1−
u1 γ + 1 M12
These equations are inconvenient for use with unsteady flows
(one has to go to shock frame) 44/60
Too many jump equations
Therefore it is more useful to have jump relations for the
thermodynamic variables. Start with: VD [U] = [F ]
By eliminating VD , the Hugoniot relation results:
1
hpi∆( ) + ∆e = 0. (38)
ρ
For perfect gas with e = cv T and p = (γ − 1)ρe:
p2
ρ2 1 + γ+1
γ−1 p
= γ+1 p 1 . (39)
ρ1 + 2γ−1 p1
p2
When p1 → ∞ then:
ρ2 γ+1
= .
ρ1 max γ−1
5 ρ2
He → γ = 3 : ρ1 =4
max
7 ρ2
N2 , O2 → γ = 5 : ρ1 =6
max
45/60
Moving shocks (t, x)-plane, entropy condition II
(t, x)-plane
46/60
Moving shocks (t, x)-plane, entropy condition II
Case A: Steady shock
therefore
∆x1 > ∆x2 ⇒ ρ2 > ρ1
Particle paths get closer! 47/60
Moving shocks (t, x)-plane, entropy condition II
Case B: Shock created by gas hitting wall
I conservation of mass:
particle paths get closer
I analogue in steady 2D flow,
shock reflection at a wall
48/60
Moving shocks (t, x)-plane, entropy condition II
Case C: Shock created in piston driven gas
I conservation of mass:
particle paths get closer
I analogue in steady 2D
supersonic flow, shock
induced by a ramp
49/60
Moving shocks (t, x)-plane, entropy condition II
Shock speed
Take case C: piston running into a gas and generating a shock
51/60
Moving shocks (t, x)-plane, entropy condition II
Shock speed: strong shock limit
p2 2γ cs2
≈ . (41)
p1 γ + 1 a12
The density ratio remains finite:
ρ2 γ+1
= ,
ρ1 γ−1
T2 e2 2γ(γ − 1) cs2
= ≈ .
T1 e1 (γ + 1)2 a12
Velocity ratio:
v2 ρ1 γ−1
= →
v1 ρ2 γ+1
52/60
Moving shocks (t, x)-plane, entropy condition II
Shock speed: strong shock limit
53/60
Moving shocks (t, x)-plane, entropy condition II
Entropy condition II
Elementary gasdynamics, flow enters the shock being
supersonic and exits subsonic.
In case of a steady shock: u1 > a1 and u2 < a2 or:
(u1 − a1 ) > 0 > (u2 − a2 )
How does this look like in the unsteady case?
∂U ∂F
+ =0
∂t ∂x
55/60
Numerical approach
and get
Z x2
t2 Z t2
x2
U dx + F dt = 0 (43)
x1 t1 t1 x1
56/60
Numerical approach
Spatial mean: spatial integration over the domain:
Z x2
1
U= U dx,
∆x x1
Temporal mean: temporal integration over the domain:
Z t2
1
hF i = F dt.
∆t t1
Inserting this into equation (43):
U(t2 ) − U(t1 ) hF (x2 )i − hF (x1 )i
+ =0 (44)
∆t ∆x
58/60
Numerical approach
Flux formulae are set-up so that the dominant numerical error
produced by the scheme (‘truncation’ error) has the
appearance of dissipation term: artificial dissipation.
The update is of the type:
or
59/60
Numerical approach
I Dropping viscosity: simpler equations but loss of physics
I To retain flow phenomena related to viscous dissipation
(e.g. shocks): artificial dissipation
Entropy condition III
Only those inviscid solutions are physically acceptable
that can also be obtained from the full viscous and
heat conducting equations in the limit of vanishing
viscosity and heat conduction.
60/60