Skip to content
DimensionLab

KazeMHDCPU · f64

MHD blast wave: positivity with flux correction, conservation and div B

Kaze completes the Gardiner and Stone (2005) MHD blast wave (plasma beta 0.2, pressure jump 100) with every state physical, using first-order flux correction in 2 cell updates; conservation drift 1.3e-13 and div B 1.8e-14 (gates 1e-12); without the correction the run stops; CPU, f64, 2026-11-15.

Density at t = 0.2
Pass
4 of 4 gates met
1.31e-13Largest conservation drift relative to the total energy · gate |x| ≤ 1e-12
13 %
Reference
T. A. Gardiner
Hardware
AMD EPYC Genoa server CPU, 4 vCPU
Solver version
Kaze 0.1.0+5cd3e93b
Grid
2D 100 x 150 periodic, plasma beta 0.2, pressure jump 100, t = 0.2

Results

Figures from the run.

Conservation drift per total

Conservation drift per total

Pressure at t = 0.2

Pressure at t = 0.2

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
Largest conservation drift relative to the total energykey1.31e-13|x| ≤ 1e-1213 %✓ pass
Largest relative divergence of the magnetic field1.8e-14|x| ≤ 1e-122 %✓ pass
Cell updates replaced by first-order flux correction2> 0–✓ pass
Run without flux correction stops on a non-physical state (1 = stopped)1≥ 1100 %✓ pass

Setup and reproducibility

Grid and numerics
2D 100 x 150 periodic, plasma beta 0.2, pressure jump 100, t = 0.2; PLM, HLLD, constrained transport, VL2, first-order flux correction
Solver
Kaze 0.1.0+5cd3e93b
Hardware
AMD EPYC Genoa server CPU, 4 vCPU
Precision
f64
Code revision
5cd3e93b1148
Physics
MHD · blast wave, strong shock, positivity
Run date

References

  • Published benchmark

    T. A. Gardiner, J. M. Stone, An unsplit Godunov method for ideal MHD via constrained transport, J. Comput. Phys. 205 (2005) 509-539

    doi:10.1016/j.jcp.2004.11.016