Skip to content
DimensionLab

KazeCompressible flowCPU · f64

Gresho vortex: azimuthal velocity against the steady solution

Kaze does not meet the convergence gate on the Gresho vortex (Gresho and Chan 1990, as posed by Liska and Wendroff 2003): the observed order from 64 to 128 cells is 0.80 (gate >= 1.0), although the azimuthal velocity L1 error, 8.2e-3 at 128^2, stays below the first-order bound; CPU, f64, 2026-11-20.

Azimuthal velocity at t = 3
Failed
4 of 5 gates met
0.796Observed order, 64 to 128 cells · gate ≥ 1
126 %

The azimuthal velocity L1 error is below its first-order bound at 32^2, 64^2 and 128^2 (4.5e-2, 1.4e-2, 8.2e-3) and the order from 32 to 64 cells is 1.65, but the order from 64 to 128 cells is 0.80 against a gate of 1.0. The bound was kept as set before the run. Kinetic energy kept at t = 3 is 0.77, 0.95 and 0.99 of the initial value.

Reference
P. M. Gresho
Hardware
AMD EPYC Genoa server CPU, one thread
Solver version
Kaze 0.1.0+75102836
Grid
2D periodic unit square, gamma 1.4, t = 3, 32^2, 64^2 and 128^2 cells

Results

Figures from the run.

v_phi against radius

v_phi against radius

L1 error vs resolution

L1 error vs resolution

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
Azimuthal velocity L1 error, 32^2 cells0.0447|x| ≤ 0.23419 %✓ pass
Azimuthal velocity L1 error, 64^2 cells0.0142|x| ≤ 0.226 %✓ pass
Azimuthal velocity L1 error, 128^2 cells0.0082|x| ≤ 0.1765 %✓ pass
Observed order, 32 to 64 cells1.65≥ 161 %✓ pass
Observed order, 64 to 128 cellskey0.796≥ 1126 %✕ fail
Kinetic energy at t = 3 relative to the start, 32^2 cells0.772not gatedreported onlyreported
Kinetic energy at t = 3 relative to the start, 64^2 cells0.954not gatedreported onlyreported
Kinetic energy at t = 3 relative to the start, 128^2 cells0.991not gatedreported onlyreported

Setup and reproducibility

Grid and numerics
2D periodic unit square, gamma 1.4, t = 3, 32^2, 64^2 and 128^2 cells; PLM (van Leer), HLLC, VL2, first-order flux correction, CFL 0.4
Solver
Kaze 0.1.0+75102836
Hardware
AMD EPYC Genoa server CPU, one thread
Precision
f64
Code revision
75102836f7ae
Physics
Compressible flow · gresho vortex, low mach, steady vortex
Run date

References

  • Analytic solution

    P. M. Gresho, S. T. Chan, On the theory of semi-implicit projection methods for viscous incompressible flow and its implementation via a finite element method that also introduces a nearly consistent mass matrix. Part 2: Implementation, Int. J. Numer. Methods Fluids 11 (1990) 621-659

    doi:10.1002/fld.1650110510In the Physics Atlas
  • Published benchmark

    R. Liska, B. Wendroff, Comparison of several difference schemes on 1D and 2D test problems for the Euler equations, SIAM J. Sci. Comput. 25 (2003) 995-1017

    doi:10.1137/s1064827502402120