set_surface_load
Add surface load.
Parameters
- shapes : Shape | ShapeList
- Shapes to apply the load to.
- value : float | ParameterMap | Gradient
- Load magnitude in kN/m^2.
- direction : str
- Load direction. direction = 'x' or 'y' or 'z'.
- option : str
- Load option. option = 'fixed' or 'multiplier'.
- coordinate_system : Csys or str
- Coordinate system to define the load direction.
- load_type : str
- Load type. load_type = 'unfavourable' or 'favourable'.
- load_category : str
- Safety factor category.
- load_variation : str
- Load variation. load_variation = 'constant' or 'linear'.
- magnitude : list[float]
- Linear variation endpoint values [p1, p2, p3].
- location : list[list[float]]
- Anchor point coordinates [[x1,y1,z1], [x2,y2,z2], ...].
Examples
sel = model.select([3,3,0], types='face')
feature = model.set_surface_load(shapes=sel, value=-10, direction='z', option='multiplier')