ansys.mapdl.core.Mapdl.esort#

Mapdl.esort(item='', lab='', order='', kabs='', numb='', **kwargs)#

Sorts the element table.

Mechanical APDL Command: ESORT

Command default:

Use ascending element number order.

Parameters:
itemstr

Label identifying the item:

  • ETAB - (currently the only Item available)

labstr

element table label:

  • Lab - Any user-defined label from the etable command (input in the Lab field of the etable command).

orderint or str

Order of sort operation:

  • 0 - Sort into descending order.

  • 1 - Sort into ascending order.

kabsint or str

Absolute value key:

  • 0 - Sort according to real value.

  • 1 - Sort according to absolute value.

numbstr

Number of elements (element table rows) to be sorted in ascending or descending order ( ORDER ) before sort is stopped (remainder will be in unsorted sequence) (defaults to all elements).

Notes

The element table rows are sorted based on the column containing the Lab values. Use eusort to restore the original order. If esort is specified with PowerGraphics on ( graphics,POWER), then the nodal solution results listing ( prnsol ) will be the same as with the full graphics mode ( graphics,FULL).