nodal_rotation#
- PostProcessing.nodal_rotation(component='ALL')#
Nodal X, Y, or Z structural rotation
Equilvanent MAPDL commands: :rtype:
ndarrayPRNSOL, ROT, XPRNSOL, ROT, YPRNSOL, ROT, Z
- パラメーター:
- component
str,optional Structural rotational component to retrieve. Must be
'X','Y','Z', or'ALL'. Defaults to'ALL'.
- component
- Returns:
numpy.ndarrayNumpy 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)