upgrade
upgrade

๐Ÿ’จMathematical Fluid Dynamics

Compressible Flow Equations

Study smarter with Fiveable

Get study guides, practice questions, and cheatsheets for all your subjects. Join 500,000+ students with a 96% pass rate.

Get Started

Why This Matters

Compressible flow equations form the mathematical backbone of high-speed aerodynamics, propulsion systems, and gas dynamics. You're being tested on your ability to apply conservation principles when density can no longer be treated as constantโ€”a fundamental shift from the incompressible assumptions you've seen before. These equations govern everything from shock wave behavior to nozzle design to duct flow with friction and heat transfer, and understanding when and how to apply each one separates surface-level memorization from genuine problem-solving ability.

The key insight is that compressible flow introduces coupling between thermodynamic and fluid dynamic variables. Pressure, density, temperature, and velocity all become interdependent through the equation of state and energy conservation. Master the underlying physicsโ€”isentropic processes, shock discontinuities, friction effects, and heat addition mechanismsโ€”and you'll be equipped to tackle any problem the exam throws at you. Don't just memorize formulas; know which physical scenario each equation set describes and what assumptions it requires.


Conservation Foundations

Every compressible flow analysis begins with the fundamental conservation laws. These equations express mass, momentum, and energy balance in forms that account for variable densityโ€”the defining characteristic of compressible flow.

Continuity Equation

  • Conservation of massโ€”expressed as โˆ‚ฯโˆ‚t+โˆ‡โ‹…(ฯu)=0\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \mathbf{u}) = 0, or for quasi-1D flow: โˆ‚(ฯA)โˆ‚t+โˆ‚(ฯuA)โˆ‚x=0\frac{\partial (\rho A)}{\partial t} + \frac{\partial (\rho u A)}{\partial x} = 0
  • Density variations are explicitly tracked, unlike incompressible flow where โˆ‡โ‹…u=0\nabla \cdot \mathbf{u} = 0 suffices
  • Steady-state simplification yields ฯ1u1A1=ฯ2u2A2\rho_1 u_1 A_1 = \rho_2 u_2 A_2, essential for nozzle and duct analysis

Momentum Equation

  • Newton's second law for fluidsโ€”balances inertial forces against pressure gradients, viscous stresses, and body forces
  • Navier-Stokes form for compressible flow: ฯDuDt=โˆ’โˆ‡p+โˆ‡โ‹…ฯ„+ฯg\rho \frac{D\mathbf{u}}{Dt} = -\nabla p + \nabla \cdot \boldsymbol{\tau} + \rho \mathbf{g}, where ฯ„\boldsymbol{\tau} is the viscous stress tensor
  • Euler equations result when viscosity is neglected, appropriate for high Reynolds number flows away from boundaries

Energy Equation

  • First law of thermodynamicsโ€”accounts for internal energy, kinetic energy, pressure work, heat transfer, and viscous dissipation
  • Total enthalpy h0=h+u22h_0 = h + \frac{u^2}{2} remains constant along streamlines for adiabatic, inviscid flow
  • Stagnation temperature T0=T(1+ฮณโˆ’12M2)T_0 = T\left(1 + \frac{\gamma - 1}{2}M^2\right) connects static and total conditions through Mach number

Compare: Continuity vs. Energy equationโ€”both are scalar conservation laws, but continuity tracks mass flux while energy tracks enthalpy flux. On FRQs involving nozzles, you'll typically need both: continuity for mass flow rate, energy for temperature changes.


Thermodynamic Closure

The conservation equations alone don't close the systemโ€”you need relationships connecting pressure, density, and temperature. These constitutive relations complete the mathematical framework.

Equation of State

  • Ideal gas law p=ฯRTp = \rho R T relates thermodynamic variables, where RR is the specific gas constant
  • Closes the equation systemโ€”without it, you have more unknowns than equations
  • Specific heat ratio ฮณ=cp/cv\gamma = c_p/c_v characterizes the gas and appears throughout compressible flow relations

Speed of Sound Equation

  • Wave propagation speed defined as a=ฮณRTa = \sqrt{\gamma R T} for an ideal gas, derived from isentropic compressibility
  • Mach number M=u/aM = u/a is the fundamental dimensionless parameter distinguishing flow regimes
  • Compressibility criterionโ€”flows with M>0.3M > 0.3 typically require compressible analysis due to density variations exceeding ~5%

Compare: Equation of state vs. Speed of soundโ€”the equation of state is a thermodynamic identity valid in any process, while the speed of sound specifically assumes isentropic (reversible, adiabatic) wave propagation. Both use ฮณ\gamma, but for different physical reasons.


Isentropic Flow Analysis

When flow is both adiabatic (no heat transfer) and reversible (no shocks or friction), entropy remains constant. These idealized conditions yield elegant closed-form relationships widely used in preliminary design.

Isentropic Flow Relations

  • Pressure-density-temperature coupling: pp0=(ฯฯ0)ฮณ=(TT0)ฮณ/(ฮณโˆ’1)\frac{p}{p_0} = \left(\frac{\rho}{\rho_0}\right)^\gamma = \left(\frac{T}{T_0}\right)^{\gamma/(\gamma-1)}
  • Mach number dependence: TT0=(1+ฮณโˆ’12M2)โˆ’1\frac{T}{T_0} = \left(1 + \frac{\gamma-1}{2}M^2\right)^{-1} relates local conditions to stagnation values
  • Nozzle design foundationโ€”area-Mach relation AAโˆ—=1M[2ฮณ+1(1+ฮณโˆ’12M2)](ฮณ+1)/2(ฮณโˆ’1)\frac{A}{A^*} = \frac{1}{M}\left[\frac{2}{\gamma+1}\left(1 + \frac{\gamma-1}{2}M^2\right)\right]^{(\gamma+1)/2(\gamma-1)} governs converging-diverging nozzle geometry

