Compressible Flow Calculator
Calculate stagnation properties, speed of sound, and flow parameters at different Mach numbers.
Mach Number, Stagnation State, and Nozzle Area
Compressible flow becomes important when density changes can no longer be ignored, and Mach number M=V/a compares flow speed with the local speed of sound. For a calorically perfect gas, a=√(γRT). Because sound speed depends on temperature and gas properties, Mach 1 does not correspond to one universal velocity.
In adiabatic, reversible deceleration to rest, kinetic energy is converted into internal energy. The resulting stagnation temperature satisfies T0/T=1+(γ−1)M2/2. For isentropic flow, stagnation pressure follows p0/p=(T0/T)γ/(γ−1). These stagnation quantities represent the state reached by bringing the flow to rest ideally, not the same as ordinary static temperature and pressure measured while the fluid is moving.
| Symbol | Meaning | Why it appears / units |
|---|---|---|
| M | Mach number | Dimensionless ratio of flow speed to local sound speed. |
| a | Local speed of sound | m/s; depends on γ, R, and static temperature. |
| T, p | Static temperature and pressure | Local thermodynamic state of the moving gas. |
| T0, p0 | Stagnation quantities | Ideal rest-state values for isentropic deceleration. |
| A/A* | Area ratio | Ratio to the sonic critical area A* for one-dimensional isentropic flow. |
The area-Mach relation has two branches for A/A*>1: one subsonic and one supersonic. In a converging passage, subsonic flow accelerates toward M=1. To accelerate an already sonic flow to supersonic speed, a diverging section is required under suitable pressure conditions, which is the operating principle of a converging-diverging nozzle.
Worked Examples
Common Mistakes
The speed of sound changes with gas and temperature. Mach number must use the local sound speed under the local thermodynamic conditions.
Static temperature belongs to the moving gas state. Stagnation temperature is the ideal temperature after bringing that flow to rest adiabatically without losses.
For an isentropic nozzle with A/A*>1, there is generally one subsonic branch and one supersonic branch. Boundary conditions determine which branch is physically realized.
Frequently Asked Questions
Formula Explorer connections
Interpretation: This relationship connects pressure, velocity, density, viscosity, geometry or transport in a fluid system. Assumption: Check whether flow is steady, incompressible, laminar, fully developed or one-dimensional. Reynolds and Mach regimes determine whether simplified formulas are valid.