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.

Examples

sel = model.select([0,5], types='edge')
model.set_fixed_head(sel, head=10)