Skip to content
DimensionLab

KazeMHDCPU · f64

Gardiner-Stone current sheet: magnetic energy against Athena++

Kaze runs the Gardiner-Stone current sheet stably to t = 10 (div B 1.8e-14) and matches the Athena++ magnetic energy within 0.7% up to t = 6, but fails at t = 8 and 10 where Athena++ reconnects and Kaze has not yet (4.4 times the bound at t = 10, 256^2 cells); CPU, f64, 2026-11-22.

Kaze density
Failed
8 of 12 gates met
4.42Magnetic energy difference from Athena++ over its bound, 256^2 cells, t = 10 · gate |x| ≤ 1
442 %

Robustness passes: all runs reach t = 10 with physical states and div B is 1.8e-14. Magnetic energy agrees with Athena++ at t = 2, 4 and 6 (difference 0.12 to 0.75 of its bound) and fails at t = 8 and 10 (3.5 and 8.8 times the bound at 128^2 cells, 2.0 and 4.4 times at 256^2), because Athena++ reconnects between t = 6 and 10 and Kaze does not yet.

Reference
T. A. Gardiner
Hardware
AMD EPYC Genoa server CPU, one thread
Solver version
Kaze 0.1.0+4f07b975
Grid
2D [0, 2]^2 periodic, density 1, pressure 0.1, B_y = +-1, v_x = 0.1…

Results

Figures from the run.

Magnetic energy, Kaze and Athena++

Magnetic energy, Kaze and Athena++

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
Magnetic energy difference from Athena++ over its bound, 128^2 cells, t = 20.124|x| ≤ 112 %✓ pass
Magnetic energy, Kaze, 128^2 cells, t = 21.83not gatedreported onlyreported
Magnetic energy, Athena++, 128^2 cells, t = 21.83not gatedreported onlyreported
Magnetic energy difference from Athena++ over its bound, 128^2 cells, t = 40.75|x| ≤ 175 %✓ pass
Magnetic energy, Kaze, 128^2 cells, t = 41.77not gatedreported onlyreported
Magnetic energy, Athena++, 128^2 cells, t = 41.75not gatedreported onlyreported
Magnetic energy difference from Athena++ over its bound, 128^2 cells, t = 60.664|x| ≤ 166 %✓ pass
Magnetic energy, Kaze, 128^2 cells, t = 61.72not gatedreported onlyreported
Magnetic energy, Athena++, 128^2 cells, t = 61.71not gatedreported onlyreported
Magnetic energy difference from Athena++ over its bound, 128^2 cells, t = 83.5|x| ≤ 1350 %✕ fail
Magnetic energy, Kaze, 128^2 cells, t = 81.7not gatedreported onlyreported
Magnetic energy, Athena++, 128^2 cells, t = 81.62not gatedreported onlyreported
Magnetic energy difference from Athena++ over its bound, 128^2 cells, t = 108.77|x| ≤ 1877 %✕ fail
Magnetic energy, Kaze, 128^2 cells, t = 101.69not gatedreported onlyreported
Magnetic energy, Athena++, 128^2 cells, t = 101.55not gatedreported onlyreported
Magnetic energy difference from Athena++ over its bound, 256^2 cells, t = 20.275|x| ≤ 127 %✓ pass
Magnetic energy, Kaze, 256^2 cells, t = 21.84not gatedreported onlyreported
Magnetic energy, Athena++, 256^2 cells, t = 21.84not gatedreported onlyreported
Magnetic energy difference from Athena++ over its bound, 256^2 cells, t = 40.354|x| ≤ 135 %✓ pass
Magnetic energy, Kaze, 256^2 cells, t = 41.75not gatedreported onlyreported
Magnetic energy, Athena++, 256^2 cells, t = 41.75not gatedreported onlyreported
Magnetic energy difference from Athena++ over its bound, 256^2 cells, t = 60.233|x| ≤ 123 %✓ pass
Magnetic energy, Kaze, 256^2 cells, t = 61.73not gatedreported onlyreported
Magnetic energy, Athena++, 256^2 cells, t = 61.73not gatedreported onlyreported
Magnetic energy difference from Athena++ over its bound, 256^2 cells, t = 82.05|x| ≤ 1205 %✕ fail
Magnetic energy, Kaze, 256^2 cells, t = 81.72not gatedreported onlyreported
Magnetic energy, Athena++, 256^2 cells, t = 81.57not gatedreported onlyreported
Magnetic energy difference from Athena++ over its bound, 256^2 cells, t = 10key4.42|x| ≤ 1442 %✕ fail
Magnetic energy, Kaze, 256^2 cells, t = 101.71not gatedreported onlyreported
Magnetic energy, Athena++, 256^2 cells, t = 101.54not gatedreported onlyreported
Runs that did not reach t = 10 with physical states00 ± 0–✓ pass
Largest relative divergence of B1.79e-14|x| ≤ 1e-122 %✓ pass

Setup and reproducibility

Grid and numerics
2D [0, 2]^2 periodic, density 1, pressure 0.1, B_y = +-1, v_x = 0.1 cos(pi y), gamma 5/3, t = 10, 64^2 to 256^2 cells; PLM, HLLD, VL2, constrained transport, CFL 0.4
Solver
Kaze 0.1.0+4f07b975
Hardware
AMD EPYC Genoa server CPU, one thread
Precision
f64
Code revision
4f07b975dfe9
Physics
MHD · current sheet, reconnection, ideal mhd, constrained transport
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
  • 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, 128^2 to 512^2 cells)

    doi:10.3847/1538-4365/ab929b