36.2 BeadTask object

The BeadTask object defines a bead task.

The BeadTask object is derived from the OptimizationTask object.

Access
        import optimization
        mdb.models[name].optimizationTasks[name]
      


36.2.1 BeadTask(...)

This method creates a BeadTask object.

Path
          mdb.models[name].BeadTask
        

Required argument

name

A String specifying the optimization task repository key.

Optional arguments

algorithm

A SymbolicConstant specifying the optimization task algorithm. Possible values are GENERAL_OPTIMIZATION and CONDITION_BASED_OPTIMIZATION. The default value is GENERAL_OPTIMIZATION.

areBCRegionsFrozen

A Boolean specifying whether to exclude elements with boundary conditions from the optimization. The default value is OFF.

beadIter

An int specifying step size of the optimization. The default value is 1.

beadMaxMembraneStress

A float specifying maximum membrane/bending stress. The default value is 0.1.

beadMinStress

A float specifying minimum stress. The default value is 0.001.

beadPerturbation

A Sets perturbation size for finite differences. The default value is 0.0001.

beadWidth

A SymbolicConstant specifying the Optimization product default or a float specifying the bead width. The default value is DEFAULT.

curveSmooth

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.

filterRadius

A float specifying the filter radius. The default value is 4.

filterRadiusBy

A SymbolicConstant specifying the method used to define filter radius. Possible values are VALUE and REFERENCE. The default is VALUE.

flipNormalDir

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

frozenBoundaryConditionRegion

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.

isSensCalcOnlyOnDesignNodes

A Boolean specifying whether to calculate the sensitivities only on design nodes or the whole model. The default value is ON

modeTrackingRegion

The SymbolicConstant MODEL or a Region object specifying the region to use for mode tracking. The default value is MODEL.

nodalMoveLimit

A Float specifying the maximum change in nodal displacement per design cycle. The default value is 0.1.

nodeSmooth

A SymbolicConstant specifying the Optimization product default or a float specifying the node smooth. The default value is DEFAULT.

nodeUpdateStrategy

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.

numTrackedModes

An Int specifying the number of modes included in mode tracking. The default value is 5.

updateShapeBasisVectors

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

None.


36.2.2 setValues(...)

This method modifies the BeadTask object.

Required arguments

None.

Optional arguments

The optional arguments to setValues are the same as the arguments to the BeadTask method, except for the name argument.

Return value

None

Exceptions

None.


36.2.3  Members

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:

designResponses

A repository of DesignResponse objects.

objectiveFunctions

A repository of ObjectiveFunction objects.

optimizationConstraints

A repository of OptimizationConstraint objects.

geometricRestrictions

A repository of GeometricRestriction objects.