Moving lid (cavity_z_0, cavity_z_l)¶
Description¶
cavity_z_0 and cavity_z_l model a moving wall on the bottom (Z = 0) or top (Z = lz) plane of the domain, by
momentum injection at the fluid nodes adjacent to the wall. They are applied before streaming, on top of a
bounce-back wall on the same plane: declare the plane in bounce_back_planes and append the condition to
pre_stream_bcs.
lid_driven_cavity is the generalization of these conditions to the six planes.
YAML syntax¶
| Slot | Type | Default | Description |
|---|---|---|---|
U |
Vec3d |
required | velocity (m/s) of the wall |
Warning
Use +pre_stream_bcs:. Without +, pre_stream_bcs is replaced and the bounce-back on the domain walls and
on the obstacles is lost.
Usage example¶
Cavity with an internal wall (lbm_cavite_wall)
do_domain:
- domain:
bounds: [ [ 0 , 0 , 0 ] , [ 0.1 , 0.1 , 0.1 ] ]
cell_dims: [ 100, 100, 100 ]
periodic: [ false, false, false ]
bounce_back_planes: [plan_yz_0, plan_yz_l, plan_xz_0, plan_xz_l, plan_xy_0, plan_xy_l]
+pre_stream_bcs:
- cavity_z_l:
U: [0.1, 0.0, 0]
See the cavity flow tutorial.