This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
Trs.py
64 lines (47 loc) · 1.78 KB
/
Trs.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
from abaqusConstants import *
class Trs:
"""The Trs object defines the temperature-time shift for time history viscoelastic
analysis.
Notes
-----
This object can be accessed by:
.. code-block:: python
import material
mdb.models[name].materials[name].viscoelastic.trs
mdb.models[name].materials[name].viscosity.trs
import odbMaterial
session.odbs[name].materials[name].viscoelastic.trs
session.odbs[name].materials[name].viscosity.trs
The table data for this object are:
- Reference temperature, θ0θ0.
- Calibration constant, C1C1.
- Calibration constant, C2C2.
The corresponding analysis keywords are:
- TRS
"""
def __init__(self, definition: SymbolicConstant = WLF, table: tuple = ()):
"""This method creates a Trs object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].viscoelastic.Trs
mdb.models[name].materials[name].viscosity.Trs
session.odbs[name].materials[name].viscoelastic.Trs
session.odbs[name].materials[name].viscosity.Trs
Parameters
----------
definition
A SymbolicConstant specifying the definition of the shift function. Possible values are
WLF, ARRHENIUS, and USER. The default value is WLF.
table
A sequence of sequences of Floats specifying the items described below. The default
value is an empty sequence.This argument is valid only when *definition*=WLF.
Returns
-------
A Trs object.
"""
pass
def setValues(self):
"""This method modifies the Trs object."""
pass