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:


Ma=Va,a=kRT for an ideal gas\text{Ma} = \frac{V}{a}, \qquad a = \sqrt{kRT}\ \text{for an ideal gas}


For air, use k=1.40k = 1.40 and R=287 J/(kg⋅K)R = 287\ \text{J/(kg·K)}. Because aa depends on the local static temperature TT, 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


ρ0−ρρ0≈Ma22\frac{\rho_0 - \rho}{\rho_0} \approx \frac{\text{Ma}^2}{2}


This leading-order result does not depend on kk. 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/2h_0 = h + V^2/2. For an ideal gas with constant cpc_p, using cp=kR/(k−1)≈1005 J/(kg⋅K)c_p = kR/(k-1) \approx 1005\ \text{J/(kg·K)} for air:


T0=T+V22cp⟺T0T=1+k−12 Ma2T_0 = T + \frac{V^2}{2c_p} \quad\Longleftrightarrow\quad \frac{T_0}{T} = 1 + \frac{k-1}{2}\,\text{Ma}^2


For isentropic deceleration, p∝Tk/(k−1)p \propto T^{k/(k-1)} and ρ∝T1/(k−1)\rho \propto T^{1/(k-1)} give


p0p=(1+k−12 Ma2)k/(k−1),ρ0ρ=(1+k−12 Ma2)1/(k−1)\frac{p_0}{p} = \left(1 + \frac{k-1}{2}\,\text{Ma}^2\right)^{k/(k-1)}, \qquad \frac{\rho_0}{\rho} = \left(1 + \frac{k-1}{2}\,\text{Ma}^2\right)^{1/(k-1)}


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.


Line graph of temperature, density and pressure ratios falling from 1 as Mach number rises from 0 to 1, with a dashed vertical line at Mach 0.3.



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=−ρV dVdp = -\rho V\,dV, whether density is constant or variable. During isentropic deceleration, density rises toward ρ0\rho_0. The integrated pressure rise exceeds the incompressible value, which holds density at its upstream value. Expanding the exact pressure ratio and using 12ρV2=12kp Ma2\tfrac{1}{2}\rho V^2 = \tfrac{1}{2}kp\,\text{Ma}^2 gives


p0−p=12ρV2[1+Ma24+2−k24 Ma4+⋯ ]p_0 - p = \tfrac{1}{2}\rho V^2\left[1 + \frac{\text{Ma}^2}{4} + \frac{2-k}{24}\,\text{Ma}^4 + \cdots\right]


The bracket is the compressibility correction. At Ma = 0.3 the exact pressure rise for air is 2.27% larger than 12ρV2\tfrac{1}{2}\rho V^2. The correction grows at higher Mach numbers.



