Whisper, and the pressure in the air changes by a few billionths of an atmosphere. A lightning bolt or a supersonic jet changes it by a lot more — and you hear a crack, not a rumble. What happens when gas is pushed faster than it can get out of the way?
Sound that catches itself up
Sound is a pressure disturbance that travels at the speed of sound, — about 340 m/s in room air. For a whisper, that is the whole story: every part of the wave travels at the same speed, and the wave keeps its shape.
A loud wave is different. Where the gas is compressed, it is a little hotter, so sound travels a little faster there; and the gas itself is moving forward, carrying the wave with it. So the crest of a strong pressure pulse moves faster than its foot. It catches up, and the front of the wave gets steeper and steeper.
The steepening stops only when the front becomes so thin — a few molecular mean free paths, less than a micrometre — that viscosity and heat conduction can balance it. That nearly discontinuous jump is a Shock waveA jump in pressure, density and temperature only a few molecular mean free paths thick, travelling faster than sound into the gas ahead of it.. Shocks are not exotic: any sufficiently strong compression must end up as one.
What a shock does
To an observer riding on a shock, gas streams in from ahead at a supersonic speed — the shock's Mach numberSpeed divided by the local speed of sound. A shock moves into its gas at M > 1 and leaves it moving at M < 1 relative to the wave. — and leaves behind it, slower and subsonic. Whatever happens inside the thin front, mass, momentum and energy must be conserved across it. Those three balances, the Rankine–Hugoniot relationsConservation of mass, momentum and energy across a shock or detonation. They fix every jump once the wave speed is known., fix every jump once the Mach number is known:
Notice the asymmetry. The pressure and temperature rise without limit as the shock strengthens, but the density saturates at : no shock can compress air more than six-fold. A strong shock spends its energy heating the gas rather than squeezing it. That is precisely what a detonation needs.
Shocks on demand: the shock tube
To study shocks and detonations in the laboratory, researchers use a deceptively simple device: a long tube divided by a thin diaphragm, with high-pressure "driver" gas on one side and low-pressure "driven" gas on the other. Burst the diaphragm, and the high-pressure gas acts like a piston that has suddenly started moving. A shock runs into the driven gas, an expansion fan runs back into the driver, and a contact surface — where the two gases meet — follows the shock at the gas speed.
The simulation above is not an animation: it solves the compressible Euler equations — conservation of mass, momentum and energy — on 360 cells, live, using the same kind of finite-volume method that research codes use. Later in the course, the same solver, with chemistry added, will run a detonation and then a whole rotating detonation engine.
Going deeper
Going deeper: how the solver captures a shock
The solver divides the tube into cells and tracks the mass, momentum and energy in each. At every cell face it estimates the flux of each quantity by solving an approximate Riemann problem — exactly the shock-tube problem, in miniature, between the states on either side of the face. This one uses the HLL flux of Harten, Lax and van Leer, with a "MUSCL" reconstruction that makes it second-order accurate in smooth regions and a minmod limiter that keeps it from oscillating at shocks. Because it conserves mass, momentum and energy exactly, it automatically gets the right shock speed and jumps, even though the shock is smeared over two or three cells instead of a micrometre.
- Strong compressions steepen because their crests travel faster; they end as shock waves, thin jumps in pressure, density and temperature.
- The Rankine–Hugoniot relations fix the jumps from the Mach number alone. Pressure and temperature rise without limit; density saturates at .
- A Mach 5 shock heats air from 300 K to about 1700 K — hot enough to ignite fuel. In a detonation, the shock is the igniter.
- A shock tube makes shocks on demand: shock, contact surface and expansion fan.
Next: put a fuel behind the shock. How does a detonation choose how fast to run?