forest-ahmed-d3q27¶
English | Japanese
« Home · « External flow and wind engineering
Ahmed body external aerodynamics on the D3Q27 forest AMR-LBM with the CUMULANT collision -- Stage A of the D3Q27-cumulant-Ahmed effort (docs/forest-d3q27- design.md + docs/ahmed-dynamic-showcase-instability). PURPOSE: a STABILITY proof-of-concept. The D3Q19 forest Ahmed (MRT/RR/HRR) NaNs at its own under-resolved showcase point (nh=8, Re_H=1200, tau~0.50) unless cs_smag is cranked to ~0.50 (over-dissipative band-aid, see the root-cure probe: neither collision operator nor wall model cures it -- it is raw under-resolution of the coarse level at tau->0.5). The full cumulant is a D3Q27 operator with much better low-tau stability; this benchmark asks whether D3Q27-CUMULANT stays finite at a PHYSICAL cs_smag (~0.16, or even cs=0) at the SAME operating point.
Geometry¶

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


Plots¶
Time series and distributions of the QoI written by this computation. Where a reference value exists it is overlaid as a horizontal line.

Build & run¶
cmake -S native -B native/build && cmake --build native/build -j
./native/build/orheo-forest-ahmed-d3q27
Cost of the computation that made the figures on this page (Miyabi-G Grace CPU (72 cores, -stdpar=multicore)): 54.7 s wall.
Validation¶
| Tier | T2 — single-point comparison |
| QoI | Cd (stability PoC) |
| Reference | ERCOFTAC case082; literature LBM Cd~0.30 |
| Gate | — no gate |
| Measured | 0.2591 (rel. err -9.1% vs Ahmed 1984 0.285; updated 2026-11-22: D3Q27 cumulant forest + WALE \(C_w=0.325\) + 4-level AMR 5 mm, 13.8 M cells + Bouzidi + Spalding + Kawai–Larsson off-wall friction SECOND_NODE=1; Cd_form=0.2278 vs exp 0.230 (-1.0%), Cd_fric=0.0313 (12%), 332 MLUPS on Miyabi-G H100). Previous record: 0.317 (+11.23%, 3-level pressure drag only). |
Source & run details¶
| Item | Value |
|---|---|
| Target | orheo-forest-ahmed-d3q27 |
| Source | native/benchmarks/forest_ahmed_d3q27.cpp |
| Lattice | D3Q27 |
| GPU twin | yes (orheo-forest-ahmed-d3q27-gpu) |
| Modules | ahmed_solver.hpp, dynamic_amr.hpp, forest_field.hpp, forest_geometry.hpp, forest_inflow.hpp, forest_regrid.hpp, forest_regrid_lat.hpp, forest_sensor_forest.hpp, forest_step_lat.hpp, forest_surface_force.hpp, stl_geom.hpp |
| Gallery run | 2026-07-27 @ fc5fbb30 |
| Args | 8 6000 0.05 1200 0.16 1 . |
| Wall time | 54.73 s |
| CPU time | 2150.27 s |
| Device | Miyabi-G Grace CPU (72 cores, -stdpar=multicore) |
Computation log¶
The actual output of this computation (head and tail).
=== Ahmed body, D3Q27 forest (cumulant + Smagorinsky) -- STABILITY PoC (staircase BB) ===
nh=8 (level-0 cells/H) dx0=0.03600m Re_H=1200 ulat=0.050 tau0=0.50100 cs=0.160 collide_sel=1 max_level=1
domain 128x32x24 level-0 cells (16x4x3 blocks, kNb=8)
blockage=12.0% (body HxW / tunnel; <5% for Cd accuracy) twolayer=1
forest: 416 blocks, max_level=1; interior L0=81920 L1=131072
solid raster: 38390 body cells (staircase halfway bounce-back)
surface faces: 4982
forceCoeffs: Aref=345.8 lRef=58.0 (finest cells) CofR(finest)=(59.9,32.0,10.8) magUInf=0.0500 rhoInf=1
=== time-stepping (6000 coarse steps; averaging from 3000) ===
step 0 t*=0.000 umax=0.0605 fx=13.587 cd=31.4363 cl=5.2773 cm=-2.6185 cells=212992 blk=416 0.0 MLUPS
Cp slant=-7.265 roof=0.812 base=-15.144 front=15.736 side=0.552 | mean[warmup n=1] Cd=31.9484 Cl=5.2773
step 200 t*=0.078 umax=0.0782 fx=0.15953 cd=0.3691 cl=0.2345 cm=0.1115 cells=212992 blk=416 43.6 MLUPS
Cp slant=-0.319 roof=-0.255 base=-0.004 front=0.359 side=-0.144 | mean[warmup n=2] Cd=16.4006 Cl=2.7559
step 400 t*=0.156 umax=0.0772 fx=1.0906 cd=2.5233 cl=0.7037 cm=0.0217 cells=212992 blk=416 46.0 MLUPS
...
forceCoeffs means: Cd=1.1430 Cl=0.7480 Cm=0.2001 Cl(f)=0.5741 Cl(r)=0.1739 (legacy Cd_pressure=0.9363)
wrote ./slice_{y0,zmid}.csv (mean over 151 samples)
wrote ./wake_yz_x{000,080,200,500}.csv (mean, u/ulat -- LDA overlay)
Cp freestream ref: p_fs=0.000238 U_fs=0.04981 (q_fs=0.001241, 960 cells) [was p_ref=0(outlet), 0.5*ulat^2=0.001250]
wrote ./surface_cp.csv (4982 exposed faces; Cp vs ERCOFTAC case082)
wrote ./slant_cp_true.csv (36/36 probes hit fluid; mean Cp_true=-0.665; exp slant mean ~ -0.59)
SLANT diagnostic: mean slant-tangential vel just off the 25deg slant = 0.0009/ulat=0.02 (SEPARATED/weak; 72 cells) -- attached>0 = real high-drag regime, <=0 = fully-separated slant (35deg post-crisis) or spurious separation
=== done: operator=cumulant cs=0.160 | Cd_pressure=0.9363 | STRESS: Cd_form=0.9363 + Cd_fric=0.2067 = Cd_total=1.1430 (Cl=0.7480) | [Cd_MEM=51.6148 diagnostic ~40x] umax_final=0.0781 [stable] ===
IDENTITY gate: Cd_form vs Cd_pressure rel = 3.11e-14 (design: exact up to rho0 cancellation); friction fraction = 18% (Ahmed 1984 ~ 0.05/0.285 ~ 18%, coarse near-wall Pi^neq reads higher)