Obstacles¶
Solid bodies are registered in the set_obstacles hook. Each operator adds one obstacle with a unique integer id;
the nodes inside the obstacles are marked as solid and a bounce-back (no-slip) condition is applied on their
surfaces automatically.
The Poiseuille deck has no obstacle. A sphere placed in the channel would read:
Available obstacles:
register_solid_wall: axis-aligned box;register_solid_ball: sphere;register_quadrics: sphere, ellipsoid, cylinders, cone, with transforms;register_rshape: STL mesh with Minkowski rounding.
Warning
Obstacle bounce-back is part of the default pre_stream_bcs batch. Do not replace this batch (use
+pre_stream_bcs to add a condition to it), or add wall_bounce_back back in it.