Source code for abaqus.BoundaryCondition.SecondaryBaseBC
from abaqusConstants import *
from .BoundaryCondition import BoundaryCondition
from ..Region.Region import Region
from ..Region.RegionArray import RegionArray
[docs]class SecondaryBaseBC(BoundaryCondition):
"""The SecondaryBaseBC object stores the data for a secondary base boundary condition.
The SecondaryBaseBC object is derived from the BoundaryCondition object.
Attributes
----------
name: str
A String specifying the boundary condition repository key.
dofs: int
A tuple of tuples of Ints specifying the constrained degrees-of-freedom.
regions: RegionArray
A :py:class:`~abaqus.Region.RegionArray.RegionArray` object specifying the region to which the boundary condition is applied.
Note that the usual **region** is ignored. The default value is MODEL.
category: SymbolicConstant
A SymbolicConstant specifying the category of the boundary condition. Possible values
are MECHANICAL and THERMAL.
region: Region
A :py:class:`~abaqus.Region.Region.Region` object specifying the region to which the boundary condition is applied.
localCsys: str
None or a :py:class:`~abaqus.Datum.DatumCsys.DatumCsys` object specifying the local coordinate system of the boundary
condition's degrees of freedom. If **localCsys=None**, the degrees of freedom are defined
in the global coordinate system. The default value is None.
Notes
-----
This object can be accessed by:
.. code-block:: python
import load
mdb.models[name].boundaryConditions[name]
"""
# A String specifying the boundary condition repository key.
name: str = ''
# A tuple of tuples of Ints specifying the constrained degrees-of-freedom.
dofs: int = None
# A RegionArray object specifying the region to which the boundary condition is applied.
# Note that the usual *region* is ignored. The default value is MODEL.
regions: RegionArray = MODEL
# A SymbolicConstant specifying the category of the boundary condition. Possible values
# are MECHANICAL and THERMAL.
category: SymbolicConstant = None
# A Region object specifying the region to which the boundary condition is applied.
region: Region = Region()
# None or a DatumCsys object specifying the local coordinate system of the boundary
# condition's degrees of freedom. If *localCsys*=None, the degrees of freedom are defined
# in the global coordinate system. The default value is None.
localCsys: str = None
def __init__(self, name: str, createStepName: str, regions: RegionArray, dofs: tuple):
"""This method creates a SecondaryBaseBC object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].SecondaryBaseBC
Parameters
----------
name
A String specifying the boundary condition repository key.
createStepName
A String specifying the name of the step in which the boundary condition is created.
regions
A RegionArray object specifying the region to which the boundary condition is applied.
Note that the usual *region* is ignored. The default value is MODEL.
dofs
A sequence of sequences of Ints specifying the constrained degrees-of-freedom.
Returns
-------
A SecondaryBaseBC object.
"""
super().__init__()
pass
[docs] def setValues(self):
"""This method modifies the data for an existing SecondaryBaseBC object in the step where
it is created.
"""
pass
[docs] def setValuesInStep(self, stepName: str):
"""This method modifies the propagating data for an existing SecondaryBaseBC object in the
specified step.
Parameters
----------
stepName
A String specifying the name of the step in which the boundary condition is modified.
"""
pass