This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
TableCollectionAssembly.py
76 lines (62 loc) · 2.71 KB
/
TableCollectionAssembly.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
from abaqusConstants import *
from .ElementProgressiveActivation import ElementProgressiveActivation
from ..Assembly.AssemblyBase import AssemblyBase
from ..Region.Region import Region
class TableCollectionAssembly(AssemblyBase):
"""An Assembly object is a container for instances of parts. The Assembly object has no
constructor command. Abaqus creates the *rootAssembly* member when a Model object is
created.
Notes
-----
This object can be accessed by:
.. code-block:: python
import assembly
mdb.models[name].rootAssembly
"""
elementProgressiveActivations: dict[str, ElementProgressiveActivation] = dict[
str, ElementProgressiveActivation
]()
def ElementProgressiveActivation(
self,
name: str,
elset: Region = Region(),
deformation: Boolean = OFF,
freeSurfaceType: SymbolicConstant = NONE,
) -> ElementProgressiveActivation:
"""This method creates an ElementProgressiveActivation object and places it in the
elementProgressiveActivation repository.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].rootAssembly.ElementProgressiveActivation
Parameters
----------
name
A String specifying the key of the repository.
elset
A Region object specifying the region containing the elements that will be activated
during the analysis.
deformation
A Boolean value specifying whether the elements that have not yet been activated will
follow the deformations of the active elements. Set *deformation*=ON when the
deformation of the active elements is excessive. The default value is OFF.
freeSurfaceType
A SymbolicConstant specifying the exposed areas of the element facets that are active
for convection or radiation boundary conditions to be applied. Possible values are NONE
and FACET. If *freeSurfaceType*=FACET, user subroutine UEPACTIVATIONFACET will be called
at the start of the increment for each element. If *freeSurfaceType*=NONE, all the
exposed areas of the element facets are considered. The default value is NONE.
Returns
-------
An ElementProgressiveActivation object.
Raises
------
AbaqusException: If the region does not contain only elements.
"""
self.elementProgressiveActivations[
name
] = elementProgressiveActivation = ElementProgressiveActivation(
name, elset, deformation, freeSurfaceType
)
return elementProgressiveActivation