Pressure-driven flows¶
Two closed boxes in which a high-density region, initialized on the left with
set_distribution (value: 1.5), drives the flow through internal
walls (register_solid_wall). All the domain planes are bounce-back walls
(except the periodic Y planes of the second deck).
Warning
value: 1.5 is a 50 % over-density in lattice units, i.e. a very sharp pressure jump. For a physical pressure
perturbation, use set_dp_pressure and, to smooth the jump,
set_dp_pressure_gradient.
Opening in a wall (lbm_diff_pressure)¶
A 0.1 m cube (100 cells per axis, \(\nu\) = 10⁻⁴ m²/s) split at X = 0.05 m by four walls that leave a 2 × 2 cm opening at the center.
(hippoLBM v1.0.2, CPU run.) Earlier visualizations of the same case:


Complex geometry (lbm_diff_pressure_complex_test)¶
A finer grid (400 cells per axis, 64 million nodes), periodic along Y, with eight walls creating narrow channels and mixing zones along X.
The run lasts 25,000 steps, with ParaView outputs every 2,500 steps: run it on a GPU or on several MPI processes.