Solid ball¶
Description¶
register_solid_ball registers a sphere of center \(\mathbf{x}_c\) and radius \(R\): a node \(\mathbf{x}\) is solid when
\(\|\mathbf{x} - \mathbf{x}_c\| \le R\).
YAML syntax¶
| Slot | Type | Default | Description |
|---|---|---|---|
id |
int |
required | unique identifier of the obstacle |
center |
Vec3d |
required | center of the sphere (m) |
radius |
double |
required | radius of the sphere (m) |
Usage example¶
Flow past a sphere (lbm_karman_vortex)
See the Kármán vortex street tutorial.