ansys.mapdl.core.Mapdl.cmwrite#

Mapdl.cmwrite(fname='', ext='', fmat='', **kwargs)#

Writes node and element components and assemblies to a file.

Mechanical APDL Command: CMWRITE

Parameters:
fnamestr

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.

extstr

Filename extension (eight-character maximum). The extension defaults to CM if Fname is blank.

fmatstr

Format of the output file (defaults to BLOCKED).

  • BLOCKED - Blocked format. This format allows faster reading of the file.

  • UNBLOCKED - Unblocked format.