KazeCompressible flowCPU · f64
Converging-diverging nozzle (NPARC CDV): Mach number and pressure against quasi-1D theory, converged solutions
Kaze reproduces the NPARC converging-diverging nozzle at back pressures 0.89, 0.75 and 0.16: Mach number errors of 0.063 %, 0.14 % and 0.14 % at 200 cells (gate 3 %) and fully steady solutions (density change below 1e-6, gate 1e-6); CPU, f64, 2026-11-22.

Pass
20 of 20 gates met
6.3e-4Back pressure 0.89: Mach number relative error, 200 cells · gate |x| ≤ 0.03
2 %- Reference
- NPARC Alliance CFD Verification and Validation Archive: Converging-Diverging Verification
- Hardware
- Intel Core i7-6800K workstation CPU, one thread
- Solver version
- Kaze 0.1.0+c79c57e0
- Grid
- Quasi-1D duct on [0, 10], gamma 1.4, p0 = T0 = 1, 50, 100 and 200…
Results
Figures from the run.
Mach number with the normal shock, Kaze and theory

Supersonic exit (p_b 0.16), Kaze and theory

Metrics and gates
Each gate is fixed before the run. The bar shows how much of its allowance a metric uses: the line marks the gate, so a bar past it fails. A metric without a gate is reported for context and does not decide the verdict.
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| Back pressure 0.89: Mach number relative error, 50 cells | 0.0081 | not gated | reported only | reported |
| Back pressure 0.89: pressure relative error, 50 cells | 0.0075 | not gated | reported only | reported |
| Back pressure 0.89: change of density over the last time unit, 50 cells | 0 | not gated | reported only | reported |
| Back pressure 0.89: Mach number relative error, 100 cells | 0.00235 | |x| ≤ 0.03 | 8 % | ✓ pass |
| Back pressure 0.89: pressure relative error, 100 cells | 0.00213 | |x| ≤ 0.03 | 7 % | ✓ pass |
| Back pressure 0.89: change of density over the last time unit, 100 cells | 0 | |x| ≤ 1e-6 | <1 % | ✓ pass |
| Back pressure 0.89: Mach number relative error, 200 cellskey | 6.3e-4 | |x| ≤ 0.03 | 2 % | ✓ pass |
| Back pressure 0.89: pressure relative error, 200 cells | 5.7e-4 | |x| ≤ 0.03 | 2 % | ✓ pass |
| Back pressure 0.89: change of density over the last time unit, 200 cells | 0 | |x| ≤ 1e-6 | <1 % | ✓ pass |
| Back pressure 0.89: Mach number relative error, 50 cells (with the shock-cell limiter option) | 0.0081 | not gated | reported only | reported |
| Back pressure 0.89: Mach number relative error, 100 cells (with the shock-cell limiter option) | 0.00235 | not gated | reported only | reported |
| Back pressure 0.89: Mach number relative error, 200 cells (with the shock-cell limiter option) | 6.3e-4 | not gated | reported only | reported |
| Back pressure 0.75: Mach number relative error, 50 cells | 0.00518 | not gated | reported only | reported |
| Back pressure 0.75: pressure relative error, 50 cells | 0.00674 | not gated | reported only | reported |
| Back pressure 0.75: shock position error in cells, 50 cells | 0.087 | not gated | reported only | reported |
| Back pressure 0.75: change of density over the last time unit, 50 cells | 0 | not gated | reported only | reported |
| Back pressure 0.75: Mach number relative error, 100 cells | 0.00278 | |x| ≤ 0.03 | 9 % | ✓ pass |
| Back pressure 0.75: pressure relative error, 100 cells | 0.00344 | |x| ≤ 0.03 | 11 % | ✓ pass |
| Back pressure 0.75: shock position error in cells, 100 cells | 0.1 | |x| ≤ 2 | 5 % | ✓ pass |
| Back pressure 0.75: change of density over the last time unit, 100 cells | 0 | |x| ≤ 1e-6 | <1 % | ✓ pass |
| Back pressure 0.75: Mach number relative error, 200 cells | 0.00144 | |x| ≤ 0.03 | 5 % | ✓ pass |
| Back pressure 0.75: pressure relative error, 200 cells | 0.00173 | |x| ≤ 0.03 | 6 % | ✓ pass |
| Back pressure 0.75: shock position error in cells, 200 cells | 0.073 | |x| ≤ 2 | 4 % | ✓ pass |
| Back pressure 0.75: change of density over the last time unit, 200 cells | 0 | |x| ≤ 1e-6 | <1 % | ✓ pass |
| Back pressure 0.75: Mach number relative error, 50 cells (with the shock-cell limiter option) | 0.00518 | not gated | reported only | reported |
| Back pressure 0.75: Mach number relative error, 100 cells (with the shock-cell limiter option) | 0.00278 | not gated | reported only | reported |
| Back pressure 0.75: Mach number relative error, 200 cells (with the shock-cell limiter option) | 0.00144 | not gated | reported only | reported |
| Back pressure 0.16: Mach number relative error, 50 cells | 0.0052 | not gated | reported only | reported |
| Back pressure 0.16: pressure relative error, 50 cells | 0.00674 | not gated | reported only | reported |
| Back pressure 0.16: change of density over the last time unit, 50 cells | 0 | not gated | reported only | reported |
| Back pressure 0.16: Mach number relative error, 100 cells | 0.00278 | |x| ≤ 0.03 | 9 % | ✓ pass |
| Back pressure 0.16: pressure relative error, 100 cells | 0.00344 | |x| ≤ 0.03 | 11 % | ✓ pass |
| Back pressure 0.16: change of density over the last time unit, 100 cells | 0 | |x| ≤ 1e-6 | <1 % | ✓ pass |
| Back pressure 0.16: Mach number relative error, 200 cells | 0.00144 | |x| ≤ 0.03 | 5 % | ✓ pass |
| Back pressure 0.16: pressure relative error, 200 cells | 0.00173 | |x| ≤ 0.03 | 6 % | ✓ pass |
| Back pressure 0.16: change of density over the last time unit, 200 cells | 0 | |x| ≤ 1e-6 | <1 % | ✓ pass |
| Back pressure 0.16: Mach number relative error, 50 cells (with the shock-cell limiter option) | 0.0052 | not gated | reported only | reported |
| Back pressure 0.16: Mach number relative error, 100 cells (with the shock-cell limiter option) | 0.00278 | not gated | reported only | reported |
| Back pressure 0.16: Mach number relative error, 200 cells (with the shock-cell limiter option) | 0.00144 | not gated | reported only | reported |
Setup and reproducibility
- Grid and numerics
- Quasi-1D duct on [0, 10], gamma 1.4, p0 = T0 = 1, 50, 100 and 200 cells, run to t = 2000; PLM, HLLC, VL2, first-order flux correction, CFL 0.4
- Solver
- Kaze 0.1.0+c79c57e0
- Hardware
- Intel Core i7-6800K workstation CPU, one thread
- Precision
- f64
- Code revision
- c79c57e055fb
- Physics
- Compressible flow · nozzle flow, normal shock, steady state
- Run date
References
- Published benchmark
NPARC Alliance CFD Verification and Validation Archive: Converging-Diverging Verification (CDV) nozzle
www.grc.nasa.gov/WWW/wind/valid/cdv/cdv.html - Analytic solution
J. D. Anderson, Modern Compressible Flow: With Historical Perspective, 3rd ed., McGraw-Hill, 2003
www.mheducation.com/highered/product/modern-compressible-flow-historical-perspective-anderson/M9780072424430.html


