Skip to content
DimensionLab

RyuchiLattice BoltzmannCPU · f64

BGK lattice Boltzmann at rest: linear stability against relaxation time

Ryuchi's D2Q9 BGK operator at rest matches the von Neumann analysis of Sterling and Chen: modulus excess below 8e-11 for tau 0.6 (gate 1e-8), growth rate 0.03995 against 0.04001 at tau 0.49 (gate 4e-4), and no growth where the analysis is neutral; CPU, f64.

Final-step momentum perturbation, tau 0.49 (unstable)
Pass
4 of 4 gates met
0.04Measured growth rate per step, tau 0.49 · gate 0.04 ± 4e-4
13 %
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, six values of tau

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
Largest eigenvalue modulus minus 1, tau 0.6 to 1.27.97e-110 ± 1e-8<1 %✓ pass
Measured growth rate per step, tau 0.49key0.040.04 ± 4e-413 %✓ pass
Analytic growth rate per step, tau 0.490.040.04 ± 4e-4<1 %✓ pass
Largest late growth rate where the analysis is neutral6.19e-8< 1e-5<1 %✓ pass

Setup and reproducibility

Grid and numerics
D2Q9, 32 x 32 periodic, all grid wavenumbers, six values of tau
Solver
Ryuchi 0.1.0+bc8899c9
Hardware
AMD EPYC Genoa server CPU, 12 vCPU
Precision
f64
Code revision
bc8899c95602
Physics
Lattice Boltzmann · stability, bgk, von neumann
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