/ASSIGN
/ASSIGN, Ident
, Fname
, Ext
, --
, LGkey
Reassigns a file name to a Mechanical APDL file identifier.
Ident
Mechanical APDL file name identifier. Valid identifiers are: cms, emat, erot, esav, full, LN07, LN09, LN11, LN20, LN21, LN22, LN25, LN31, LN32, mode, osav, rdsp , rmg, rst, rstp, rth, seld, and sscr. See File Management and Files for file descriptions. If blank, list currently reassigned files.
Fname
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.
Ext
Filename extension (eight-character maximum).
--
Unused field.
LGkey
Key to specify local or global file name control for the specified file identifier in a distributed-memory parallel processing run. For more information on local and global files, see File Handling Conventions in the Parallel Processing Guide.
BOTH
—
Reassign the file name for both the local and global files (default).
LOCAL
—
Reassign the file name for only the local files.
GLOBAL
—
Reassign the file name for only the global file.
Notes
The reassignment of file names is valid only if it is done before the file is used. All file
reassignments are retained (not cleared) even if the database is cleared
(/CLEAR) or the Jobname is changed (/FILNAME). Assigned
files may be overwritten. If file name arguments (Fname
, Ext
, --
) are blank, the default Mechanical APDL
assignment is restored. Use SEOPT for SUB files and SEEXP
for DSUB files.
This command is valid only at the Begin level.
This command also checks to ensure that the path/file is valid and can be written by the user. If it is not valid, an error message will be returned. Ensure that the directory exists prior to using /ASSIGN command.