ansys.mapdl.core.Mapdl.plf2d#

Mapdl.plf2d(ncont='', olay='', anum='', win='', **kwargs)#

Generates a contour line plot of equipotentials.

Mechanical APDL Command: PLF2D

Parameters:
ncontstr

Number of contour lines to display. Issue in multiples of 9 (that is, 9, 18, 27, etc.). Default is 27 contour lines.

olayint or str

Overlay:

  • 0 - Overlay edge outlines by material number.

  • 1 - Overlay edge outlines by real constant number.

anumstr

Highest material or real constant attribute number. Command will cycle through ANUM element display overlays. Defaults to 10.

winstr

Window number to which command applies. Defaults to 1.

Notes

plf2d invokes a Mechanical APDL macro which plots equipotentials of the degree of freedom AZ. The equipotential lines are parallel to flux lines and thus give a good representation of flux patterns.

In the axisymmetric case, the display is actually r * AZ where r is the node radius.

The macro overlays ( OLAY ) edge outlines by material number or real constant number ( ANUM ) and enables you to control the number of contour lines to display ( NCONT ).