Shock Notes

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

7 Shocks

Reading: Ryden chs. 3 & 4, Shu chs. 15 & 16. For the enthusiasts, Shu chs. 13 & 14.

A good article for further reading: Shull & Draine, The physics of interstellar shock waves, in
Interstellar processes; Proceedings of the Symposium, Grand Teton National Park, WY, July 1-7,
1986 (A88-14501 03-90). Dordrecht, D. Reidel Publishing Co., 1987, p. 283-319.

Consider the propagation of a finite amplitude sound wave.


The speed of propagation is higher at higher temperature, so the crest of the wave gradually
overtakes the trough (T ∝ ργ−1 ).
When faster moving gas overtakes slower moving gas, we get a discontinuous change of density and
velocity, a shock.
(NB: In fact, this steepening happens even for γ = 1 because of non-linearity of the equations.)

Shocks can also be produced by any supersonic compressive disturbance. This is the more common
source of shocks in astrophysical situations.
What are places where astrophysical shocks occur?
Cloud-cloud collisions
HII regions expanding into neutral medium
Stellar wind encountering medium
Supernova or GRB blast wave (internal and external shocks)
Accretion onto compact objects: spherical or disk
Accretion onto hydrostatic intracluster medium

In general a shock wave is


• a pressure driven compressive disturbance
• propagating faster than the “signal speed” for compressive waves
• producing irreversible change in fluid state (increase of entropy)

In most cases a shock involves a “discontinuous” change of fluid properties over a scale ∼ λ.

7.1 Shock jump conditions


Consider a propagating shock wave in the rest frame of the shock.
Unshocked gas approaches from the +x direction moving faster than its sound speed and passes
through the shock.
Pre-shock conditions: ρ1 , u1 , T1 .
Post-shock conditions: ρ2 > ρ1 , u2 < u1 , T2 > T1 .

We would like to derive the relations (a.k.a. “jump conditions”) between ρ 1 , u1 , T1 (or, equivalently,
P1 ) and ρ2 , u2 , T2 (or P2 ), for a steady-state, plane-parallel shock (~u perpendicular to shock front
and fluid properties depend only on distance to front).

37
Within the shock front (a.k.a. “transition layer”), viscous effects are important – they cause the
shock in the first place. However, outside this layer, viscous effects are small on scales larger than
the mean free path. We will derive conservation equations of the form
d
Q(ρ, u, P ) = 0 =⇒ Q(ρ, u, P ) = constant,
dx
and although the quantities Q involve viscous terms, we can ignore these outside the shock zone
and can therefore derive the jump conditions from equations that don’t involve viscosity terms.

We start from the continuity equation and the momentum equation


∂ρ ~ ∂~u  ~  1~ 1~ ↔
+ ∇ · (ρ~u) = 0, + ~u · ∇ ~u = ~g − ∇P + ∇· π,
∂t ∂t ρ ρ

and from the thermal energy equation, which it is helpful to write in the form (Ryden 1-43)

∂ ~ · (ρ~u) = −P ∇
~ · ~u − ∇
~ · F~ + Ψ,
(ρ) + ∇
∂t
analogous to the continuity equation, and to supplement with a separate equation (Ryden 1-44)
for conservation of kinetic energy
∂ 1 2 ~ · ( 1 ρu2 ~u) = ρ~u · ~g − ~u · ∇P ~ ↔
~ + ~u · (∇·
( 2 ρu ) + ∇ 2 π ).
∂t

∂ ∂ ∂ ∂ d
We now assume steady-state, ∂t = 0, plane-parallel, ∂y = 0, ∂z = 0, ∂x = dx , and ignore gravity
and viscosity. These equations then become
d
(ρu) = 0 (41)
dx
du 1 dP
u = − (42)
dx ρ dx
d du
(ρu) = −P (43)
dx dx
d 1 2 dP
( ρu u) = −u . (44)
dx 2 dx
(45)

Equation (41) immediately gives

ρu = constant =⇒ ρ1 u1 = ρ2 u2 .

Using
d du dρ du du dρ du d du
 
(ρu2 ) = 2ρu + u2 = ρu +u ρ +u = ρu + u (ρu) = ρu
dx dx dx dx dx dx dx dx dx

