Compressible Gas Flows
Compressible Gas Flow
Most introductory fluid mechanics treats density as constant. That works for liquids and for slow gas flows with small temperature changes. Once a gas moves at a sizeable fraction of its speed of sound, pressure changes compress or expand it noticeably, and density becomes an unknown. Compressible gas flow analysis links velocity, temperature, pressure and density through the energy equation and the ideal-gas law. It is the starting point for nozzles, diffusers, high-speed aircraft and gas pipelines.
When density changes matter
The Mach number measures local flow speed relative to the local speed of sound:
For air, use k=1.40 and R=287 J/(kg⋅K). Because a depends on the local static temperature T, the same speed gives a higher Mach number in cold air than in warm air.
When a gas is brought to rest isentropically, its fractional density change grows with the square of the Mach number. Expanding the exact result for small Ma gives
This leading-order result does not depend on k. At Ma = 0.3 it predicts 4.5%; the exact value for air is 4.36%. This motivates the low-speed rule of thumb below.
Regime | Mach number range | Typical treatment |
|---|---|---|
Incompressible (low speed) | below about 0.3 | constant density if temperature changes are small |
Subsonic compressible | about 0.3 to 0.8 | variable density; isentropic relations when the process is isentropic |
Transonic | about 0.8 to 1.2 | mixed subsonic and supersonic regions; local shocks |
Supersonic | about 1.2 to 5 | shock and expansion waves dominate |
Hypersonic | above about 5 | high-temperature gas effects become important |
The boundaries are conventions. Choose the cutoff from the density error your application can tolerate. Subsonic flow with friction or heat transfer need not be isentropic; Mach number alone does not establish that assumption.
Stagnation properties
The stagnation state is the reference state obtained by bringing the gas to rest adiabatically and reversibly, meaning isentropically. For steady adiabatic flow with no shaft work and negligible potential-energy changes, the energy equation gives h0=h+V2/2. For an ideal gas with constant cp, using cp=kR/(k−1)≈1005 J/(kg⋅K) for air:
For isentropic deceleration, p∝Tk/(k−1) and ρ∝T1/(k−1) give
For air the exponents are 3.5 and 2.5. At fixed stagnation properties, static pressure falls fastest with increasing Mach number, density next, and temperature slowest.
Why the Bernoulli equation underestimates the pressure rise
Along a streamline in steady inviscid flow with negligible elevation and other body-force contributions, Euler's equation is dp=−ρVdV, whether density is constant or variable. During isentropic deceleration, density rises toward ρ0. The integrated pressure rise exceeds the incompressible value, which holds density at its upstream value. Expanding the exact pressure ratio and using 21ρV2=21kpMa2 gives
The bracket is the compressibility correction. At Ma = 0.3 the exact pressure rise for air is 2.27% larger than 21ρV2. The correction grows at higher Mach numbers.
What to remember
- Ma=V/a guides assessment of velocity-induced density changes. Below about 0.3, density differs from its isentropic stagnation value by less than about 5%.
- The T0 energy relation assumes steady adiabatic flow, no shaft work and negligible potential-energy changes. The pressure and density ratios require isentropic deceleration.
- For air, raise T0/T to 3.5 for p0/p and to 2.5 for ρ0/ρ.
- For isentropic deceleration, the compressibility correction multiplies the Bernoulli pressure rise by 1+Ma2/4+⋯.
Example: Checking compressibility in a high-speed air duct
Air flows steadily through an insulated duct. At one station, measurements give a static temperature T=280 K, a static pressure p=85.0 kPa and a velocity V=250 m/s. Treat air as an ideal gas with k=1.40, R=287 J/(kg⋅K) and cp=1005 J/(kg⋅K). Assume the gas at this station could be brought to rest isentropically.
a) Find the Mach number at the station.
The speed of sound uses the local static temperature:
This is well above 0.3, so you should expect significant compressibility effects.
b) Find the stagnation temperature and the stagnation pressure.
With Ma2=0.5555, the common factor is
Stagnation temperature:
As a check from the energy equation, T0=T+V2/(2cp)=280+62500/2010=280+31.1=311.1 K.
Stagnation pressure, using the exponent k/(k−1)=3.5:
c) Find the static and stagnation densities. By what percentage is the static density below the stagnation density? Would a constant-density analysis be acceptable here?
Static density from the ideal-gas law:
Stagnation density, using the exponent 1/(k−1)=2.5 and retaining full precision in intermediate calculations:
Use the stagnation density as the reference when finding how far below it the static density lies:
The static density is approximately 23.2% below the stagnation density, so a constant-density analysis is not acceptable. The small-Mach estimate Ma2/2=27.8% is noticeably off at this speed, which is another sign that you need the exact isentropic relation.
d) A pitot-static probe at this station reads p0−p. An engineer converts the reading to speed with the incompressible Bernoulli equation and the static density. What speed do they report, and what is the percentage error?
The probe reads p0−p=122.9−85.0=37.9 kPa. Bernoulli gives
The error is (267.7−250)/250=0.071, an overestimate of about 7.1%.
The cause is that 21ρV2=21(1.058)(250)2=33.1 kPa, while the actual pressure rise is ________. Their ratio is 37.9/33.1=1.145 using these rounded pressures; retaining full precision gives ________. This matches the series factor 1+Ma2/4+(2−k)Ma4/24≈1+0.139+0.008=1.147. The engineer assigns the extra pressure rise from compression to extra speed.
Air passes through a test facility under three separate steady operating conditions. In each condition, the mass flow rate, meaning mass passing a section per unit time, is 0.60 kg/s. Treat air as an ideal gas with R=287 J/(kg⋅K).
Complete the table with density in kg/m3 and volumetric flow rate, meaning volume passing a section per unit time, in m3/s. All pressures are absolute and all temperatures are static temperatures. Treat the supplied values as exact for this calculation and enter exact short decimals.
| Condition | Pressure (kPa) | Temperature (K) | Density (kg/m3) | Volumetric flow rate (m3/s) |
| A | 86.1 | 300 | ||
| B | 114.8 | 400 | ||
| C | 172.2 | 300 |
Air flows through an insulated wind-tunnel test section at a static temperature of 230 K and a speed of 270 m/s. Treat air as an ideal gas with constant cp=1005 J/(kg⋅K). Assume steady flow, no shaft work and negligible changes in potential energy.
What is the stagnation temperature of the flow? Give your answer in K, to one decimal place.