The BeadTask object defines a bead task.
The BeadTask object is derived from the OptimizationTask object.
import optimization mdb.models[name].optimizationTasks[name]
This method creates a BeadTask object.
mdb.models[name].BeadTask
Required argument
A String specifying the optimization task repository key.
Optional arguments
A SymbolicConstant specifying the optimization task algorithm. Possible values are GENERAL_OPTIMIZATION and CONDITION_BASED_OPTIMIZATION. The default value is GENERAL_OPTIMIZATION.
A Boolean specifying whether to exclude elements with boundary conditions from the optimization. The default value is OFF.
An int specifying step size of the optimization. The default value is 1.
A float specifying maximum membrane/bending stress. The default value is 0.1.
A float specifying minimum stress. The default value is 0.001.
A Sets perturbation size for finite differences. The default value is 0.0001.
A SymbolicConstant specifying the Optimization product default or a float specifying the bead width. The default value is DEFAULT.
A float specifying relative value to the middle element edge length such that normals in this area do not cross each other. The default value is 5.
A float specifying the filter radius. The default value is 4.
A SymbolicConstant specifying the method used to define filter radius. Possible values are VALUE and REFERENCE. The default is VALUE.
A Boolean specifying whether the growth direction is along the normal direction of elements or opposite to the normal direction. The default value is OFF
When nodes with boundary conditions are excluded from the optimization (frozenBoundaryConditionRegions = ON). you can specify that this exclusion apply to nodes throughout the model or only to those nodes from a specific region. Set this parameter to the SymbolicConstant MODEL to apply the freeze to the entire model, or set this parameter to a Region object to specify an individual region over which nodes with boundary conditions should be frozen. The default value is MODEL.
A Boolean specifying whether to calculate the sensitivities only on design nodes or the whole model. The default value is ON
The SymbolicConstant MODEL or a Region object specifying the region to use for mode tracking. The default value is MODEL.
A Float specifying the maximum change in nodal displacement per design cycle. The default value is 0.1.
A SymbolicConstant specifying the Optimization product default or a float specifying the node smooth. The default value is DEFAULT.
A SymbolicConstant specifying the strategy for how the nodal displacements are updated in the method of moving asymptotes. Possible values are NORMAL, CONSERVATIVE, and AGGRESSIVE. The default value is CONSERVATIVE.
An Int specifying the number of modes included in mode tracking. The default value is 5.
A SymbolicConstant specifying whether to update shape basis vectors in the first design cycle or every design cycle. Possible values are EVERY_CYCLE and FIRST_CYCLE. The default value is EVERY_CYCLE.
Return value
A BeadTask object.
Exceptions
This method modifies the BeadTask object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the BeadTask method, except for the name argument.
Return value
Exceptions
The BeadTask object has members with the same names and descriptions as the arguments to the BeadTask method.
In addition, the BeadTask object can have the following members:
A repository of DesignResponse objects.
A repository of ObjectiveFunction objects.
A repository of OptimizationConstraint objects.
A repository of GeometricRestriction objects.