Skip to content
DimensionLab

KazeCompressible flowCPU · f64

Kelvin-Helmholtz instability (McNally et al. 2012): mode growth against the reference solution

Kaze follows the growth of the Kelvin-Helmholtz mode in McNally, Lyra & Passy's well-posed test to within 0.12 % of their 4096^2 reference over t 0-1.5 on 512^2 cells (bound 0.73 %, the published Athena result at 256^2); pass. CPU, f64.

Density at t = 1.5 on 512^2 (the judged run's final state)
Pass
4 of 4 gates met
0.00123Mode amplitude, largest relative deviation over t <= 1.5 (512^2) · gate 0 ± 0.00728
17 %
Reference
C. P. McNally
Hardware
AMD EPYC Genoa server CPU
Solver version
Kaze 0.1.0+dee131c8
Grid
Periodic unit square at 128^2, 256^2 and 512^2 cells (512^2 judged)

Results

Figures from the run.

Mode amplitude against the paper's reference solution

Mode amplitude against the paper's reference solution

Relative deviation of the mode amplitude from the reference, with the bound (128^2 omitted: up to 6 %)

Relative deviation of the mode amplitude from the reference, with the bound (128^2 omitted: up to 6 %)

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
Mode amplitude, largest relative deviation over t <= 1.5 (512^2)key0.001230 ± 0.0072817 %✓ pass
Mass, momentum and energy drift (128^2)1.52e-140 ± 1e-10<1 %✓ pass
Mass, momentum and energy drift (256^2)7.38e-140 ± 1e-10<1 %✓ pass
Mass, momentum and energy drift (512^2)1.81e-130 ± 1e-10<1 %✓ pass
Mode amplitude, largest relative deviation (128^2, reported)0.0616not gatedreported onlyreported
Mode amplitude, largest relative deviation (256^2, reported)0.00912not gatedreported onlyreported
Mode amplitude relative deviation at t = 1.5 (128^2, reported)-0.0555not gatedreported onlyreported
Mode amplitude relative deviation at t = 1.5 (256^2, reported)-0.00874not gatedreported onlyreported
Mode amplitude relative deviation at t = 1.5 (512^2, reported)-0.00123not gatedreported onlyreported
Published Athena at 256^2, largest relative deviation (the bound's source)0.00728not gatedreported onlyreported
Published Athena at 512^2, largest relative deviation (context)0.0016not gatedreported onlyreported
Published Pencil at 512^2, largest relative deviation (context)1.94e-4not gatedreported onlyreported

Setup and reproducibility

Grid and numerics
Periodic unit square at 128^2, 256^2 and 512^2 cells (512^2 judged); PLM reconstruction, HLLC flux, VL2 time stepping, CFL 0.4, t from 0 to 1.5
Solver
Kaze 0.1.0+dee131c8
Hardware
AMD EPYC Genoa server CPU
Precision
f64
Code revision
dee131c8ae79
Physics
Compressible flow · kelvin-helmholtz, shear layer, instability growth, euler equations
Run date

References

  • Published benchmark

    C. P. McNally, W. Lyra, J.-C. Passy, A well-posed Kelvin-Helmholtz instability test and comparison, Astrophys. J. Suppl. 201 (2012) 18 (Figs. 4 and 7)

    doi:10.1088/0067-0049/201/2/18