plot_element_displacement

PostProcessing.plot_element_displacement(component='NORM', option='AVG', show_elem_numbering=False, **kwargs)

Plot element displacement.

Parameters
componentstr, optional

Structural displacement component to retrieve. Must be "X", "Y", "Z", or "NORM".

optionstr, 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).

show_element_numberingbool, optional

Plot the element numbers of the elements.

**kwargsdict, optional

Keyword arguments passed to general_plotter.

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 is True.

Examples

Plot the mean normalized element displacement for the first result in the “X” direction.

>>> mapdl.post1()
>>> mapdl.set(1, 1)
>>> mapdl.post_processing.plot_element_displacement(
...     "NORM",
...     option="AVG"
... )
Return type

CameraPosition