eread#
- Mapdl.eread(fname='', ext='', **kwargs)#
Reads elements from a file.
APDL Command: EREAD
- 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).
- Return type:
Notes
This read operation is not necessary in a standard ANSYS run but is provided as a convenience to users wanting to read a coded element file, such as from another mesh generator or from a CAD/CAM program. Data should be formatted as produced with the EWRITE command. If issuing EREAD to acquire element information generated from ANSYS EWRITE, you must also issue NREAD before the EREAD command. The element types [ET] must be defined before the file is read so that the file may be read properly. Only elements that are specified with the ERRANG command are read from the file. Also, only elements that are fully attached to the nodes specified on the NRRANG command are read from the file. Elements are assigned numbers consecutively as read from the file, beginning with the current highest database element number plus one. The file is rewound before and after reading. Reading continues until the end of the file.