READ

READ, Fname, NSKIP, Format, Xfield, Yfield, Zfield, pRfield, pIfield
Reads coordinate and pressure data from a file.

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

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.

NSKIP

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.

Format

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.

Notes

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.

Menu Paths

This command cannot be accessed from a menu.