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.

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

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 |
|---|---|---|---|---|
| Largest eigenvalue modulus minus 1, tau 0.6 to 1.2 | 7.97e-11 | 0 ± 1e-8 | <1 % | ✓ pass |
| Measured growth rate per step, tau 0.49key | 0.04 | 0.04 ± 4e-4 | 13 % | ✓ pass |
| Analytic growth rate per step, tau 0.49 | 0.04 | 0.04 ± 4e-4 | <1 % | ✓ pass |
| Largest late growth rate where the analysis is neutral | 6.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


