DirectCyclicStep.add_uniform_displacement_field
- DirectCyclicStep.add_uniform_displacement_field(nodes, x=None, y=None, z=None, xx=None, yy=None, zz=None, axes='global', **kwargs)[source]
Add a uniform displacement field to the Step object.
- Parameters:
- nodeslist[:class=`compas_fea2.model.Node`] | :class=`compas_fea2.model.NodesGroup`
Nodes where the displacement is applied.
- x, y, zfloat, optional
Translational displacements in the global x, y, z directions, by default None.
- xx, yy, zzfloat, optional
Rotational displacements about the global x, y, z axes, by default None.
- axesstr, optional
Coordinate system for the displacements (‘global’ or ‘local’), by default ‘global’.
- Returns:
- :class=`compas_fea2.problem.fields.DisplacementField`
The displacement field that was added.
- Raises:
- TypeError
If nodes is not a list, tuple, or NodesGroup.