element_temperature#

PostProcessing.element_temperature(option='AVG')[source]#

Return element temperature.

One value per element. Either minimum, maximum, or average of all nodes in each element.

Equilvanent MAPDL commands: :rtype: ndarray

  • ETABLE,VALUES,TEMP

  • PRETAB,VALUES or *VGET,TMP,ELEM,1,ETAB,VALUES

Parameters:
optionstr, optional

Option for storing element table data. One of the following:

  • "MIN" : Store minimum element nodal value of the specified item.

  • "MAX" : Store maximum element nodal value of the specified item.

  • "AVG" : Store averaged element centroid value of the specified item (default).

Examples

Return the average element temperature.

>>> arr = mapdl.post_processing.element_temperature()
>>> arr.shape
(2080, 3)
>>> arr
array([20., 20., 20., ..., 20., 20., 20.])