This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
MeanFieldInclusion.py
114 lines (95 loc) · 4.19 KB
/
MeanFieldInclusion.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
from abaqusConstants import *
class MeanFieldInclusion:
"""The MeanFieldInclusion object specifies the inclusion type multiscale material property.
Notes
-----
This object can be accessed by:
.. code-block:: python
import material
mdb.models[name].materials[name].constituents[name]
import odbMaterial
session.odbs[name].materials[name].constituents[name]
The table data for this object are:
- Volume fraction.
- Aspect ratio.
- Components of the direction vector defined in the local coordinate system when *direction*=FIXED. Components of the second-order orientation tensor in the local coordinate system when *direction*=ORIENTATION_TENSOR.
- Etc.
The corresponding analysis keywords are:
- CONSTITUENT
"""
def __init__(
self,
name: str,
table: tuple,
material: str = "",
isotropizationCoefficient: float = None,
volumeFractionType: SymbolicConstant = UNIFORM,
volumeFractionFieldName: str = "",
aspectRatioType: SymbolicConstant = UNIFORM,
aspectRatioFieldName: str = "",
orientationTensorType: SymbolicConstant = UNIFORM,
orientationTensorFieldName: str = "",
shape: SymbolicConstant = SPHERE,
direction: SymbolicConstant = None,
strainConcentrationTensor: tuple = (),
temperatureGradientConcentrationTensor: tuple = (),
):
"""This method creates a MeanFieldInclusion object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].meanFieldHomogenization.MeanFieldInclusion
session.odbs[name].materials[name].meanFieldHomogenization.MeanFieldInclusion
Parameters
----------
name
A String specifying the constituent repository key.
table
A sequence of sequences of Floats specifying the items described below.
material
A String specifying the name of the material.
isotropizationCoefficient
A Float specifying the factor used for scaling the Plastic strain of the constituent
when calculating the isotropic part of the tangent.
volumeFractionType
A SymbolicConstant specifying the type of volume fraction. Possible values are UNIFORM,
ANALYTICAL_FIELD, and DISCRETE_FIELD. The default value is UNIFORM.
volumeFractionFieldName
A String specifying the name of the AnalyticalField object or DiscreteField object.
aspectRatioType
A SymbolicConstant specifying the type of aspect ratio. Possible values are UNIFORM,
ANALYTICAL_FIELD, and DISCRETE_FIELD. The default value is UNIFORM.
aspectRatioFieldName
A String specifying the name of the AnalyticalField object or DiscreteField object.
orientationTensorType
A SymbolicConstant specifying the type of orientation tensor. Possible values are
UNIFORM, ANALYTICAL_FIELD, and DISCRETE_FIELD. The default value is UNIFORM.
orientationTensorFieldName
A String specifying the name of the AnalyticalField object or DiscreteField object.
shape
A SymbolicConstant specifying the type of inclusion shapes. Possible values are SPHERE,
PROLATE, OBLATE, CYLINDER, PENNY, and ELLIPTIC_CYLINDER. The default value is SPHERE.
direction
A SymbolicConstant specifying the type of inclusion direction. Possible values are
FIXED, RANDOM3D, and ORIENTATION_TENSOR.
strainConcentrationTensor
A sequence of Floats defining the 36 components of the strain concentration tensor.
temperatureGradientConcentrationTensor
A sequence of Floats defining the 9 components of the temperature gradient concentration
tensor.
Returns
-------
A MeanFieldInclusion object.
Raises
------
RangeError
"""
pass
def setValues(self):
"""This method modifies the MeanFieldInclusion object.
Raises
------
RangeError
"""
pass