parsav#
- ParameterDefinition.parsav(lab='', fname='', ext='', **kwargs)#
Writes parameters to a file.
Mechanical APDL Command: PARSAV
- Parameters:
- lab
str Write operation:
SCALAR- Write only scalar parameters (default).ALL- Write scalar and array parameters. Parameters may be numeric or alphanumeric.
- 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). The extension defaults to PARM if
Fnameis blank.
- lab
Notes
Warning
This function contains specificities regarding the argument definitions. Please refer to the command documentation for further explanations.
Argument Descriptions
lab : str- Write operation:SCALAR- Write only scalar parameters (default).ALL- Write scalar and array parameters. Parameters may be numeric or alphanumeric.
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). The extension defaults to PARM if
Fnameis blank.Writes the current parameters to a coded file. Previous parameters on this file, if any, will be overwritten. The parameter file may be read with the parres command.
parsav / parres operations truncate some long decimal strings, and can cause differing values in your solution data when other operations are performed. A good practice is to limit the number of decimal places you will use before and after these operations.
This command is valid in any processor.