Skip to content
DimensionLab

KazeMHDCPU · f64

Field-loop advection: magnetic-energy loss against Athena++ and the exact field

Kaze matches Athena++ v24.0 on the Gardiner-Stone field-loop advection: magnetic-energy loss after two orbits is equal at 0.50, 0.21 and 0.11 on 64x32, 128x64 and 256x128 cells, both error figures of merit are 0.8 (gate 1) and div B stays below 7e-15; CPU, f64, 2026-11-21.

|B| at t = 2
Pass
9 of 9 gates met
0.8Magnetic-energy loss, Kaze over 1.25 times Athena++, 256x128 cells (pass at or below 1) · gate |x| ≤ 1
80 %
Reference
T. A. Gardiner
Hardware
AMD EPYC Genoa server CPU, one thread
Solver version
Kaze 0.1.0+cdaf0423
Grid
2D periodic [-1, 1] x [-0.5, 0.5], velocity (2, 1, 2), loop…

Results

Figures from the run.

Loss and field error relative to Athena++, with the bound

Loss and field error relative to Athena++, with the bound

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 loss, Kaze over 1.25 times Athena++, 64x32 cells (pass at or below 1)0.8|x| ≤ 180 %✓ pass
Field error against the exact loop, Kaze over 1.25 times Athena++, 64x32 cells (pass at or below 1)0.8|x| ≤ 180 %✓ pass
Largest relative divergence of B, 64x32 cells3.05e-15|x| ≤ 1e-12<1 %✓ pass
Magnetic-energy loss after two orbits, Kaze, 64x32 cells0.503not gatedreported onlyreported
Magnetic-energy loss after two orbits, Athena++, 64x32 cells0.503not gatedreported onlyreported
Magnetic-energy loss, Kaze over 1.25 times Athena++, 128x64 cells (pass at or below 1)0.8|x| ≤ 180 %✓ pass
Field error against the exact loop, Kaze over 1.25 times Athena++, 128x64 cells (pass at or below 1)0.8|x| ≤ 180 %✓ pass
Largest relative divergence of B, 128x64 cells4.16e-15|x| ≤ 1e-12<1 %✓ pass
Magnetic-energy loss after two orbits, Kaze, 128x64 cells0.209not gatedreported onlyreported
Magnetic-energy loss after two orbits, Athena++, 128x64 cells0.209not gatedreported onlyreported
Magnetic-energy loss, Kaze over 1.25 times Athena++, 256x128 cells (pass at or below 1)key0.8|x| ≤ 180 %✓ pass
Field error against the exact loop, Kaze over 1.25 times Athena++, 256x128 cells (pass at or below 1)0.8|x| ≤ 180 %✓ pass
Largest relative divergence of B, 256x128 cells6.83e-15|x| ≤ 1e-12<1 %✓ pass
Magnetic-energy loss after two orbits, Kaze, 256x128 cells0.11not gatedreported onlyreported
Magnetic-energy loss after two orbits, Athena++, 256x128 cells0.11not gatedreported onlyreported

Setup and reproducibility

Grid and numerics
2D periodic [-1, 1] x [-0.5, 0.5], velocity (2, 1, 2), loop amplitude 1e-3, radius 0.3, t = 2, 64x32 to 256x128 cells; PLM, HLLD, constrained transport, VL2, CFL 0.4
Solver
Kaze 0.1.0+cdaf0423
Hardware
AMD EPYC Genoa server CPU, one thread
Precision
f64
Code revision
cdaf0423953c
Physics
MHD · field loop, advection, constrained transport, ideal mhd
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 (field-loop reference runs, v24.0)

    doi:10.3847/1538-4365/ab929b