11 ApplsDivThm 22C W15
11 ApplsDivThm 22C W15
MATH 22C
over V, and apply the divergence theorem. Start with (1), the so called
continuity equation:
Z Z Z Z Z Z Z Z Z
0= ρt + Div(ρu) dV = ρt dV + Div(ρu) dV.
V V V
(5)
Now in the first integral, since the integration is over x not t, we claim
we can pass the partial derivative with respect to t out through the
integral sign to get a regular derivative on the outside,
Z Z Z Z Z Z
d
0= ρt dV = ρ dV. (6)
V dt V
Z Z Z
d
ρ dV
dt V
leads directly to
Z Z Z Z Z Z
1
lim ρ(x, t + ∆t) dVx − ρ(x, t + ∆t) dVx
∆t→0 ∆t V V
Z Z Z
ρ(x, t + ∆t) − ρ(x, t)
= lim dVx
∆t→0 V ∆t
Z Z Z
= ρt (x, t) dVx .
V
� � � � �
d
ρ dv = − ρu · n dA
dt V ∂V
ρu
n
∆Ai
V
ρu
∂V
n
time rate of change of the total mass in every volume is equal to minus
the flux of mass through the boundary” in the sense that (7) holds
for every volume V , and from this, using the divergence theorem in
reverse, we can conclude that (7) holds in every volume, and from this
(using that the integral of a continuous function is zero in every volume
iff the function is identically zero) we can conclude that conservation
of mass in this sense implies the continuity equation (1). We can now
take this reversed argument as a physical derivation of (1) from a pre-
cise physical expression of the principle of conservation of mass in a
continuous media. (Of course, the derivation technically is only valid
for continuous functions, so shock waves are another matter!)
� � � � � � �
d i i
ρu dv = − (ρu )u · n dA − p ei · n dA
dt V ∂V ∂V
ρui u
n
∆Ai
V
ρui u
∂V
n
that is, on the LHS F is replaced by the net force of the pressure on
the boundary ∂V, and the right hand side is replaced but the total
time rate of change of i-momentum in V. Since the volume V is arbi-
trary, it follows that the balance of i-momentum holds in every volume,
i = 1, 2, 3, and we say that momentum is conserved. Again, we can
reverse the steps, and start by defining the physical principle of con-
servation of momentum as meaning precisely that “the time rate of
change of momentum in every volume is equal to minus the flux of mo-
mentum through the boundary minus the force due to the pressure on
the boundary” in the sense that (9) holds for every volume V , and from
this, using the divergence theorem in reverse, we can conclude that (8)
holds in every volume, and from this (using again that the integral of
a continuous function is zero in every volume iff the function is identi-
cally zero) we can conclude that the momentum equations (2) for each
i = 1, 2, 3, follows from the principle of conservation of momentum as
expressed in (9). We can now take this reversed argument as a physical
derivation of (2) from a precise physical expression for the principle of
conservation of momentum in a continuous media. (Again, the deriva-
tion technically is only valid for continuous functions, so shock waves
are another matter!)
� � � � � � �
d
E dv = − Eu · n dA − pu · n dA
dt V ∂V ∂V
Eu
n
∆Ai
V
Eu
∂V
n
Conservation of Energy: The time rate of change of
energy in each volume is minus the flux of energy out
through the boundary minus the net rate at which work
is done by the pressure force acting on the boundary.
Conclude: The energy equation implies that the total rate of change
of Energy inside any volume is equal to minus the flux of Energy out
through the boundary minus the net rate at which work is done by the
pressure force on the boundary, a precise expression of conservation of
energy for that volume. Note that the continuum version of Newton’s
power law F · u = dW dt
appears with F · u replaced by pn · u where pn
is the force per area, implying pn · u is the work per area time, so that
integrating out the area gives the work per time. Since work is energy,
10
The main identity used to connect up the material derivative with the
compressible Euler equations is the following (easily verified)
Div(f u) = f Div(u) + ∇f · u, (18)
which holds for any vector field u. Using these we have the following
useful theorem:
Theorem 2. Assume ρ = ρ(x, t) and u = u(x, t) solve the the conti-
nuity equation (1), and let f = f (x, t) be any smooth function. Then
Df
(ρf )t + Div(ρf u) = ρ . (19)
Dt
Proof: Using the product rule for partial derivatives on the first term
and (18) on the second term on left of (19) gives
Df
(ρf )t + Div(ρf u) = [ρt + Div(ρu)]f + ρ (ft + ∇f · u) = ρ
, (20)
Dt
as claimed, where the first term vanishes by the continuity equation.
Dv D ρ1 1 Dρ 1
= =− 2 = Div(u) = vDiv(u).
Dt Dt ρ Dt ρ
This is a complete proof.
Theorem 4. Assuming the continuity equation (1), the momentum
equation (2) is equivalent to
Du
ρ = −∇p. (24)
Dt
the remaining three variables, the density ρ, pressure p and specific in-
ternal energy e are the so called thermodynamic variables. The other
two important thermodynamic variables in shock wave theory are the
temperature T and the specific entropy s (we’ll discuss the entropy in
the next section). A principle of thermodynamics is that all of the five
thermodynamic variables can be expressed as a function of any two
of them. Since by any choice of the two independent thermodynamic
variables, there remain six unknowns and five equations, an equation
of state which gives the pressure in terms of two other thermodynamic
variables, must be given to reduce the number of unknowns by one and
thereby close the equations.
The most fundamental equation of state is the so called polytropic equa-
tion of state given by
p = p(ρ, e) = (γ − 1)ρe, (33)
where γ is the so called adiabatic constant of the gas. Writing p =
p(ρ, e) in (29)-(31) closes the compressible Euler equations into a sys-
tem of five equations in the five unknowns
(u1 , u2 , u3 , ρ, e).
To write the system in the form of a system of conservation laws
Ut + f (U )x = 0,
define the conserved quantities
U = (ρ, G, E),
using
G = (G1 , G2 , G3 ) = (ρu1 , ρu2 , ρu3 ) = ρu,
and find expressions for (p, e) in terms of U . For example, by (32),
2
E 1 2 U5 1 G
e = − |u| = − ,
ρ 2 U1 2 U1
and so 2 !
U5 1 G
p = (γ − 1)ρe = (γ − 1)U1 − .
U1 2 U1
A final word on the adiabatic gas constant. The polytropic equation of
state describes a gas of identical molecules each consisting of r atoms.
In this case, assuming the ideal gas law
pv = RT, (34)
with v = 1/ρ the specific volume and R the universal gas constant,
together with the assumption that the internal energy e distributes
16
2
γ =1+ . (36)
3r
In particular, for a polytropic gas (33), equation (35) tells us that the
internal energy is proportional to the temperature, with proportionality
constant CV = R/(γ − 1) called the specific heat at constant volume,
(the heat required to raise a unit mass one degree); and (36) gives the
adiabatic gas constant as a function of the number of atoms r in the
gas molecules. Taking the limits r = 1 and r → ∞ gives the bounds
5
1<γ≤ ,
3
the value γ = 5/3 applying to a mono-tonic gas, and γ → 1 in the
limit of very heavy molecules. In particular, air is mostly Nitrogen N2 ,
giving a value of gamma equal to
γ = 4/3.
Conclude: Every term and constant in the compressible Euler equa-
tions with polytropic equation of state is derivable from first principles.
Nothing is phenomenological (like a constant whose value is determined
by an experiment) or ad hoc (like a term added or a value assigned to
make a numerical experiment fit the data). For this reason the com-
pressible Euler equations with polytropic equation of state are a fun-
damental set of equations for Applied Mathematics and Physics, they
anchor the subject of PDE’s by marking the starting point for Fluid
Mechanics, and as such they provide the main physical setting for the
Mathematical Theory of Shock Waves.
Canceling the first and third term on the RHS of (41) gives
cV T = g(T ) − T g 0 (T ),
which upon differentiating both sides with respect to T gives
cv = −T g 00 (T ).
By this we obtain a formula for g 00 (T ), namely
cv
g 00 (T ) = − ,
T
which upon integrating once gives
g 0 (T ) = −cv ln T + const.
Using this in (40), and setting const. equal to zero, (only changes in
entropy are measurable anyway), we obtain
s = cv ln (v γ−1 T ),
as claimed.
Finally, solving s = cv ln (v γ−1 T ) for T gives
s
T = v 1−γ exp ( );
cv
and using this in e = cv T yields the formula
1 s
e = cv γ−1 exp ( ) ≡ e(s, v).
v cv
This together with the second law gives the equation of state of a
polytropic gas in terms of (s, v):
∂e 1 s
p = − (s, v) = cv (γ − 1) γ exp ( ) ≡ p(s, v).
∂v v cv
This is the form of the equation of state of a polytropic gas often
quoted in the literature. In particular, replacing v = 1/ρ gives primar-
ily because the speed of sound c is given by the formula
s
p(ρ, s) = cv (γ − 1)ργ exp ( ),
cv
and it turns out the correct generalization of the speed of sound σ when
p depends on s as well as ρ is
s
∂p
σ= (ρ, s).
∂ρ
We could obtain this by linearizing the equations just like we did for
the barotropic equation of state p = p(ρ) before.
The following important theorem gives the equation for the entropy:
19
Proof: Write
(ρs)t + Div(ρsu) = ρt s + ρst + sDiv(ρu) + ρ∇s · u
= s(ρt + div(ρu) + ρ
****************************************************
across a shock wave must be related to the speed of the shock by the
condition
s[U ] = [f (U )]. (43)
Here, [·] around a quantity denotes the jump in that quantity from left
to right across the shock wave, so [U ] = UR − UL , [f (U )] = f (UR ) −
f (UL ), etc. Recall that for the p-system, U = (v, u), and for fixed state
UL and constant s, the jump condition was satisfied by two curves
S1 (UL ) and S2 (UL ) that had C 2 contact with the rarefaction curves
R+ +
1 (UL ) and R2 (UL ) at UL . We then defined the wave curves Wi (UL ) =
S1− (UL ) ∪ S1− (UL ), i = 1, 1, consisting the the states UR that could be
connected to UL by a shock wave of speed s = s(UL , UR ) determined by
the analysis. So the question remains: where did the Rankine-Hugoniot
jump conditions come from?
that the function, together with all of its derivatives, vanish on the
boundary of any set in −∞ < x < ∞, t > 0 that contains Suppφ.
To get a condition for shock wave solutions u(x, t), multiply equation
(42) by a test function φ(x, t),
ut φ + f (u)x φ = 0,
integrate over (x, t)
Z ∞Z ∞ Z Z
ut φ + f (u)x φ dxdt = ut φ + f (u)x φ dxdt, (44)
0 −∞ K
where we used the fact that φ(x, t) vanishes for (x, t) on the boundary
of K, because K contains the suppport of φ. Denoting the boundary of
K by ∂K and assuming without loss of generality that K is contained
within −∞ < x < ∞, t > 0, we can integrate (45) by parts to obtain
Z Z Z Z
(ut φ + f (u)x φ) dxdt = (uφ)t + (f φ)x φ dxdt
K K
Z Z
− uφt + f (u)φx dxdt.
K
where we have applied the Leibniz product rule to write the integral
as a divergence, plus the integration by parts term. By the divergence
theorem, the first term reduces to an integral on the boundary ∂K
where φ and all its derivatives vanish, so this term is zero, i.e.,
Z Z Z Z
(ut φ + f (u)x φ) dxdt = Divx,t (f φ, uφ) dxdt
K
ZK
− (f φ, uφ) · n dxdt = 0.
∂K
Thus we conclude that for any test function φ and solution u of (42)
we have
Z ∞Z ∞ Z ∞Z ∞
ut φ + f (u)x φ dxdt = − uφt + f (u)φx dxdt, (45)
0 −∞ 0 −∞
so long as u is smooth enough so that the derivatives ut and f (u)x exist.
For shock wave solutions, the right hand side of (45) makes sense, but
the left hand side of (45) does not.
Definition 11. We call u(x, t) a weak or distributional solution of the
conservation law (42) if
Z ∞Z ∞
uφt + f (u)φx dxdt = 0 (46)
0 −∞
for all smooth test function φ(x, t).
22
where Γ dentoes the shock curve (x(t), t). Note that ut + f (u)x makes
sense and vanishes in KL and KR separately because we don’t have to
take derivatives at the shock itself. (We can take the derivatives all
the way up to the shock curve by continuity of u and its derivatives on
either side of the shock.) Note that the boundary of KL where φ need
not vanish is exactly the shock curve (x(t), t), which we have denoted
by Γ, and nL denotes the outer normal to KL .
Similarly on the right side K of the shock curve we obtain
Z Z Z
−−−−−→
uR φt + f (uR )φx dxdt = (fR , uR ) · nR φ ds.
Γ Γ
Putting (49) and (49) together we obtain
Z Z
−−−−−→ −−−−−→
(fL , uL ) · nL φ ds + (fR , uR ) · nR φ ds
Γ Γ
Z
−−−−−−−−−−−−−→
= (fR − fL , uR − uL ) · nR φ ds = 0, (49)
Γ
where we used that nL = −nR . But on the shock curve (x(t), t) the
normal vector nR = −i + ẋj. That is, the parametrization of the shock
curve Γ with respect to t is
r(t) = x(t)i + tj,
so
v0 (t) = ẋi + j,
and the unit tangent vector T = |v|/|v| is
ẋi + j
T= √ .
ẋ2 + 1
Hence the outer normal nR to γ is
−i + ẋj
nR = √ .
ẋ2 + 1
Using this in (50) gives the result
Z
{s[u] + [f ]} φ ds = 0,
Γ
The result, then, is that a weak solution u(x, t) of the conservation law
(42) that is a smooth solution on either side of a shock curve, must
satisfy (50) for every smooth test function φ. It follows that we must
have s[u] + [f ] = 0 at each point of the shock, for if it were nonzero at
some point on the shock curve, then we could cook up a test function
with support near that point such that (50) was nonzero. Conversely,
if s[u] + [f ] = 0 all along the shock curve, and u is a strong solution on
24
either side, then (50) is zero, and hence working backwards we would
find that u is a weak solution as well. This completes the proof the
theorem, and the derivation of the Rankine-Hugoniot jump conditions.