cavity3d-d3q27¶
英語 | 日本語
3D lid-driven cavity with the D3Q27 cumulant operator, at Re = 100 / 1000 / 10000. Cubic box, no-slip on the 5 static walls, top lid moving at U_lid in +x (halfway moving-wall bounce-back). The cumulant's payoff is running the under-resolved Re=10000 case stably where BGK/SRT blow up.
概要: 3次元立方キャビティを D3Q27 キュムラントで解く。本ギャラリーで唯一、ベンチマーク実体そのものが ctest で直接ゲートされているケース。
Geometry¶

Animation¶
Fields¶
この計算が最後の出力ステップで書き出した場をそのまま描いたもの。3D ケースは中央断面。


Build & run¶
cmake -S native -B native/build && cmake --build native/build -j
./native/build/orheo-cavity3d-d3q27
cavity3d_d3q27 N Re steps [bgk|cum] [2d|3d]
Validation¶
| Tier | T1 — 自動ゲートあり |
| QoI | u_min_centerline |
| Reference | Ghia et al. (1982); 3D cubic cavity Ku/Hirsh/Taylor (1987) |
| Gate | ✅ 直接ゲート (cavity3d_d3q27_ghia) |
Source & run details¶
| Item | Value |
|---|---|
| Target | orheo-cavity3d-d3q27 |
| Source | native/benchmarks/cavity3d_d3q27.cpp |
| Lattice | D3Q27 |
| GPU twin | yes (orheo-cavity3d-d3q27-gpu) |
| Modules | lbm_d3q27.hpp |
| Gallery run | failed — exit 1 |
Computation log¶
この計算の実際の出力(先頭と末尾)。
cavity3d N=64 Ny=64 Re=1000 U_lid=0.050 nu=3.200e-03 tau=0.50960 collide=cumulant 3D(y-noslip)
step 0: u_mid=0.00000 d=1.00e+09 rho_mid=1.00000
step 2000: u_mid=-0.00171 d=1.71e-03 rho_mid=1.00001
step 4000: u_mid=-0.00316 d=1.45e-03 rho_mid=1.00002
step 6000: u_mid=-0.00617 d=3.01e-03 rho_mid=1.00000
step 8000: u_mid=-0.00593 d=2.37e-04 rho_mid=0.99989
step 10000: u_mid=-0.00303 d=2.90e-03 rho_mid=0.99983
step 12000: u_mid=-0.00101 d=2.02e-03 rho_mid=0.99983
step 14000: u_mid=0.00021 d=1.22e-03 rho_mid=0.99984
step 16000: u_mid=0.00094 d=7.28e-04 rho_mid=0.99985
step 18000: u_mid=0.00135 d=4.03e-04 rho_mid=0.99986
step 19999: u_mid=0.00151 d=1.64e-04 rho_mid=0.99986
centreline u_x/U_lid (z/N : u):
0.008 : -0.0279
...
0.5000 : +0.0268 : -0.0608
0.6172 : +0.0681 : +0.0570
0.7344 : +0.0913 : +0.1872
0.8516 : +0.1122 : +0.3330
0.9531 : +0.3232 : +0.4660
0.9609 : +0.3859 : +0.5112
0.9688 : +0.4861 : +0.5749
0.9766 : +0.5853 : +0.6593
Ghia RMS = 0.1079 (rel-L2 0.308) vs Ghia Re=1000 -> FAIL (>= 0.05)