Resistive magnetic reconnection (GEM Harris sheet): flux gain against Athena++
Kaze reproduces Athena++ v24.0 on resistive reconnection of a Harris current sheet (GEM challenge setup, Birn et al. 2001): reconnected flux gain agrees at t = 10 to 40, with a difference at most 0.27 of the allowed bound at 256 x 128 cells (gate 1) and div B 2.4e-14 (gate 1e-12); CPU, f64, 2026-11-22.

- Reference
- J. Birn
- Hardware
- AMD EPYC Genoa server CPU, one thread
- Solver version
- Kaze 0.1.0+4f07b975
- Grid
- 2D, x in [-12.8, 12.8] periodic, y in [-6.4, 6.4] outflow
Results
Figures from the run.
Reconnected flux, 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.
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| Flux gain difference from Athena++ relative to the allowed difference, t = 10, 256 x 128 cells | 0.0179 | |x| ≤ 1 | 2 % | ✓ pass |
| Kaze reconnected flux gain, t = 10, 256 x 128 cells | 0.0204 | not gated | reported only | reported |
| Athena++ reconnected flux gain, t = 10, 256 x 128 cells | 0.0204 | not gated | reported only | reported |
| Flux gain difference from Athena++ relative to the allowed difference, t = 20, 256 x 128 cells | 0.073 | |x| ≤ 1 | 7 % | ✓ pass |
| Kaze reconnected flux gain, t = 20, 256 x 128 cells | 0.116 | not gated | reported only | reported |
| Athena++ reconnected flux gain, t = 20, 256 x 128 cells | 0.116 | not gated | reported only | reported |
| Flux gain difference from Athena++ relative to the allowed difference, t = 30, 256 x 128 cells | 0.164 | |x| ≤ 1 | 16 % | ✓ pass |
| Kaze reconnected flux gain, t = 30, 256 x 128 cells | 0.233 | not gated | reported only | reported |
| Athena++ reconnected flux gain, t = 30, 256 x 128 cells | 0.233 | not gated | reported only | reported |
| Flux gain difference from Athena++ relative to the allowed difference, t = 40, 256 x 128 cellskey | 0.268 | |x| ≤ 1 | 27 % | ✓ pass |
| Kaze reconnected flux gain, t = 40, 256 x 128 cells | 0.324 | not gated | reported only | reported |
| Athena++ reconnected flux gain, t = 40, 256 x 128 cells | 0.325 | not gated | reported only | reported |
| Flux gain difference from Athena++ relative to the allowed difference, t = 10, 512 x 256 cells | 0.0085 | |x| ≤ 1 | <1 % | ✓ pass |
| Kaze reconnected flux gain, t = 10, 512 x 256 cells | 0.0187 | not gated | reported only | reported |
| Athena++ reconnected flux gain, t = 10, 512 x 256 cells | 0.0187 | not gated | reported only | reported |
| Flux gain difference from Athena++ relative to the allowed difference, t = 20, 512 x 256 cells | 0.00305 | |x| ≤ 1 | <1 % | ✓ pass |
| Kaze reconnected flux gain, t = 20, 512 x 256 cells | 0.113 | not gated | reported only | reported |
| Athena++ reconnected flux gain, t = 20, 512 x 256 cells | 0.113 | not gated | reported only | reported |
| Flux gain difference from Athena++ relative to the allowed difference, t = 30, 512 x 256 cells | 0.00686 | |x| ≤ 1 | <1 % | ✓ pass |
| Kaze reconnected flux gain, t = 30, 512 x 256 cells | 0.231 | not gated | reported only | reported |
| Athena++ reconnected flux gain, t = 30, 512 x 256 cells | 0.231 | not gated | reported only | reported |
| Flux gain difference from Athena++ relative to the allowed difference, t = 40, 512 x 256 cells | 0.0235 | |x| ≤ 1 | 2 % | ✓ pass |
| Kaze reconnected flux gain, t = 40, 512 x 256 cells | 0.321 | not gated | reported only | reported |
| Athena++ reconnected flux gain, t = 40, 512 x 256 cells | 0.321 | not gated | reported only | reported |
| Largest relative divergence of the magnetic field | 2.43e-14 | |x| ≤ 1e-12 | 2 % | ✓ pass |
Setup and reproducibility
- Grid and numerics
- 2D, x in [-12.8, 12.8] periodic, y in [-6.4, 6.4] outflow; 256 x 128 and 512 x 256 cells, t = 40; PLM, HLLD, VL2, constrained transport, resistivity 0.005, CFL 0.4
- Solver
- Kaze 0.1.0+4f07b975
- Hardware
- AMD EPYC Genoa server CPU, one thread
- Precision
- f64
- Code revision
- 4f07b975dfe9
- Physics
- MHD · magnetic reconnection, harris sheet, resistive mhd
- Run date
References
- Published benchmark
J. Birn, J. F. Drake, M. A. Shay, B. N. Rogers, R. E. Denton, M. Hesse, M. Kuznetsova, Z. W. Ma, A. Bhattacharjee, A. Otto, P. L. Pritchett, Geospace Environmental Modeling (GEM) magnetic reconnection challenge, J. Geophys. Res. 106 (2001) 3715-3719
doi:10.1029/1999ja900449 - 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
doi:10.3847/1538-4365/ab929b