38
allows the equation (42) to be written
du dP d  2 
ρu + = ρu + P = 0 (46)
dx dx dx
so
ρu2 + P = constant =⇒ ρ1 u21 + P1 = ρ2 u22 + P2 . (47)

If we had kept the viscosity terms in the derivation, equation (46) would instead have been
d 4 du
 
ρu2 + P − µ = 0. (48)
dx 3 dx

Within the transition zone, where µ and du 2


dx are non-zero, ρu + P is not constant.
du
However, in the pre-shock and post-shock zones, µ and dx are negligible, so equation (47) holds.
We could use equation (48) (together with our other equations and the constitutive relation for
viscosity) to follow what happens within the transition zone. However, the fluid approximation
itself breaks down within this region.

Adding together equations (43) and (44) gives


d  1 2  
0 = u 2 ρu + ρ + P u
dx  
d P

1 2
= ρu 2 u +  +
dx ρ
P d d 1 2 P
   
1 2
= 2u +  + ρ (ρu) + ρu u ++ .
dx dx 2 ρ
d
Since dx (ρu) = 0 and ρu 6= 0, this equation implies that

d P P
 
1 2 1 2
dx 2u ++
ρ
= 0 =⇒ 2u ++
ρ
= constant,

so
1 2 P1 P2
2 u1 + 1 + = 12 u22 + 2 + .
ρ1 ρ2
If we had been more complete, the conserved quantity would also include viscosity and heat con-
duction terms, but once again, these are unimportant outside of the transition zone.

In summary, we have the Rankine-Hugoniot jump conditions for a plane-parallel shock:

ρ1 u1 = ρ 2 u2 (49)
ρ1 u21+ P1 = ρ2 u22 + P2 (50)
1 2 P1 1 2 P2
2 u1 +  1 + ρ = 2 u2 + 2 +
ρ2
. (51)
1

Even though the physics of the shock region may be complicated and varied, these conditions
follow from conservation of mass, momentum, and energy alone. More precisely, the first follows

39
from mass conservation, the second from mass and momentum conservation, and the third from
mass and energy conservation. If ρ1 , u1 , and P1 are known, we have three equations for the three
unknowns ρ2 , u2 , and P2 .
Using i = γi1−1 Pρii , the last of the jump conditions can be written

1 2 γ1 P1 γ2 P2
2 u1 + = 12 u22 + ,
γ1 − 1 ρ1 γ2 − 1 ρ2
for a gas that has a polytropic equation of state.
Note that γ2 may be different from γ1 if, for example, the shock dissociates molecules, or raises the
temperature so that previously inaccessible degrees of freedom become accessible.

7.2 The Mach Number


The dimensionless number that characterizes the strength of a shock is the Mach number, the ratio
of the shock speed to the upstream sound speed:
!1/2
u1 ρ1 u21
M1 ≡ = . (52)
a1 γP1

The factor in () can be viewed as a ratio of “ram pressure” to thermal pressure in the pre-shock
gas, or as a ratio of kinetic energy density to thermal energy density.

In terms of the Mach number, the shock jump conditions are (Ryden eqs. 3-51)
ρ2 u1 (γ + 1)M12
= =
ρ1 u2 (γ − 1)M12 + 2
P2 ρ2 kT2 /m 2γM12 − (γ − 1)
= = .
P1 ρ1 kT1 /m γ+1
Together these conditions imply
T2 [(γ − 1)M12 + 2][2γM12 − (γ − 1)]
= .
T1 (γ + 1)2 M12

A strong shock is one with M1  1, yielding


ρ2 u1 γ+1
= ≈ =4 (53)
ρ1 u2 γ−1
2γ 2 3
P2 ≈ M12 P1 = ρ1 u21 = ρ1 u21 (54)
γ+1 γ+1 4
2γ(γ − 1) 2(γ − 1) m 2 3 m 2
T2 ≈ T1 M12 = u = u , (55)
(γ + 1)2 (γ + 1)2 k 1 16 k 1
where the last equalities are for γ = 5/3.

In the rest frame of a strong shock, with γ = 5/3, the post-shock kinetic energy is
1 2 1
u2 ≈ u21 ,
2 32

