Compressible Flow and Mach Number
Connect acoustic information speed to thermodynamic closure, Mach number, choking, and the branches of ideal nozzle flow.
On this page
The question for today
What you’ll understand
- Define sound speed using an isentropic thermodynamic derivative and identify the ideal-gas specialization.
- Close compressible-flow equations with energy and an equation of state rather than continuity alone.
- Interpret subsonic and supersonic nozzle branches under explicit quasi-one-dimensional isentropic assumptions.
A pressure disturbance cannot inform the whole fluid instantaneously. It travels relative to its surroundings at a speed determined by the local thermodynamic state. Comparing bulk velocity with that acoustic speed produces Mach number, which organizes many compressible-flow phenomena. But Mach number is not an equation of state, and the word compressible does not automatically mean supersonic. This lesson connects the propagation of small disturbances to density changes, energy conservation, and the conditions under which a nozzle can become choked.
The thermodynamic meaning of sound speed
Linearize mass and momentum conservation around a uniform fluid at rest. Small pressure and density perturbations are related through a derivative taken at fixed specific entropy when acoustic disturbances are effectively adiabatic and reversible. Their propagation speed squared is that derivative. The derivative is positive for the stable equilibrium states considered here. An isothermal derivative describes a different thermodynamic response, so substituting it without explaining the timescale and heat transfer changes the physical model.
For a calorically perfect ideal gas, the derivative reduces to gamma times R times absolute temperature, where R is the specific gas constant and gamma is the ratio of specific heats. This specialization assumes the ideal-gas equation of state and constant heat capacities over the relevant range. Real gases, reacting mixtures, and strongly varying molecular excitation need a more careful thermodynamic model. The useful intuition survives: sound speed is a property of the local state, not a universal fixed number assigned to air everywhere.
Why energy is part of compressible-flow closure
Continuity states that steady mass flux rho U A remains constant along a quasi-one-dimensional streamtube. That does not determine the separate density and velocity changes. Momentum conservation supplies another relationship, and energy conservation plus an equation of state closes the thermodynamic problem. In an adiabatic steady flow without shaft work or significant elevation change, stagnation enthalpy h plus U squared divided by two is constant. For constant specific heat at constant pressure, enthalpy becomes cp times temperature.
Small velocity-driven density changes in a smooth isentropic flow scale with Mach number squared, explaining why a low-Mach approximation can work when thermal and compositional density variations are also small. It is not a universal rule that every slow flow has constant density: heating or mixing may cause large changes. In the waves lab, predict cancellation at equal amplitude and 180 degrees phase difference. The two traveling sine components illustrate linear pressure-perturbation superposition; their controls do not change mean velocity, sound speed, or Mach number.
Area change, sonic conditions, and branch selection
For smooth steady quasi-one-dimensional inviscid isentropic flow, combine continuity with streamwise momentum and the acoustic derivative to obtain dA/A = (M squared minus one) dU/U. Thus a converging passage accelerates a subsonic stream, whereas a diverging passage accelerates a supersonic stream. A smooth sonic crossing in a suitable nozzle occurs at a throat. Geometry alone does not guarantee that crossing: reservoir conditions and downstream pressure determine the realized solution and whether choking occurs.
The area–Mach relation below assumes a calorically perfect ideal gas with fixed gamma and fixed stagnation conditions. A star denotes the hypothetical sonic area for the same mass flow and stagnation state, even when no actual sonic section is present. An area ratio larger than one generally has both subsonic and supersonic branches. Shocks produce entropy and invalidate a single isentropic connection across them; friction, heat transfer, and boundary-layer displacement also require extensions. Never select the faster branch simply because an algebraic solver returns it.
Work it through
Check a proposed supersonic nozzle state
A proposed ideal air nozzle state has static temperature 300 K and Mach number 2. Use gamma = 1.4 and R = 287 J/(kg K). Under calorically perfect isentropic assumptions, determine sound speed, bulk speed, stagnation temperature, and required area ratio A/A*.
Calculate c = sqrt(1.4 × 287 × 300) = sqrt(120,540) ≈ 347.19 m/s. Then U = Mc ≈ 694.38 m/s. Temperature here is static temperature at the proposed local state, not the hotter reservoir temperature.
Compute T0/T = 1 + [(1.4 − 1)/2] × 2² = 1.8, giving T0 = 540 K. With cp = gamma R/(gamma − 1) = 1004.5 J/(kg K), the rise cp(T0 − T) = 241,080 J/kg matches U²/2.
For gamma = 1.4, the exponent in the area relation is 3. The bracket is [2/2.4] × 1.8 = 1.5, so A/A* = (1/2)(1.5³) = 1.6875. This calculation prescribes the supersonic branch; it does not prove that the back pressure permits it.
The ideal state requires c ≈ 347.2 m/s, U ≈ 694.4 m/s, T0 = 540 K, and A/A* = 1.6875 on the supersonic branch. Boundary conditions and shock admissibility still determine whether that state occurs.
The living notebook
Explore the model
Interactive lab · waves
Small-disturbance superposition before nonlinear flow
The controls set phase difference and amplitude ratio a in sin(2x−t) + a sin(2x−t+phase). Predict cancellation for a = 1 and phase = 180 degrees, then test and compare with phase = 0. Both waves have the same prescribed nondimensional phase speed.
- Sum at x = 0
- 0.866
- Resultant amplitude
- 1.732
- Phase difference
- 60°
Two waves share the same frequency and wave number. Playback advances t in sin(2x − t) + a sin(2x − t + phase). Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forLinear acoustic perturbations can superpose. This illustration contains no mean-flow advection, variable thermodynamic sound speed, nozzle, Mach-number control, or shock formation.
Pause & reason
Check your understanding
Your turn
Try it yourself
For the same ideal gas at Mach 0.5 and static temperature 300 K, calculate stagnation temperature. Then predict the sign of the velocity change in a gently converging isentropic passage. Would heating a low-Mach gas necessarily leave its density constant?
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Use the factor 1 + 0.2M². In the differential area relation, M² − 1 is negative for a subsonic stream. Separate the assumptions about velocity-driven compressibility from those about thermally driven density change.
Compare with the solution
T0/T = 1 + 0.2(0.5²) = 1.05, so T0 = 315 K. In a converging passage dA is negative; dividing by the negative factor M² − 1 makes dU positive, so the ideal subsonic stream accelerates. Heating is a separate mechanism: even at low Mach number, an ideal gas at approximately fixed pressure changes density inversely with temperature. Constant-density modeling therefore needs thermal and compositional restrictions as well as an appropriately small Mach number.
Keep the idea
Take it with you
- Sound speed is the local isentropic pressure–density derivative; sqrt(gamma RT) is a model-specific specialization.
- Compressible flow requires energy and thermodynamic closure alongside mass and momentum conservation.
- Area ratio alone does not select a nozzle branch, and isentropic formulas cannot be carried unchanged across shocks.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.