read#
- PressureMapping.read(fname='', nskip='', format_='', xfield='', yfield='', zfield='', prfield='', pifield='', **kwargs)#
Reads coordinate and pressure data from a file.
Mechanical APDL Command: READ
- Parameters:
- fname
str 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
str Number of lines at the beginning of the file that will be skipped while it is read. Default = 0.
NSKIPis ignored forFileType= CFXTBR or CFDPOST on the ftype command.- format_
str For
FileType= FORMATTED on the ftype command,Formatis the read format in the FORTRAN FORMAT convention enclosed in parentheses; for example: (3e10.0,10x,e10.0,70x,e10.0)- xfield
str 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.- yfield
str 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.- zfield
str 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.- prfield
str 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.- pifield
str 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.
- fname
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,SURF154elements are also created. A nodal component named SOURCENODES and an element component named SOURCEELEMS are created automatically.