Prandtl Meyer Expansion Calculator - Compressible Flow Function

The prandtl meyer expansion calculator solves the Prandtl-Meyer function nu(M) for air or any custom gamma, returning the deflection angle, the downstream Mach number, and the post-expansion pressure, temperature, and density ratios.

Prandtl Meyer Expansion Calculator

Forward takes an upstream Mach and returns the angle and ratios; reverse takes a chosen angle and returns the new Mach.

Mach number of the flow approaching the convex corner.

Wall turn angle in degrees, used in reverse mode.

Ratio cp/cv of the working gas. Use 1.4 for air, 1.66 for helium or argon.

Switches the displayed deflection angle between degrees and radians.

Results

Prandtl-Meyer angle
0°
nu(M1) forward | nu(M2)=nu(M1)+theta reverse
Downstream Mach 0
Downstream pressure ratio p/p0 0
Downstream temperature ratio T/T0 0
Downstream density ratio rho/rho0 0

What Is the Prandtl Meyer Expansion Calculator?

The prandtl meyer expansion calculator solves the Prandtl-Meyer function nu(M), which gives the angle through which a supersonic flow can turn around a convex corner and still remain isentropic. The function is zero at Mach 1 and rises to about 130.45 degrees for air as the upstream Mach grows without bound, and it works for any constant specific-heat ratio gamma.

  • Aerodynamics homework: Get the textbook nu(M) value and the downstream isentropic ratios for an air flow at any upstream Mach.
  • Wind-tunnel planning: Estimate how much a supersonic nozzle wall can diverge before the flow separates, then check the new pressure and temperature.
  • Nozzle and inlet design: Predict the static pressure and temperature downstream of an expansion corner in a converging-diverging nozzle or external-compression inlet.
  • Propulsion back-of-envelope: Use the closed-form nu(M) and gamma = 1.4 default to size a corner in a ramjet or scramjet inlet during preliminary sketching.

The model is the same one used in Liepmann and Roshko's Elements of Gasdynamics and Anderson's Modern Compressible Flow. For air the function maps from Mach 1 up to the asymptotic ceiling, and the calculator exposes a custom gamma field so helium, argon, or any combustion gas with a tabulated cp/cv can be used.

Before working through the expansion function it is worth revisiting the dimensionless compressibility form of the ideal gas law in the Compressibility Calculator, since the same Mach and gamma show up here as input arguments.

How the Prandtl Meyer Expansion Calculator Works

The calculator evaluates the Prandtl-Meyer function nu(M) directly from its closed-form expression for a perfect gas, and uses bisection to invert it when the user supplies a deflection angle instead of an upstream Mach. The downstream state is then found from the standard isentropic relations, so the displayed pressure, temperature, and density ratios are deterministic outputs of the same Mach and gamma.

nu(M) = sqrt((gamma+1)/(gamma-1)) * arctan(sqrt((gamma-1)*(M^2-1)/(gamma+1))) - arctan(sqrt(M^2-1)); M2 from nu(M2) = nu(M1) + theta; p/p0 = (1 + (gamma-1)/2 * M^2)^(-gamma/(gamma-1)); T/T0 = 1 / (1 + (gamma-1)/2 * M^2); rho/rho0 = (1 + (gamma-1)/2 * M^2)^(-1/(gamma-1)).
  • M1: Upstream Mach number ahead of the convex corner; must be 1 or larger.
  • M2: Downstream Mach number after the fan; equal to M1 in forward mode, found by bisection in reverse mode.
  • theta: Wall deflection angle in radians (or degrees), equal to the change in flow direction across the fan.
  • gamma: Specific-heat ratio cp/cv; 1.4 for air, 1.66 for helium or argon.
  • p/p0, T/T0, rho/rho0: Isentropic ratios of static pressure, temperature, and density to their stagnation values.

The arctan term appears twice because the function comes from integrating the small-deflection Prandtl-Meyer equation along the reference process that brings the flow from Mach M back to Mach 1.

Bisection runs over the bracketed interval Mach 1 to Mach 80 with a 1e-9 tolerance. The downstream pressure, temperature, and density ratios are then computed from the same isentropic relations used for nozzle flows.

Example: Mach 2.0 in air, solve for the angle

Upstream Mach M1 = 2.0, gamma = 1.4, solve forward

nu(2) = sqrt(6) * arctan(sqrt(1/2)) - arctan(sqrt(3)) = 0.4604 rad

Deflection angle 26.38 degrees, downstream Mach 2.0, p/p0 = 0.1278, T/T0 = 0.5556, rho/rho0 = 0.2300

