TL;DR
A shock is a sharp jump in a conserved quantity, such as the density of cars on a road or the pressure in a gas. The Rankine–Hugoniot condition tells you how fast that jump moves: the speed equals the difference in flux across the jump divided by the difference in the quantity itself. It is the bookkeeping rule of a conservation law applied to a Weak Solution that contains a jump.
Builds on: Hyperbolic Conservation Laws, Weak Solution · Leads to: Burgers' Equation, Finite Difference Method
Where it's used
Highway queues. Traffic engineers model cars with a density and a flow, following Lighthill and Whitham (1955) and Richards (1956). The tail of a queue behind an accident or a lane closure is a shock. Its speed, and so whether the queue grows or shrinks, comes from this condition. The worked example below uses a lane closure.
Supersonic gas flow. When air moves faster than sound, it can pass through a thin shock where density, pressure and velocity jump almost at once. The original relations, derived by Rankine in 1870 and by Hugoniot in the late 1880s, give the state on the far side of a normal shock. These gas equations are the Euler equations, the inviscid limit of the Navier–Stokes equations. Engineers use them to design supersonic air intakes and wind-tunnel nozzles.
Numerical simulation. Shock-capturing solvers, starting with Godunov's scheme of 1959, advance a grid of cell averages. At each face between two cells they solve a small jump problem, and the speed of that jump is given by this condition. Without it the solver cannot decide where a shock goes.
How it works
Take a single jump in the quantity . Left of the jump equals , right of it equals , and the flux is . We want the speed at which the jump moves. The example uses the Burgers flux , with and , and a jump that starts at at time .
-
Set up the jump. At time the jump sits at , where is the unknown speed. Our test values are and . Check: the jump has moved from its start, so the position is a multiple of .
-
Count the amount in a fixed window. Look at the interval from to . Everything from to has value , and everything from to has value . So the total amount is , and it grows at rate . Check: when the jump does not move and the amount is the constant , which is right for a fixed jump.
-
Count the flux through the window edges. Flux enters at with value , and leaves at with value . The net inflow is . Check: this is the only way the amount can change, so it must match step 2.
-
Balance the two. The rate of change of the amount equals the net inflow: . So . Check: the jump moves right at speed , from to after one time unit.
-
Read it off the graph. The two states give two points on the graph of : and . The line joining them has slope . The shock speed is exactly this slope. Check: the slope of the chord matches the speed found in step 4.
- flux f(u) = u^2/2
The math
The condition is the formal version of the five steps above.
Let solve the conservation law in the weak sense, with a single jump moving at speed between a left state and a right state . Then
When , this gives the shock speed
Step 1 in symbols: the jump position
The jump lies at at time . The left state occupies , and the right state occupies .
Step 2 in symbols: the amount in a window
Take a fixed window with large enough that the jump stays inside it for the times we consider. The total amount, a definite integral of , is
The left piece runs from to , so its length is . The right piece runs from to , so its length is . Differentiating in time gives
The term drops out of the rate. Only the jump moves.
Step 3 in symbols: the flux balance
Near the two edges of the window the state is constant, so the flux there is on the left and on the right. The integral form of the conservation law from Hyperbolic Conservation Laws says the rate of change of the amount equals flux in minus flux out, the same bookkeeping as the continuity equation:
Step 4 in symbols: solve for the speed
Setting the two expressions for equal gives . Dividing by gives the speed. The division is allowed only when the two states differ.
The Lax condition: which jump is physical
The balance holds for any jump, so it cannot choose between the right jump and a wrong one. The Lax condition adds that test. The prime in means the derivative of the flux, which is the speed at which small disturbances travel in state . A jump with speed from to is admissible when
In words: the disturbances on the left are faster than the jump and catch up with it, and the disturbances on the right are slower and fall behind it. For Burgers' flux we have , so the condition reads .
Worked examples
Use , , , with the jump starting at .
- Compute the fluxes: and .
- Apply the condition: . The jump moves right at speed .
- Check the amount in the window . At time the amount is , so its rate is .
- Check the flux balance: flux in at is , flux out at is , net . The rates agree.
- Check admissibility with the Lax condition, defined in the subsection of The math below: , so . The jump is physical.
The shock is a jump of height moving right at speed , and the amount behind it is conserved.
Use , , , with the jump starting at .
- Compute the fluxes: and .
- Apply the condition: .
- Check the amount in . The left piece has height and length , the right piece has height and length . The total is , so its rate is .
- Check the flux balance: . The rates agree.
- Check the Lax condition: . The jump is admissible.
The faster state sits behind the slower state , so it catches up and the front moves at speed .
Traffic flows left to right, so the upstream state is on the left. Let be the density in vehicles per metre and the flux the flow in vehicles per second, using the model . This means free speed m/s and jam density vehicles per metre. Upstream free flow has ; the queue has .
- Compute the upstream flux: .
- Compute the queue flux: .
- Apply the condition: .
- Interpret: the queue tail does not move. Cars arrive at vehicles per second, which is vehicles per hour, and they leave the queue at the same rate.
- Check the Lax condition: , so . The shock is admissible.
Try it: a Burgers jump has and . Find and say whether it is admissible. Answer: and , so . The Lax check holds, so it is admissible.
Common mistakes and tradeoffs
It is tempting to think that any jump satisfying the condition is a physical shock. In fact the condition only says the jump balances the flux. It does not say the jump is the right one, because a jump with the wrong direction of characteristics can satisfy the condition too. For Burgers' equation with and , the speed is , which is a valid weak solution. But is not greater than , so the Lax condition fails. The physical answer there is a smooth fan, not this jump. The Lax condition is the extra test that picks the physical jump.
It is tempting to use the derivative as the shock speed. In fact the shock speed is the slope of the chord between the two states, not the slope of the tangent at one state. The two agree only in the limit where the states come together, which is why a small jump moves at about the characteristic speed. For a jump of any size, use the chord.
It is tempting to divide by when the two states are equal. In that case there is no jump, and the formula is . A smooth solution has no shock, so use the characteristic speed instead.
Use this condition when the solution is piecewise constant with one jump, and when the equation is written in conservation form. Do not use it when the states vary smoothly, since then the characteristic description is simpler. When several jumps interact, or the system has several equations, use a numerical solver, which applies the same jump rule cell by cell. If the equation is not in conservation form, the jump rule is different, so rewrite it first.
History
Rankine studied waves of finite size in gases in 1870, and he worked out the relations that connect pressure, density and speed across a sudden wave. Hugoniot took up the same question in the late 1880s and brought in thermodynamics, which is why the pair carries both names. For many years the relations were used for gas dynamics without a general theory of which jumps are physical.
In the 1950s, Peter Lax gave a general criterion for admissible shocks for systems of conservation laws. The Lax condition used in this lesson is the scalar form of that work. Godunov's 1959 scheme then turned the jump rule into a numerical method, and it is still a standard tool for simulating shocks.
Recap
- A conservation law says the amount in a region changes only by flux across its edges.
- A weak solution allows a jump, so a shock can appear where a smooth solution breaks down.
- Balancing the amount across a moving jump gives the shock speed .
- The speed is the slope of the chord between the two states on the flux curve.
- The Lax condition picks out the physical shocks.
Next, read Burgers' Equation for the standard shock example, and Finite Difference Method to see how solvers use the jump rule in practice.
Check yourself
QuestionWhat does the Rankine–Hugoniot condition compute, and what are its inputs?Show answer
It computes the speed of a single jump between a left state and a right state . The inputs are the two states and the flux evaluated at each. The speed is , valid when .
QuestionLet with and . Find the shock speed .Show answer
The fluxes are and . The difference is , and the state difference is . So .
QuestionThe condition balances the flux, so why do we still need the Lax condition?Show answer
The balance holds for any jump, including ones that move in the wrong direction, where information would have to appear from nowhere. The Lax condition requires disturbances on both sides to run into the jump. That excludes the non-physical jumps, so the balance alone does not pick a unique solution.
QuestionA lane closure has upstream flow and queue flow both equal to vehicles per second, at densities and vehicles per metre. In which direction does the queue tail move?Show answer
The tail does not move. Both states carry the same flux, so the numerator of the speed formula is zero and . Cars arrive at the queue at the same rate as they leave it, so its tail stays in place.
Sources
- Rankine–Hugoniot conditions (Wikipedia): https://en.wikipedia.org/wiki/Rankine%E2%80%93Hugoniot_conditions
- Burgers' equation (Wikipedia): https://en.wikipedia.org/wiki/Burgers%27_equation
- Finite Volume Methods for Hyperbolic Problems, Randall LeVeque (Cambridge University Press, 2002): https://doi.org/10.1017/CBO9780511791253