This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
StdInitialization.py
113 lines (95 loc) · 4.14 KB
/
StdInitialization.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
from abaqusConstants import *
from .ContactInitialization import ContactInitialization
class StdInitialization(ContactInitialization):
"""The StdInitialization object is used in conjunction with ContactStd in Abaqus/Standard
analyses to specify contact initialization data.
The StdInitialization object is derived from the ContactInitialization object.
Notes
-----
This object can be accessed by:
.. code-block:: python
import interaction
mdb.models[name].contactInitializations[name]
The corresponding analysis keywords are:
- CONTACT INITIALIZATION DATA
"""
def __init__(
self,
name: str,
overclosureType: SymbolicConstant = ADJUST,
interferenceDistance: float = None,
clearanceDistance: float = None,
openingTolerance: float = None,
overclosureTolerance: float = None,
):
"""This method creates a StdInitialization object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].StdInitialization
Parameters
----------
name
A String specifying the contact initialization repository key.
overclosureType
A SymbolicConstant specifying the type of overclosure to be defined. Possible values are
ADJUST, INTERFERENCE, and CLEARANCE. The default value is ADJUST.
interferenceDistance
None or a Float specifying the interference distance. This argument is valid only when
*overclosureType*=INTERFERENCE. The default value is None.
clearanceDistance
None or a Float specifying the initial clearance distance. This argument is valid only
when *overclosureType*=CLEARANCE, and must be specified in that case. The default value
is None.
openingTolerance
None or a Float specifying the distance tolerance within which initial openings will
undergo strain-free adjustments. This argument is not valid when
*overclosureType*=INTERFERENCE unless a value has been specified for
*interferenceDistance*. The default value is None.
overclosureTolerance
None or a Float specifying the distance tolerance within which initial overclosures will
undergo strain-free adjustments.. The default value is None.
Returns
-------
A StdInitialization object.
Raises
------
RangeError
"""
super().__init__()
pass
def setValues(
self,
overclosureType: SymbolicConstant = ADJUST,
interferenceDistance: float = None,
clearanceDistance: float = None,
openingTolerance: float = None,
overclosureTolerance: float = None,
):
"""This method modifies the StdInitialization object.
Parameters
----------
overclosureType
A SymbolicConstant specifying the type of overclosure to be defined. Possible values are
ADJUST, INTERFERENCE, and CLEARANCE. The default value is ADJUST.
interferenceDistance
None or a Float specifying the interference distance. This argument is valid only when
*overclosureType*=INTERFERENCE. The default value is None.
clearanceDistance
None or a Float specifying the initial clearance distance. This argument is valid only
when *overclosureType*=CLEARANCE, and must be specified in that case. The default value
is None.
openingTolerance
None or a Float specifying the distance tolerance within which initial openings will
undergo strain-free adjustments. This argument is not valid when
*overclosureType*=INTERFERENCE unless a value has been specified for
*interferenceDistance*. The default value is None.
overclosureTolerance
None or a Float specifying the distance tolerance within which initial overclosures will
undergo strain-free adjustments.. The default value is None.
Raises
------
RangeError
"""
pass