Skip to content
DimensionLab

KazeCompressible flowCPU · f64

Viscous, resistive and thermal diffusion against exact solutions (Athena++ diffusion tests)

Kaze reproduces viscous and resistive diffusion of Gaussians with observed orders 2.00 and 2.00 from 256 to 512 cells (gate 1.99) and the thermal damping of a sound wave within 7.7% of theory at 32 cells per wavelength (gate 10%), following the Athena++ diffusion tests; CPU, f64, 2026-11-22.

Kaze v_y as a colour band
Pass
6 of 6 gates met
2Viscous diffusion: observed order, 256 to 512 cells · gate ≥ 1.99
100 %
Reference
Exact solutions of the diffusion equation for a Gaussian
Hardware
AMD EPYC Genoa server CPU, one thread
Solver version
Kaze 0.1.0+4f07b975
Grid
1D [-6, 6] with outflow sides, Gaussians of amplitude 1e-6, nu =…

Results

Figures from the run.

Viscous Gaussian, Kaze and exact

Viscous Gaussian, Kaze and exact

Resistive Gaussian, Kaze and exact

Resistive Gaussian, Kaze and exact

Sound-wave amplitude against the expected decay

Sound-wave amplitude against the expected decay

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
Viscous order gate: 1.99 divided by observed order (pass at or below 1)0.995|x| ≤ 1100 %✓ pass
Viscous diffusion: observed order, 256 to 512 cellskey2≥ 1.99100 %✓ pass
Resistive order gate: 1.99 divided by observed order (pass at or below 1)0.996|x| ≤ 1100 %✓ pass
Resistive diffusion: observed order, 256 to 512 cells2≥ 1.99100 %✓ pass
Thermal damping rate: relative error, 16 cells per wavelength0.357|x| ≤ 0.3894 %✓ pass
Thermal damping rate fitted, 16 cells per wavelength0.328not gatedreported onlyreported
Thermal damping rate: relative error, 32 cells per wavelength0.0767|x| ≤ 0.177 %✓ pass
Thermal damping rate fitted, 32 cells per wavelength0.228not gatedreported onlyreported

Setup and reproducibility

Grid and numerics
1D [-6, 6] with outflow sides, Gaussians of amplitude 1e-6, nu = eta = 0.25, 256 and 512 cells (resistive: MHD strip); sound wave of wavelength 1, 16 and 32 cells; PLM, HLLC or HLLD, VL2
Solver
Kaze 0.1.0+4f07b975
Hardware
AMD EPYC Genoa server CPU, one thread
Precision
f64
Code revision
4f07b975dfe9
Physics
Compressible flow · diffusion, viscosity, resistivity, heat conduction
Run date

References

  • Analytic solution

    Exact solutions of the diffusion equation for a Gaussian (viscous and resistive) and the thermal attenuation of a sound wave, as set in the Athena++ diffusion regression tests: J. M. Stone, K. Tomida, C. J. White, K. G. Felker, Astrophys. J. Suppl. Ser. 249 (2020) 4

    doi:10.3847/1538-4365/ab929b