Skip to content
DimensionLab

KazeMHDCPU · f64

MHD linear waves: fast, Alfven, slow and entropy modes

Kaze propagates all four ideal-MHD linear waves for one period with second-order convergence (observed orders 1.92 to 2.06, gate 1.8; error ratio 32 to 64 cells 0.33 to 0.39, Athena++ gate 0.4) and, with the MC limiter, below the Athena++ absolute error thresholds; CPU, f64, 2026-11-15.

x 0 – 2.24y 0 – 1.12
(rho - 1) / 1e-6-0.4370.437
Pass
17 of 17 gates met
0.332Fast wave: error ratio 32 to 64 cells · gate |x| ≤ 0.4
83 %
Reference
J. M. Stone et al.
Hardware
AMD EPYC Genoa server CPU, 4 vCPU
Solver version
Kaze 0.1.0+5cd3e93b
Grid
2D periodic sqrt(5) x sqrt(5)/2, wave along the diagonal, n x n/2…

Results

Every chart is drawn from the run's own numbers: hover for values, drag to zoom, toggle series in the legend, or download the data as CSV. Field views switch between 2D and a 3D surface.

Fast-wave density perturbation

Kaze | Fast magnetosonic wave after one period, (rho - 1) / 1e-6, 128 x 64

x 0 – 2.24y 0 – 1.12
(rho - 1) / 1e-6-0.4370.437
Static image (PNG)

Fast wave along a row vs exact

Kaze | Fast wave after one period vs exact, row y = 0.568, 128 x 64

-0.5-0.2500.250.5(rho - 1) / 1e-6-0.0100.0100.511.52differencex

Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.

Static image (PNG)

Error vs resolution, four waves

Kaze | MHD linear waves, RMS-L1 vs resolution, orders 64 -> 128 1.92-2.06

1×10⁻⁸1×10⁻⁷50100RMS-L1 errorn (cells along x)

Hover to read values · drag to zoom · double-click to reset · click a legend entry to hide it.

Static image (PNG)

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
Fast wave: error ratio 32 to 64 cellskey0.332|x| ≤ 0.483 %✓ pass
Fast wave: observed order, 64 to 128 cells2.06≥ 1.887 %✓ pass
Fast wave: RMS error, 64 cells (regression bound)5.11e-8|x| ≤ 5.62e-891 %✓ pass
Alfven wave: error ratio 32 to 64 cells0.389|x| ≤ 0.497 %✓ pass
Alfven wave: observed order, 64 to 128 cells2.02≥ 1.889 %✓ pass
Alfven wave: RMS error, 64 cells (regression bound)5e-8|x| ≤ 5.5e-891 %✓ pass
Slow wave: error ratio 32 to 64 cells0.348|x| ≤ 0.487 %✓ pass
Slow wave: observed order, 64 to 128 cells1.92≥ 1.894 %✓ pass
Slow wave: RMS error, 64 cells (regression bound)6.72e-8|x| ≤ 7.39e-891 %✓ pass
Entropy wave: error ratio 32 to 64 cells0.365|x| ≤ 0.491 %✓ pass
Entropy wave: observed order, 64 to 128 cells1.96≥ 1.892 %✓ pass
Entropy wave: RMS error, 64 cells (regression bound)3.83e-8|x| ≤ 4.22e-891 %✓ pass
Fast wave: RMS error, 64 cells, MC limiter1.73e-8|x| ≤ 4.5e-838 %✓ pass
Alfven wave: RMS error, 64 cells, MC limiter1.87e-8|x| ≤ 4e-847 %✓ pass
Slow wave: RMS error, 64 cells, MC limiter2.65e-8|x| ≤ 5e-853 %✓ pass
Entropy wave: RMS error, 64 cells, MC limiter2.27e-8|x| ≤ 2.75e-882 %✓ pass
Fast wave: left- and right-going difference4.1e-16|x| ≤ 1e-144 %✓ pass

Setup and reproducibility

Grid and numerics
2D periodic sqrt(5) x sqrt(5)/2, wave along the diagonal, n x n/2 cells for n = 32, 64, 128; amplitude 1e-6, CFL 0.4
Solver
Kaze 0.1.0+5cd3e93b
Hardware
AMD EPYC Genoa server CPU, 4 vCPU
Precision
f64
Code revision
5cd3e93b1148
Physics
MHD · linear waves, convergence order, ideal mhd
Run date

References

  • Published benchmark

    J. M. Stone et al., Athena: a new code for astrophysical MHD, Astrophys. J. Suppl. 178 (2008) 137-177 (linear wave convergence test)

    doi:10.1086/588755
  • Third-party code · reference, not our solver

    J. M. Stone et al., The Athena++ adaptive mesh refinement framework, Astrophys. J. Suppl. 249 (2020) 4 (regression-test error thresholds)

    doi:10.3847/1538-4365/ab929b