set_body_load

Add body load.

Parameters

shapes : Shape | ShapeList
Shapes to apply the load to.
value : float | ParameterMap | Gradient
Load magnitude in kN/m^3.

Examples

sel = model.select([3,3,0], types='volume')
model.set_body_load(shapes=sel, value=-10, direction='z', option='fixed')