RyuchiLattice BoltzmannCPU · f64
Two-relaxation-time against BGK at tau 0.501: linear speed limits
Ryuchi's D2Q9 TRT operator (magic parameter 1/4) has a speed limit of 0.2895 against 0.1497 for BGK at tau 0.501 (both within 1e-3 of the von Neumann analysis); BGK grows at 0.02213 per step at u 0.22 within 2.2e-5 of analysis while TRT does not grow; CPU, f64.

- 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.501, flow at…
Results
Figures from the run.
Growth rate vs speed for BGK and TRT, analysis and measured

Relative BGK 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 |
|---|---|---|---|---|
| Speed limit u*, TRT with magic parameter 1/4 (lattice units)key | 0.289 lattice units | 0.289 ± 0.001 lattice units | <1 % | ✓ pass |
| Speed limit u*, BGK (lattice units) | 0.15 lattice units | 0.15 ± 0.001 lattice units | <1 % | ✓ pass |
| Measured BGK growth rate per step at u 0.22 | 0.0221 | 0.0221 ± 2.21e-5 | 2 % | ✓ pass |
| Measured TRT growth rate per step at u 0.22 | -3.93e-4 | < 1e-5 | – | ✓ pass |
Setup and reproducibility
- Grid and numerics
- D2Q9, 32 x 32 periodic, all grid wavenumbers, tau 0.501, flow at 0.12 to 0.26
- Solver
- Ryuchi 0.1.0+bc8899c9
- Hardware
- AMD EPYC Genoa server CPU, 12 vCPU
- Precision
- f64
- Code revision
- bc8899c95602
- Physics
- Lattice Boltzmann · stability, trt, 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 - Analytic solution
I. Ginzburg, F. Verhaeghe, D. d'Humieres, Two-relaxation-time lattice Boltzmann scheme: about parametrization, velocity, pressure and mixed boundary conditions, Communications in Computational Physics 3 (2008) 427-478
doi:10.4208/cicp.2008.v3.p427


