SIMULIA Tosca Fluid Command Line Arguments

SIMULIA Tosca Fluid can be controlled by different command line arguments.

The general SIMULIA Tosca Fluid call looks like follows:

ToscaFluid optimize
 [ -h , --help ]
 [ -a , --abort ]
 [ -t , --terminate ]
 [ -k , --kill ]
 [ -j <string> , --job=<string> ]
 [ -p <string> , --parameter=<string> ]
 [ -s <string> , --solver=<string> ]
 [ -l <string> , --loglevel=<string> ]
 [ -o , --overwrite ]
 [ -r , --restart ]
 [ --preresult ]
 [ --list ]
 [ --solverlist ]
 [ --version ]
 [ -b <string> | --batch=<string> ]

Argument

Explanation

-h, --help

Displays a short help for the SIMULIA Tosca Fluid command line arguments.

Note: If SIMULIA Tosca Fluid is operated within a software environment like VENUS, for example, the long form of the argument (--help) might not work. Use the short form (-h) instead.

-a, --abort

Abort a running SIMULIA Tosca Fluid job.

The –a option can be used to gracefully abort a running SIMULIA Tosca Fluid optimization. The CFD solver and SIMULIA Tosca Fluid shutdown and already generated results are available, for example for Tosca Fluid.post.

To abort SIMULIA Tosca Fluid change to the working directory where the running SIMULIA Tosca Fluid job has been started. Within this directory, call tfluid –a –j <jobname> and wait until SIMULIA Tosca Fluid has completely shutdown.

-t, --terminate

Abort a running SIMULIA Tosca Fluid job immediately.

The –t option can be used to terminate a running SIMULIA Tosca Fluid optimization.

Note: In difference to the abort option (-a), the terminate option does not provide optimization results. Databases are left in an undefined state.

-k, --kill

Kill a running SIMULIA Tosca Fluid job.

This should only be used if –t does not work.

The –k option can be used to kill a running SIMULIA Tosca Fluid optimization.

Note: In difference to the abort option (-a), the kill option does not provide optimization results. Databases are left in an undefined state.

-j <string>,

--job <string>

Start a SIMULIA Tosca Fluid optimization job with jobname <string>.

The jobname is the name of the SIMULIA Tosca Fluid job directory, which gets generated on start. The optimization results are saved to this directory when SIMULIA Tosca Fluid finishes. The jobname can also be a path to where the job directory should be created. If the -p option is not used, SIMULIA Tosca Fluid assumes that the name of the parameter file is identical to the given jobname and that the job is started in the current directory.

-p <string>,

--parameter <string>

The name of the SIMULIA Tosca Fluid parameter file with the file name extension .xml. The parameter command can also contain a path to the input file.

-s <string>,

--solver <string>

Set the CFD solver to use for the SIMULIA Tosca Fluid optimization. The CFD solver name must be specified for <string>. Use --list to display a list of all configured CFD solvers in your installation.

-l <string>,

--loglevel <string>

Set the log level for SIMULIA Tosca Fluid to <string>.

The log level determines the type and amount of logging output of SIMULIA Tosca Fluid. Available options are:

CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG.

The default log level is NOTICE.

-o, --overwrite

If a job directory already exists, for example from a prior run, the directory is overwritten and not saved.

-r, --restart

Restart a SIMULIA Tosca Fluid job.

Restart is possible after normal job finish or a job abort (-a).

Note: A restart is impossible when a job has been terminated or killed.

--preresult

Restart a SIMULIA Tosca Fluid job using an already existing CFD solver preparation run. Only the data of the preparation run is used. All data of the optimization itself is regarded.

--list

Display a list of all configured CFD solvers.

--solverlist

Display a list of all configured CFD solvers in the gui.

--version

Display the program version.

-b, --batch

Batch mode: Used to select batch system integration. Possible values are: NONE, PBS, LSF, SGE.