The OptimizationProcess object defines a process to perform an optimization of a model defined using an optimization task.
import job mdb.optimizationProcesses[name]
This method creates an OptimizationProcess object.
mdb.OptimizationProcess
Required arguments
A String specifying name of the optimization process.
A String specifying name of the model to be used for the optimization process.
A String specifying name of the optimization task to be used for the optimization process.
A String specifying name of the job to be used as the prototype for all analysis jobs run by the optimization process.
Optional arguments
A String specifying a description of the optimization process.
An Int specifying the maximum number of allowed design cycles for the optimization process. The default value is 15.
An Enum specifying whether Abaqus should save every iteration file in the optimization process or a selection of iteration files saved at a user-specified frequency. If you set dataSaveFrequency=OPT_DATASAVE_EVERY_CYCLE, Abaqus saves every iteration file; if you set dataSaveFrequency=OPT_DATASAVE_SPECIFY_CYCLE, ). Abaqus saves iteration files according to the frequency defined by the saveEvery parameter. The default value is OPT_DATASAVE_SPECIFY_CYCLE.
A Boolean specifying whether the initial cycle should be saved when dataSaveFrequency is OPT_DATASAVE_SPECIFY_CYCLE. The default value is True.
A Boolean specifying whether the first cycle should be saved when dataSaveFrequency is OPT_DATASAVE_SPECIFY_CYCLE. The default value is True.
A Boolean specifying whether the last cycle should be saved when dataSaveFrequency is OPT_DATASAVE_SPECIFY_CYCLE. The default value is True.
An Int specifying every nth cycle iterations to be saved when dataSaveFrequency is OPT_DATASAVE_SPECIFY_CYCLE. Abaqus saves file iterations for every nth iteration after iteration 1; if you set saveEvery=3, Abaqus saves file iterations for cycles 1, 4, 7, and so on. The default value is None.
Return value
An OptimizationProcess object.
Exceptions
AbaqusException.
This method allows you to write par and input files for an optimization task.
Arguments
Return value
Exceptions
This method submits an optimization process.
Required arguments
Optional argument
A Boolean specifying whether Abaqus should perform the validation of the optimization process only. The default value is False.
Return value
Exceptions
This method interrupts the execution of the script until the end of all the analyses. If you call the waitForCompletion method and the status member is neither SUBMITTED nor RUNNING, Abaqus assumes the analysis has either completed or aborted and returns immediately.
Arguments
Return value
Exceptions
This method extracts a surface mesh from the optimized model.
Required arguments
Name of the output file for the extracted surface mesh.
The design cycle number for which the surface mesh should be extracted.
Optional arguments
Value used to determine the positions on the element edges where the new nodes are created. Value between 0 and 1. Default: 0.3
Number of smoothing cycles; if set to 0, no smoothing is performed. Default: 5
Defines the percent of faces that should be removed during the data reduction. If set to 0, no data reduction occurs. If set to 100, the data reduction stops when no faces can be removed (that is checked using reductionAngle parameter). Value between 0 and 100. Default: 0
Defines the maximal angle between adjacent faces at a node such that the node may be removed during the data reduction. Value in degrees between 0 and 90. Default:15
Defines the target volume that is to be achieved iteratively by varying the isovalue. Value between 0 and 1. Default: 0
Tuple for the types of format of the output. Values are (OPT_EXTRACT_SMOOTH_ABAQUS_INPUT_FILE, OPT_EXTRACT_SMOOTH_STL). Default: OPT_EXTRACT_SMOOTH_ABAQUS_INPUT_FILE
Possible string values are OFF or MODERATE or FULL. Defines if the element material values are to be filtered (averaged locally) before the isocut, and to what extent. Default: OFF
Defines a list of names of part instances to be used for surface extraction. One file (according to extractFormat) is created for each part instance. If the argument is not specified, no part instance is selected and surface is generated for the whole model.
Return value
Exceptions
This method modifies the OptimizationProcess object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the OptimizationProcess method, except for the name argument.
Return value
Exceptions
The OptimizationProcess object has members with the same names and descriptions as the arguments to the OptimizationProcess method.