KazeCompressible flowCPU · f64
Vacuum-generation Riemann problem: density against the exact solution
Kaze reproduces the vacuum-generation Riemann problem (two gases receding at speed 4): density L1 error 4.3e-3 at 800 cells, below the first-order scheme's 1.5e-2 at every resolution, with orders 0.69, 0.90 and 0.97 (gate 0.6) and every cell physical; CPU, f64, 2026-11-20.

Pass
7 of 7 gates met
0.00428Density L1 error, 800 cells · gate |x| ≤ 0.0146
29 %- Reference
- E. F. Toro
- Hardware
- AMD EPYC Genoa server CPU, one thread
- Solver version
- Kaze 0.1.0+75102836
- Grid
- 1D on [0, 1], u = -4 and +4, rho 1, p 0.4, gamma 1.4, t = 0.1, 100…
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.0251 | |x| ≤ 0.0427 | 59 % | ✓ pass |
| Density L1 error, 200 cells | 0.0156 | |x| ≤ 0.0274 | 57 % | ✓ pass |
| Density L1 error, 400 cells | 0.00836 | |x| ≤ 0.0188 | 45 % | ✓ pass |
| Density L1 error, 800 cellskey | 0.00428 | |x| ≤ 0.0146 | 29 % | ✓ pass |
| Observed order, 100 to 200 cells | 0.686 | ≥ 0.6 | 87 % | ✓ pass |
| Observed order, 200 to 400 cells | 0.902 | ≥ 0.6 | 67 % | ✓ pass |
| Observed order, 400 to 800 cells | 0.965 | ≥ 0.6 | 62 % | ✓ pass |
Setup and reproducibility
- Grid and numerics
- 1D on [0, 1], u = -4 and +4, rho 1, p 0.4, gamma 1.4, t = 0.1, 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, vacuum, euler equations
- Run date
References
- 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


