Source code for abaqus.Optimization.BeadGrowth
from .GeometricRestriction import GeometricRestriction
from ..Region.Region import Region
[docs]class BeadGrowth(GeometricRestriction):
"""The BeadGrowth object defines a growth geometric restriction.
The BeadGrowth object is derived from the GeometricRestriction object.
Notes
-----
This object can be accessed by:
.. code-block:: python
import optimization
mdb.models[name].optimizationTasks[name].geometricRestrictions[name]
"""
def __init__(self, name: str, region: Region, beadGrowth: float = 0, shrink: float = 0):
"""This method creates a BeadGrowth object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].optimizationTasks[name].BeadGrowth
Parameters
----------
name
A String specifying the geometric restriction repository key.
region
A Region object specifying the region to which the geometric restriction is applied.
beadGrowth
A Float specifying the maximum optimization displacement in the growth direction. Either
*beadGrowth* or *shrink* or both must be specified. The default value is 0.0.
shrink
A Float specifying the maximum optimization displacement in the shrink direction. Either
*beadGrowth* or *shrink* or both must be specified The default value is 0.0.
Returns
-------
A BeadGrowth object.
"""
super().__init__()
pass
[docs] def setValues(self, beadGrowth: float = 0, shrink: float = 0):
"""This method modifies the BeadGrowth object.
Parameters
----------
beadGrowth
A Float specifying the maximum optimization displacement in the growth direction. Either
*beadGrowth* or *shrink* or both must be specified. The default value is 0.0.
shrink
A Float specifying the maximum optimization displacement in the shrink direction. Either
*beadGrowth* or *shrink* or both must be specified The default value is 0.0.
"""
pass