This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
TableCollectionStep.py
60 lines (48 loc) · 1.81 KB
/
TableCollectionStep.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
from ..Step.StepBase import StepBase
from ..TableCollection.ActivateElements import ActivateElements
class TableCollectionStep(StepBase):
"""The Step object stores the parameters that determine the context of the step. The Step
object is the abstract base type for other Step objects. The Step object has no explicit
constructor. The methods and members of the Step object are common to all objects
derived from the Step.
Notes
-----
This object can be accessed by:
.. code-block:: python
import step
mdb.models[name].steps[name]
"""
def ActivateElements(
self,
tableCollection: str,
activation: str,
eigenTimeConst: str = "",
expansionTimeConstant: str = "",
) -> ActivateElements:
"""This method creates an ActivateElements object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].ActivateElements
Parameters
----------
tableCollection
A String specifying the name of the tableCollection object.
activation
A string specifying the name of progressive element activation.
eigenTimeConst
A Double specifying the time constant used to ramp up the eigenstrains at element
activation.
expansionTimeConstant
A Double specifying the time constant used to ramp up the thermal strains at element
activation.
Returns
-------
elements: ActivateElements
An ActivateElements object.
"""
self.activateElements["activation"] = activateElements = ActivateElements(
tableCollection, activation, eigenTimeConst, expansionTimeConstant
)
return activateElements