What to remember

  • Ma=V/a\text{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 T0T_0 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/TT_0/T to 3.5 for p0/pp_0/p and to 2.5 for ρ0/ρ\rho_0/\rho.
  • For isentropic deceleration, the compressibility correction multiplies the Bernoulli pressure rise by 1+Ma2/4+⋯1 + \text{Ma}^2/4 + \cdots.

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 KT = 280\ \text{K}, a static pressure p=85.0 kPap = 85.0\ \text{kPa} and a velocity V=250 m/sV = 250\ \text{m/s}. Treat air as an ideal gas with k=1.40k = 1.40, R=287 J/(kg⋅K)R = 287\ \text{J/(kg·K)} and cp=1005 J/(kg⋅K)c_p = 1005\ \text{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:


a=kRT=(1.40)(287 J/(kg⋅K))(280 K)=112 504 m2/s2=335.4 m/sa = \sqrt{kRT} = \sqrt{(1.40)(287\ \text{J/(kg·K)})(280\ \text{K})} = \sqrt{112\,504\ \text{m}^2/\text{s}^2} = 335.4\ \text{m/s}


Ma=Va=250 m/s335.4 m/s=0.745\text{Ma} = \frac{V}{a} = \frac{250\ \text{m/s}}{335.4\ \text{m/s}} = 0.745


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\text{Ma}^2 = 0.5555, the common factor is


1+k−12 Ma2=1+(0.20)(0.5555)=1.11111 + \frac{k-1}{2}\,\text{Ma}^2 = 1 + (0.20)(0.5555) = 1.1111


Stagnation temperature:


T0=(280 K)(1.1111)=311.1 KT_0 = (280\ \text{K})(1.1111) = 311.1\ \text{K}


As a check from the energy equation, T0=T+V2/(2cp)=280+62 500/2010=280+31.1=311.1 KT_0 = T + V^2/(2c_p) = 280 + 62\,500/2010 = 280 + 31.1 = 311.1\ \text{K}.


Stagnation pressure, using the exponent k/(k−1)=3.5k/(k-1) = 3.5:


p0p=(1.1111)3.5=1.446⇒p0=(85.0 kPa)(1.446)=122.9 kPa\frac{p_0}{p} = (1.1111)^{3.5} = 1.446 \quad\Rightarrow\quad p_0 = (85.0\ \text{kPa})(1.446) = 122.9\ \text{kPa}


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:


ρ=pRT=85 000 Pa(287 J/(kg⋅K))(280 K)=1.058 kg/m3\rho = \frac{p}{RT} = \frac{85\,000\ \text{Pa}}{(287\ \text{J/(kg·K)})(280\ \text{K})} = 1.058\ \text{kg/m}^3


Stagnation density, using the exponent 1/(k−1)=2.51/(k-1) = 2.5 and retaining full precision in intermediate calculations:


ρ0ρ=(1+k−12 Ma2)2.5≈1.301337\frac{\rho_0}{\rho} = \left(1 + \frac{k-1}{2}\,\text{Ma}^2\right)^{2.5} \approx 1.301337


ρ0≈(1.057740 kg/m3)(1.301337)≈1.376477 kg/m3≈1.376 kg/m3\rho_0 \approx (1.057740\ \text{kg/m}^3)(1.301337) \approx 1.376477\ \text{kg/m}^3 \approx 1.376\ \text{kg/m}^3


Use the stagnation density as the reference when finding how far below it the static density lies:


ρ0−ρρ0=1−11.301337≈0.231560≈0.232\frac{\rho_0 - \rho}{\rho_0} = 1 - \frac{1}{1.301337} \approx 0.231560 \approx 0.232


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%\text{Ma}^2/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−pp_0 - 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 kPap_0 - p = 122.9 - 85.0 = 37.9\ \text{kPa}. Bernoulli gives


VB=2(p0−p)ρ=2(37 900 Pa)1.058 kg/m3=267.7 m/sV_{\text{B}} = \sqrt{\frac{2(p_0 - p)}{\rho}} = \sqrt{\frac{2(37\,900\ \text{Pa})}{1.058\ \text{kg/m}^3}} = 267.7\ \text{m/s}


The error is (267.7−250)/250=0.071(267.7 - 250)/250 = 0.071, an overestimate of about 7.1%.


The cause is that 12ρV2=12(1.058)(250)2=33.1 kPa\tfrac{1}{2}\rho V^2 = \tfrac{1}{2}(1.058)(250)^2 = 33.1\ \text{kPa}, while the actual pressure rise is ________. Their ratio is 37.9/33.1=1.14537.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.1471 + \text{Ma}^2/4 + (2-k)\text{Ma}^4/24 \approx 1 + 0.139 + 0.008 = 1.147. The engineer assigns the extra pressure rise from compression to extra speed.

An engineer must decide whether a steady flow of air can be analysed with a constant density. Which criterion is the standard basis for that decision?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

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/s0.60\ \text{kg/s}. Treat air as an ideal gas with R=287 J/(kg⋅K)R=287\ \text{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.

ConditionPressure (kPa)Temperature (K)Density (kg/m3)Volumetric flow rate (m3/s)
A86.1300
B114.8400
C172.2300

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

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)c_p = 1005\ \text{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.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Extra Practice