Skip to content

bench-ghia1000

English | Japanese

« Home · « Laminar flow and analytic verification

Re=1000 lid-driven cavity: vertical-centerline u(0.5, y, 0.5) from three solves -- uniform coarse (n), AMR (coarse n + wall-band refinement to 2n), and uniform fine (2n) -- compared against Ghia, Ghia & Shin (1982) Table I.

Geometry

bench-ghia1000 geometry

Animation

Fields

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

bench-ghia1000 umag

bench-ghia1000 ux

Build & run

cmake -S native -B native/build && cmake --build native/build -j
./native/build/orheo-bench-ghia1000

ghia_re1000 [n_coarse] [t_end] [re] [collision] [mode] [band]

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

Validation

Tier T2 — single-point comparison
QoI u_min_centerline
Reference Ghia, Ghia & Shin (1982) J.Comput.Phys 48:387 -- Re=100/400/1000 centreline
Gate — no gate
Measured -0.376 (rel. err +1.80%) — cross-code run (cavity_ghia)

Source & run details

View source

Item Value
Target orheo-bench-ghia1000
Source native/benchmarks/ghia_re1000.cpp
Lattice —
GPU twin yes (orheo-bench-ghia1000-gpu)
Modules block_forest.hpp
Gallery run 2026-08-30 @ 38ad1eaa
Args 48 12 1000 reg coarse
Wall time 5.20 s
CPU time 5.08 s
Device Miyabi-G Hopper GPU (GH200, -stdpar=gpu)

Computation log

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

Re=1000, coarse n=48 (fine 2n=96 near walls), band=12, t_end=12.0, collision=reg, mode=coarse
  [uniform coarse] starting: n=48, 5760 steps, tau=0.5144
  [uniform coarse] step 288/5760 (t=0.600/12.0, 0s): centerline u_min=-0.04176
  [uniform coarse] step 576/5760 (t=1.200/12.0, 0s): centerline u_min=-0.03196
  [uniform coarse] step 864/5760 (t=1.800/12.0, 1s): centerline u_min=-0.05404
  [uniform coarse] step 1152/5760 (t=2.400/12.0, 1s): centerline u_min=-0.05235
  [uniform coarse] step 1440/5760 (t=3.000/12.0, 1s): centerline u_min=-0.04003
  [uniform coarse] step 1728/5760 (t=3.600/12.0, 1s): centerline u_min=-0.05113
  [uniform coarse] step 2016/5760 (t=4.200/12.0, 2s): centerline u_min=-0.04776
  [uniform coarse] step 2304/5760 (t=4.800/12.0, 2s): centerline u_min=-0.05966
  [uniform coarse] step 2592/5760 (t=5.400/12.0, 2s): centerline u_min=-0.04428
  [uniform coarse] step 2880/5760 (t=6.000/12.0, 2s): centerline u_min=-0.05348
  [uniform coarse] step 3168/5760 (t=6.600/12.0, 3s): centerline u_min=-0.04962
  [uniform coarse] step 3456/5760 (t=7.200/12.0, 3s): centerline u_min=-0.04868