This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
VelocityAdaptiveMeshConstraintState.py
221 lines (192 loc) · 10.3 KB
/
VelocityAdaptiveMeshConstraintState.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
from abaqusConstants import *
from .AdaptiveMeshConstraintState import AdaptiveMeshConstraintState
class VelocityAdaptiveMeshConstraintState(AdaptiveMeshConstraintState):
"""The VelocityAdaptiveMeshConstraintState object stores the propagating data for an
Arbitrary Lagrangian Eularian (ALE) style velocity adaptive mesh constraint in a step.
One instance of this object is created internally by the VelocityAdaptiveMeshConstraint
object for each step. The instance is also deleted internally by the
VelocityAdaptiveMeshConstraint object.
The VelocityAdaptiveMeshConstraintState object has no constructor or methods.
The VelocityAdaptiveMeshConstraintState object is derived from the
AdaptiveMeshConstraintState object.
Attributes
----------
v1: float
A Float specifying the velocity component in the 1-direction.
v2: float
A Float specifying the velocity component in the 2-direction.
v3: float
A Float specifying the velocity component in the 3-direction.
vr1: float
A Float specifying the rotational velocity component about the 1-direction.
vr2: float
A Float specifying the rotational velocity component about the 2-direction.
vr3: float
A Float specifying the rotational velocity component about the 3-direction.
v1State: SymbolicConstant
A SymbolicConstant specifying the propagation state of the velocity component in the
1-direction. Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
v2State: SymbolicConstant
A SymbolicConstant specifying the propagation state of the velocity component in the
2-direction. Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
v3State: SymbolicConstant
A SymbolicConstant specifying the propagation state of the velocity component in the
3-direction. Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
vr1State: SymbolicConstant
A SymbolicConstant specifying the propagation state of the rotational velocity component
about the 1-direction. Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
vr2State: SymbolicConstant
A SymbolicConstant specifying the propagation state of the rotational velocity component
about the 2-direction. Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
vr3State: SymbolicConstant
A SymbolicConstant specifying the propagation state of the rotational velocity component
about the 3-direction. Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
amplitudeState: SymbolicConstant
A SymbolicConstant specifying the propagation state of the amplitude reference. Possible
values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
status: SymbolicConstant
A SymbolicConstant specifying the propagation state of the AdaptiveMeshConstraintState
object. Possible values
are: NOT_YET_ACTIVE, CREATED, PROPAGATED, MODIFIED, DEACTIVATED, NO_LONGER_ACTIVE, TYPE_NOT_APPLICABLE
INSTANCE_NOT_APPLICABLE, PROPAGATED_FROM_BASE_STATE, MODIFIED_FROM_BASE_STATE, DEACTIVATED_FROM_BASE_STATE,
BUILT_INTO_MODES
amplitude: str
A String specifying the name of the amplitude reference. The String is empty if the
adaptive mesh constraint has no amplitude reference.
Notes
-----
This object can be accessed by:
.. code-block:: python
import step
mdb.models[name].steps[name].adaptiveMeshConstraintStates[name]
The corresponding analysis keywords are:
- ADAPTIVE MESH CONSTRAINT
"""
# A Float specifying the velocity component in the 1-direction.
v1: float = None
# A Float specifying the velocity component in the 2-direction.
v2: float = None
# A Float specifying the velocity component in the 3-direction.
v3: float = None
# A Float specifying the rotational velocity component about the 1-direction.
vr1: float = None
# A Float specifying the rotational velocity component about the 2-direction.
vr2: float = None
# A Float specifying the rotational velocity component about the 3-direction.
vr3: float = None
# A SymbolicConstant specifying the propagation state of the velocity component in the
# 1-direction. Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
v1State: SymbolicConstant = None
# A SymbolicConstant specifying the propagation state of the velocity component in the
# 2-direction. Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
v2State: SymbolicConstant = None
# A SymbolicConstant specifying the propagation state of the velocity component in the
# 3-direction. Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
v3State: SymbolicConstant = None
# A SymbolicConstant specifying the propagation state of the rotational velocity component
# about the 1-direction. Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
vr1State: SymbolicConstant = None
# A SymbolicConstant specifying the propagation state of the rotational velocity component
# about the 2-direction. Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
vr2State: SymbolicConstant = None
# A SymbolicConstant specifying the propagation state of the rotational velocity component
# about the 3-direction. Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
vr3State: SymbolicConstant = None
# A SymbolicConstant specifying the propagation state of the amplitude reference. Possible
# values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
amplitudeState: SymbolicConstant = None
# A SymbolicConstant specifying the propagation state of the AdaptiveMeshConstraintState
# object. Possible values
# are: NOT_YET_ACTIVE, CREATED, PROPAGATED, MODIFIED, DEACTIVATED, NO_LONGER_ACTIVE, TYPE_NOT_APPLICABLE
# INSTANCE_NOT_APPLICABLE, PROPAGATED_FROM_BASE_STATE, MODIFIED_FROM_BASE_STATE, DEACTIVATED_FROM_BASE_STATE,
# BUILT_INTO_MODES
status: SymbolicConstant = None
# A String specifying the name of the amplitude reference. The String is empty if the
# adaptive mesh constraint has no amplitude reference.
amplitude: str = ""
def __init__(
self,
v1: float = None,
v2: float = None,
v3: float = None,
vr1: float = None,
vr2: float = None,
vr3: float = None,
v1State: SymbolicConstant = None,
v2State: SymbolicConstant = None,
v3State: SymbolicConstant = None,
vr1State: SymbolicConstant = None,
vr2State: SymbolicConstant = None,
vr3State: SymbolicConstant = None,
amplitudeState: SymbolicConstant = None,
status: SymbolicConstant = None,
amplitude: str = "",
):
"""The VelocityAdaptiveMeshConstraintState object stores the propagating data for an
Arbitrary Lagrangian Eularian (ALE) style velocity adaptive mesh constraint in a step.
One instance of this object is created internally by the VelocityAdaptiveMeshConstraint
object for each step. The instance is also deleted internally by the
VelocityAdaptiveMeshConstraint object.
The VelocityAdaptiveMeshConstraintState object has no constructor or methods.
The VelocityAdaptiveMeshConstraintState object is derived from the
AdaptiveMeshConstraintState object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].steps[name].VelocityAdaptiveMeshConstraintState
Parameters
----------
v1
A Float specifying the velocity component in the 1-direction.
v2
A Float specifying the velocity component in the 2-direction.
v3
A Float specifying the velocity component in the 3-direction.
vr1
A Float specifying the rotational velocity component about the 1-direction.
vr2
A Float specifying the rotational velocity component about the 2-direction.
vr3
A Float specifying the rotational velocity component about the 3-direction.
v1State
A SymbolicConstant specifying the propagation state of the velocity component in the 1-direction.
Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
v2State
A SymbolicConstant specifying the propagation state of the velocity component in the 2-direction.
Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
v3State
A SymbolicConstant specifying the propagation state of the velocity component in the 3-direction.
Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
vr1State
A SymbolicConstant specifying the propagation state of the rotational velocity component about the
1-direction. Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
vr2State
A SymbolicConstant specifying the propagation state of the rotational velocity component about the
2-direction. Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
vr3State
A SymbolicConstant specifying the propagation state of the rotational velocity component about the
3-direction. Possible values are UNSET, SET, UNCHANGED, FREED, and MODIFIED.
amplitudeState
A SymbolicConstant specifying the propagation state of the amplitude reference. Possible values are UNSET,
SET, UNCHANGED, FREED, and MODIFIED.
status
A SymbolicConstant specifying the propagation state of the AdaptiveMeshConstraintState object. Possible
values are:
- NOT_YET_ACTIVE
- CREATED
- PROPAGATED
- MODIFIED
- DEACTIVATED
- NO_LONGER_ACTIVE
- TYPE_NOT_APPLICABLE
- INSTANCE_NOT_APPLICABLE
- PROPAGATED_FROM_BASE_STATE
- MODIFIED_FROM_BASE_STATE
- DEACTIVATED_FROM_BASE_STATE
- BUILT_INTO_MODES
amplitude
A String specifying the name of the amplitude reference. The String is empty if the adaptive mesh
constraint has no amplitude reference.
"""
super().__init__(amplitudeState, status, amplitude)