40
and the post-shock thermal energy is
3 kT2 9
≈ u21 .
2 m 32
So roughly half of the pre-shock kinetic energy is converted to thermal energy. The total energy
of the post-shock gas is lower (in the shock rest frame) because of the work done on the gas by
viscosity and pressure in the shock.

A weak shock has M1 − 1 =   1. In this limit


ρ2 4 3
≈ 1+ =1+  (56)
ρ1 γ+1 2
P2 4γ 5
≈ 1+ =1+  (57)
P1 γ+1 2
T2 4(γ − 1)
≈ 1+  = 1 + , (58)
T1 γ+1

where the last equalities are again for γ = 5/3.

The post-shock Mach number is


1/2
u2 u1 u2 a1 u2 T1

M2 ≡ = = M1 .
a2 a1 u1 a2 u1 T2
In the weak shock limit, M2 ≈ 1 − .
In the strong shock limit
" #1/2 1/2
(γ − 1) (γ + 1)2 γ−1

M2 ≈ M 1 = ≈ 0.45.
(γ + 1) 2γ(γ − 1)M12 2γ

A shock converts supersonic gas into denser, slower moving, higher pressure, subsonic gas. It
increases the specific entropy of the gas by an amount
P2 P1 P2 ρ2
       
s2 − s1 = cV ln − cV ln = cV ln − cV γ ln .
ργ2 ργ1 P1 ρ1

One can also write this in the form


T2 k P2
   
s2 − s1 = cP ln − ln ,
T1 m P1
k
which is Ryden’s eq. (3-55), using c P = cV + m = γcV .

In another terminology, a shock shifts gas to a higher adiabat.


An adiabat is a locus of constant entropy (T ∝ ρ γ−1 ) in the density-temperature plane. Gas can
move adiabatically along an adiabat, while changes in entropy move it from one adiabat to another.

41
7.3 Numerical hydrodynamics and artificial viscosity

The physical scale of a shock transition layer is ∼ λ.


In most systems of astrophysical interest, the scale of the system is L  λ.
In numerical hydrodynamics, it is usually impractical to make an individual grid cell comparable
to or smaller than λ (especially in more than one dimension), so the physical scale of a shock is
generally much smaller than one grid cell.
Fortunately, we usually don’t care about the region right around the shock, just about the influence
of the shock on the physical state of the gas.
The relation between the physical properties of the upstream and downstream gas are determined
by the shock jump conditions, and they follow from conservation laws, independent of the details
of the shock.

“Shock capturing codes” work by searching for places where shocks are “likely” to occur (e.g.,
where the velocity field is developing a discontinuity) and imposing shock jump conditions over the
scale of one or two grid cells.

An alternative method, introduced by von Neumann and Richtmeyer in the 1950s, is to use an
“artificial viscosity” that is much larger than the true viscosity one would calculate based on the
microscopic properties of the gas.
High viscosity makes shocks broader, so that they can be resolved over several grid cells.
Since the jump conditions follow from conservation laws, the pre- and post-shock gas should still
have the correct relations even if the viscosity is not the true viscosity.
There is a fair amount of experimentation and black magic in artificial viscosity — tuning things
to get the desired physical behavior in as many situations as possible.

7.4 Radiative shocks


Now suppose that the gas is able to radiate energy in a “radiative relaxation layer” (rrl) after the
shock.
Immediately after the shock front the fluid properties are still denoted ρ 2 , u2 , P2 , T2 , but they
change in the radiative relaxation layer, settling to new values ρ 3 , u3 , P3 , T3 further downstream.
The rrl is always large compared to the shock front itself because many collisions are required to
cool the gas (so that the size of the rrl is  λ).

Within the rrl, the temperature drops, and the gas is squeezed to higher density. Since ρu =
constant, the velocity drops.
We can demonstrate this by returning to the steady-state equations (41)-(43) but including the
cooling term
(Γ − Λ)
L(ρ, T ) ≡ − > 0, [L] = erg g−1 s−1 .
ρ
The equations are
d
(ρu) = 0
dx

42
du1 dP
u = −
dxρ dx
d d du
(ρu) = ρu = −P − ρL.
dx dx dx
Combining the last equation with
1 P d 1 1 dP P dρ
 
