EWRITE, Fname, Ext, --, KAPPND, Format
Writes elements to a file.

Compatible Products: – | Pro | Premium | Enterprise | Ent PP | Ent Solver | DYNA


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.


Filename extension (eight-character maximum).

The extension defaults to ELEM if Fname is blank.


Unused field.


Append key:



Rewind file before the write operation.



Append data to the end of the existing file.


Format key:



I6 format (the default).



I9 format.


Writes the selected elements to a file. The write operation is not necessary in a standard ANSYS run but is provided as convenience to users wanting a coded element file. If issuing EWRITE from ANSYS to be used in ANSYS, you must also issue NWRITE to store nodal information for later use. Only elements having all of their nodes defined (and selected) are written. Data are written in a coded format. The data description of each record is: I, J, K, L, M, N, O, P, MAT, TYPE, REAL, SECNUM, ESYS, IEL, where MAT, TYPE, REAL, and ESYS are attribute numbers, SECNUM is the beam section number, and IEL is the element number.

The format is (14I6) if Format is set to SHORT and (14I9) if the Format is set to LONG, with one element description per record for elements having eight nodes of less. For elements having more than eight nodes, nodes nine and above are written on a second record with the same format.

Menu Paths

Main Menu>Preprocessor>Modeling>Create>Elements>Write Elem File

Release 18.2 - © ANSYS, Inc. All rights reserved.