nodal_elastic_principal_strain#
- PostProcessing.nodal_elastic_principal_strain(component)#
Nodal elastic principal elastic strain.
Equivalent MAPDL commands: :rtype:
ndarray
*VGET, PARM, NODE, , EPEL, 1
- Parameters:
- component
str
,optional
Component to retrieve. Must be
'1'
,'2'
, or'3'
.
- component
- Returns:
numpy.ndarray
Numpy array of nodal elastic principal elastic strain.
Examples
Principal nodal strain in the
S1
direction for the first result.>>> mapdl.post1() >>> mapdl.set(1, 1) >>> mapdl.post_processing.nodal_elastic_principal_strain('1') array([0.60024621, 0.61625265, 0.65081825, ..., 0. , 0. , 0. ])
Corresponding nodes.
>>> mapdl.mesh.nnum_all array([ 1, 2, 3, ..., 7215, 7216, 7217], dtype=int32)