= =⇒ = − 2
γ−1 ρ dx γ − 1 ρ dx ρ dx
and
1 dρ 1 du
=−
ρ dx u dx
(since ρ ∝ u−1 ) implies
u dP P du du
 
+ +P = −ρL,
γ − 1 dx u dx dx
dP
and substituting dx = −ρu du
dx implies

ρu2 du γ du
− + P = −ρL
γ − 1 dx γ − 1 dx
and thus
a2 − u2 du
= −L
γ − 1 dx
with a2 = γP/ρ. Since the post-shock flow is sub-sonic (u < a) and L > 0, we conclude that
du dρ
dx < 0, and mass conservation therefore implies that dx > 0.

The mass conservation and momentum conservation jump conditions apply as before, since their
derivation did not involve  (which is the quantity affected by radiative cooling). Therefore

ρ3 u3 = ρ 2 u2 = ρ 1 u1
ρ3 u23 + P3 = ρ2 u22 + P2 = ρ1 u21 + P1 .

As u drops in the rrl, ρu2 = (ρu)u drops and the pressure must rise.
For a strong shock with γ = 5/3,
−1/2
5 P2

M2 = u 2 ≈ 0.45,
3 ρ2

so P2 ≈ 3ρ2 u22 and only a small rise in pressure is required to satisfy the second jump condition
even if u3 drops to zero.
The important point is that the pressure does not go down, and therefore a drop in temperature
must be accompanied by a proportional rise in density to maintain the pressure.
If there is a lot of post-shock cooling, then the density ratio ρ 3 /ρ1 can be very high.

43
This is probably the most important difference between a non-radiative shock and a radiative shock:
a non-radiative shock can only increase the density by a factor of ∼ 4, but a radiative shock can
increase the density by a very large factor.

A specific interesting case is that of an “isothermal shock,” where T 3 = T1 . (This becomes the
third jump condition.)
This can arise if, for instance, T1 = T3 is a temperature where the cooling time becomes very long,
or a temperature where heating and cooling processes balance.
ρ
Combined with the equation of state P = m kT = ρa2T , where aT = (kT /m)1/2 is the “isothermal
sound speed,” the solution to the shock jump conditions is,
2
ρ3 u1 u1

= = ≡ MT2
ρ1 u3 aT
T3 = T 1 .

Since 2  4 2
u1 aT u1
 
ρ3 u23 + P3 = ρ1 u21 + ρ1 a2T = ρ1 a2T + ρ1 u21 = P1 + ρ1 u21 ,
aT u1 aT
this solution satisfies the momentum jump condition.

The fact that ρ3 /ρ1 = MT2 means that the compression factor in an isothermal shock can be
arbitrarily high.

7.5 Oblique shocks


If the fluid enters the shock at an angle other than 90 ◦ , the shock jump conditions apply only to
the perpendicular component u⊥ of u1 .
The parallel component of u1 is unchanged, so the fluid is “refracted” by the shock, changing its
direction so that it is closer to parallel to the front.

7.6 Shocks with magnetic fields: a few comments


Hydromagnetic shocks are often important in the ISM.
For a shock with B parallel to the shock front:

B1 u1 = B 2 u2 ,

i.e., the magnetic field lines are compressed by the same factor as the density.

The momentum jump condition becomes

B12 B2
ρ1 u21 + P1 + = ρ2 u22 + P2 + 2 ,
8π 8π
i.e., there is an additional “magnetic pressure” term B 2 /8π.
(The units of B 2 are erg cm−3 = dyne cm−2 .)

44
The energy jump condition becomes

γ P1 B2 γ P2 B2
1 2
2 u1 + + 1 = 12 u22 + + 2 .
γ − 1 ρ1 4πρ1 γ − 1 ρ2 4πρ2

Coupling of ions to magnetic fields can allow a shock front to be much narrower than the mean
free path λ for particle-particle interactions.

The situation is more complicated when B is not parallel to the shock front, and it can be much
more complicated in multi-fluid shocks when electrons, ions, and neutrals are coupled but not
perfectly coupled.
One important effect is that magnetosonic waves (a.k.a. Alfven waves) can “warn” upstream ions
and electrons about an approaching density discontinuity.
There are many additional classes of solutions, some of them discussed in the Shull & Draine article.

45

You might also like