Neumann (Zou-He velocity)¶
Description¶
The neumann operator imposes a velocity \(\mathbf{U} = (u_x, u_y, u_z)\) on one or several boundary planes with the
Zou-He method: the unknown distribution functions entering the fluid are reconstructed from the known ones and the
prescribed velocity, the density being deduced from mass conservation. With \(U = 0\), it is a fixed no-slip wall;
with \(U \neq 0\), a moving wall (Couette flows).
It is applied after streaming, in the boundary_conditions block. The same velocity is enforced on every plane
listed in regions.
Formulas on the Z planes
Z = 0 (plan_xy_0):
Z = lz (plan_xy_l):
with the same \(n_{xz}\) and \(n_{yz}\). The X and Y planes use the same reconstruction, permuted.
YAML syntax¶
| Slot | Type | Default | Description |
|---|---|---|---|
U |
Vec3d |
required | prescribed velocity (m/s) |
regions |
[string] |
required | planes: plan_xy_0, plan_xy_l, plan_yz_0, plan_yz_l, plan_xz_0, plan_xz_l |
Usage example¶
Couette flow (lbm_couette)
Upper wall moving at 1 mm/s, lower wall at rest:
boundary_conditions:
- neumann:
U: [0.001,0,0]
regions: [plan_xy_l]
- neumann:
U: [0,0,0]
regions: [plan_xy_0]
See the Couette flow tutorial.