KazeCompressible flowCPU · f64
Lax shock tube: density against the exact Riemann solution
Kaze reproduces the Lax (1954) shock tube with a density L1 error of 3.1e-3 at 800 cells, below the first-order bound (1.5e-2) at every resolution from 100 to 800 cells, and observed orders 0.64 to 0.90 (gate 0.6); CPU, f64, 2026-11-20.

- Reference
- P. D. Lax
- Hardware
- AMD EPYC Genoa server CPU, one thread
- Solver version
- Kaze 0.1.0+75102836
- Grid
- 1D on [0, 1], diaphragm at 0.5, gamma 1.4, t = 0.14, 100 to 800 cells
Results
Figures from the run.
Density vs the exact solution

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 |
|---|---|---|---|---|
| Density L1 error, 100 cells | 0.0141 | |x| ≤ 0.0491 | 29 % | ✓ pass |
| Density L1 error, 200 cells | 0.00906 | |x| ≤ 0.0344 | 26 % | ✓ pass |
| Density L1 error, 400 cells | 0.00485 | |x| ≤ 0.0224 | 22 % | ✓ pass |
| Density L1 error, 800 cellskey | 0.00306 | |x| ≤ 0.0151 | 20 % | ✓ pass |
| Observed order, 100 to 200 cells | 0.636 | ≥ 0.6 | 94 % | ✓ pass |
| Observed order, 200 to 400 cells | 0.901 | ≥ 0.6 | 67 % | ✓ pass |
| Observed order, 400 to 800 cells | 0.663 | ≥ 0.6 | 90 % | ✓ pass |
Setup and reproducibility
- Grid and numerics
- 1D on [0, 1], diaphragm at 0.5, gamma 1.4, t = 0.14, 100 to 800 cells; PLM (van Leer), HLLC, VL2, first-order flux correction, CFL 0.8
- Solver
- Kaze 0.1.0+75102836
- Hardware
- AMD EPYC Genoa server CPU, one thread
- Precision
- f64
- Code revision
- 75102836f7ae
- Physics
- Compressible flow · riemann problem, shock tube, euler equations
- Run date
References
- Published benchmark
P. D. Lax, Weak solutions of nonlinear hyperbolic equations and their numerical computation, Commun. Pure Appl. Math. 7 (1954) 159-193
doi:10.1002/cpa.3160070112In the Physics Atlas - Analytic solution
E. F. Toro, Riemann Solvers and Numerical Methods for Fluid Dynamics, 3rd ed., Springer, 2009 (exact Riemann solver, ch. 4)
doi:10.1007/b79761In the Physics Atlas


