Search

Search papers and lessons

Rankine–Hugoniot Condition

Level 4 · 12 min read

The jump condition that sets how fast a shock moves: the change in flux across the jump equals the shock speed times the change in the quantity.

On this page

  • Colour = topic mix
  • Calculus
  • Discrete math
  • ReadReady to readNot yet

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 uu. Left of the jump uu equals uLu_L, right of it uu equals uRu_R, and the flux is f(u)f(u). We want the speed ss at which the jump moves. The example uses the Burgers flux f(u)=u2/2f(u) = u^2/2, with uL=2u_L = 2 and uR=0u_R = 0, and a jump that starts at x=0x = 0 at time t=0t = 0.

  1. Set up the jump. At time tt the jump sits at x=stx = st, where ss is the unknown speed. Our test values are uL=2u_L = 2 and uR=0u_R = 0. Check: the jump has moved stst from its start, so the position is a multiple of tt.

  2. Count the amount in a fixed window. Look at the interval from x=−5x = -5 to x=5x = 5. Everything from −5-5 to stst has value 22, and everything from stst to 55 has value 00. So the total amount is 2(st+5)=2st+102(st + 5) = 2st + 10, and it grows at rate 2s2s. Check: when s=0s = 0 the jump does not move and the amount is the constant 1010, which is right for a fixed jump.

  3. Count the flux through the window edges. Flux enters at x=−5x = -5 with value f(2)=2f(2) = 2, and leaves at x=5x = 5 with value f(0)=0f(0) = 0. The net inflow is 2−0=22 - 0 = 2. Check: this is the only way the amount can change, so it must match step 2.

  4. Balance the two. The rate of change of the amount equals the net inflow: 2s=22s = 2. So s=1s = 1. Check: the jump moves right at speed 11, from x=0x = 0 to x=1x = 1 after one time unit.

  5. Read it off the graph. The two states give two points on the graph of ff: (0,0)(0, 0) and (2,2)(2, 2). The line joining them has slope (2−0)/(2−0)=1(2 - 0)/(2 - 0) = 1. The shock speed is exactly this slope. Check: the slope of the chord matches the speed found in step 4.

−0.500.511.522.533.5012345state uflux f(u)
  • flux f(u) = u^2/2
The shock speed is the slope of the chord joining the two states on the flux curve. Here the chord from (0, 0) to (2, 2) has slope 1.

The math

The condition is the formal version of the five steps above.

Definition: Rankine–Hugoniot condition

Let uu solve the conservation law ut+f(u)x=0u_t + f(u)_x = 0 in the weak sense, with a single jump moving at speed ss between a left state uLu_L and a right state uRu_R. Then

s (uL−uR)=f(uL)−f(uR).s\,(u_L - u_R) = f(u_L) - f(u_R).

When uL≠uRu_L \neq u_R, this gives the shock speed

s=f(uL)−f(uR)uL−uR.s = \frac{f(u_L) - f(u_R)}{u_L - u_R}.

Step 1 in symbols: the jump position

The jump lies at x=stx = st at time tt. The left state occupies x<stx \lt st, and the right state occupies x>stx \gt st.

Step 2 in symbols: the amount in a window

Take a fixed window [−R,R][-R, R] with RR large enough that the jump stays inside it for the times we consider. The total amount, a definite integral of uu, is

M(t)=∫−RRu(x,t) dx=uL (st+R)+uR (R−st).M(t) = \int_{-R}^{R} u(x,t)\,dx = u_L\,(st + R) + u_R\,(R - st).

The left piece runs from −R-R to stst, so its length is st+Rst + R. The right piece runs from stst to RR, so its length is R−stR - st. Differentiating in time gives

M′(t)=s uL−s uR=s (uL−uR).M'(t) = s\,u_L - s\,u_R = s\,(u_L - u_R).

The term RR 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 f(uL)f(u_L) on the left and f(uR)f(u_R) 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:

M′(t)=f(uL)−f(uR).M'(t) = f(u_L) - f(u_R).

Step 4 in symbols: solve for the speed

Setting the two expressions for M′(t)M'(t) equal gives s (uL−uR)=f(uL)−f(uR)s\,(u_L - u_R) = f(u_L) - f(u_R). Dividing by uL−uRu_L - u_R 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 f′(u)f'(u) means the derivative of the flux, which is the speed at which small disturbances travel in state uu. A jump with speed ss from uLu_L to uRu_R is admissible when

f′(uL)>s>f′(uR).f'(u_L) \gt s \gt f'(u_R).

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 f(u)=u2/2f(u) = u^2/2 we have f′(u)=uf'(u) = u, so the condition reads uL>s>uRu_L \gt s \gt u_R.

Worked examples

Example
A tiny Burgers jump

Use f(u)=u2/2f(u) = u^2/2, uL=2u_L = 2, uR=0u_R = 0, with the jump starting at x=0x = 0.

  1. Compute the fluxes: f(2)=4/2=2f(2) = 4/2 = 2 and f(0)=0f(0) = 0.
  2. Apply the condition: s=2−02−0=1s = \dfrac{2 - 0}{2 - 0} = 1. The jump moves right at speed 11.
  3. Check the amount in the window [−5,5][-5, 5]. At time tt the amount is 2(t+5)=2t+102(t + 5) = 2t + 10, so its rate is 22.
  4. Check the flux balance: flux in at x=−5x = -5 is f(2)=2f(2) = 2, flux out at x=5x = 5 is f(0)=0f(0) = 0, net 22. The rates agree.
  5. Check admissibility with the Lax condition, defined in the subsection of The math below: f′(u)=uf'(u) = u, so f′(2)=2>1>0=f′(0)f'(2) = 2 \gt 1 \gt 0 = f'(0). The jump is physical.

