www.kxcad.net Home > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
If you must use currently defined parameters in another ANSYS session, you can write them to a file and then read (resume) that file. When you read the file, you can either completely replace currently defined parameters or add to them (replacing those that already exist).
To write parameters to a file, use the PARSAV command (Utility Menu> Parameters> Save Parameters).
The parameters file is an ASCII file consisting largely of APDL *SET commands used to define the various parameters. The following example shows the format of this file.
/NOPR *SET,A , 10.00000000000 *SET,B , 254.3948750000 *SET,C ,'string ' *SET,_RETURN , 0.0000000000000E+00 *SET,_STATUS , 1.000000000000 *SET,_ZX ,' ' /GO
To read parameters from a file use the PARRES command (Utility Menu> Parameters> Restore Parameters)
If you wish, you can write up to ten parameters or array parameters using FORTRAN real formats to a file. You can use this feature to write your own output file for use in other programs, reports, etc. To do this, use the *VWRITE command (Utility Menu> Parameters> Array Parameters> Write to File). The *VWRITE command is discussed in Operations Among Array Parameters.