A Mach 2 air stream sits at 26.38 degrees on the Prandtl-Meyer scale, the angle a sonic reference flow must be expanded through to reach Mach 2, and pressure drops to 12.78 percent of stagnation.

Example: 15 degree turn at Mach 2.0, solve for the downstream Mach

Upstream Mach M1 = 2.0, gamma = 1.4, deflection angle theta = 15 degrees, solve reverse

Bisect on nu(M2) = nu(2) + 15 degrees = 41.38 degrees; root M2 = 2.598

Downstream Mach 2.598, p/p0 = 0.0502, T/T0 = 0.4255, rho/rho0 = 0.1181

A 15 degree convex turn speeds the air from Mach 2.0 to Mach 2.598 and drops pressure to 5.0 percent of stagnation, the trade-off the calculator exposes for any chosen wall angle.

According to NASA Glenn Research Center - Prandtl-Meyer Angle, nu(M) = sqrt((gamma+1)/(gamma-1)) * arctan(sqrt((gamma-1)(M^2-1)/(gamma+1))) - arctan(sqrt(M^2-1)) for a perfect gas with specific-heat ratio gamma, with nu(1) = 0 by construction, and its physical interpretation is the angle a sonic flow must be expanded through to reach Mach M

The isentropic ratios come from the same energy-conservation family that the Bernoulli Equation Calculator handles for incompressible flow, just specialized here to the compressible limit.

Key Concepts Behind the Prandtl-Meyer Expansion

Four ideas make the function predictable: why an expansion fan is isentropic, why Mach lines fan out at the Mach angle, what the 130.45 degree ceiling means in practice, and why the same isentropic ratios feed the downstream state.

Prandtl-Meyer function nu(M)

A monotonically increasing function of Mach number that returns the angle through which a supersonic flow can turn around a convex corner while remaining isentropic. The function is zero at Mach 1 by construction and approaches a finite ceiling of (pi/2) * (sqrt((gamma+1)/(gamma-1)) - 1) as Mach grows without bound, which evaluates to about 130.45 degrees for gamma = 1.4.

Expansion fan and Mach lines

The flow at a convex corner turns through an infinite family of infinitesimal Mach waves, each aligned at the local Mach angle mu = arcsin(1/M). The result is a smooth fan of straight characteristics that expands the flow isentropically rather than through a single shock.

Isentropic downstream state

Across the fan, stagnation temperature and pressure are conserved. Static pressure, temperature, and density fall to the standard isentropic ratios evaluated at the downstream Mach.

Specific-heat ratio gamma

The Prandtl-Meyer function depends on gamma through the factor sqrt((gamma+1)/(gamma-1)). For fixed Mach, a larger gamma shrinks the function (helium, gamma = 1.66) and a smaller gamma enlarges it.

These four ideas are the conceptual core of any Prandtl-Meyer expansion.

When the working fluid departs from a perfect gas, the Ideal Gas Calculator becomes the place to revisit the equation of state that the Prandtl-Meyer derivation assumes.

How to Use the Prandtl Meyer Expansion Calculator

Pick the solve direction, enter the upstream Mach or a deflection angle, set gamma for the working gas, and read the four result cards.

  1. 1 Choose the solve direction: Select Deflection angle from upstream Mach to return nu(M), or Downstream Mach from a deflection angle to invert nu.
  2. 2 Enter the upstream Mach: Type the Mach number ahead of the convex corner. The default of 2 matches a typical wind-tunnel test section.
  3. 3 Set the deflection angle in reverse mode: Enter the wall turn angle in degrees; the bisection then finds the matching downstream Mach.
  4. 4 Set the specific-heat ratio: Use 1.4 for air, 1.66 for helium or argon, or any constant value your reference quotes.
  5. 5 Pick the angle display unit: Switch between degrees and radians. The math is identical, only the display changes.
  6. 6 Read the result cards: The first card shows the Prandtl-Meyer angle at the current Mach (nu(M1) forward, nu(M2)=nu(M1)+theta reverse), followed by the downstream Mach and the isentropic pressure, temperature, and density ratios.

For a 12 degree wall divergence downstream of a nozzle throat, enter inputMode = angle, M1 = 2.5, thetaDeg = 12, gamma = 1.4, angleUnit = deg. The calculator returns the downstream Prandtl-Meyer angle nu(M2) = nu(2.5) + 12 = 51.12 degrees, downstream Mach 3.072, p/p0 = 0.0245, T/T0 = 0.3464, rho/rho0 = 0.0706, so static pressure falls to 2.4 percent of stagnation.

When the expansion fan feeds a propulsion device rather than a wind tunnel, the Ideal Rocket Equation Calculator is a natural follow-up for estimating the resulting thrust.

