Optimization Execution

Optimization using TOSCA for Abaqus is executed by running the Abaqus execution procedure and by providing the name of the parameter file, which, in turn, refers to an Abaqus input file. You can define your optimization model using Abaqus/CAE, and you can use the Optimization Process Manager to create the parameter file and the Abaqus/CAE input file.

This page discusses:

Command Summary

abaqus optimizationtaskparameter file jobresults folder cpusnumber-of-cpus gpusnumber-of-gpgpus memorymemory-size interactive globalmodel{results file-nameODB output database file-name SIM database file-name } scratchscratch-dir

Command Line Options

task

This option is used to specify the file containing the parameters that are used to execute the optimization. The parameter file also contains information about the input file that is associated with the optimization.

If this option is omitted from the command line, you will be prompted for this value.

job

This option is used to specify the name of the folder in which the results of the optimization are stored.

If this option is omitted from the command line, you will be prompted for this value.

cpus

This option specifies the number of processors to use during an analysis run if parallel processing is available. The default value for this parameter is 1 and can be changed in the environment file (see Environment File Settings).

gpus

This option specifies acceleration of the Abaqus/Standard direct solver. This option is meaningful only on computers equipped with appropriate GPGPU hardware. By default, GPGPU solver acceleration is not activated. The value of this parameter is the number of GPGPUs to be used in an Abaqus/Standard analysis. In an MPI-based analysis, this is the number of GPGPUs to be used on each host.

GPGPU-based solver acceleration can also be set in the environment file (see Environment File Settings).

memory

Maximum amount of memory or maximum percentage of the physical memory that can be allocated during the input file preprocessing and during the Abaqus/Standard analysis phase (see Managing Memory and Disk Resources). The default values can be changed in the environment file (see Environment File Settings).

interactive

This option will cause the job to run interactively. The Tosca execution output will be output to the screen. The default run_mode can be set in the environment file (see Environment File Settings).

globalmodel

This option specifies the name of the global model's results file, ODB output database file, or SIM database file from which the results are to be interpolated to drive a submodel analysis. This option is required whenever a submodel analysis or submodel boundary condition reads data from the global model's results.

The file extension is optional. If you omit the file extension, Abaqus uses the results file. If the results file does not exist, Abaqus uses the ODB output database file. If both the results file and the ODB output database file do not exist, Abaqus uses the SIM database file.

scratch

This option is used to specify the name of the directory used for scratch files. On Linux platforms the default value is the value of the $TMPDIR environment variable or /tmp if $TMPDIR is not defined. On Windows platforms the default value is the value of the %TEMP% environment variable or \TEMP if this variable is not defined. During the analysis a subdirectory will be created under this directory to hold the analysis scratch files. The default value for this parameter can be set in the environment file (see Environment File Settings).

Examples

To run the optimization with the parameter file WeightReduction and the results folder WeightReductionResults, use the following command:

abaqus optimization task=WeightReduction job=WeightReductionResults