phipict.meshing.boundary
Named boundary patches and their conditions.
A Patch names a set of block faces ("inlet", "walls") and carries
the condition the faces get when the mesh becomes a domain:
inlet = pm.Patch("inlet", pm.Inflow((1.0, 0.0)))
walls = pm.Patch("walls", pm.Wall())
block = pm.make_box((0, 0), (4, 1), cells=(64, 16),
patches=pm.FacePatches(x_minus=inlet, y_minus=walls, y_plus=walls))
Imported meshes carry the patch names of the file; their conditions are set with
Mesh.set_bc. Conditions of further fields
(passive scalar, electric potential) are given as extra specs of
phipict.bc.
Functions
|
Set up a face of a solver block with a condition. |
Classes
|
The patch of each face of a block; None for faces without one. |
|
Free-slip wall or symmetry plane ( |
|
Prescribed inflow velocity. |
|
Outflow with a varying velocity. |
|
A named group of boundary faces with a condition. |
|
No-slip wall, optionally moving ( |