Skip to content
DimensionLab

KazeMHDCPU · f64

Field-loop advection with constrained transport: magnetic-energy loss after two orbits

Kaze advects the Gardiner-Stone field loop with constrained transport, losing 21% of the magnetic energy over two orbits at 128x64 cells (gate 23%), with the loss at 0.42 of its 64x32 value (gate 0.6), peak field 0.086 above the initial one (gate 0.2) and div B at 3.5e-15; CPU, f64, 2026-11-15.

|B| after two orbits
Pass
4 of 4 gates met
0.209Magnetic-energy loss after two orbits, 128x64 cells · gate |x| ≤ 0.23
91 %
Reference
T. A. Gardiner
Hardware
AMD EPYC Genoa server CPU, 4 vCPU
Solver version
Kaze 0.1.0+b31fa800
Grid
2D periodic 128 x 64 and 64 x 32 cells, velocity (2, 1), t = 2

Results

Figures from the run.

Magnetic energy decay, resolutions and EMF variants

Magnetic energy decay, resolutions and EMF variants

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 after two orbits, 128x64 cellskey0.209|x| ≤ 0.2391 %✓ pass
Loss ratio, 128x64 over 64x32 cells0.415|x| ≤ 0.669 %✓ pass
Largest field magnitude over the initial one1.091 ± 0.243 %✓ pass
Largest relative divergence of B3.5e-15|x| ≤ 1e-12<1 %✓ pass

Setup and reproducibility

Grid and numerics
2D periodic 128 x 64 and 64 x 32 cells, velocity (2, 1), t = 2; PLM, HLLD, constrained transport, VL2
Solver
Kaze 0.1.0+b31fa800
Hardware
AMD EPYC Genoa server CPU, 4 vCPU
Precision
f64
Code revision
b31fa80068ba
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