This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
HomogeneousSolidSection.py
72 lines (54 loc) · 1.79 KB
/
HomogeneousSolidSection.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
from .SolidSection import SolidSection
class HomogeneousSolidSection(SolidSection):
"""The HomogeneousSolidSection object defines the properties of a solid section.
The HomogeneousSolidSection object is derived from the SolidSection object.
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:
- SOLID SECTION
"""
def __init__(self, name: str, material: str, thickness: float = 1):
"""This method creates a HomogeneousSolidSection object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].HomogeneousSolidSection
session.odbs[name].HomogeneousSolidSection
Parameters
----------
name
A String specifying the repository key.
material
A String specifying the name of the material.
thickness
A Float specifying the thickness of the section. Possible values are None or greater
than zero. The default value is 1.0.
Returns
-------
A HomogeneousSolidSection object.
Raises
------
InvalidNameError
RangeError
"""
super().__init__()
pass
def setValues(self, thickness: float = 1):
"""This method modifies the HomogeneousSolidSection object.
Parameters
----------
thickness
A Float specifying the thickness of the section. Possible values are None or greater
than zero. The default value is 1.0.
Raises
------
RangeError
"""
pass