This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
ContactDamping.py
115 lines (89 loc) · 4.61 KB
/
ContactDamping.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
import typing
from abaqusConstants import *
class ContactDamping:
"""The ContactDamping object specifies damping for a contact interaction property.
Attributes
----------
definition: SymbolicConstant
A SymbolicConstant specifying the method used to define the damping. Possible values are
DAMPING_COEFFICIENT and CRITICAL_DAMPING_FRACTION. The default value is
DAMPING_COEFFICIENT.
tangentFraction: typing.Union[SymbolicConstant, float]
The SymbolicConstant DEFAULT or a Float specifying the tangential damping coefficient
divided by the normal damping coefficient. The default value is DEFAULT.
clearanceDependence: SymbolicConstant
A SymbolicConstant specifying the variation of the damping coefficient or fraction with
respect to clearance. Possible values are STEP, LINEAR, and BILINEAR. The default value
is STEP.If **definition=CRITICAL_DAMPING_FRACTION**, the only possible value is STEP.
table: float
A tuple of pairs of Floats specifying the damping properties. The items in the table
data are described below.
Notes
-----
This object can be accessed by:
.. code-block:: python
import interaction
mdb.models[name].interactionProperties[name].damping
The table data for this object are:
- If *definition*=DAMPING_COEFFICIENT and *clearanceDependence*=STEP, the table data specify the following:
- Damping coefficient.
- If *definition*=DAMPING_COEFFICIENT and *clearanceDependence*=LINEAR or BILINEAR, the table data specify the following:
- Damping coefficient.
- Clearance.
Two pairs must be given for *clearanceDependence*=LINEAR and three pairs for *clearanceDependence*=BILINEAR. The first pair must have *clearance*=0.0, and the last pair must have *coefficient*=0.0.
- If *definition*=CRITICAL_DAMPING_FRACTION, the table data specify the following:
- Critical damping fraction.
The corresponding analysis keywords are:
- CONTACT DAMPING
"""
# A SymbolicConstant specifying the method used to define the damping. Possible values are
# DAMPING_COEFFICIENT and CRITICAL_DAMPING_FRACTION. The default value is
# DAMPING_COEFFICIENT.
definition: SymbolicConstant = DAMPING_COEFFICIENT
# The SymbolicConstant DEFAULT or a Float specifying the tangential damping coefficient
# divided by the normal damping coefficient. The default value is DEFAULT.
tangentFraction: typing.Union[SymbolicConstant, float] = DEFAULT
# A SymbolicConstant specifying the variation of the damping coefficient or fraction with
# respect to clearance. Possible values are STEP, LINEAR, and BILINEAR. The default value
# is STEP.If *definition*=CRITICAL_DAMPING_FRACTION, the only possible value is STEP.
clearanceDependence: SymbolicConstant = STEP
# A tuple of pairs of Floats specifying the damping properties. The items in the table
# data are described below.
table: float = None
def __init__(
self,
definition: SymbolicConstant = DAMPING_COEFFICIENT,
tangentFraction: typing.Union[SymbolicConstant, float] = DEFAULT,
clearanceDependence: SymbolicConstant = STEP,
table: tuple = (),
):
"""This method creates a ContactDamping object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].interactionProperties[name].Damping
Parameters
----------
definition
A SymbolicConstant specifying the method used to define the damping. Possible values are
DAMPING_COEFFICIENT and CRITICAL_DAMPING_FRACTION. The default value is
DAMPING_COEFFICIENT.
tangentFraction
The SymbolicConstant DEFAULT or a Float specifying the tangential damping coefficient
divided by the normal damping coefficient. The default value is DEFAULT.
clearanceDependence
A SymbolicConstant specifying the variation of the damping coefficient or fraction with
respect to clearance. Possible values are STEP, LINEAR, and BILINEAR. The default value
is STEP.If *definition*=CRITICAL_DAMPING_FRACTION, the only possible value is STEP.
table
A sequence of pairs of Floats specifying the damping properties. The items in the table
data are described below.
Returns
-------
A ContactDamping object.
"""
pass
def setValues(self):
"""This method modifies the ContactDamping object."""
pass