Skip to content

cavity-d3q19

English | Japanese

« Home · « Laminar flow and analytic verification

D3Q19 lid-driven cavity -- the D3Q19 counterpart of cavity3d_d3q27, with the IDENTICAL setup (2D span-periodic or 3D, halfway bounce-back walls, moving lid, Re=U_lid*N/nu) so the two are directly comparable. Collision operators: BGK, central-moment (cascaded, De Rosis 2017), cumulant (D3Q19 4th-order variant). The point of the comparison: on D3Q19 the "cumulant" degenerates to the cascaded operator and loses the corner-speed stability the D3Q27 cumulant has.

Geometry

cavity-d3q19 geometry

Animation

Fields

The fields this computation wrote at its last output step, plotted as they are. 3D cases show the mid-plane.

cavity-d3q19 umag

cavity-d3q19 ux

Build & run

cmake -S native -B native/build && cmake --build native/build -j
./native/build/orheo-cavity-d3q19

cavity_d3q19 N Re steps [bgk|cm|cum] [2d|3d]

Cost of the computation that made the figures on this page (Miyabi-G Hopper GPU (GH200, -stdpar=gpu)): 186.1 s wall.

Validation

Tier T2 — single-point comparison
QoI u_min_centerline
Reference Ghia et al. (1982)
Gate — no gate

Source & run details

View source

Item Value
Target orheo-cavity-d3q19
Source native/benchmarks/cavity_d3q19.cpp
Lattice D3Q19
GPU twin yes (orheo-cavity-d3q19-gpu)
Modules lbm_d3q19.hpp
Gallery run 2026-08-30 @ 38ad1eaa
Args ``
Wall time 186.06 s
CPU time 185.94 s
Device Miyabi-G Hopper GPU (GH200, -stdpar=gpu)

Computation log

The actual output of this computation (head and tail).

cavity_d3q19 N=128 Ny=128 Re=1000 U_lid=0.050 tau=0.51920  op=cumulant  3D
  step 0: u_mid=0.00000 d=1.00e+09 rho=1.00000
  step 2000: u_mid=-0.00140 d=1.40e-03 rho=1.00000
  step 4000: u_mid=-0.00169 d=2.90e-04 rho=1.00000
  step 6000: u_mid=-0.00223 d=5.45e-04 rho=1.00002
  step 8000: u_mid=-0.00291 d=6.74e-04 rho=1.00003
  step 10000: u_mid=-0.00398 d=1.07e-03 rho=1.00002
  step 12000: u_mid=-0.00540 d=1.42e-03 rho=0.99995
  step 14000: u_mid=-0.00671 d=1.31e-03 rho=0.99975
  step 16000: u_mid=-0.00759 d=8.81e-04 rho=0.99627
  step 18000: u_mid=-0.00643 d=1.16e-03 rho=1.00310
  step 20000: u_mid=-0.00691 d=4.79e-04 rho=1.00406
  step 22000: u_mid=-0.00261 d=4.30e-03 rho=0.99849
  step 24000: u_mid=-0.00709 d=4.48e-03 rho=1.00024
...

  0.566 : -0.0832
  0.629 : -0.3394
  0.691 : +0.0327
  0.754 : +0.0372
  0.816 : +0.0801
  0.879 : -0.0081
  0.941 : +0.1588
  0.996 : +1.0362
Re=1000 op=cumulant STABLE. u_min/U_lid=-0.3576 at z/N=0.113