KazeCompressible flowCPU · f64
Sod shock tube: density against the exact Riemann solution
Kaze reproduces the Sod (1978) shock tube with a density L1 error of 4.1e-3 at 100 cells (gate 1.32e-2, derived from the Athena++ regression threshold) and converges at observed orders 0.76 to 0.94 up to 800 cells (gate 0.737); CPU, f64, 2026-11-15.

- Reference
- G. A. Sod
- Hardware
- AMD EPYC Genoa server CPU, 4 vCPU
- Solver version
- Kaze 0.1.0+b31fa800
- Grid
- 1D on [0, 1], 100, 200, 400 and 800 cells
Results
Every chart is drawn from the run's own numbers: hover for values, drag to zoom, toggle series in the legend, or download the data as CSV. Field views switch between 2D and a 3D surface.
Density along the tube
Kaze | Sod shock tube, density at t = 0.2, 400 cells

Density vs the exact solution
Kaze | Sod density, 400 cells: L1 1.28e-03 (gate 4.75e-03)
Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.
L1 error vs resolution with the gate
Kaze | Sod L1 convergence, orders 0.76 / 0.92 / 0.94
Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.
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 cellskey | 0.0041 | |x| ≤ 0.0132 | 31 % | ✓ pass |
| Density L1 error, 200 cells | 0.00242 | |x| ≤ 0.00792 | 31 % | ✓ pass |
| Density L1 error, 400 cells | 0.00128 | |x| ≤ 0.00475 | 27 % | ✓ pass |
| Density L1 error, 800 cells | 6.68e-4 | |x| ≤ 0.00285 | 23 % | ✓ pass |
| Observed order, 100 to 200 cells | 0.761 | ≥ 0.737 | 97 % | ✓ pass |
| Observed order, 200 to 400 cells | 0.915 | ≥ 0.737 | 81 % | ✓ pass |
| Observed order, 400 to 800 cells | 0.941 | ≥ 0.737 | 78 % | ✓ pass |
Setup and reproducibility
- Grid and numerics
- 1D on [0, 1], 100, 200, 400 and 800 cells; PLM reconstruction, HLLC flux, VL2 time stepping, first-order flux correction, CFL 0.8
- Solver
- Kaze 0.1.0+b31fa800
- Hardware
- AMD EPYC Genoa server CPU, 4 vCPU
- Precision
- f64
- Code revision
- b31fa80068ba
- Physics
- Compressible flow · riemann problem, shock tube, euler equations
- Run date
References
- Published benchmark
G. A. Sod, A survey of several finite difference methods for systems of nonlinear hyperbolic conservation laws, J. Comput. Phys. 27 (1978) 1-31
doi:10.1016/0021-9991(78)90023-2In 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


