ansys.mapdl.core.Mapdl.path#
- Mapdl.path(name='', npts='', nsets='', ndiv='', **kwargs)#
Defines a path name and establishes parameters for the path.
Mechanical APDL Command: PATH
- Parameters:
- name
str
Name for this path (eight characters maximum. If
nPts
is blank, set the current path to the path with this name. IfnPts
is greater than zero, create a path of this name. If a path with this name already exists, replace it with a new path. If theNAME
value is STATUS, display the status for path settings.- npts
str
The number of points used to define this path. The minimum number is two, and the maximum is 1000. Default is 2.
- nsets
str
The number of sets of data which you can map to this path. You must specify at least four: X, Y, Z, and S. Default is 30.
- ndiv
str
The number of divisions between adjacent points. Default is 20. There is no maximum number of divisions.
- name
Notes
The path command is used to define parameters for establishing a path. The path geometry is created by the ppath command. Multiple paths may be defined and named; however, only one path may be active for data interpolation ( pdef ) and data operations ( pcalc, etc.). Path geometry points and data are stored in memory while in POST1. If you leave POST1, the path information is erased. Path geometry and data may be saved in a file by archiving the data using the pasave command. Path information may be restored by retrieving the data using the paresu command.
For overlapping nodes, the lowest numbered node is assigned to the path.
The number of divisions defined using
nDiv
does NOT affect the number of divisions used by plsect and prsect.For information on displaying paths you have defined, see Mapping Results onto a Path