nodal_voltage#

PostProcessing.nodal_voltage()[source]#

The nodal voltage of the current result.

Equilvanent MAPDL command: :rtype: ndarray

  • PRNSOL, PRES

Returns:
numpy.ndarray

Numpy array containing the nodal voltage of the current result.

Notes

The nodal results are averaged across all selected elements. Not all nodes will contain valid results (e.g. midside nodes), and those nodes will report a zero value.

Elements that are not selected will not contribute to the averaged nodal values, and if a node’s attached elements are all unselected, the element will report a zero value.

Examples

Return the voltage of the current result.

>>> mapdl.post_processing.voltage()
array([0., 0., 0., ..., 0., 0., 0.])