nodal_thermal_component_strain#

PostProcessing.nodal_thermal_component_strain(component)[source]#

Thermal nodal component strain

Equivalent MAPDL command: :rtype: ndarray

  • PRNSOL, EPTH, PRIN

Parameters:
componentstr, optional

Component to retrieve. Must be 'X', 'Y', 'Z', 'XY', 'YZ', or 'XZ'.

Returns:
numpy.ndarray

Numpy array containing the thermal nodal component strain for the specified component.

Examples

Thermal component strain in the X direction for the first result.

>>> mapdl.post1()
>>> mapdl.set(1, 1)
>>> mapdl.post_processing.nodal_thermal_component_strain('X')
    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)