Skip to content
DimensionLab

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

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

Speed on the mid-plane z = 0.5 at t = 100 s (reproduction of the receipt's case)

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

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

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

Metrics

MetricValueGateAllowance usedResult
u at y = 0.0547 on the vertical centreline, |difference| over lid speed0.0137 m/s|x| ≤ 0.02 m/s69 %✓ pass
u at y = 0.0625 on the vertical centreline, |difference| over lid speed0.0144 m/s|x| ≤ 0.02 m/s72 %✓ pass
u at y = 0.0703 on the vertical centreline, |difference| over lid speed0.0148 m/s|x| ≤ 0.02 m/s74 %✓ pass
u at y = 0.1016 on the vertical centreline, |difference| over lid speed0.0147 m/s|x| ≤ 0.02 m/s74 %✓ pass
u at y = 0.1719 on the vertical centreline, |difference| over lid speed0.00766 m/s|x| ≤ 0.02 m/s38 %✓ pass
u at y = 0.2813 on the vertical centreline, |difference| over lid speed3.17e-4 m/s|x| ≤ 0.02 m/s2 %✓ pass
u at y = 0.4531 on the vertical centreline, |difference| over lid speed9.98e-4 m/s|x| ≤ 0.02 m/s5 %✓ pass
u at y = 0.5000 on the vertical centreline, |difference| over lid speed0.00107 m/s|x| ≤ 0.02 m/s5 %✓ pass
u at y = 0.6172 on the vertical centreline, |difference| over lid speed4.98e-4 m/s|x| ≤ 0.02 m/s2 %✓ pass
u at y = 0.7344 on the vertical centreline, |difference| over lid speed0.00116 m/s|x| ≤ 0.02 m/s6 %✓ pass
u at y = 0.8516 on the vertical centreline, |difference| over lid speed0.00393 m/s|x| ≤ 0.02 m/s20 %✓ pass
u at y = 0.9531 on the vertical centreline, |difference| over lid speed0.00246 m/s|x| ≤ 0.02 m/s12 %✓ pass
u at y = 0.9609 on the vertical centreline, |difference| over lid speed0.00145 m/s|x| ≤ 0.02 m/s7 %✓ pass
u at y = 0.9688 on the vertical centreline, |difference| over lid speed6.44e-4 m/s|x| ≤ 0.02 m/s3 %✓ pass
u at y = 0.9766 on the vertical centreline, |difference| over lid speed3.67e-4 m/s|x| ≤ 0.02 m/s2 %✓ pass
v at x = 0.0625 on the horizontal centreline, |difference| over lid speed0.0129 m/s|x| ≤ 0.02 m/s65 %✓ pass
v at x = 0.0703 on the horizontal centreline, |difference| over lid speed0.013 m/s|x| ≤ 0.02 m/s65 %✓ pass
v at x = 0.0781 on the horizontal centreline, |difference| over lid speed0.013 m/s|x| ≤ 0.02 m/s65 %✓ pass
v at x = 0.0938 on the horizontal centreline, |difference| over lid speed0.0126 m/s|x| ≤ 0.02 m/s63 %✓ pass
v at x = 0.1563 on the horizontal centreline, |difference| over lid speed0.00964 m/s|x| ≤ 0.02 m/s48 %✓ pass
v at x = 0.2266 on the horizontal centreline, |difference| over lid speed0.00588 m/s|x| ≤ 0.02 m/s29 %✓ pass
v at x = 0.2344 on the horizontal centreline, |difference| over lid speed0.00552 m/s|x| ≤ 0.02 m/s28 %✓ pass
v at x = 0.5000 on the horizontal centreline, |difference| over lid speed3.57e-4 m/s|x| ≤ 0.02 m/s2 %✓ pass
v at x = 0.8047 on the horizontal centreline, |difference| over lid speed0.00147 m/s|x| ≤ 0.02 m/s7 %✓ pass
v at x = 0.8594 on the horizontal centreline, |difference| over lid speed0.00493 m/s|x| ≤ 0.02 m/s25 %✓ pass
v at x = 0.9063 on the horizontal centreline, |difference| over lid speed0.0188 m/s|x| ≤ 0.02 m/s94 %✓ pass
v at x = 0.9453 on the horizontal centreline, |difference| over lid speedkey0.0204 m/s|x| ≤ 0.02 m/s102 %✕ fail
v at x = 0.9531 on the horizontal centreline, |difference| over lid speed0.018 m/s|x| ≤ 0.02 m/s90 %✓ pass
v at x = 0.9609 on the horizontal centreline, |difference| over lid speed0.015 m/s|x| ≤ 0.02 m/s75 %✓ pass
v at x = 0.9688 on the horizontal centreline, |difference| over lid speed0.0115 m/s|x| ≤ 0.02 m/s58 %✓ 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

All reference cases