Skip to content
DimensionLab

KazeMHDCPU · f64

Brio-Wu MHD shock tube: density error against Athena++

Kaze matches Athena++ v24.0 on the Brio-Wu MHD shock tube: density L1 errors against a fine Athena++ reference are equal to 0.1% at 200, 400 and 800 cells, giving error-bound ratios of 0.94, 0.87 and 0.93 (gate 1); CPU, f64, 2026-11-21.

Density along the tube
Pass
3 of 3 gates met
0.869Error-bound ratio against Athena++, 400 cells (pass at or below 1) · gate |x| ≤ 1
87 %
Reference
M. Brio
Hardware
AMD EPYC Genoa server CPU, one thread
Solver version
Kaze 0.1.0+cdaf0423
Grid
1D on [0, 1], gamma 2, Bx 0.75, t = 0.1, 100 to 800 cells

Results

Figures from the run.

Density vs the Athena++ reference

Density vs the Athena++ reference

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.

MetricValueGateAllowance usedResult
100 cells: not judged (no Athena++ reference run at this resolution)0not gatedreported onlyreported
Error-bound ratio against Athena++, 200 cells (pass at or below 1)0.938|x| ≤ 194 %✓ pass
Kaze density L1 difference from the Athena++ reference, 200 cells0.00567not gatedreported onlyreported
Athena++ density L1 difference from its reference, 200 cells0.00567not gatedreported onlyreported
Spread of the Athena++ reference, 200 cells2.25e-4not gatedreported onlyreported
Same error-bound ratio from a GPU run, 200 cells (reported only)0.938not gatedreported onlyreported
Error-bound ratio against Athena++, 400 cells (pass at or below 1)key0.869|x| ≤ 187 %✓ pass
Kaze density L1 difference from the Athena++ reference, 400 cells0.0034not gatedreported onlyreported
Athena++ density L1 difference from its reference, 400 cells0.0034not gatedreported onlyreported
Spread of the Athena++ reference, 400 cells6.94e-5not gatedreported onlyreported
Same error-bound ratio from a GPU run, 400 cells (reported only)0.869not gatedreported onlyreported
Error-bound ratio against Athena++, 800 cells (pass at or below 1)0.928|x| ≤ 193 %✓ pass
Kaze density L1 difference from the Athena++ reference, 800 cells0.00189not gatedreported onlyreported
Athena++ density L1 difference from its reference, 800 cells0.00189not gatedreported onlyreported
Spread of the Athena++ reference, 800 cells7e-5not gatedreported onlyreported
Same error-bound ratio from a GPU run, 800 cells (reported only)0.928not gatedreported onlyreported

Setup and reproducibility

Grid and numerics
1D on [0, 1], gamma 2, Bx 0.75, t = 0.1, 100 to 800 cells; PLM, HLLD, VL2, CFL 0.3; reference Athena++ at 8000 cells (200 cells) and 32000 cells (400 and 800 cells)
Solver
Kaze 0.1.0+cdaf0423
Hardware
AMD EPYC Genoa server CPU, one thread
Precision
f64
Code revision
cdaf0423953c
Physics
MHD · shock tube, ideal mhd, riemann problem
Run date

References

  • Published benchmark

    M. Brio, C. C. Wu, An upwind differencing scheme for the equations of ideal magnetohydrodynamics, J. Comput. Phys. 75 (1988) 400-422

    doi:10.1016/0021-9991(88)90120-9In the Physics Atlas
  • Third-party code · reference, not our solver

    J. M. Stone, K. Tomida, C. J. White, K. G. Felker, The Athena++ Adaptive Mesh Refinement Framework: Design and Magnetohydrodynamic Solvers, Astrophys. J. Suppl. Ser. 249 (2020) 4 (reference runs, v24.0, 8000 and 32000 cells)

    doi:10.3847/1538-4365/ab929b