Skip to content
DimensionLab

XLB 9c23e8290b5ea79085e75b773e5759a6bf6eecd8Reference run (DimensionLab)

Planar Taylor-Green vortex, resolution and precision: XLB reference runs

XLB runs of the planar Taylor-Green vortex (Re 100) at 32 and 64 cells in FP32 and FP64: kinetic-energy decay constant -0.43% at 32, +0.19% at 64 cells (FP64; bounds 1 % and 0.5 %), every frozen gate inside its bound; FP32 and FP64 E_k differ by at most 1.9e-06. RTX A4500, 2026-11-28.

Reference case. This is a run of XLB 9c23e8290b5ea79085e75b773e5759a6bf6eecd8, 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.

Pass

Results

Speed at t = 10 s, 64 x 64 nodes, FP64

Kinetic energy against the exact decay (relative difference)

Kinetic energy against the exact decay (relative difference)

Decay-constant error against resolution

Decay-constant error against resolution

Metrics

MetricValueGateAllowance usedResult
32 cells, FP32: decay constant of the kinetic energy against 1 / (4 nu k^2)-0.00427 relative|x| ≤ 0.01 relative43 %✓ pass
32 cells, FP32: decay constant of v at (0.5, 0.25) m against 1 / (2 nu k^2)-0.00536 relative|x| ≤ 0.01 relative54 %✓ pass
32 cells, FP32: kinetic energy at 10 s against the exact value (reported)-0.00674 relativenot gatedreported onlyreported
32 cells, FP64: decay constant of the kinetic energy against 1 / (4 nu k^2)-0.00427 relative|x| ≤ 0.01 relative43 %✓ pass
32 cells, FP64: decay constant of v at (0.5, 0.25) m against 1 / (2 nu k^2)-0.00536 relative|x| ≤ 0.01 relative54 %✓ pass
32 cells, FP64: kinetic energy at 10 s against the exact value (reported)-0.00674 relativenot gatedreported onlyreported
64 cells, FP32: decay constant of the kinetic energy against 1 / (4 nu k^2)0.0019 relative|x| ≤ 0.005 relative38 %✓ pass
64 cells, FP32: decay constant of v at (0.5, 0.25) m against 1 / (2 nu k^2)8.08e-4 relative|x| ≤ 0.005 relative16 %✓ pass
64 cells, FP32: kinetic energy at 10 s against the exact value (reported)0.00299 relativenot gatedreported onlyreported
64 cells, FP64: decay constant of the kinetic energy against 1 / (4 nu k^2)key0.00189 relative|x| ≤ 0.005 relative38 %✓ pass
64 cells, FP64: decay constant of v at (0.5, 0.25) m against 1 / (2 nu k^2)8.05e-4 relative|x| ≤ 0.005 relative16 %✓ pass
64 cells, FP64: kinetic energy at 10 s against the exact value (reported)0.00299 relativenot gatedreported onlyreported
32 cells: largest relative difference of E_k(t), FP32 against FP64 (reported)1.94e-6 relativenot gatedreported onlyreported
64 cells: largest relative difference of E_k(t), FP32 against FP64 (reported)1.43e-6 relativenot gatedreported onlyreported

Setup

Code
XLB 9c23e8290b5ea79085e75b773e5759a6bf6eecd8
Grid and numerics
2D periodic unit square, 32^2 and 64^2 D2Q9 nodes at the cell centres; Re 100 (V 0.1 m/s, nu 0.001 m2/s); BGK, amplitude 0.1 in lattice units (Mach 0.17); to t = 10 s
Hardware
NVIDIA RTX A4500; f32 and f64

References

  • Third-party code

    M. Ataei, H. Salehipour, XLB: A differentiable massively parallel lattice Boltzmann library in Python, Computer Physics Communications 300 (2024) 109187 (the code that ran)

    doi:10.1016/j.cpc.2024.109187
  • Analytic solution

    G. I. Taylor, A. E. Green, Mechanism of the production of small eddies from large ones, Proceedings of the Royal Society of London A 158 (1937) 499-521

    doi:10.1098/rspa.1937.0036

Our solvers on this problem

All reference cases