Benefits of Using This Calculator

The prandtl meyer expansion calculator gives textbook nu(M) values plus the downstream isentropic state in one panel, useful for homework, lab reports, and preliminary design.

  • Closed-form Prandtl-Meyer function: The angle is evaluated from the exact nu(M) expression, not a chart lookup, so the result matches what a textbook table would print for the chosen Mach and gamma.
  • Reverse solve with bisection: Supplying a wall deflection angle returns the matching downstream Mach using a bracketed bisection that converges fast.
  • Downstream isentropic state: Static pressure, temperature, and density ratios all come from the same stagnation-conserving relations used for nozzle flows.
  • Custom specific-heat ratio: The gamma field accepts 1.05 to 1.7, covering air, helium, argon, and any tabulated combustion product with a constant cp/cv.

The calculator is also a useful sanity check for any CFD or wind-tunnel result.

Factors That Affect the Result

Three input factors and two physical assumptions determine the Prandtl-Meyer angle and the downstream state, and the same factors also bound where the closed-form model is valid.

Upstream Mach number

Higher upstream Mach gives a larger nu(M), so the same wall angle produces a larger downstream Mach change.

Specific-heat ratio gamma

For fixed Mach, nu(M) grows as gamma shrinks. Air (1.4) supports a larger turn than helium (1.66) for the same inflow.

Deflection angle

In reverse mode the chosen angle sets nu(M2) = nu(M1) + theta, and the bisection returns M2. The 130.45 degree ceiling for gamma = 1.4 is the cap.

Perfect-gas assumption

The closed form assumes a perfect gas with constant gamma. Real air at high Mach picks up vibrational excitation, which lowers the displayed nu(M) by a few degrees at hypersonic Mach.

  • The function is isentropic, so the corner must be convex and weak enough that the fan fully attaches to the wall.
  • Real high-Mach flows pick up vibrational non-equilibrium effects, so the constant-gamma assumption can drift by a few percent above Mach 7 for air.

For most homework and preliminary-design work the closed-form Prandtl-Meyer model is the right reference. The gamma input is the cleanest knob to turn when matching a real gas.

According to NASA Glenn Research Center - Centered Expansion Fan, an expansion fan is an isentropic process that raises Mach, lowers static pressure, and conserves total pressure as the flow turns away from itself around a convex corner

According to NIST Chemistry WebBook - Thermophysical Properties, the specific-heat ratio of dry air is 1.4 at standard conditions, while monatomic gases such as helium reach about 1.66, which is why the calculator exposes a custom gamma field for non-air working fluids

Beyond the inviscid corner, real expansion fans interact with the boundary layer; the Reynolds Number Calculator is a good way to estimate whether the boundary layer stays attached at the chosen deflection.

prandtl meyer expansion calculator interface showing the upstream Mach number, deflection angle, post-expansion Mach number, and downstream pressure, temperature, and density ratios
prandtl meyer expansion calculator interface showing the upstream Mach number, deflection angle, post-expansion Mach number, and downstream pressure, temperature, and density ratios

Frequently Asked Questions

Q: What is the Prandtl-Meyer expansion angle for a Mach 2 flow in air?

A: For gamma = 1.4 and Mach 2 the closed-form function returns 26.38 degrees. Static pressure drops to 0.128 times stagnation and temperature falls to 0.556 times stagnation.

Q: Why does a supersonic flow turn away from itself at a convex corner?

A: An expansion fan is a family of straight Mach lines that open from the corner. Each Mach line carries the same Prandtl-Meyer increment, so the flow direction turns smoothly.

Q: How do I find the Mach number after a 15 degree expansion turn?

A: Switch to Downstream Mach from a deflection angle, enter the upstream Mach and theta = 15 degrees. The calculator bisects to find the new Mach such that nu(M2) equals nu(M1) plus 15 degrees.

Q: What is the maximum deflection angle the Prandtl-Meyer function can reach?

A: As Mach grows without bound, nu(M) approaches (pi/2) * (sqrt((gamma+1)/(gamma-1)) - 1). For gamma = 1.4 this is about 130.45 degrees.

Q: Does the Prandtl Meyer expansion calculator work for gases other than air?

A: Yes. The gamma input accepts 1.05 to 1.7, covering helium and argon at 1.66, nitrogen-rich combustion gases near 1.35, and any tabulated constant cp/cv.

Q: What downstream pressure, temperature, and density should I expect after an expansion fan?

A: Across the fan stagnation pressure and temperature are conserved. Static values drop to p/p0 = (1 + (gamma-1)/2 * M^2)^(-gamma/(gamma-1)) and the same isentropic form for T/T0 and rho/rho0.