This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
UserMaterial.py
89 lines (72 loc) · 2.92 KB
/
UserMaterial.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
from abaqusConstants import *
class UserMaterial:
"""The UserMaterial object defines material constants for use in subroutines UMAT, UMATHT,
or VUMAT.
Notes
-----
This object can be accessed by:
.. code-block:: python
import material
mdb.models[name].materials[name].userMaterial
import odbMaterial
session.odbs[name].materials[name].userMaterial
The corresponding analysis keywords are:
- USER MATERIAL
"""
def __init__(
self,
type: SymbolicConstant = MECHANICAL,
unsymm: Boolean = OFF,
mechanicalConstants: tuple = (),
thermalConstants: tuple = (),
effmod: Boolean = OFF,
hybridFormulation: SymbolicConstant = INCREMENTAL,
):
"""This method creates a UserMaterial object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].UserMaterial
session.odbs[name].materials[name].UserMaterial
Parameters
----------
type
A SymbolicConstant specifying the type of material behavior defined by the command.
Possible values are MECHANICAL, THERMAL, and THERMOMECHANICAL. The default value is
MECHANICAL.
unsymm
A Boolean specifying if the material stiffness matrix, ∂Δσ/∂Δε, is not symmetric or,
when a thermal constitutive model is used, if ∂f/∂(∂θ/∂x) is not symmetric. The default
value is OFF. This argument is valid only for an Abaqus/Standard analysis.
mechanicalConstants
A sequence of Floats specifying the mechanical constants of the material. This argument
is valid only when *type*=MECHANICAL or THERMOMECHANICAL. The default value is an empty
sequence.
thermalConstants
A sequence of Floats specifying the thermal constants of the material. This argument is
valid only when *type*=THERMAL or THERMOMECHANICAL. The default value is an empty
sequence.
effmod
A Boolean specifying if effective bulk modulus and shear modulus are returned by user
subroutine VUMAT. The default value is OFF. This argument is valid only in an
Abaqus/Explicit analysis.
hybridFormulation
A SymbolicConstant to specify the formulation of the hybrid element with user subroutine
UMAT. Possible values are TOTAL, INCREMENTAL, and INCOMPRESSIBLE. The default value is
INCREMENTAL. This argument is valid only in an Abaqus/Standard analysis.
Returns
-------
A UserMaterial object.
Raises
------
RangeError
"""
pass
def setValues(self):
"""This method modifies the UserMaterial object.
Raises
------
RangeError
"""
pass