EWRITE

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

Valid Products: Pro | Premium | Enterprise | PrepPost | Solver | AS add-on

Fname

File name and directory path (up to 248 characters, 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

Filename extension (eight-character maximum).

The extension defaults to ELEM if Fname is blank.

--

Unused field.

KAPPND

Append key:

0

 — 

Rewind file before the write operation.

1

 — 

Append data to the end of the existing file.

Format

Format key:

SHORT

 — 

I6 format (default).

LONG

 — 

I8 format. Switches automatically to I10 if entity IDs are large.

Notes

Writes the selected elements to a file. The write operation is unnecessary in a standard Mechanical APDL run but is provided as convenience to users wanting a coded element file.

If issuing EWRITE from Mechanical APDL to be used in Mechanical APDL, 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 = SHORT, and (14I8 or 14I10) if Format = LONG.

One element description per record is written for elements having <= 8 nodes. For elements having > 8 nodes, nodes 9 and above are written on a second record using the same format.

Menu Paths

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