Boundary Conditions¶
Periodic axes need no boundary condition. Each non-periodic plane needs one, chosen among:
| Condition | Declared in | Typical use |
|---|---|---|
| bounce-back | domain: bounce_back_planes |
fixed no-slip walls |
neumann |
boundary_conditions |
prescribed velocity (Zou-He), fixed or moving walls |
rho |
boundary_conditions |
prescribed pressure (inlet / outlet) |
lid_driven_cavity |
+post_stream_bcs or boundary_conditions |
moving lid (equilibrium at the wall velocity) |
cavity_z_0, cavity_z_l |
+pre_stream_bcs |
moving lid by momentum injection |
In the Poiseuille deck, the two Z walls are at rest, imposed by a Neumann condition with zero velocity:
The same channel can be closed with bounce-back walls instead:
Warning
A plane cannot be both periodic and a bounce-back plane: domain aborts.
The velocities U are given in physical units (m/s). See Boundary Conditions
for the formulas and where each condition is applied in the time step.