nodal_rotation#
- PostProcessing.nodal_rotation(component='ALL')#
Nodal X, Y, or Z structural rotation
Equilvanent MAPDL commands: :rtype:
ndarray
PRNSOL, ROT, X
PRNSOL, ROT, Y
PRNSOL, ROT, Z
- Parameters:
- component
str
,optional
Structural rotational component to retrieve. Must be
'X'
,'Y'
,'Z'
, or'ALL'
. Defaults to'ALL'
.
- component
- Returns:
numpy.ndarray
Numpy array with nodal X, Y, Z, or all structural rotations.
Examples
Nodal rotation in all dimensions for current result.
>>> mapdl.post1() >>> mapdl.set(1, 1) >>> mapdl.post_processing.nodal_rotation('ALL') array([[0., 0., 0.], [0., 0., 0.], [0., 0., 0.], ..., [0., 0., 0.], [0., 0., 0.], [0., 0., 0.]])
Nodes corresponding to the nodal rotations.
>>> mapdl.mesh.nnum_all array([ 1, 2, 3, ..., 7215, 7216, 7217], dtype=int32)