Coreform Cubit 2024.3 User Documentation

 

Starting and Exiting a Coreform Cubit Session

The following commands are used to control Coreform Cubit execution.

Starting the Session

The command line version of Coreform Cubit can be started on UNIX machines by typing "Cubit" at the command prompt from within the Coreform Cubit directory. If you have not yet installed Coreform Cubit, instructions for doing so can be found in Licensing and Activation. A Coreform Cubit console window will appear which tells the user which Coreform Cubit version is being run and the most recent revision date. A graphics window will also appear unless you are running with the -nographics option. For a complete list of startup options see the Execution Command Syntax section of this document. Coreform Cubit can also be run with initialization files or in batch mode.

Windows File Association

Windows users have the option to associate .cub, .cub5, .sat, and .jou files with Coreform Cubit.   This means that double-clicking on one of these files will open it automatically in Coreform Cubit. This option is available during the installation process

Exiting the Session

The Coreform Cubit session can be discontinued with either of the following commands

Exit

Quit

Resetting the Session

A reset of Coreform Cubit will clear the Coreform Cubit database of the current geometry and mesh model, allowing the user to begin a new session without exiting Coreform Cubit. This is accomplished with the command

Reset [Genesis | Block | Nodeset | Sideset | QA_Records]

A subset of portions of the Coreform Cubit database to be reset can be designated using the qualifiers listed. Advanced options controlled with the Set command are not reset.

QA Records are stored in exodus, genesis, or cub files. If your file contains an excessive amount of qa records and you don't need them, it is beneficial to reset them for faster file I/O.

You can also reset the number of errors in the current Coreform Cubit session, using the command

Reset Errors <value>

which will set the error count to the specified value, or zero if the value is left blank.

Abort Handling

In the event of a crash, Coreform Cubit will attempt to save the current mesh as "crashbackup.cub" in the current working directory just before it exits.

To disable saving of the crashbackup.cub file set an environment variable CUBIT_NO_CRASHSAVE equal to true. Or, use the following command:

Set Crash Save [On|Off]

This command will turn on or off crashbackup.cub creation during a crash on a per-instance basis. To minimize the effects of unexpected aborts, use Coreform Cubit's automatic journaling feature, and remember to save your model often.