This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
ShellSolidCoupling.py
112 lines (94 loc) · 4.01 KB
/
ShellSolidCoupling.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
from abaqusConstants import *
from .Constraint import Constraint
from ..Region.Region import Region
class ShellSolidCoupling(Constraint):
"""The ShellSolidCoupling object defines two surfaces to be tied together for the duration
of a simulation.
The ShellSolidCoupling object is derived from the ConstrainedSketchConstraint object.
Attributes
----------
suppressed: Boolean
A Boolean specifying whether the constraint is suppressed or not. The default value is
OFF.
Notes
-----
This object can be accessed by:
.. code-block:: python
import interaction
mdb.models[name].constraints[name]
The corresponding analysis keywords are:
- SHELL TO SOLID COUPLING
"""
# A Boolean specifying whether the constraint is suppressed or not. The default value is
# OFF.
suppressed: Boolean = OFF
def __init__(
self,
name: str,
shellEdge: Region,
solidFace: Region,
positionToleranceMethod: SymbolicConstant = COMPUTED,
positionTolerance: float = 0,
influenceDistanceMethod: SymbolicConstant = DEFAULT,
influenceDistance: float = 0,
):
"""This method creates a ShellSolidCoupling object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].ShellSolidCoupling
Parameters
----------
name
A String specifying the constraint repository key.
shellEdge
A Region object specifying the name of the shell edge surface.
solidFace
A Region object specifying the name of the solid surface.
positionToleranceMethod
A SymbolicConstant specifying the method used to determine the position tolerance.
Possible values are COMPUTED and SPECIFIED. The default value is COMPUTED.
positionTolerance
A Float specifying the position tolerance. The default value is 0.0.The
*positionTolerance* argument applies only when
*positionToleranceMethod*=SPECIFIED.Note:Abaqus will not constrain nodes on the solid
face region outside the position tolerance.
influenceDistanceMethod
A SymbolicConstant specifying the method used to determine the influence distance.
Possible values are DEFAULT and SPECIFIED. The default value is DEFAULT.
influenceDistance
A Float specifying the influence distance. The *influenceDistance* argument applies only
when *influenceDistanceMethod*=SPECIFIED. The default value is 0.0.
Returns
-------
A ShellSolidCoupling object.
"""
super().__init__()
pass
def setValues(
self,
positionToleranceMethod: SymbolicConstant = COMPUTED,
positionTolerance: float = 0,
influenceDistanceMethod: SymbolicConstant = DEFAULT,
influenceDistance: float = 0,
):
"""This method modifies the ShellSolidCoupling object.
Parameters
----------
positionToleranceMethod
A SymbolicConstant specifying the method used to determine the position tolerance.
Possible values are COMPUTED and SPECIFIED. The default value is COMPUTED.
positionTolerance
A Float specifying the position tolerance. The default value is 0.0.The
*positionTolerance* argument applies only when
*positionToleranceMethod*=SPECIFIED.Note:Abaqus will not constrain nodes on the solid
face region outside the position tolerance.
influenceDistanceMethod
A SymbolicConstant specifying the method used to determine the influence distance.
Possible values are DEFAULT and SPECIFIED. The default value is DEFAULT.
influenceDistance
A Float specifying the influence distance. The *influenceDistance* argument applies only
when *influenceDistanceMethod*=SPECIFIED. The default value is 0.0.
"""
pass