Translated from the author's Korean original. Read the original (한국어)
Mach Architect: Learn Compressible Flow by Designing Nozzles
At γ = 1.4 the choke ratio is 0.5283 and the M = 2 area ratio is about 1.6875. Back pressure between those two parks a normal shock inside the nozzle.
Mach Architect#
A textbook plot of against does not leave the regime change in the hand.
Drag the blue throat point up or down and move the back-pressure slider for . Exit Mach and the shock location move together.
Narrow the throat and watch whether the mass flow locks. Drop the back pressure below 0.5283 and watch the shock slide toward the exit.
Controls#
- Nozzle geometry: drag the blue control points on the SVG up and down to adjust cross-section
- Back pressure: the right-side slider sets
- Level select: switch with the LV1–LV4 buttons at the top
Level Walkthrough#
Level 1: Subsonic Acceleration#
The most basic case. In a converging nozzle, subsonic flow accelerates as the area shrinks. The isentropic relation:
Since , decreasing increases . The goal is exit Mach 0.45–0.55.
Level 2: Choking#
When the flow chokes, at the throat. Lowering back pressure further leaves the upstream mass flow unchanged.
Critical pressure ratio ():
Drop back pressure below this value, or make the throat narrow enough.
Level 3: Supersonic Nozzle Design#
In a C-D nozzle, the flow accelerates supersonically once the area opens up beyond the throat. To reach :
Plug and into the area relation and the printed 1.6875 falls out. and , so the parenthesis is . Times that is 1.5. The exponent is 3. . Times gives 1.6875. A throat of 1 needs an exit of that multiple to hit .
The subsonic target 0.45 to 0.55 is the other side of the same relation. At , . At , . The band is narrow. A small throat move throws the exit Mach out of the window. The part where the duct must widen to speed up is the same relation as where a Laval nozzle flips.
Back pressure has to come down to the design value Pb_design before supersonic flow reaches the exit without a shock.
Level 4: Shock Positioning#
When the back pressure is above design but below critical, a normal shock forms inside the nozzle.
Pre/post-shock relations:
Put into the shock relations and the fractions cancel cleanly. , so . The pressure ratio is . Design for Mach 2 and then leave the back pressure above design, and somewhere in the duct the pressure jumps by 4.5 while Mach falls to about 0.58.
Raise the back pressure and the shock walks toward the throat. Lower it and the shock walks toward the exit. The level-4 target means park that jump near the exit.
The Simulator's Physics Model#
This simulator rests on these assumptions:
- 1D quasi-1D flow: only area variation; viscosity/heat transfer ignored
- Isentropic flow (except across shocks): , conserved
- Calorically perfect gas: (air)
- Normal shocks: Rankine–Hugoniot relations
- Nozzle geometry: smooth area distribution via Hermite interpolation
The shock position is found by discretely searching for the location that satisfies the exit pressure condition. Upstream of the shock is isentropic supersonic; downstream is isentropic subsonic with stagnation pressure loss applied.
Leave the design back pressure and the M = 2 run dies in a shock#
Match the area ratio 1.6875 and then park the back pressure above design. The built in level 3 falls to inside the duct. Pressure jumps by 4.5. The moment back pressure sits between 0.5283 and the design value, the throat stays choked and the supersonic run ends at the shock.
Putting that jump on a mesh means giving it a thickness on purpose. That choice is the artificial viscosity that smears a shock on purpose. This simulator only searches for a discrete station. It does not resolve a shock thickness at all. While the back-pressure slider walks from 0.65 to 0.80, watch whether the pressure ratio leaves 4.5.
Related
Share if you found it helpful.