Mapdl.lcwrite(lcno='', fname='', ext='', **kwargs)

Creates a load case by writing results to a load case file.


  • lcno – Arbitrary pointer number (1-99) to be assigned to this load case.

  • fname – 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.

  • ext – Filename extension (eight-character maximum).


Creates a load case by writing the results data in the database to a load case file. The database remains unchanged by this operation. A pointer is also established to the written set of results on the load case file. This pointer (LCNO) can then be used on the LCASE or LCOPER commands to read the load case data into the database. By default, only summable results data (such as displacements, stresses, elastic strains) and constant results data (such as volume) are written to the load case file unless requested (LCSUM command). Non-summable results data (such as plastic strains, strain energy), boundary conditions, and nodal loads are not written to the load case file. The load case file may be named by default or by a user name. Rewriting to the same file overwrites the previous data. See the LCDEF command for status and erase operations.