porous-poiseuille2d¶
English | Japanese
« Home · « Laminar flow and analytic verification
D3Q19 Brinkman porous plane Poiseuille flow -- body-force-driven laminar channel through a uniform, isotropic porous medium. Clean-room reimplementation of the classic porous-channel verification case (the same problem the OpenLB gallery lists as porousMedia/porousPoiseuille2d); NO vendor source consulted or ported -- OpenLB is GPLv2, incompatible with this Apache-2.0 project. Only the choice of case (which problem, its geometry) is borrowed; the physics below is derived directly from the Brinkman equation and implemented from scratch.
Geometry¶

Animation¶
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-porous-poiseuille2d
porous_poiseuille2d [N] [steps] [csv]
Cost of the computation that made the figures on this page (Miyabi-G Grace CPU (72 cores, -stdpar=multicore)): 19.8 s wall.
Validation¶
| Tier | T1 — automatic gate |
| QoI | velocity-L2-error(abs) |
| Reference | analytic Brinkman channel solution |
| Gate | 🧩 module gate (closures) |
Source & run details¶
| Item | Value |
|---|---|
| Target | orheo-porous-poiseuille2d |
| Source | native/benchmarks/porous_poiseuille2d.cpp |
| Lattice | D3Q19 |
| GPU twin | no |
| Modules | lbm_d3q19.hpp |
| Gallery run | 2026-07-27 @ 7628c0cf |
| Args | `` |
| Wall time | 19.84 s |
| CPU time | 700.03 s |
| Device | Miyabi-G Grace CPU (72 cores, -stdpar=multicore) |
Computation log¶
The actual output of this computation (head and tail).
porous_poiseuille2d (Brinkman channel) N=64 nu=0.100 steps=200000
Da=1.0e+00 K=4096 sqrt(K)/H=1.0000 G=1.0785e-05 drag=nu/K=2.4414e-05 tau=0.8000
Da=1.0e-02 K=40.96 sqrt(K)/H=0.1000 G=1.2374e-04 drag=nu/K=2.4414e-03 tau=0.8000
Da=1.0e-03 K=4.096 sqrt(K)/H=0.0316 G=1.2207e-03 drag=nu/K=2.4414e-02 tau=0.8000
Da=1.0e-04 K=0.4096 sqrt(K)/H=0.0100 G=1.2207e-02 drag=nu/K=2.4414e-01 tau=0.8000
Da L2 umax_lbm umax_exact plug_GK/nu
1.0e+00 1.561e-04 0.049983 0.049988 0.441770
1.0e-02 4.314e-04 0.050001 0.049998 0.050683
1.0e-03 2.073e-03 0.050000 0.050000 0.050000
1.0e-04 9.004e-03 0.050000 0.050000 0.050000
Darcy-plug -> Stokes-parabola transition (u[H/4]/u[H/2]):
parabola limit = 0.750, plug limit -> 1.000