This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
MembraneSection.py
135 lines (115 loc) · 5.06 KB
/
MembraneSection.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
135
from abaqusConstants import *
from .RebarLayers import RebarLayers
from .Section import Section
class MembraneSection(Section):
"""The MembraneSection object defines the properties of a membrane section.
The MembraneSection object is derived from the Section object.
Attributes
----------
rebarLayers: RebarLayers
A :py:class:`~abaqus.Section.RebarLayers.RebarLayers` object specifying reinforcement properties.
Notes
-----
This object can be accessed by:
.. code-block:: python
import section
mdb.models[name].sections[name]
import odbSection
session.odbs[name].sections[name]
The corresponding analysis keywords are:
- MEMBRANE SECTION
"""
# A RebarLayers object specifying reinforcement properties.
rebarLayers: RebarLayers = None
def __init__(
self,
name: str,
material: str,
thickness: float = 1,
thicknessType: SymbolicConstant = UNIFORM,
poissonDefinition: SymbolicConstant = DEFAULT,
poisson: float = 0,
thicknessField: str = "",
):
"""This method creates a MembraneSection object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].MembraneSection
session.odbs[name].MembraneSection
Parameters
----------
name
A String specifying the repository key.
material
A String specifying the name of the material.
thickness
A Float specifying the thickness for the section. Possible values are *thickness* >>
0.0. The default value is 1.0.
thicknessType
A SymbolicConstant specifying the distribution used for defining the thickness of the
elements. Possible values are UNIFORM, ANALYTICAL_FIELD, and DISCRETE_FIELD. The default
value is UNIFORM.
poissonDefinition
A SymbolicConstant specifying whether to use the default value for the Poisson's ratio.
Possible values are:DEFAULT, specifying that the default value for the Poisson's ratio
is 0.5 in an Abaqus/Standard analysis and is obtained from the material definition in an
Abaqus/Explicit analysis.VALUE, specifying that the Poisson's ratio used in the analysis
is the value provided in *poisson*.The default value is DEFAULT.
poisson
A Float specifying the section Poisson's ratio. Possible values are −1.0 ≤≤ *poisson* ≤≤
0.5. This argument is valid only when *poissonDefinition*=VALUE. The default value is
0.5.
thicknessField
A String specifying the name of the AnalyticalField or DiscreteField object used to
define the thickness of the shell elements. The *thicknessField* argument applies only
when *thicknessType*=ANALYTICAL_FIELD or *thicknessType*=DISCRETE_FIELD. The default
value is an empty string.
Returns
-------
A MembraneSection object.
Raises
------
RangeError and InvalidNameError.
"""
super().__init__()
pass
def setValues(
self,
thickness: float = 1,
thicknessType: SymbolicConstant = UNIFORM,
poissonDefinition: SymbolicConstant = DEFAULT,
poisson: float = 0,
thicknessField: str = "",
):
"""This method modifies the MembraneSection object.
Parameters
----------
thickness
A Float specifying the thickness for the section. Possible values are *thickness* >>
0.0. The default value is 1.0.
thicknessType
A SymbolicConstant specifying the distribution used for defining the thickness of the
elements. Possible values are UNIFORM, ANALYTICAL_FIELD, and DISCRETE_FIELD. The default
value is UNIFORM.
poissonDefinition
A SymbolicConstant specifying whether to use the default value for the Poisson's ratio.
Possible values are:DEFAULT, specifying that the default value for the Poisson's ratio
is 0.5 in an Abaqus/Standard analysis and is obtained from the material definition in an
Abaqus/Explicit analysis.VALUE, specifying that the Poisson's ratio used in the analysis
is the value provided in *poisson*.The default value is DEFAULT.
poisson
A Float specifying the section Poisson's ratio. Possible values are −1.0 ≤≤ *poisson* ≤≤
0.5. This argument is valid only when *poissonDefinition*=VALUE. The default value is
0.5.
thicknessField
A String specifying the name of the AnalyticalField or DiscreteField object used to
define the thickness of the shell elements. The *thicknessField* argument applies only
when *thicknessType*=ANALYTICAL_FIELD or *thicknessType*=DISCRETE_FIELD. The default
value is an empty string.
Raises
------
RangeError
"""
pass