Solid wall¶
Description¶
register_solid_wall registers an axis-aligned box (AABB) as a solid obstacle: every node inside the box is
solid.
YAML syntax¶
| Slot | Type | Default | Description |
|---|---|---|---|
id |
int |
required | unique identifier of the obstacle |
bounds |
AABB |
required | [[xmin, ymin, zmin], [xmax, ymax, zmax]] (m) |
Usage example¶
Internal walls (lbm_diff_pressure)
Four walls leave an opening at the center of the plane X = 0.05 m:
set_obstacles:
- register_solid_wall:
id: 0
bounds: [[0.048,0,0.06],[0.052,0.1,0.1]]
- register_solid_wall:
id: 1
bounds: [[0.048,0,0],[0.052,0.1,0.04]]
- register_solid_wall:
id: 2
bounds: [[0.048,0.06, 0],[0.052,0.1,0.1]]
- register_solid_wall:
id: 3
bounds: [[0.048,0,0],[0.052,0.04, 0.1]]
See the pressure-driven flow tutorial.