forest-aij-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.


Build & run¶
cmake -S native -B native/build && cmake --build native/build -j
./native/build/orheo-forest-aij-d3q27
Cost of the computation that made the figures on this page (Miyabi-G Grace CPU (72 cores, -stdpar=multicore)): 238.1 s wall.
Validation¶
| Tier | T2 — single-point comparison |
| QoI | Vertical wind-speed profile |
| Reference | AIJ Case A; Meng & Hibi (1998) wind tunnel |
| Gate | — no gate |
Source & run details¶
| Item | Value |
|---|---|
| Target | orheo-forest-aij-d3q27 |
| Source | native/benchmarks/forest_aij_d3q27.cpp |
| Lattice | D3Q27 |
| GPU twin | yes (orheo-forest-aij-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 @ 7628c0cf |
| Args | 8 8000 0.05 1200 0.16 1 . |
| Wall time | 238.11 s |
| CPU time | 10414.69 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.02000m Re_H=1200 ulat=0.050 tau0=0.50100 cs=0.160 collide_sel=1 max_level=1
domain 128x96x48 level-0 cells (16x12x6 blocks, kNb=8)
blockage=0.8% (body HxW / tunnel; <5% for Cd accuracy) twolayer=1
forest: 1264 blocks, max_level=1; interior L0=581632 L1=65536
solid raster: 1900 body cells (staircase halfway bounce-back)
surface faces: 576
forceCoeffs: Aref=128.0 lRef=8.0 (finest cells) CofR(finest)=(76.0,96.0,8.0) magUInf=0.0500 rhoInf=1
=== time-stepping (8000 coarse steps; averaging from 4000) ===
step 0 t*=0.000 umax=0.0601 fx=5.8198 cd=36.3740 cl=0.0360 cm=-0.4882 cells=647168 blk=1264 0.0 MLUPS
Cp slant=-3.158 roof=0.367 base=-17.688 front=18.686 side=-0.069 | mean[warmup n=1] Cd=36.4528 Cl=0.0360
step 200 t*=0.078 umax=0.0704 fx=0.16785 cd=1.0490 cl=0.3229 cm=0.2235 cells=647168 blk=1264 69.5 MLUPS
Cp slant=-0.483 roof=-0.664 base=-0.257 front=0.792 side=-0.588 | mean[warmup n=2] Cd=18.8008 Cl=0.1794
step 400 t*=0.156 umax=0.0693 fx=0.1914 cd=1.1962 cl=0.3462 cm=0.2000 cells=647168 blk=1264 78.5 MLUPS
...
forceCoeffs means: Cd=1.0327 Cl=0.2209 Cm=0.1032 Cl(f)=0.2137 Cl(r)=0.0072 (legacy Cd_pressure=0.9710)
wrote ./slice_{y0,zmid}.csv (mean over 201 samples)
wrote ./wake_yz_x{000,080,200,500}.csv (mean, u/ulat -- LDA overlay)
Cp freestream ref: p_fs=0.000000 U_fs=0.05000 (q_fs=0.001250, 0 cells) [was p_ref=0(outlet), 0.5*ulat^2=0.001250]
wrote ./surface_cp.csv (576 exposed faces; Cp vs ERCOFTAC case082)
wrote ./slant_cp_true.csv (0/0 probes hit fluid; mean Cp_true=0.000; exp slant mean ~ -0.59)
SLANT diagnostic: mean slant-tangential vel just off the 25deg slant = 0.0000/ulat=0.00 (SEPARATED/weak; 0 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.9710 | STRESS: Cd_form=0.9710 + Cd_fric=0.0616 = Cd_total=1.0327 (Cl=0.2209) | [Cd_MEM=17.2406 diagnostic ~40x] umax_final=0.0654 [stable] ===
IDENTITY gate: Cd_form vs Cd_pressure rel = 3.54e-15 (design: exact up to rho0 cancellation); friction fraction = 6% (Ahmed 1984 ~ 0.05/0.285 ~ 18%, coarse near-wall Pi^neq reads higher)