file#
- MapdlGrpc.file(fname='', ext='', **kwargs)#
Specifies the data file where results are to be found.
Mechanical APDL Command: FILE
- 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. The file name defaults to
Jobname
.- ext
str
Filename extension (eight-character maximum). If
Fname
is blank, the extension defaults to RST (for structural, fluid, or coupled-field analyses), to RTH (for thermal or electrical analyses), or to RMG (for magnetic analyses). For postprocessing contact results corresponding to the initial contact state in POST1, use the RCN extension. For postprocessing modal coordinates results in POST1, use the RDSP or RFRQ extension.
- fname
Notes
Specifies the Mechanical APDL data file where the results are to be found for postprocessing.
Issuing the file command with
Ext
= RSDP or RFRQ in POST1 specifies the.rsdp
or.rfrq
file used by the prmc and plmc commands. (See POST1 example below.)Example Usage
POST1#
/POST1 FILE,,rdsp !Choose file Jobname.rdsp from a previous MSUP transient solution PRMC,2,1 !Plot Modal coordinates from rdsp file (loadstep and substep specified as arguments) FILE,,rst !Choose file Jobname.rst SET,1,1 !Load results from chosen.rst file into database PRNSOL,u,x !Plot Nodal displacements (loadstep and substep specified using the SET command) FINISH !Exit POST1
POST26#