4.1 Compressible Gas Flow, Sonic Velocity, and Choked Flow
Key Takeaways
- A flowing gas must be treated as compressible whenever the local Mach number exceeds 0.30 (Ma > 0.30) or the fractional pressure drop across a conduit or restriction exceeds 10% (Delta P / P_1 > 0.10).
- The speed of sound in an ideal gas is c = sqrt(k * R * T / M); it is purely a function of absolute temperature and thermodynamic properties, and is strictly independent of static pressure.
- The critical pressure ratio P*/P_0 = [2 / (k + 1)]^(k / (k - 1)) governs sonic choking; for air and diatomic gases (k = 1.40), P*/P_0 = 0.528, whereas for steam and methane (k = 1.30-1.31), P*/P_0 = 0.544-0.546.
- When downstream backpressure drops below the critical pressure (P_b <= P*), flow at the restriction throat chokes at Mach 1.0; further reductions in downstream pressure cannot increase mass flow rate or throat velocity.
- Under choked conditions, the mass discharge rate is directly proportional to upstream stagnation pressure P_0 and inversely proportional to the square root of absolute stagnation temperature (m_dot proportional to P_0 / sqrt(T_0)).
4.1 Compressible Gas Flow, Sonic Velocity, and Choked Flow
In chemical manufacturing plants, gases frequently flow under conditions involving large pressure gradients, extreme velocities, or rapid depressurization. Examples include emergency relief valves (PRVs), flare headers, restriction orifices, gas pipeline ruptures, high-pressure steam turbines, and vacuum ejectors. When density changes across a piping element become significant, the constant-density assumptions of incompressible fluid mechanics fail completely. Mastering compressible gas dynamics is vital for the NCEES PE Chemical exam, where questions routinely evaluate sonic speed, choking thresholds, relief valve capacities, and stagnation conditions.
1. Fundamentals of Compressible Flow and Compressibility Criteria
A fluid flow is classified as compressible when variations in fluid density $\rho$ significantly influence the momentum and energy balances throughout the flow field. For gases, density is coupled to local static pressure $P$ and absolute temperature $T$ via the thermodynamic equation of state:
where $M$ is molecular weight, $R = 8,314.5\text{ J/(kmol}\cdot\text{K)} = 10.731\text{ psia}\cdot\text{ft}^3/(\text{lbmol}\cdot^\circ\text{R})$ is the universal gas constant, and $Z$ is the compressibility factor.
The Engineering Threshold for Incompressible vs. Compressible Modeling
Two practical diagnostic criteria dictate when compressible flow equations must be deployed on the PE exam:
- The Mach Number Criterion: If the fluid velocity $v$ exceeds $30%$ of the local speed of sound ($Ma = v/c > 0.30$), inertial compression effects cause density changes exceeding $5%$. Below $Ma = 0.30$, gases can be modeled as incompressible fluids with less than $1%$ error.
- The Fractional Pressure Drop Criterion: For flow through a pipeline, valve, or restriction, if the overall pressure drop exceeds $10%$ of the absolute upstream pressure: the fluid density variation is too large for standard incompressible Darcy-Weisbach formulations. If $\Delta P / P_1 \le 0.10$, an engineer may use incompressible formulas evaluated at the arithmetic mean density $\rho_{avg} = (\rho_1 + \rho_2)/2$.
2. Speed of Sound (Sonic Velocity) and the Mach Number
The speed of sound ($c$) is the velocity at which an infinitesimal acoustic pressure wave propagates through a fluid medium. Because acoustic wave propagation occurs with negligible heat transfer and minimal viscous dissipation, the disturbance travels as an isentropic process (reversible and adiabatic):
For an ideal gas obeying the isentropic relation $P \rho^{-k} = \text{constant}$ (where $k = C_p / C_v$ is the heat capacity ratio / isentropic expansion exponent):
Yielding the fundamental sonic velocity formula:
where $R_{sp} = R / M$ is the specific gas constant (in $\text{J/(kg}\cdot\text{K)}$ or $\text{ft}\cdot\text{lb}_f/(\text{lb}_m\cdot^\circ\text{R})$).
In US Customary units, apply the gravitational conversion constant $g_c = 32.174\text{ lb}_m\cdot\text{ft}/(\text{lb}_f\cdot\text{s}^2)$:
[!IMPORTANT] Sonic Velocity Depends Solely on Temperature! Static pressure does NOT appear in the sonic velocity formula. For an ideal gas, doubling the pressure at constant temperature doubles the density but leaves the speed of sound completely unchanged!
Flow Classification by Mach Number
The Mach number ($Ma$) is the dimensionless ratio of bulk flow velocity $v$ to the local acoustic velocity $c$:
- Subsonic Flow ($Ma < 1.0$): Pressure disturbances travel faster than the fluid stream. Upstream fluid elements sense downstream flow restrictions (such as valves or bends) and adjust smoothly prior to arrival.
- Sonic Flow ($Ma = 1.0$): Fluid velocity exactly matches the speed of sound. Small pressure disturbances cannot propagate upstream against the flow.
- Supersonic Flow ($Ma > 1.0$): Fluid velocity exceeds the speed of sound. Upstream fluid cannot receive acoustic warning of downstream obstacles, leading to shock waves.
3. Stagnation State and Isentropic Flow Relations
The stagnation state (denoted by subscript $0$) is the thermodynamic state a fluid would achieve if brought to rest reversibly and adiabatically ($v \to 0$). For a flowing ideal gas with constant specific heats, the energy balance equates enthalpy and kinetic energy:
Dividing by $C_p T$ and substituting $C_p = \frac{k R}{M (k - 1)}$ and $c^2 = \frac{k R T}{M}$ yields the stagnation temperature ratio:
For an isentropic expansion, combining the temperature ratio with the polytropic isentropic path $P / T^{\frac{k}{k-1}} = \text{constant}$ yields the stagnation pressure ratio and stagnation density ratio:
4. One-Dimensional Variable-Area Duct Dynamics
Combining the differential continuity equation ($d\rho/\rho + dA/A + dv/v = 0$), differential Euler momentum equation ($dP = -\rho v dv$), and sonic definition ($c^2 = dP/d\rho$) yields the area-velocity relationship (Hugoniot equation):
This fundamental equation reveals why compressible gas flow behaves counter-intuitively compared to liquid flow:
- Subsonic Regime ($Ma < 1.0$): Since $Ma^2 - 1 < 0$, a decrease in area ($dA < 0$) causes an increase in velocity ($dv > 0$). Fluid accelerates through a converging nozzle, exactly like an incompressible liquid.
- Supersonic Regime ($Ma > 1.0$): Since $Ma^2 - 1 > 0$, an increase in area ($dA > 0$) causes an increase in velocity ($dv > 0$). Fluid accelerates through a diverging duct.
- Sonic Condition ($Ma = 1.0$): At $Ma = 1$, $dA/A = 0$, meaning sonic velocity can only occur at a local minimum cross-sectional area—the throat ($dA = 0$).
[!WARNING] Converging Nozzles Cannot Produce Supersonic Flow! A converging nozzle alone can never accelerate a gas beyond $Ma = 1.0$. Regardless of how low the downstream backpressure is set, the maximum exit velocity is sonic. Achieving supersonic expansion requires a converging-diverging (de Laval) nozzle geometry.
5. Choked Flow and the Critical Pressure Ratio
When a gas expands from a high-pressure reservoir ($P_0, T_0$) through an orifice, nozzle, control valve, or relief valve into a downstream region of lower pressure ($P_b$), the flow rate increases as backpressure $P_b$ is reduced. However, once the throat velocity reaches the local speed of sound ($Ma_t = 1.0$), the system reaches choked flow (or critical flow).
Evaluating the stagnation pressure formula at the sonic throat condition ($Ma = 1.0$) yields the critical pressure ratio ($r_c = P^* / P_0$):
where $P^*$ is the critical throat pressure (the static pressure at the throat when $Ma = 1$).
Typical Values of the Critical Pressure Ratio
- Diatomic gases and air ($k = 1.40$):
- Triatomic gases, methane, and steam ($k = 1.30$ to $1.31$):
- Monatomic gases ($k = 1.667$):
The Choking Criterion
- Unchoked (Subcritical) Flow ($P_b / P_0 > P^ / P_0$):* Throat pressure equals the receiver backpressure ($P_t = P_b$). The throat Mach number is subsonic ($Ma_t < 1$), and mass flow rate depends on both $P_0$ and $P_b$.
- Choked (Critical) Flow ($P_b / P_0 \le P^ / P_0$):* Throat pressure is locked at the critical pressure ($P_t = P^*$). The throat Mach number is identically $1.0$. Acoustic pressure disturbances in the receiver propagate at speed $c$, which cannot travel upstream against the sonic throat velocity. Consequently, lowering the downstream backpressure further has zero effect on the throat pressure, velocity, or mass flow rate.
6. Choked Mass Flow Rate Formulations and Relief Sizing
For an ideal gas undergoing isentropic choked flow through a restriction of throat area $A_t$ with discharge coefficient $C_d$, the maximum mass flow rate is governed by:
Substituting the critical density $\rho^* = \rho_0 \left(\frac{2}{k+1}\right)^{\frac{1}{k-1}}$ and critical sonic velocity $c^* = \sqrt{\frac{k R T_0}{M} \left(\frac{2}{k+1}\right)}$ leads to the classic choked mass flow equation:
In US Customary units ($P_0$ in $\text{lb}_f/\text{ft}^2$, $A_t$ in $\text{ft}^2$, $T_0$ in $^\circ\text{R}$, $g_c = 32.174$, $R = 1,545.3\text{ ft}\cdot\text{lb}_f/(\text{lbmol}\cdot^\circ\text{R})$):
API Standard 520 Formulation for Safety Relief Valves (PRVs)
In the chemical process industries and on the NCEES PE Chemical exam, vapor relief valve sizing adheres to API 520 Part I. For critical vapor flow, the required effective discharge area $A$ is expressed as:
where:
- $W$ is mass flow rate ($\text{lb/h}$),
- $C$ is the gas expansion coefficient: $C = 520 \sqrt{k \left(\frac{2}{k+1}\right)^{\frac{k+1}{k-1}}}$,
- $K_d$ is the effective discharge coefficient (typically $0.975$ for certified gas nozzles),
- $P_1$ is upstream relieving pressure in absolute units ($\text{psia}$), equal to set pressure plus allowable overpressure plus atmospheric pressure,
- $K_w$ is the backpressure correction factor ($K_w = 1.0$ for conventional PRVs discharging to atmospheric or balanced bellows valves with backpressure $< 30%$),
- $K_c$ is the rupture disk combination factor ($1.0$ without disk, $0.9$ if disk installed upstream),
- $T$ is relieving temperature ($^\circ\text{R} = ^\circ\text{F} + 459.67$).
7. Fanno Flow vs. Isothermal Flow in Process Piping
When compressible gas flows through a long conduit of constant cross-sectional area, friction drives changes in fluid properties:
Fanno Flow (Adiabatic Pipe Flow with Wall Friction)
In insulated process piping or short relief header lines, heat transfer is negligible ($q = 0$), so stagnation temperature remains constant ($T_0 = \text{constant}$):
- Friction accelerates a subsonic gas flow ($dMa/dx > 0$). As velocity increases, static pressure $P$ and static temperature $T$ drop.
- The maximum possible length of straight pipe before choking occurs at the exit ($Ma = 1.0$) is the limiting length ($L^*$):
- If the actual pipe length exceeds $L^*$, the upstream pressure $P_0$ must increase or the inlet mass flow rate will decrease (choking at the pipe exit).
Isothermal Flow (Gas Flow with Heat Transfer Through Uninsulated Walls)
In long, uninsulated buried transmission pipelines, rapid heat conduction through the pipe wall maintains the gas at constant temperature ($T = T_{ambient} = \text{constant}$):
- As pressure drops along the pipeline due to wall friction, gas expands, density decreases, and velocity rises.
- Unlike adiabatic Fanno flow, the limiting maximum velocity in isothermal flow is not sonic ($Ma = 1$), but rather: For air ($k = 1.4$), isothermal flow chokes when $Ma = 1/\sqrt{1.4} = 0.845$.
8. Summary Table: Compressible Flow Regimes and Governing Equations
| Regime / Phenomenon | Governing Parameter | Critical Formula | Practical Process Implication |
|---|---|---|---|
| Incompressible Threshold | $Ma \le 0.30$ or $\Delta P/P_1 \le 0.10$ | $\rho = \text{constant}$ | Standard Darcy-Weisbach head loss equations apply without density correction. |
| Acoustic Speed | Isentropic wave speed | $c = \sqrt{k R T / M}$ | Speed of sound increases with temperature; independent of static pressure. |
| Critical Pressure Ratio | Choking condition ($Ma = 1$) | $r_c = \left(\frac{2}{k+1}\right)^{\frac{k}{k-1}}$ | Flow chokes when backpressure $P_b \le P^*$; $r_c \approx 0.528$ for air, $0.544$ for methane. |
| Choked Mass Flow | Maximum mass flux | $\dot{m} \propto P_0 A_t / \sqrt{T_0}$ | Increasing upstream pressure increases flow linearly; lowering backpressure does nothing. |
| Adiabatic Pipe Flow (Fanno) | Constant $T_0$ with friction | $Ma_{exit} = 1.0$ at $L^*$ | Subsonic gas accelerates toward exit; pipe chokes at the discharge terminus. |
| Isothermal Pipe Flow | Constant $T$ with friction | $Ma_{exit} = 1/\sqrt{k}$ | Long buried pipelines choke at $Ma < 1.0$ due to thermal equilibration with soil. |
9. Step-by-Step Worked Numerical Example: High-Pressure Blowdown Orifice
Problem Statement
An emergency depressuring restriction orifice is installed in an emergency blowdown line connected to a high-pressure natural gas treator. The treator contains dry methane gas ($M = 16.04\text{ kg/kmol}$, $k = 1.31$, compressibility factor $Z \approx 1.0$) at an upstream stagnation pressure of $P_0 = 4.00\text{ MPa(a)} = 4,000\text{ kPa(a)}$ and a stagnation temperature of $T_0 = 310.0\text{ K}$ ($36.85^\circ\text{C}$). The orifice discharges into an atmospheric flare collection header maintained at a backpressure of $P_b = 300.0\text{ kPa(a)}$ ($3.00\text{ bar(a)}$).
The restriction orifice bore diameter is $d_t = 25.0\text{ mm} = 0.0250\text{ m}$, and the calibrated discharge coefficient is $C_d = 0.950$. The universal gas constant is $R = 8,314.5\text{ J/(kmol}\cdot\text{K)}$.
Determine:
- The critical pressure ratio $P^* / P_0$ and the critical pressure $P^*$.
- Whether the restriction orifice is choked.
- The static temperature $T^$ and sonic speed $c^$ at the orifice throat.
- The gas density at the throat $\rho^*$.
- The choked mass flow rate $\dot{m}_{choked}$ in kilograms per second ($\text{kg/s}$) and kilograms per hour ($\text{kg/h}$).
Solution
Step 1: Calculate the critical pressure ratio ($P^ / P_0$) and critical pressure ($P^$).** Using the isentropic sonic relation for $k = 1.31$:
Evaluating the power:
Calculate the absolute critical pressure $P^*$:
Step 2: Determine if the flow is choked. Compare the downstream flare header pressure $P_b$ to the critical throat pressure $P^*$:
Because the receiver backpressure is substantially below the critical choking pressure, the orifice is completely choked ($Ma_t = 1.0$). The static pressure at the orifice throat is fixed at $P_t = P^* = 2,175.7\text{ kPa(a)}$, regardless of the $300\text{ kPa}$ header pressure.
Step 3: Calculate static temperature ($T^$) and sonic velocity ($c^$) at the throat. The throat temperature under choked isentropic expansion is:
The specific gas constant for methane is:
The sonic velocity at the throat is:
Step 4: Calculate gas density at the throat ($\rho^*$). Using the ideal gas equation of state at throat conditions ($P^, T^$):
Step 5: Calculate choked mass flow rate ($\dot{m}_{choked}$). The cross-sectional throat area is:
The mass flow rate is:
Converting to kilograms per hour:
10. Common PE Exam Traps in Compressible Flow
- Using Gauge Pressure in Choking Equations: The critical pressure ratio $P^*/P_0$ and the choked mass flow equation require absolute pressure ($P_{abs} = P_{gauge} + P_{atm}$). Using gauge pressure results in severe calculation errors and incorrect choking determinations.
- Using Static Temperature Instead of Stagnation Temperature: The total energy of the gas includes its bulk velocity head. In equations for relief valves or blowdown orifices, $T_0$ must be the stagnation temperature of the upstream vessel or reservoir, not the expanded throat temperature.
- Assuming Downstream Pressure Drops Increase Choked Flow: Once a nozzle or orifice is choked ($P_b \le P^*$), further decreases in receiver backpressure do NOT increase mass flow rate. The throat velocity remains fixed at $Ma = 1.0$.
- Confusing Specific Gas Constant ($R_{sp}$) with Universal Constant ($R$): In metric units, $R = 8,314.5\text{ J/(kmol}\cdot\text{K)}$. If using specific gas constant $R_{sp} = R/M$, ensure units are in $\text{J/(kg}\cdot\text{K)}$. In US Customary, forgetting $g_c = 32.174$ in $c = \sqrt{k g_c R T / M}$ causes an answer that is off by a factor of $\sqrt{32.174} = 5.67$!
An ethylene gas storage vessel (molecular weight 28.05 kg/kmol, isentropic exponent k = 1.24) operates at a stagnation pressure of 25.0 bar(a) and stagnation temperature of 300 K. A safety relief valve vents the gas into an atmospheric collection manifold maintained at 1.05 bar(a). What is the critical pressure ratio P*/P_0, the critical throat pressure P*, and is the discharge flow choked?
What is the sonic velocity (speed of sound) in superheated process steam (isentropic exponent k = 1.30, molecular weight M = 18.015 kg/kmol) flowing through an insulated pipeline at a static temperature of 320°C? (Universal gas constant R = 8,314.5 J/(kmol·K)).
A restriction orifice installed on a high-pressure nitrogen line is operating under fully choked flow conditions discharging into a flare header. If plant operators increase the upstream vessel absolute pressure P_0 by 20% while holding the upstream stagnation temperature T_0 constant, and the flare header backpressure remains below the critical pressure, what happens to the gas mass flow rate through the orifice and the gas velocity at the orifice throat?