Skip to content
DimensionLab

RyuchiLattice BoltzmannCPU · f64

BGK lattice Boltzmann at tau 0.51: linear speed limit of a uniform flow

Ryuchi's D2Q9 BGK operator at tau 0.51 matches the von Neumann speed limit of Sterling and Chen: u* 0.210142 (gate 1e-3) and a measured growth rate of 0.022610 at 1.25 u* equal to the analytic 0.022610 (gate 2.3e-5); CPU, f64.

Final-step momentum perturbation at 1.25 u* (unstable)
Pass
4 of 4 gates met
0.21 lattice unitsLinear stability speed limit u* (lattice units) · gate 0.21 ± 0.001 lattice units
4 %
Reference
D. Sterling
Hardware
AMD EPYC Genoa server CPU, 12 vCPU
Solver version
Ryuchi 0.1.0+bc8899c9
Grid
D2Q9, 32 x 32 periodic, all grid wavenumbers, tau 0.51, flow at 0.9…

Results

Figures from the run.

Relative growth-rate error where the analysis predicts growth

Relative growth-rate error where the analysis predicts growth

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
Linear stability speed limit u* (lattice units)key0.21 lattice units0.21 ± 0.001 lattice units4 %✓ pass
Measured growth rate per step at 1.25 u*0.02260.0226 ± 2.26e-5<1 %✓ pass
Analytic growth rate per step at 1.25 u*0.02260.0226 ± 2.26e-5<1 %✓ pass
Measured late growth rate at 0.9 u*-1.74e-4< 1e-5–✓ pass

Setup and reproducibility

Grid and numerics
D2Q9, 32 x 32 periodic, all grid wavenumbers, tau 0.51, flow at 0.9 to 1.4 u*
Solver
Ryuchi 0.1.0+bc8899c9
Hardware
AMD EPYC Genoa server CPU, 12 vCPU
Precision
f64
Code revision
bc8899c95602
Physics
Lattice Boltzmann · stability, bgk, speed limit
Run date

References

  • Analytic solution

    D. Sterling, S. Chen, Stability analysis of lattice Boltzmann methods, Journal of Computational Physics 123 (1996) 196-206

    doi:10.1006/jcph.1996.0016