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.

- 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

Resistive Gaussian, Kaze and exact

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.
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| Viscous order gate: 1.99 divided by observed order (pass at or below 1) | 0.995 | |x| ≤ 1 | 100 % | ✓ pass |
| Viscous diffusion: observed order, 256 to 512 cellskey | 2 | ≥ 1.99 | 100 % | ✓ pass |
| Resistive order gate: 1.99 divided by observed order (pass at or below 1) | 0.996 | |x| ≤ 1 | 100 % | ✓ pass |
| Resistive diffusion: observed order, 256 to 512 cells | 2 | ≥ 1.99 | 100 % | ✓ pass |
| Thermal damping rate: relative error, 16 cells per wavelength | 0.357 | |x| ≤ 0.38 | 94 % | ✓ pass |
| Thermal damping rate fitted, 16 cells per wavelength | 0.328 | not gated | reported only | reported |
| Thermal damping rate: relative error, 32 cells per wavelength | 0.0767 | |x| ≤ 0.1 | 77 % | ✓ pass |
| Thermal damping rate fitted, 32 cells per wavelength | 0.228 | not gated | reported only | reported |
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


