nwrite#

Mapdl.nwrite(fname='', ext='', kappnd='', **kwargs)#

Writes nodes to a file.

APDL Command: NWRITE

Parameters:
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).

kappnd

Append key:

0 - Rewind file before the write operation.

1 - Append data to the end of the existing file.

Notes

Writes selected nodes [NSEL] to a file. The write operation is not necessary in a standard ANSYS run but is provided as a convenience to users wanting a coded node file. Data are written in a coded format. The format used is (I8, 6G20.13) to write out NODE,X,Y,Z,THXY,THYZ,THZX. If the last number is zero (i.e., THZX = 0), or the last set of numbers are zero, they are not written but are left blank. Therefore, you must use a formatted read to process this file. Coordinate values are in the global Cartesian system.