The shock is a jump of height 22 moving right at speed 11, and the amount behind it is conserved.

Example
Burgers jump at a higher level

Use f(u)=u2/2f(u) = u^2/2, uL=3u_L = 3, uR=1u_R = 1, with the jump starting at x=0x = 0.

  1. Compute the fluxes: f(3)=9/2=4.5f(3) = 9/2 = 4.5 and f(1)=1/2=0.5f(1) = 1/2 = 0.5.
  2. Apply the condition: s=4.5−0.53−1=42=2s = \dfrac{4.5 - 0.5}{3 - 1} = \dfrac{4}{2} = 2.
  3. Check the amount in [−5,5][-5, 5]. The left piece has height 33 and length 2t+52t + 5, the right piece has height 11 and length 5−2t5 - 2t. The total is 3(2t+5)+(5−2t)=4t+203(2t + 5) + (5 - 2t) = 4t + 20, so its rate is 44.
  4. Check the flux balance: f(3)−f(1)=4.5−0.5=4f(3) - f(1) = 4.5 - 0.5 = 4. The rates agree.
  5. Check the Lax condition: f′(3)=3>2>1=f′(1)f'(3) = 3 \gt 2 \gt 1 = f'(1). The jump is admissible.

The faster state 33 sits behind the slower state 11, so it catches up and the front moves at speed 22.

Example
A queue behind a lane closure

Traffic flows left to right, so the upstream state is on the left. Let ρ\rho be the density in vehicles per metre and the flux f(ρ)f(\rho) the flow in vehicles per second, using the model f(ρ)=20ρ−200ρ2f(\rho) = 20\rho - 200\rho^2. This means free speed 2020 m/s and jam density 0.10.1 vehicles per metre. Upstream free flow has ρL=0.02\rho_L = 0.02; the queue has ρR=0.08\rho_R = 0.08.

  1. Compute the upstream flux: f(0.02)=20(0.02)−200(0.0004)=0.4−0.08=0.32f(0.02) = 20(0.02) - 200(0.0004) = 0.4 - 0.08 = 0.32.
  2. Compute the queue flux: f(0.08)=20(0.08)−200(0.0064)=1.6−1.28=0.32f(0.08) = 20(0.08) - 200(0.0064) = 1.6 - 1.28 = 0.32.
  3. Apply the condition: s=0.32−0.320.02−0.08=0−0.06=0s = \dfrac{0.32 - 0.32}{0.02 - 0.08} = \dfrac{0}{-0.06} = 0.
  4. Interpret: the queue tail does not move. Cars arrive at 0.320.32 vehicles per second, which is 1,1521{,}152 vehicles per hour, and they leave the queue at the same rate.
  5. Check the Lax condition: f′(ρ)=20−400ρf'(\rho) = 20 - 400\rho, so f′(0.02)=12>0>−12=f′(0.08)f'(0.02) = 12 \gt 0 \gt -12 = f'(0.08). The shock is admissible.

Try it: a Burgers jump has uL=4u_L = 4 and uR=2u_R = 2. Find ss and say whether it is admissible. Answer: f(4)=8f(4) = 8 and f(2)=2f(2) = 2, so s=(8−2)/(4−2)=3s = (8 - 2)/(4 - 2) = 3. The Lax check f′(4)=4>3>2=f′(2)f'(4) = 4 \gt 3 \gt 2 = f'(2) 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 uL=0u_L = 0 and uR=2u_R = 2, the speed is s=(0−2)/(0−2)=1s = (0 - 2)/(0 - 2) = 1, which is a valid weak solution. But f′(0)=0f'(0) = 0 is not greater than 11, 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 f′(u)f'(u) 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 uL−uRu_L - u_R when the two states are equal. In that case there is no jump, and the formula is 0/00/0. A smooth solution has no shock, so use the characteristic speed f′(u)f'(u) 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 s=(f(uL)−f(uR))/(uL−uR)s = (f(u_L) - f(u_R))/(u_L - u_R).
  • The speed is the slope of the chord between the two states on the flux curve.
  • The Lax condition f′(uL)>s>f′(uR)f'(u_L) \gt s \gt f'(u_R) 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 ss of a single jump between a left state uLu_L and a right state uRu_R. The inputs are the two states and the flux ff evaluated at each. The speed is s=(f(uL)−f(uR))/(uL−uR)s = (f(u_L) - f(u_R))/(u_L - u_R), valid when uL≠uRu_L \neq u_R.

QuestionLet f(u)=u2/2f(u) = u^2/2 with uL=5u_L = 5 and uR=1u_R = 1. Find the shock speed ss.Show answer

The fluxes are f(5)=12.5f(5) = 12.5 and f(1)=0.5f(1) = 0.5. The difference is 1212, and the state difference is 44. So s=12/4=3s = 12/4 = 3.

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 f′(uL)>s>f′(uR)f'(u_L) \gt s \gt f'(u_R) 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 0.320.32 vehicles per second, at densities 0.020.02 and 0.080.08 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 s=0s = 0. Cars arrive at the queue at the same rate as they leave it, so its tail stays in place.

Sources