filname#
- RunControls.filname(fname='', key='', **kwargs)#
Changes the Jobname for the analysis.
Mechanical APDL Command: /FILNAME
- Parameters:
- fname
str Name (32 characters maximum) to be used as the
Jobname. Defaults to the initialJobnameas specified on the Mechanical APDL execution command, or tofileif none specified.- key
str Specify whether to use the existing log, error, lock, page, and output files (
.LOG,.ERR,.LOCK,.PAGEand.OUT) or start new files.0, OFF- Continue using current log, error, lock, page, and output files.1, ON- Start new log, error, lock, page, and output files (old log and error files are closed and saved, but old lock, page, and output files are deleted). Existing log and error files are appended.
- fname
Notes
All subsequently created files will be named with this
JobnameifKey= 0. UseKey= 1 to start new log, error, lock, page, and output files. The previousJobnameis typically defined on the Mechanical APDL program execution line. (See the Operations Guide.This command is useful when different groups of files created throughout the run are to have different names. For example, the command may be used before each substructure pass to avoid overwriting files or having to rename each file individually.
This command is valid only at the Begin level.