set_fixed_head
Set fixed head boundary condition.
Parameters
- shapes : Shape | ShapeList
- Shapes. Must be 'edge' in 2D, 'face' in 3D.
- head : float
- Head in m.
- minus_plus : str
- Side of the boundary the condition acts on: 'minus' (default) or 'plus'.
Examples
sel = model.select([0,5], types='edge')
model.set_fixed_head(sel, head=10)
model.set_fixed_head(sel, head=10, minus_plus='plus')