/CLEAR

/CLEAR, Read
Clears the database.

Compatible Products: – | Pro | Premium | Enterprise | Ent PP | Ent Solver | DYNA

Read

File read option:

START

 — 

Reread start.ans file (default).

NOSTART

 — 

Do not reread start.ans file.

Notes

The /CLEAR command resets the database to the conditions present at the beginning of the problem.

The command is typically used between multiple analyses in the same run, or between passes of a multipass analysis (such as between substructure generation, use, and expansion passes).

The command sets the import and Boolean options back to the default, deletes all items from the database, and sets memory values to zero for items derived from database information. (All files remain intact.) The command also resets the jobname to match the currently open session .LOG and .ERR files, returning the jobname to its original value or to the most recent value specified via /FILNAME with KEY = 1.

After the database is cleared, the start.ans file is reread (by default) unless Read = NOSTART.

Additional commands cannot be stacked (via the $ separator) on the same line as the /CLEAR command.

Use caution when placing the /CLEAR command within branching constructs (for example, those using *DO or *IF commands), as the command deletes all parameters including the looping parameter for do-loops. (To preserve your iteration parameter, issue a PARSAV command prior to /CLEAR, then follow /CLEAR with a PARRES command.)

This command is valid in any processor. Issuing this command at any point clears the database.

Menu Paths

Utility Menu>File>Clear & Start New

Release 18.2 - © ANSYS, Inc. All rights reserved.