Академический Документы
Профессиональный Документы
Культура Документы
Lecture 15
Niklas Andersson
niklas.andersson@chalmers.se
Overview shock
reflection
expansion
fans
shock
noncon-
servation
form
substantial
derivative
expansion entropy
theory equation
governing conser-
oblique equations vation
shocks form
governing
2D Flow
friction nozzles equations
Crocco’s
equation
heat
addition Quasi
1D Flow moving
diffusers shocks
1D Flow Conservation
normal
shocks laws PDE:s shock
reflection
integral form
traveling
isentropic waves
flow
acoustic
waves
governing
equations method finite
of char- non-linear
energy
acteristics waves
Compressible flow
Boundary
mo- conditions
mentum continuity
flow
regimes
Com- Shock
speed of pressibility handling
sound
Basic
CFD
Concepts
Spatial
dis-
thermally
perfect cretization
gas
Thermo- Time
High tem- equilibrium
dynamics gas integration
calorically perature Numerical
perfect effects
gas schemes
Boltzmann
entropy 1:st and distribution
2:nd law molecular
motion
internal
energy
Chapter 6
Differential Conservation
Equations for Inviscid Flows
noncon- substantial
servation derivative
form
n entropy
equation
governing conser-
equations vation
form
governing
nozzles equations
Crocco’s
equation
Quasi
1D Flow moving
diffusers shocks
PDE:s shock
reflection
traveling
waves
acoustic
waves
Niklas Andersson - Chalmers 4 / 57
Addressed Learning Outcomes
Crocco’s theorem
d y {
ρdV + ρv · ndS = 0
dt
Ω ∂Ω
Also,
d y y ∂ρ
ρdV = dV
dt ∂t
Ω Ω
Niklas Andersson - Chalmers 9 / 57
Continuity Equation
Therefore
y ∂ρ
+ ∇ · (ρv) dV = 0
∂t
Ω
∂ρ
+ ∇ · (ρv) = 0
∂t
d y { y
ρvdV + [ρ(v · n)v + pn] dS = ρfdV
dt
Ω ∂Ω Ω
where Ω is a fixed control volume
{ y { y
ρ(v · n)vdS = ∇ · (ρvv)dV ; pndS = ∇pdV
∂Ω Ω ∂Ω Ω
Also,
d y y ∂
ρvdV = (ρv)dV
dt ∂t
Ω Ω
Niklas Andersson - Chalmers 11 / 57
Momentum Equation
Therefore
y ∂
(ρv) + ∇ · (ρvv) + ∇p − ρf dV = 0
∂t
Ω
∂
(ρv) + ∇ · (ρvv) + ∇p = ρf
∂t
∂ ∂p
(ρu) + ∇ · (ρuv) + = ρfx
∂t ∂x
∂ ∂p
(ρv) + ∇ · (ρvv) + = ρfy
∂t ∂y
∂ ∂p
(ρw) + ∇ · (ρwv) + = ρfz
∂t ∂z
or expanded:
∂ ∂ ∂ ∂ ∂p
(ρu) + (ρuu) + (ρuv) + (ρuw) + = ρfx
∂t ∂x ∂y ∂z ∂x
∂ ∂ ∂ ∂ ∂p
(ρv) + (ρvu) + (ρvv) + (ρvw) + = ρfy
∂t ∂x ∂y ∂z ∂y
∂ ∂ ∂ ∂ ∂p
(ρw) + (ρwu) + (ρwv) + (ρww) + = ρfz
∂t ∂x ∂y ∂z ∂z
∂
(ρv) + ∇ · (ρvv) + ∇p = ρf
∂t
(ρuu + p) ρuv ρuw
ρvu (ρvv + p) ρvw = ρvv + pI
ρwu ρwv (ρww + p)
∂
(ρv) + ∇ · (ρvv + pI) = ρf
∂t
d y { y
ρeo dV + ρho (v · n)dS = ρf · vdV
dt
Ω ∂Ω Ω
Also,
d y y ∂
ρeo dV = (ρeo )dV
dt ∂t
Ω Ω
Niklas Andersson - Chalmers 16 / 57
Energy Equation
Therefore
y ∂
(ρeo ) + ∇ · (ρho v) − ρ(f · v) dV = 0
∂t
Ω
∂
(ρeo ) + ∇ · (ρho v) = ρ(f · v)
∂t
∂ρ
+ ∇ · (ρv) = 0
∂t
∂
(ρv) + ∇ · (ρvv) + ∇p = ρf
∂t
∂
(ρeo ) + ∇ · (ρho v) = ρ(f · v)
∂t
conservation of mass
conservation of momentum
PDE:s on conservation form
conservation of energy
Crocco’s theorem
D ∂
= +v·∇
Dt ∂t
”... the time rate of change of any quantity associated with a particular moving fluid element is given by
the substantial derivative ...”
”... the properties of the fluid element are changing as it moves past a point in a flow because the
flowfield itself may be fluctuating with time (the local derivative) and because the fluid element is simply
on its way to another point in the flowfield where the properties are different (the convective derivative)
...”
Dρ ∂ρ
= + v · ∇ρ
Dt ∂t
Continuity equation:
∂ρ ∂ρ
+ ∇ · (ρv) = + v · ∇ρ + ρ(∇ · v) = 0 ⇒
∂t ∂t
Dρ
+ ρ(∇ · v) = 0
Dt
Dρ
+ ρ(∇ · v) = 0
Dt
∂
(ρv) + ∇ · (ρvv + pI) = ρf ⇒
∂t
∂v ∂ρ
ρ +v + ρv · ∇v + v(∇ · ρv) + ∇p = ρf ⇒
∂t ∂t
∂v ∂ρ
ρ + v · ∇v +v + ∇ · ρv +∇p = ρf
∂t ∂t
| {z } | {z }
= Dv =0
Dt
Dv 1
+ ∇p = f
Dt ρ
∂
(ρeo ) + ∇ · (ρho v) = ρ(f · v) + ρq̇
∂t
p
h o = eo + ⇒
ρ
∂
(ρeo ) + ∇ · (ρeo v) + ∇ · (pv) = ρ(f · v) + ρq̇ ⇒
∂t
∂eo ∂ρ
ρ + eo + ρv · ∇eo + eo ∇ · (ρv) + ∇ · (pv) = ρ(f · v) + ρq̇ ⇒
∂t ∂t
∂eo ∂ρ
ρ + v · ∇eo +eo + ∇ · (ρv) +∇ · (pv) = ρ(f · v) + ρq̇
∂t ∂t
| {z } | {z }
= Deo =0
Dt
Deo
ρ + ∇ · (p + v) = ρf · v + ρq̇
Dt
1
eo = e + v · v ⇒
2
De Dv
ρ + ρv · + ∇ · (pv) = ρf · v + ρq̇
Dt Dt
Dv 1
Using the momentum equation, + ∇p = f , gives
Dt ρ
De
ρ − v · ∇p + ρf · v + v · ∇p + p(∇ · v) = ρf · v + ρq̇ ⇒
Dt
De p
+ (∇ · v) = q̇
Dt ρ
Niklas Andersson - Chalmers 26 / 57
Non-Conservation Form of Energy Equation
De p
+ (∇ · v) = q̇
Dt ρ
From the continuity equation we get
Dρ 1 Dρ
+ ρ(∇ · v) = 0 ⇒ ∇ · v = − ⇒
Dt ρ Dt
De p Dρ De D 1
− 2 = q̇ ⇒ +p = q̇
Dt ρ Dt Dt Dt ρ
De Dν
= q̇ − p
Dt Dt
where ν = 1/ρ
Compare with first law of thermodynamics: de = δq − δW
Niklas Andersson - Chalmers 27 / 57
Non-Conservation Form of Energy Equation
De D 1 De D 1
= q̇ − p ⇒ +p = q̇
Dt Dt ρ Dt Dt ρ
p Dh De 1 Dp D 1
h=e+ ⇒ = + +p ⇒
ρ Dt Dt ρ Dt Dt ρ
Dh 1 Dp
= q̇ +
Dt ρ Dt
1 Dho Dh Dv
ho = h + v · v ⇒ = +v·
2 Dt Dt Dt
Dv Dv 1
ρ + ∇p = f ⇒ = − ∇p + f ⇒
Dt Dt ρ
Dho Dh 1
= − v · ∇p + f · v ⇒
Dt Dt
|{z} ρ
Dp
q̇+ ρ1 Dt
Dho 1 Dp
= q̇ + − v · ∇p + f · v
Dt ρ Dt
Niklas Andersson - Chalmers 29 / 57
Non-Conservation Form of Energy Equation
Dho 1 Dp
= q̇ + − v · ∇p + f · v
Dt ρ Dt
Dp
Expanding the substantial derivative gives
Dt
Dp ∂p
= + v · ∇p ⇒
Dt ∂t
Dho 1 ∂p
= + q̇ + f · v
Dt ρ ∂t
Dho 1 ∂p
= + q̇ + f · v
Dt ρ ∂t
Dho 1 ∂p
=
Dt ρ ∂t
Dho
=0
Dt
R
e = Cv T ; Cv = ; p = ρRT ; γ, R = const
γ−1
De DT R D p 1 D p
= Cv = = ⇒
Dt Dt γ − 1 Dt ρR γ − 1 Dt ρ
1 D p D 1
= q̇ − p ⇒
γ − 1 Dt ρ Dt ρ
Niklas Andersson - Chalmers 33 / 57
Additional Form of Energy Equation
1 D 1 1 Dp D 1
p + = q̇ − p
γ − 1 Dt ρ ρ Dt Dt ρ
D 1 1 Dp D 1
p + = (γ − 1)q̇ − (γ − 1)p
Dt ρ ρ Dt Dt ρ
D 1 1 Dp
γp + = (γ − 1)q̇
Dt ρ ρ Dt
Continuity:
Dρ D 1 1 Dρ 1
= −ρ(∇ · v) ⇒ =− 2 = (∇ · v) ⇒
Dt Dt ρ ρ Dt ρ
γp 1 Dp
(∇ · v) + = (γ − 1)q̇
ρ ρ Dt
Dp
+ γp(∇ · v) = (γ − 1)ρq̇
Dt
Dp
+ γp(∇ · v) = 0
Dt
∂Q ∂E ∂F ∂G
+ + + =0
∂t ∂x ∂y ∂z
where Q(x, y, z, t), E(x, y, z, t), ... may be scalar or vector fields
∂ρ ∂ ∂ ∂
+ (ρu) + (ρv) + (ρw) = 0
∂t ∂x ∂y ∂z
∂ρ ∂ ∂ ∂
+ (ρu) + (ρv) + (ρw) = 0
∂t ∂x ∂y ∂z
∂ ∂ ∂ ∂
(ρu) + (ρuu + p) + (ρuv) + (ρuw) = 0
∂t ∂x ∂y ∂z
∂ ∂ ∂ ∂
(ρv) + (ρvu) + (ρvv + p) + (ρvw) = 0
∂t ∂x ∂y ∂z
∂ ∂ ∂ ∂
(ρw) + (ρwu) + (ρwv) + (ρww + p) = 0
∂t ∂x ∂y ∂z
∂ ∂ ∂ ∂
(ρeo ) + (ρho u) + (ρho v) + (ρho w) = 0
∂t ∂x ∂y ∂z
∂ρ ∂ρ ∂ρ ∂ρ ∂u ∂v ∂w
+u +v +w +ρ + + =0
∂t ∂x ∂y ∂z ∂x ∂y ∂z
∂u ∂u ∂u ∂u 1 ∂p
+u +v +w + =0
∂t ∂x ∂y ∂z ρ ∂x
∂v ∂v ∂v ∂v 1 ∂p
+u +v +w + =0
∂t ∂x ∂y ∂z ρ ∂y
∂w ∂w ∂w ∂w 1 ∂p
+u +v +w + =0
∂t ∂x ∂y ∂z ρ ∂z
∂p ∂p ∂p ∂p ∂u ∂v ∂w
+u +v +w + γp + + =0
∂t ∂x ∂y ∂z ∂x ∂y ∂z
conservation of mass
conservation of momentum
PDE:s on conservation form
conservation of energy
D
Dt
=
∂
∂t
+v·∇
PDE:s on non-conservation form
Crocco’s theorem
De Ds D 1
=T −p
Dt Dt Dt ρ
De D 1
= q̇ − p
Dt Dt ρ
we see that
Ds
T = q̇
Dt
Ds
=0
Dt
Ds ∂s
= + (v · ∇)s = (v · ∇)s = 0
Dt ∂t
conservation of mass
conservation of momentum
PDE:s on conservation form
conservation of energy
D
Dt
=
∂
∂t
+v·∇
PDE:s on non-conservation form
The entropy equation
Crocco’s theorem
Dv
ρ = −∇p
Dt
Writing out the substantial derivative gives
∂v ∂v 1
ρ + ρv · ∇v = −∇p ⇒ + v · ∇v = − ∇p
∂t ∂t ρ
First and second law of thermodynamics (energy equation)
1
dh = Tds + dp
ρ
Replace differentials with a gradient operator
1 1
∇h = T ∇s + ∇p ⇒ T ∇s = ∇h − ∇p
ρ ρ
Niklas Andersson - Chalmers 50 / 57
Crocco’s Theorem
With pressure derivative from the momentum equation inserted in
the energy equation we get
∂v
T ∇s = ∇h + + v · ∇v
∂t
1 1
h = ho − v · v ⇒ ∇h = ∇ho − ∇( v · v)
2 2
1
∇( v · v) = v × (∇ × v) + v · ∇v
2
A=B=v⇒
∂v
T ∇s = ∇ho − v × (∇ × v) − v · ∇v + + v · ∇v
∂t
∂v
T ∇s = ∇ho + − v × (∇ × v)
∂t
∂v
T ∇s = ∇ho + − v × (∇ × v)
∂t
shock
M∞ constant
ho constant
s constant
shock
M∞ constant
ho constant
s constant
∇ho = 0
T ∇s = ∇ho − v × (∇ × v)
conservation of mass
conservation of momentum
PDE:s on conservation form
conservation of energy
D
Dt
=
∂
∂t
+v·∇
PDE:s on non-conservation form
The entropy equation
Crocco’s theorem