Prandtl-Meyer Expansion Equations

  • Centered expansion wavesโ€”flow accelerates isentropically around convex corners, unlike shocks which are irreversible
  • Prandtl-Meyer function ฮฝ(M)=ฮณ+1ฮณโˆ’1tanโกโˆ’1ฮณโˆ’1ฮณ+1(M2โˆ’1)โˆ’tanโกโˆ’1M2โˆ’1\nu(M) = \sqrt{\frac{\gamma+1}{\gamma-1}}\tan^{-1}\sqrt{\frac{\gamma-1}{\gamma+1}(M^2-1)} - \tan^{-1}\sqrt{M^2-1}
  • Turning angle relation: ฮธ=ฮฝ(M2)โˆ’ฮฝ(M1)\theta = \nu(M_2) - \nu(M_1) connects deflection angle to Mach number change for supersonic flow

Compare: Isentropic relations vs. Prandtl-Meyer expansionโ€”both assume reversible, adiabatic flow, but isentropic relations describe quasi-1D channel flow while Prandtl-Meyer handles 2D supersonic turning. If asked about supersonic nozzle design, use isentropic relations; for flow over airfoil surfaces, use Prandtl-Meyer.


Shock Wave Discontinuities

When supersonic flow decelerates abruptly, conservation laws must still hold across the discontinuityโ€”but entropy increases irreversibly. Shock relations connect upstream and downstream states through algebraic jumps.

Normal Shock Equations

  • Rankine-Hugoniot relations express conservation across the shock: p2p1=2ฮณM12โˆ’(ฮณโˆ’1)ฮณ+1\frac{p_2}{p_1} = \frac{2\gamma M_1^2 - (\gamma-1)}{\gamma+1} for pressure ratio
  • Mach number jump: M22=M12+2ฮณโˆ’12ฮณฮณโˆ’1M12โˆ’1M_2^2 = \frac{M_1^2 + \frac{2}{\gamma-1}}{\frac{2\gamma}{\gamma-1}M_1^2 - 1}, always yielding M2<1M_2 < 1 downstream of a normal shock
  • Entropy increase ฮ”s>0\Delta s > 0 makes shocks irreversibleโ€”stagnation pressure drops while stagnation temperature remains constant

Compare: Normal shock vs. Prandtl-Meyer expansionโ€”both occur in supersonic flow, but shocks are compression waves with entropy generation while expansions are isentropic. Shocks decelerate flow (MM decreases); expansions accelerate it (MM increases). This distinction is heavily tested.


Duct Flow with Irreversibilities

Real internal flows involve friction and heat transfer, which modify the isentropic picture. Fanno and Rayleigh flows isolate these effects to reveal their individual influences on flow properties.

Fanno Flow Equations

  • Adiabatic flow with frictionโ€”stagnation temperature T0T_0 remains constant while stagnation pressure p0p_0 decreases
  • Choking behavior: friction drives flow toward M=1M = 1 regardless of initial conditionsโ€”subsonic flow accelerates, supersonic flow decelerates
  • Fanno line on hh-ss diagram shows the locus of states; maximum entropy occurs at sonic condition

Rayleigh Flow Equations

  • Frictionless flow with heat transferโ€”stagnation temperature changes while friction is neglected
  • Heating effects: subsonic flow accelerates toward M=1M = 1; supersonic flow decelerates toward M=1M = 1โ€”both choke with sufficient heat addition
  • Maximum entropy at M=1M = 1, but maximum stagnation temperature occurs at M=1/ฮณM = 1/\sqrt{\gamma} for heating processes

Compare: Fanno vs. Rayleigh flowโ€”both involve irreversibilities that drive flow toward sonic conditions, but through different mechanisms. Fanno (friction) keeps T0T_0 constant; Rayleigh (heat transfer) changes T0T_0. Exam problems often ask you to identify which model applies based on physical setup.


Quick Reference Table

ConceptBest Examples
Mass conservationContinuity equation, quasi-1D mass flux
Momentum balanceEuler equations, Navier-Stokes
Energy conservationTotal enthalpy, stagnation temperature
Thermodynamic closureEquation of state, speed of sound
Isentropic processesIsentropic relations, Prandtl-Meyer expansion
Shock discontinuitiesNormal shock equations, Rankine-Hugoniot
Friction effectsFanno flow equations
Heat transfer effectsRayleigh flow equations

Self-Check Questions

  1. Which two equation sets both predict that flow will approach M=1M = 1, and what physical mechanism drives this choking in each case?

  2. Compare and contrast normal shock waves and Prandtl-Meyer expansions: which conserves stagnation pressure, and why does the other not?

  3. If you're analyzing a converging-diverging nozzle operating at design conditions with no shocks, which equation set provides the area-Mach relationship, and what assumptions does it require?

  4. The energy equation introduces stagnation temperature T0T_0. Under what two duct flow conditions does T0T_0 remain constant, and under what condition does it change?

  5. An FRQ describes supersonic flow entering a constant-area duct with significant wall friction. Which flow model applies, what happens to the Mach number, and what happens to the stagnation pressure?