XLB commit 9c23e82 (Warp 1.18.0)Reference run (DimensionLab)
XLB in single precision: lid-driven cubic cavity at Re 1000, centreline velocities
XLB (D3Q19 BGK, Warp backend) in single precision matches the Re 1000 cubic-cavity centreline velocities of Albensoeder and Kuhlmann (2005) within 2 % of the lid speed at 29 of 30 stations on 128^3 nodes; v near the downstream wall misses by 2.04 %, so the case fails; NVIDIA RTX 5080, f32, 2026-11-20.
Reference case. This is a run of XLB commit 9c23e82 (Warp 1.18.0), another code, not of a DimensionLab solver. It is shown as a reference for the problem; it is not counted in our solvers' verdicts or totals.
Failed: v at x = 0.9453 differs from the reference by 2.04 % of the lid speed (gate 2 %). Passed: the other 29 stations (u RMS 0.0078, v RMS 0.0124). The same case in double precision passes all 30 stations.
Results

u along the vertical centreline (0.5, y, 0.5) against Albensoeder and Kuhlmann

v along the horizontal centreline (x, 0.5, 0.5) against Albensoeder and Kuhlmann

Metrics
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| u at y = 0.0547 on the vertical centreline, |difference| over lid speed | 0.0137 m/s | |x| ≤ 0.02 m/s | 69 % | ✓ pass |
| u at y = 0.0625 on the vertical centreline, |difference| over lid speed | 0.0144 m/s | |x| ≤ 0.02 m/s | 72 % | ✓ pass |
| u at y = 0.0703 on the vertical centreline, |difference| over lid speed | 0.0148 m/s | |x| ≤ 0.02 m/s | 74 % | ✓ pass |
| u at y = 0.1016 on the vertical centreline, |difference| over lid speed | 0.0147 m/s | |x| ≤ 0.02 m/s | 74 % | ✓ pass |
| u at y = 0.1719 on the vertical centreline, |difference| over lid speed | 0.00766 m/s | |x| ≤ 0.02 m/s | 38 % | ✓ pass |
| u at y = 0.2813 on the vertical centreline, |difference| over lid speed | 3.17e-4 m/s | |x| ≤ 0.02 m/s | 2 % | ✓ pass |
| u at y = 0.4531 on the vertical centreline, |difference| over lid speed | 9.98e-4 m/s | |x| ≤ 0.02 m/s | 5 % | ✓ pass |
| u at y = 0.5000 on the vertical centreline, |difference| over lid speed | 0.00107 m/s | |x| ≤ 0.02 m/s | 5 % | ✓ pass |
| u at y = 0.6172 on the vertical centreline, |difference| over lid speed | 4.98e-4 m/s | |x| ≤ 0.02 m/s | 2 % | ✓ pass |
| u at y = 0.7344 on the vertical centreline, |difference| over lid speed | 0.00116 m/s | |x| ≤ 0.02 m/s | 6 % | ✓ pass |
| u at y = 0.8516 on the vertical centreline, |difference| over lid speed | 0.00393 m/s | |x| ≤ 0.02 m/s | 20 % | ✓ pass |
| u at y = 0.9531 on the vertical centreline, |difference| over lid speed | 0.00246 m/s | |x| ≤ 0.02 m/s | 12 % | ✓ pass |
| u at y = 0.9609 on the vertical centreline, |difference| over lid speed | 0.00145 m/s | |x| ≤ 0.02 m/s | 7 % | ✓ pass |
| u at y = 0.9688 on the vertical centreline, |difference| over lid speed | 6.44e-4 m/s | |x| ≤ 0.02 m/s | 3 % | ✓ pass |
| u at y = 0.9766 on the vertical centreline, |difference| over lid speed | 3.67e-4 m/s | |x| ≤ 0.02 m/s | 2 % | ✓ pass |
| v at x = 0.0625 on the horizontal centreline, |difference| over lid speed | 0.0129 m/s | |x| ≤ 0.02 m/s | 65 % | ✓ pass |
| v at x = 0.0703 on the horizontal centreline, |difference| over lid speed | 0.013 m/s | |x| ≤ 0.02 m/s | 65 % | ✓ pass |
| v at x = 0.0781 on the horizontal centreline, |difference| over lid speed | 0.013 m/s | |x| ≤ 0.02 m/s | 65 % | ✓ pass |
| v at x = 0.0938 on the horizontal centreline, |difference| over lid speed | 0.0126 m/s | |x| ≤ 0.02 m/s | 63 % | ✓ pass |
| v at x = 0.1563 on the horizontal centreline, |difference| over lid speed | 0.00964 m/s | |x| ≤ 0.02 m/s | 48 % | ✓ pass |
| v at x = 0.2266 on the horizontal centreline, |difference| over lid speed | 0.00588 m/s | |x| ≤ 0.02 m/s | 29 % | ✓ pass |
| v at x = 0.2344 on the horizontal centreline, |difference| over lid speed | 0.00552 m/s | |x| ≤ 0.02 m/s | 28 % | ✓ pass |
| v at x = 0.5000 on the horizontal centreline, |difference| over lid speed | 3.57e-4 m/s | |x| ≤ 0.02 m/s | 2 % | ✓ pass |
| v at x = 0.8047 on the horizontal centreline, |difference| over lid speed | 0.00147 m/s | |x| ≤ 0.02 m/s | 7 % | ✓ pass |
| v at x = 0.8594 on the horizontal centreline, |difference| over lid speed | 0.00493 m/s | |x| ≤ 0.02 m/s | 25 % | ✓ pass |
| v at x = 0.9063 on the horizontal centreline, |difference| over lid speed | 0.0188 m/s | |x| ≤ 0.02 m/s | 94 % | ✓ pass |
| v at x = 0.9453 on the horizontal centreline, |difference| over lid speedkey | 0.0204 m/s | |x| ≤ 0.02 m/s | 102 % | ✕ fail |
| v at x = 0.9531 on the horizontal centreline, |difference| over lid speed | 0.018 m/s | |x| ≤ 0.02 m/s | 90 % | ✓ pass |
| v at x = 0.9609 on the horizontal centreline, |difference| over lid speed | 0.015 m/s | |x| ≤ 0.02 m/s | 75 % | ✓ pass |
| v at x = 0.9688 on the horizontal centreline, |difference| over lid speed | 0.0115 m/s | |x| ≤ 0.02 m/s | 58 % | ✓ pass |
Setup
- Code
- XLB commit 9c23e82 (Warp 1.18.0)
- Grid and numerics
- 3D cube, 128^3 nodes, lid on y+, Re 1000, lattice lid speed 0.1, tau 0.5384, 128,000 steps to t = 100 s; half-way bounce-back
- Hardware
- NVIDIA GeForce RTX 5080; f32 storage, f32 arithmetic
References
- Published benchmark
S. Albensoeder, H. C. Kuhlmann, Accurate three-dimensional lid-driven cavity flow, J. Comput. Phys. 206 (2005) 536-558 (Re 1000 centreline profiles, Tables 5 and 6)
doi:10.1016/j.jcp.2004.12.024 - Third-party code
M. Ataei, H. Salehipour, XLB: A differentiable massively parallel lattice Boltzmann library in Python, Comput. Phys. Commun. 300 (2024) 109187 (the code under test)
doi:10.1016/j.cpc.2024.109187