Real-time calculation of all isentropic, normal shock, Rayleigh, and Fanno flow parameters from Mach number and specific heat ratio. Covers nozzle design, supersonic wind tunnels, and rocket propulsion.
Isentropic relations:
$$\frac{T_0}{T}= 1 + \frac{\gamma-1}{2}M^2$$ $$\frac{p_0}{p}= \left(1 + \frac{\gamma-1}{2}M^2\right)^{\gamma/(\gamma-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))}$$Normal shock (Rankine-Hugoniot):
$$M_2^2 = \frac{M_1^2(\gamma-1)+2}{2\gamma M_1^2 - (\gamma-1)}$$ $$\frac{p_2}{p_1}= \frac{2\gamma M_1^2-(\gamma-1)}{\gamma+1}$$The core of isentropic flow is the relationship between velocity (expressed as Mach number M) and thermodynamic properties. The total (stagnation) energy per unit mass is constant. This leads to the temperature ratio:
$$\frac{T_0}{T}= 1 + \frac{\gamma-1}{2}M^2$$Where $T_0$ is the stagnation temperature, $T$ is the static temperature, $\gamma$ is the specific heat ratio, and $M$ is the Mach number. The term $\frac{\gamma-1}{2}M^2$ represents the conversion of kinetic energy into thermal energy.
Assuming an isentropic (reversible and adiabatic) process, we can relate pressure and density to temperature. The pressure ratio is derived from the temperature ratio and the isentropic relation:
$$\frac{p_0}{p}= \left(1 + \frac{\gamma-1}{2}M^2\right)^{\gamma/(\gamma-1)}$$Here, $p_0$ is the stagnation pressure and $p$ is the static pressure. The exponent $\gamma/(\gamma-1)$ comes from the isentropic relation $p/\rho^\gamma = constant$. This equation shows that pressure changes are even more sensitive to Mach number than temperature changes.
Jet Engine & Aircraft Inlet Design: Engineers use these isentropic relations to design the inlet diffuser that slows down incoming air from flight speed (e.g., Mach 0.8) to a lower speed suitable for the compressor. The calculated pressure rise ($p_0/p$) is critical for predicting engine performance and efficiency.
Supersonic Wind Tunnels & Nozzles: To achieve supersonic flow in a test section, a convergent-divergent (de Laval) nozzle is used. The design is entirely based on isentropic flow relations to expand the gas to the desired Mach number, ensuring the static pressure and temperature in the test section are correct for model testing.
Rocket Nozzle Expansion: In rocket engines, the hot gas expands isentropically through the nozzle to produce thrust. The exit Mach number and the corresponding pressure ratio determine the thrust efficiency. The specific heat ratio (γ) is crucial here as it changes with the combustion products.
CFD Solver Verification & Validation (V&V): Before running complex 3D simulations in software like ANSYS Fluent or OpenFOAM for a new intake design, engineers first calculate the 1D isentropic flow solution using these exact equations. The CFD results are then compared against this analytical benchmark to ensure the solver is set up correctly—a fundamental CAE practice.
First, note that the "stagnation temperature" is not the actual temperature you would feel. When you increase the Mach number in the simulator, T₀ (stagnation temperature) rises significantly, but this is the temperature at a hypothetical wall that completely stops the flow. Actual vehicle surfaces are not adiabatic, so they do not get that hot. For example, even if T₀ shows about 520K (approx. 250°C) at M=2, the vehicle's surface temperature is lower. In thermal design, failing to understand this difference can lead to over-engineered cooling systems.
Next, the pitfall of the "isentropic" assumption. This tool's basic calculations are for an "ideal flow," ignoring friction, shock waves, and heat transfer. In practice, it's crucial to discern where this assumption holds. For instance, friction at the nozzle wall (boundary layer) can cause actual thrust to be a few percent lower than the calculated value. The typical workflow is to first find the ideal solution with this tool, then apply loss coefficients to estimate the real-world value.
A common parameter-setting mistake is carelessly fixing the specific heat ratio γ. For air, 1.4 is generally fine, but rocket combustion gases can range from about 1.2 to 1.3 depending on composition. Changing γ significantly alters the achievable Mach number for the same area ratio. For example, with A/A*=4, M≈2.94 for γ=1.4, but M≈3.65 for γ=1.2. Try changing γ in the tool to see firsthand how sensitive nozzle design is to gas properties.