This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
Viscous.py
134 lines (116 loc) · 3.57 KB
/
Viscous.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
from abaqusConstants import *
from ...Potential import Potential
class Viscous:
"""The Viscous object specifies the viscous properties for a two-layer viscoplastic
material model.
Notes
-----
This object can be accessed by:
.. code-block:: python
import material
mdb.models[name].materials[name].viscous
import odbMaterial
session.odbs[name].materials[name].viscous
The table data for this object are:
- If *law*=STRAIN or *law*=TIME, the table data specify the following:
- A.
- n.
- m.
- f.
- Temperature, if the data depend on temperature.
- Value of the first field variable, if the data depend on field variables.
- Value of the second field variable.
- Etc.
- If *law*=USER, the table data specify the following:
- f.
- Temperature, if the data depend on temperature.
- Value of the first field variable, if the data depend on field variables.
- Value of the second field variable.
- Etc.
- If *law*=ANAND, the table data specify the following:
- s1.
- QR.
- A.
- ξ.
- m.
- A00.
- ˆs.
- n.
- a.
- S2.
- S3.
- A1.
- A2.
- A3.
- A4.
- f.
- If *law*=DARVEAUX, the table data specify the following:
- Css.
- QR.
- α.
- n.
- ϵT.
- B.
- f.
- If *law*=DOUBLE_POWER, the table data specify the following:
- A1.
- B1.
- C1.
- A2.
- B2.
- C2.
- σ0.
- f.
- If *law*=POWER_LAW or *law*=TIME_POWER_LAW, the table data specify the following:
- q0.
- n.
- m.
- ∙ε0.
- f.
- Temperature, if the data depend on temperature.
- Value of the first field variable, if the data depend on field variables.
- Value of the second field variable.
- Etc.
The corresponding analysis keywords are:
- VISCOUS
"""
# A Potential object.
potential: Potential = Potential(((),))
def __init__(
self,
table: tuple,
law: SymbolicConstant = STRAIN,
temperatureDependency: Boolean = OFF,
dependencies: int = 0,
time: SymbolicConstant = TOTAL,
):
"""This method creates a Viscous object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].Viscous
session.odbs[name].materials[name].Viscous
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
law
A SymbolicConstant specifying the creep law. Possible values are STRAIN, TIME, USER,
ANAND, DARVEAUX, DOUBLE_POWER, POWER_LAW, and TIME_POWER_LAW. The default value is
STRAIN.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
time
A SymbolicConstant specifying the time interval for relevant laws. Possible values are
CREEP and TOTAL. The default value is TOTAL.
Returns
-------
A Viscous object.
"""
pass
def setValues(self):
"""This method modifies the Viscous object."""
pass