plot_element_stress¶
- PostProcessing.plot_element_stress(component, option='AVG', show_elem_numbering=False, **kwargs)¶
Plot element component or principal stress.
One value per element. Either minimum, maximum, or average of all nodes in each element.
- Parameters
- component
str
Element stress to retrieve. One of the following:
X, Y, Z, XY, YZ, XZ
Component stress.
1, 2, 3
Principal stress.
INT
Stress intensity.
EQV
Equivalent stress
- option
str
,optional
Option for storing element table data. One of the following:
"MIN"
: Store minimum element nodal value of the specified item component."MAX"
: Store maximum element nodal value of the specified item component."AVG"
: Store averaged element centroid value of the specified item component (default).
- component
- Returns
pyvista.plotting.renderer.CameraPosition
Camera position from plotter. Can be reused as an input parameter to use the same camera position for future plots. Only returned when
return_cpos
isTrue
.
Examples
Plot the average element component stress in the X direction.
>>> mapdl.post_processing.plot_element_stress("X")
- Return type
CameraPosition