- Mapdl.read(fname='', nskip='', format_='', xfield='', yfield='', zfield='', prfield='', pifield='', **kwargs)#
Reads coordinate and pressure data from a file.
APDL Command: READ
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.
Number of lines at the beginning of the file that will be skipped while it is read. Default = 0. NSKIP is ignored for FileType = CFXTBR or CFDPOST on the FTYPE command.
For FileType = FORMATTED on the FTYPE command, Format is the read format in the FORTRAN FORMAT convention enclosed in parentheses; for example: (3e10.0,10x,e10.0,70x,e10.0)
- xfield, yfield, zfield, prfield, pifield
For FileType = CSV on the FTYPE command, these are field numbers locating the coordinates and real and imaginary (if present) pressures. The field value may not exceed 20.
Reads coordinate and pressure data from the specified file. The file type must have been previously specified on the FTYPE command.
Upon reading the file, nodes are created for the source points. For FileType = CFXTBR or CFDPOST on the FTYPE command, if face data is available, SURF154 elements are also created. A nodal component named SOURCENODES and an element component named SOURCEELEMS are created automatically.