ansys.mapdl.core.Mapdl.lcfile#
- Mapdl.lcfile(lcno='', fname='', ext='', **kwargs)#
Creates a load case from an existing load case file.
Mechanical APDL Command: LCFILE
- Parameters:
- lcno
str
Arbitrary (1-99) pointer number assigned to this load case.
- fname
str
File name and directory path (248 characters maximum, including the characters needed for the directory path). An unspecified directory path defaults to the working directory; in this case, you can use all 248 characters for the file name. The file name defaults to
Jobname
.- ext
str
Filename extension (eight-character maximum). The extension defaults to the
LCNO
value preceded by an L (for values 10-99) or by an L0 (for values 1-9).
- lcno
Notes
Creates a load case by establishing a pointer to an existing load case file ( lcwrite ). This pointer (
LCNO
) can then be used on the lcase or lcoper commands to read the load case data into the database. This command is typically used to reestablish load case pointers in a new Mechanical APDL session (pointers are not saved on the database file), or when more than one pointer to a single load case is desired. See the lcdef command for status and erase operations. See also lcdef to establish a pointer to a set of results on a results file (written during the analysis solution phase).For details on using load case combination, see Creating and Combining Load Cases