ansys-api-discovery 0.6.3__py3-none-any.whl → 0.6.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ansys-api-discovery might be problematic. Click here for more details.

Files changed (168) hide show
  1. ansys/api/discovery/VERSION +1 -1
  2. ansys/api/discovery/v0/assignments/boltassignment.proto +40 -0
  3. ansys/api/discovery/v0/assignments/boltassignment_pb2.py +37 -0
  4. ansys/api/discovery/v0/assignments/boltassignment_pb2.pyi +95 -0
  5. ansys/api/discovery/v0/assignments/boltassignment_pb2_grpc.py +67 -0
  6. ansys/api/discovery/v0/assignments/boltassignment_pb2_grpc.pyi +27 -0
  7. ansys/api/discovery/v0/conditions/acceleration.proto +52 -0
  8. ansys/api/discovery/v0/conditions/acceleration_pb2.py +36 -0
  9. ansys/api/discovery/v0/conditions/acceleration_pb2.pyi +94 -0
  10. ansys/api/discovery/v0/conditions/acceleration_pb2_grpc.py +365 -0
  11. ansys/api/discovery/v0/conditions/acceleration_pb2_grpc.pyi +118 -0
  12. ansys/api/discovery/v0/conditions/bearing.proto +47 -0
  13. ansys/api/discovery/v0/conditions/bearing_pb2.py +36 -0
  14. ansys/api/discovery/v0/conditions/bearing_pb2.pyi +102 -0
  15. ansys/api/discovery/v0/conditions/bearing_pb2_grpc.py +200 -0
  16. ansys/api/discovery/v0/conditions/bearing_pb2_grpc.pyi +68 -0
  17. ansys/api/discovery/v0/conditions/boltpreload.proto +94 -0
  18. ansys/api/discovery/v0/conditions/boltpreload_pb2.py +48 -0
  19. ansys/api/discovery/v0/conditions/boltpreload_pb2.pyi +218 -0
  20. ansys/api/discovery/v0/conditions/boltpreload_pb2_grpc.py +431 -0
  21. ansys/api/discovery/v0/conditions/boltpreload_pb2_grpc.pyi +138 -0
  22. ansys/api/discovery/v0/{conditions.proto → conditions/condition.proto} +5 -4
  23. ansys/api/discovery/v0/conditions/condition_pb2.py +34 -0
  24. ansys/api/discovery/v0/{conditions_pb2.pyi → conditions/condition_pb2.pyi} +13 -6
  25. ansys/api/discovery/v0/{conditions_pb2_grpc.py → conditions/condition_pb2_grpc.py} +21 -21
  26. ansys/api/discovery/v0/{conditions_pb2_grpc.pyi → conditions/condition_pb2_grpc.pyi} +10 -10
  27. ansys/api/discovery/v0/conditions/convection.proto +43 -0
  28. ansys/api/discovery/v0/conditions/convection_pb2.py +34 -0
  29. ansys/api/discovery/v0/conditions/convection_pb2.pyi +89 -0
  30. ansys/api/discovery/v0/conditions/convection_pb2_grpc.py +166 -0
  31. ansys/api/discovery/v0/conditions/convection_pb2_grpc.pyi +55 -0
  32. ansys/api/discovery/v0/conditions/displacement.proto +105 -0
  33. ansys/api/discovery/v0/conditions/displacement_pb2.py +48 -0
  34. ansys/api/discovery/v0/conditions/displacement_pb2.pyi +209 -0
  35. ansys/api/discovery/v0/conditions/displacement_pb2_grpc.py +827 -0
  36. ansys/api/discovery/v0/conditions/displacement_pb2_grpc.pyi +258 -0
  37. ansys/api/discovery/v0/{conditionsfluid.proto → conditions/flow.proto} +19 -24
  38. ansys/api/discovery/v0/conditions/flow_pb2.py +86 -0
  39. ansys/api/discovery/v0/{conditionsfluid_pb2.pyi → conditions/flow_pb2.pyi} +51 -34
  40. ansys/api/discovery/v0/{conditionsfluid_pb2_grpc.py → conditions/flow_pb2_grpc.py} +86 -86
  41. ansys/api/discovery/v0/{conditionsfluid_pb2_grpc.pyi → conditions/flow_pb2_grpc.pyi} +32 -32
  42. ansys/api/discovery/v0/conditions/fluidinitialtemperature.proto +13 -0
  43. ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2.py +28 -0
  44. ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2.pyi +7 -0
  45. ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2_grpc.py +66 -0
  46. ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2_grpc.pyi +24 -0
  47. ansys/api/discovery/v0/conditions/force.proto +131 -0
  48. ansys/api/discovery/v0/conditions/force_pb2.py +56 -0
  49. ansys/api/discovery/v0/conditions/force_pb2.pyi +286 -0
  50. ansys/api/discovery/v0/conditions/force_pb2_grpc.py +829 -0
  51. ansys/api/discovery/v0/conditions/force_pb2_grpc.pyi +257 -0
  52. ansys/api/discovery/v0/conditions/gravity.proto +39 -0
  53. ansys/api/discovery/v0/conditions/gravity_pb2.py +32 -0
  54. ansys/api/discovery/v0/conditions/gravity_pb2.pyi +65 -0
  55. ansys/api/discovery/v0/conditions/gravity_pb2_grpc.py +266 -0
  56. ansys/api/discovery/v0/conditions/gravity_pb2_grpc.pyi +91 -0
  57. ansys/api/discovery/v0/conditions/heat.proto +90 -0
  58. ansys/api/discovery/v0/conditions/heat_pb2.py +46 -0
  59. ansys/api/discovery/v0/conditions/heat_pb2.pyi +210 -0
  60. ansys/api/discovery/v0/conditions/heat_pb2_grpc.py +332 -0
  61. ansys/api/discovery/v0/conditions/heat_pb2_grpc.pyi +108 -0
  62. ansys/api/discovery/v0/conditions/insulated.proto +34 -0
  63. ansys/api/discovery/v0/conditions/insulated_pb2.py +34 -0
  64. ansys/api/discovery/v0/conditions/insulated_pb2.pyi +73 -0
  65. ansys/api/discovery/v0/conditions/insulated_pb2_grpc.py +100 -0
  66. ansys/api/discovery/v0/conditions/insulated_pb2_grpc.pyi +35 -0
  67. ansys/api/discovery/v0/conditions/mass.proto +49 -0
  68. ansys/api/discovery/v0/conditions/mass_pb2.py +36 -0
  69. ansys/api/discovery/v0/conditions/mass_pb2.pyi +98 -0
  70. ansys/api/discovery/v0/conditions/mass_pb2_grpc.py +266 -0
  71. ansys/api/discovery/v0/conditions/mass_pb2_grpc.pyi +88 -0
  72. ansys/api/discovery/v0/conditions/moment.proto +67 -0
  73. ansys/api/discovery/v0/conditions/moment_pb2.py +40 -0
  74. ansys/api/discovery/v0/conditions/moment_pb2.pyi +132 -0
  75. ansys/api/discovery/v0/conditions/moment_pb2_grpc.py +398 -0
  76. ansys/api/discovery/v0/conditions/moment_pb2_grpc.pyi +128 -0
  77. ansys/api/discovery/v0/conditions/porous.proto +116 -0
  78. ansys/api/discovery/v0/conditions/porous_pb2.py +44 -0
  79. ansys/api/discovery/v0/conditions/porous_pb2.pyi +217 -0
  80. ansys/api/discovery/v0/conditions/porous_pb2_grpc.py +534 -0
  81. ansys/api/discovery/v0/conditions/porous_pb2_grpc.pyi +181 -0
  82. ansys/api/discovery/v0/conditions/pressure.proto +43 -0
  83. ansys/api/discovery/v0/conditions/pressure_pb2.py +36 -0
  84. ansys/api/discovery/v0/conditions/pressure_pb2.pyi +94 -0
  85. ansys/api/discovery/v0/conditions/pressure_pb2_grpc.py +134 -0
  86. ansys/api/discovery/v0/conditions/pressure_pb2_grpc.pyi +48 -0
  87. ansys/api/discovery/v0/conditions/rotatingfluidzone.proto +57 -0
  88. ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.py +36 -0
  89. ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.pyi +102 -0
  90. ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2_grpc.py +136 -0
  91. ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2_grpc.pyi +54 -0
  92. ansys/api/discovery/v0/conditions/solidtemperature.proto +40 -0
  93. ansys/api/discovery/v0/conditions/solidtemperature_pb2.py +34 -0
  94. ansys/api/discovery/v0/conditions/solidtemperature_pb2.pyi +81 -0
  95. ansys/api/discovery/v0/conditions/solidtemperature_pb2_grpc.py +166 -0
  96. ansys/api/discovery/v0/conditions/solidtemperature_pb2_grpc.pyi +55 -0
  97. ansys/api/discovery/v0/conditions/springpreload.proto +105 -0
  98. ansys/api/discovery/v0/conditions/springpreload_pb2.py +50 -0
  99. ansys/api/discovery/v0/conditions/springpreload_pb2.pyi +250 -0
  100. ansys/api/discovery/v0/conditions/springpreload_pb2_grpc.py +431 -0
  101. ansys/api/discovery/v0/conditions/springpreload_pb2_grpc.pyi +138 -0
  102. ansys/api/discovery/v0/conditions/support.proto +98 -0
  103. ansys/api/discovery/v0/conditions/support_pb2.py +46 -0
  104. ansys/api/discovery/v0/conditions/support_pb2.pyi +200 -0
  105. ansys/api/discovery/v0/{conditionsthermal_pb2_grpc.py → conditions/support_pb2_grpc.py} +251 -221
  106. ansys/api/discovery/v0/conditions/support_pb2_grpc.pyi +218 -0
  107. ansys/api/discovery/v0/conditions/velocity.proto +58 -0
  108. ansys/api/discovery/v0/conditions/velocity_pb2.py +36 -0
  109. ansys/api/discovery/v0/conditions/velocity_pb2.pyi +98 -0
  110. ansys/api/discovery/v0/conditions/velocity_pb2_grpc.py +497 -0
  111. ansys/api/discovery/v0/conditions/velocity_pb2_grpc.pyi +158 -0
  112. ansys/api/discovery/v0/conditions/wall.proto +209 -0
  113. ansys/api/discovery/v0/conditions/wall_pb2.py +70 -0
  114. ansys/api/discovery/v0/conditions/wall_pb2.pyi +494 -0
  115. ansys/api/discovery/v0/conditions/wall_pb2_grpc.py +633 -0
  116. ansys/api/discovery/v0/conditions/wall_pb2_grpc.pyi +211 -0
  117. ansys/api/discovery/v0/connections/contact.proto +110 -0
  118. ansys/api/discovery/v0/connections/contact_pb2.py +46 -0
  119. ansys/api/discovery/v0/connections/contact_pb2.pyi +242 -0
  120. ansys/api/discovery/v0/connections/contact_pb2_grpc.py +827 -0
  121. ansys/api/discovery/v0/connections/contact_pb2_grpc.pyi +258 -0
  122. ansys/api/discovery/v0/connections/contactgroup.proto +89 -0
  123. ansys/api/discovery/v0/connections/contactgroup_pb2.py +37 -0
  124. ansys/api/discovery/v0/connections/contactgroup_pb2.pyi +178 -0
  125. ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.py +860 -0
  126. ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.pyi +266 -0
  127. ansys/api/discovery/v0/connections/joint.proto +56 -0
  128. ansys/api/discovery/v0/connections/joint_pb2.py +40 -0
  129. ansys/api/discovery/v0/connections/joint_pb2.pyi +129 -0
  130. ansys/api/discovery/v0/connections/joint_pb2_grpc.py +167 -0
  131. ansys/api/discovery/v0/connections/joint_pb2_grpc.pyi +58 -0
  132. ansys/api/discovery/v0/discoverymodels.proto +34 -17
  133. ansys/api/discovery/v0/discoverymodels_pb2.py +46 -40
  134. ansys/api/discovery/v0/discoverymodels_pb2.pyi +118 -47
  135. ansys/api/discovery/v0/engineeringdata/boltdata.proto +37 -0
  136. ansys/api/discovery/v0/engineeringdata/boltdata_pb2.py +36 -0
  137. ansys/api/discovery/v0/engineeringdata/boltdata_pb2.pyi +81 -0
  138. ansys/api/discovery/v0/engineeringdata/boltdata_pb2_grpc.py +67 -0
  139. ansys/api/discovery/v0/engineeringdata/boltdata_pb2_grpc.pyi +27 -0
  140. ansys/api/discovery/v0/monitors.proto +4 -4
  141. ansys/api/discovery/v0/monitors_pb2.py +10 -10
  142. ansys/api/discovery/v0/monitors_pb2.pyi +11 -11
  143. ansys/api/discovery/v0/solution.proto +4 -3
  144. ansys/api/discovery/v0/solution_pb2.py +16 -15
  145. ansys/api/discovery/v0/solution_pb2.pyi +11 -7
  146. ansys/api/discovery/v0/unsupported.proto +10 -0
  147. ansys/api/discovery/v0/unsupported_pb2.py +5 -3
  148. ansys/api/discovery/v0/unsupported_pb2.pyi +14 -0
  149. ansys/api/discovery/v0/unsupported_pb2_grpc.py +68 -0
  150. ansys/api/discovery/v0/unsupported_pb2_grpc.pyi +24 -0
  151. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/METADATA +13 -4
  152. ansys_api_discovery-0.6.5.dist-info/RECORD +200 -0
  153. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/WHEEL +1 -1
  154. ansys/api/discovery/v0/conditions_pb2.py +0 -33
  155. ansys/api/discovery/v0/conditionsfluid_pb2.py +0 -85
  156. ansys/api/discovery/v0/conditionsstructural.proto +0 -595
  157. ansys/api/discovery/v0/conditionsstructural_pb2.py +0 -149
  158. ansys/api/discovery/v0/conditionsstructural_pb2.pyi +0 -1216
  159. ansys/api/discovery/v0/conditionsstructural_pb2_grpc.py +0 -4171
  160. ansys/api/discovery/v0/conditionsstructural_pb2_grpc.pyi +0 -1303
  161. ansys/api/discovery/v0/conditionsthermal.proto +0 -179
  162. ansys/api/discovery/v0/conditionsthermal_pb2.py +0 -63
  163. ansys/api/discovery/v0/conditionsthermal_pb2.pyi +0 -399
  164. ansys/api/discovery/v0/conditionsthermal_pb2_grpc.pyi +0 -217
  165. ansys_api_discovery-0.6.3.dist-info/RECORD +0 -85
  166. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/LICENSE +0 -0
  167. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/entry_points.txt +0 -0
  168. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,258 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import abc
6
+ import ansys.api.discovery.v0.connections.contact_pb2
7
+ import ansys.api.discovery.v0.discoverymodels_pb2
8
+ import grpc
9
+
10
+ class ContactStub:
11
+ def __init__(self, channel: grpc.Channel) -> None: ...
12
+ CreateContact: grpc.UnaryUnaryMultiCallable[
13
+ ansys.api.discovery.v0.connections.contact_pb2.ContactCreationRequest,
14
+ ansys.api.discovery.v0.connections.contact_pb2.ContactCreationResponse] = ...
15
+ """Contact condition methods"""
16
+
17
+ ChangeContactSide1Location: grpc.UnaryUnaryMultiCallable[
18
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
19
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
20
+
21
+ ChangeContactSide2Location: grpc.UnaryUnaryMultiCallable[
22
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
23
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
24
+
25
+ ChangeContactType: grpc.UnaryUnaryMultiCallable[
26
+ ansys.api.discovery.v0.connections.contact_pb2.ChangeContactTypeRequest,
27
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
28
+
29
+ ChangeContactPairs: grpc.UnaryUnaryMultiCallable[
30
+ ansys.api.discovery.v0.connections.contact_pb2.ChangeContactPairRequest,
31
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
32
+
33
+ Split: grpc.UnaryUnaryMultiCallable[
34
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeEmptyRequest,
35
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
36
+
37
+ ChangeFrictionCoefficient: grpc.UnaryUnaryMultiCallable[
38
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeDoubleRequest,
39
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
40
+
41
+ ChangeStiffnessFactor: grpc.UnaryUnaryMultiCallable[
42
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeDoubleRequest,
43
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
44
+
45
+ ChangeDetectionRadiusFactor: grpc.UnaryUnaryMultiCallable[
46
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeDoubleRequest,
47
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
48
+
49
+ ChangeOffset: grpc.UnaryUnaryMultiCallable[
50
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
51
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
52
+
53
+ ChangeShearStrength: grpc.UnaryUnaryMultiCallable[
54
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
55
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
56
+
57
+ ChangeTensileStrength: grpc.UnaryUnaryMultiCallable[
58
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
59
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
60
+
61
+ ChangeAreStrengthLimitsSet: grpc.UnaryUnaryMultiCallable[
62
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
63
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
64
+
65
+ ChangeAdjustGapOrOverlap: grpc.UnaryUnaryMultiCallable[
66
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
67
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
68
+
69
+ ChangeMakeJustTouching: grpc.UnaryUnaryMultiCallable[
70
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
71
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
72
+
73
+ ChangeIdealize: grpc.UnaryUnaryMultiCallable[
74
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
75
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
76
+
77
+ ChangeSpecifyThermalConductance: grpc.UnaryUnaryMultiCallable[
78
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
79
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
80
+
81
+ ChangeSpecifyThermalConductanceFromThicknessAndMaterial: grpc.UnaryUnaryMultiCallable[
82
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
83
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
84
+
85
+ ChangeSpecifyElectricConductance: grpc.UnaryUnaryMultiCallable[
86
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
87
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
88
+
89
+ ChangeSpecifyElectricConductanceFromThicknessAndMaterial: grpc.UnaryUnaryMultiCallable[
90
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
91
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
92
+
93
+ ChangeThermalContactConductance: grpc.UnaryUnaryMultiCallable[
94
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
95
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
96
+
97
+ ChangeThermalConductanceThickness: grpc.UnaryUnaryMultiCallable[
98
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
99
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
100
+
101
+ ChangeElectricContactConductance: grpc.UnaryUnaryMultiCallable[
102
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
103
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
104
+
105
+ ChangeElectricConductanceThickness: grpc.UnaryUnaryMultiCallable[
106
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
107
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
108
+
109
+
110
+ class ContactServicer(metaclass=abc.ABCMeta):
111
+ @abc.abstractmethod
112
+ def CreateContact(self,
113
+ request: ansys.api.discovery.v0.connections.contact_pb2.ContactCreationRequest,
114
+ context: grpc.ServicerContext,
115
+ ) -> ansys.api.discovery.v0.connections.contact_pb2.ContactCreationResponse:
116
+ """Contact condition methods"""
117
+ pass
118
+
119
+ @abc.abstractmethod
120
+ def ChangeContactSide1Location(self,
121
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
122
+ context: grpc.ServicerContext,
123
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
124
+
125
+ @abc.abstractmethod
126
+ def ChangeContactSide2Location(self,
127
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
128
+ context: grpc.ServicerContext,
129
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
130
+
131
+ @abc.abstractmethod
132
+ def ChangeContactType(self,
133
+ request: ansys.api.discovery.v0.connections.contact_pb2.ChangeContactTypeRequest,
134
+ context: grpc.ServicerContext,
135
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
136
+
137
+ @abc.abstractmethod
138
+ def ChangeContactPairs(self,
139
+ request: ansys.api.discovery.v0.connections.contact_pb2.ChangeContactPairRequest,
140
+ context: grpc.ServicerContext,
141
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
142
+
143
+ @abc.abstractmethod
144
+ def Split(self,
145
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeEmptyRequest,
146
+ context: grpc.ServicerContext,
147
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
148
+
149
+ @abc.abstractmethod
150
+ def ChangeFrictionCoefficient(self,
151
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeDoubleRequest,
152
+ context: grpc.ServicerContext,
153
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
154
+
155
+ @abc.abstractmethod
156
+ def ChangeStiffnessFactor(self,
157
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeDoubleRequest,
158
+ context: grpc.ServicerContext,
159
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
160
+
161
+ @abc.abstractmethod
162
+ def ChangeDetectionRadiusFactor(self,
163
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeDoubleRequest,
164
+ context: grpc.ServicerContext,
165
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
166
+
167
+ @abc.abstractmethod
168
+ def ChangeOffset(self,
169
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
170
+ context: grpc.ServicerContext,
171
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
172
+
173
+ @abc.abstractmethod
174
+ def ChangeShearStrength(self,
175
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
176
+ context: grpc.ServicerContext,
177
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
178
+
179
+ @abc.abstractmethod
180
+ def ChangeTensileStrength(self,
181
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
182
+ context: grpc.ServicerContext,
183
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
184
+
185
+ @abc.abstractmethod
186
+ def ChangeAreStrengthLimitsSet(self,
187
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
188
+ context: grpc.ServicerContext,
189
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
190
+
191
+ @abc.abstractmethod
192
+ def ChangeAdjustGapOrOverlap(self,
193
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
194
+ context: grpc.ServicerContext,
195
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
196
+
197
+ @abc.abstractmethod
198
+ def ChangeMakeJustTouching(self,
199
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
200
+ context: grpc.ServicerContext,
201
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
202
+
203
+ @abc.abstractmethod
204
+ def ChangeIdealize(self,
205
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
206
+ context: grpc.ServicerContext,
207
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
208
+
209
+ @abc.abstractmethod
210
+ def ChangeSpecifyThermalConductance(self,
211
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
212
+ context: grpc.ServicerContext,
213
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
214
+
215
+ @abc.abstractmethod
216
+ def ChangeSpecifyThermalConductanceFromThicknessAndMaterial(self,
217
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
218
+ context: grpc.ServicerContext,
219
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
220
+
221
+ @abc.abstractmethod
222
+ def ChangeSpecifyElectricConductance(self,
223
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
224
+ context: grpc.ServicerContext,
225
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
226
+
227
+ @abc.abstractmethod
228
+ def ChangeSpecifyElectricConductanceFromThicknessAndMaterial(self,
229
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
230
+ context: grpc.ServicerContext,
231
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
232
+
233
+ @abc.abstractmethod
234
+ def ChangeThermalContactConductance(self,
235
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
236
+ context: grpc.ServicerContext,
237
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
238
+
239
+ @abc.abstractmethod
240
+ def ChangeThermalConductanceThickness(self,
241
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
242
+ context: grpc.ServicerContext,
243
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
244
+
245
+ @abc.abstractmethod
246
+ def ChangeElectricContactConductance(self,
247
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
248
+ context: grpc.ServicerContext,
249
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
250
+
251
+ @abc.abstractmethod
252
+ def ChangeElectricConductanceThickness(self,
253
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
254
+ context: grpc.ServicerContext,
255
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
256
+
257
+
258
+ def add_ContactServicer_to_server(servicer: ContactServicer, server: grpc.Server) -> None: ...
@@ -0,0 +1,89 @@
1
+ // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.connections.contactgroup;
4
+
5
+ import "ansys/api/dbu/v0/dbumodels.proto";
6
+ import "ansys/api/discovery/v0/connections/contact.proto";
7
+ import "ansys/api/discovery/v0/discoverymodels.proto";
8
+
9
+ option csharp_namespace = "Ansys.Api.Discovery.V0.Connections";
10
+
11
+ service ContactGroup
12
+ {
13
+ rpc ChangeContactSide1Location(ChangeLocationRequest) returns(ChangeResponse);
14
+ rpc ChangeContactSide2Location(ChangeLocationRequest) returns(ChangeResponse);
15
+
16
+ rpc ChangeContactType(ansys.api.discovery.v0.connections.contact.ChangeContactTypeRequest) returns (ChangeResponse);
17
+ rpc Split(ChangeEmptyRequest) returns (ChangeResponse);
18
+ rpc Convert(ConvertContactGroupChangeRequest) returns (ChangeResponse);
19
+
20
+ rpc ChangeFrictionCoefficient(ChangeDoubleRequest) returns (ChangeResponse);
21
+ rpc ChangeStiffnessFactor(ChangeDoubleRequest) returns (ChangeResponse);
22
+ rpc ChangeDetectionRadiusFactor(ChangeDoubleRequest) returns (ChangeResponse);
23
+ rpc ChangeOffset(ChangeQuantityRequest) returns (ChangeResponse);
24
+ rpc ChangeShearStrength(ChangeQuantityRequest) returns (ChangeResponse);
25
+ rpc ChangeTensileStrength(ChangeQuantityRequest) returns (ChangeResponse);
26
+ rpc ChangeAreStrengthLimitsSet(ChangeBooleanRequest) returns (ChangeResponse);
27
+ rpc ChangeAdjustGapOrOverlap(ChangeBooleanRequest) returns (ChangeResponse);
28
+ rpc ChangeMakeJustTouching(ChangeBooleanRequest) returns (ChangeResponse);
29
+ rpc ChangeIdealize(ChangeBooleanRequest) returns (ChangeResponse);
30
+ rpc ChangeSpecifyThermalConductance(ChangeBooleanRequest) returns (ChangeResponse);
31
+ rpc ChangeSpecifyThermalConductanceFromThicknessAndMaterial(ChangeBooleanRequest) returns (ChangeResponse);
32
+ rpc ChangeSpecifyElectricConductance(ChangeBooleanRequest) returns (ChangeResponse);
33
+ rpc ChangeSpecifyElectricConductanceFromThicknessAndMaterial(ChangeBooleanRequest) returns (ChangeResponse);
34
+ rpc ChangeThermalContactConductance(ChangeQuantityRequest) returns (ChangeResponse);
35
+ rpc ChangeThermalConductanceThickness(ChangeQuantityRequest) returns (ChangeResponse);
36
+ rpc ChangeElectricContactConductance(ChangeQuantityRequest) returns (ChangeResponse);
37
+ rpc ChangeElectricConductanceThickness(ChangeQuantityRequest) returns (ChangeResponse);
38
+ rpc ChangeDetectionDistanceLow(ChangeQuantityRequest) returns (ChangeResponse);
39
+ rpc ChangeDetectionDistanceHigh(ChangeQuantityRequest) returns (ChangeResponse);
40
+ }
41
+
42
+ message ConvertContactGroupChangeRequest{
43
+ ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
44
+ ContactGoupConversionType contact_group_type = 2;
45
+ ansys.api.discovery.v0.connections.contact.ContactPairs contact_pairs = 3;
46
+ optional bool idealize = 4;
47
+ optional double friction_coefficient = 5;
48
+ }
49
+
50
+ // Contact group condition definitions
51
+ enum ContactGoupConversionType {
52
+ SLIDING_CONTACT_GROUP = 0;
53
+ JOINT = 1;
54
+ BOND = 2;
55
+ EXCLUDE = 3;
56
+ }
57
+
58
+ message ContactGroupProperties {
59
+ ansys.api.discovery.v0.connections.contact.ContactType contact_type = 1;
60
+ ansys.api.discovery.v0.connections.contact.ContactPairs contact_pairs = 2;
61
+ double friction_coefficient = 3;
62
+ double stiffness_factor = 4;
63
+ double detection_radius_factor = 5;
64
+ Quantity offset = 6;
65
+ Quantity shear_strenght = 7;
66
+ Quantity tensile_strength = 8;
67
+ bool are_strength_limits_set = 9;
68
+ bool adjust_gap_or_overlap = 10;
69
+ bool make_just_touching = 11;
70
+ bool idealize = 12;
71
+ bool specify_thermal_conductance = 13;
72
+ bool specify_thermal_conductance_from_thickness_and_material = 14;
73
+ bool specify_electric_conductance = 15;
74
+ bool specify_electric_conductance_from_thickness_and_material = 16;
75
+ Quantity thermal_contact_conductance = 17;
76
+ Quantity thermal_conductance_thickness = 18;
77
+ Quantity electrical_contact_conductance = 19;
78
+ Quantity electrical_conductance_thickness = 20;
79
+ }
80
+
81
+ message ContactGroupDefinition {
82
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
83
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
84
+ string label = 3;
85
+ repeated string side1_locations = 4;
86
+ repeated string side2_locations = 5;
87
+ bool suppressed = 6;
88
+ ContactGroupProperties contact = 7;
89
+ }
@@ -0,0 +1,37 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: ansys/api/discovery/v0/connections/contactgroup.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf.internal import builder as _builder
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2
15
+ from ansys.api.discovery.v0.connections import contact_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_contact__pb2
16
+ from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
17
+
18
+
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ansys/api/discovery/v0/connections/contactgroup.proto\x12/ansys.api.discovery.v0.connections.contactgroup\x1a ansys/api/dbu/v0/dbumodels.proto\x1a\x30\x61nsys/api/discovery/v0/connections/contact.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xf9\x02\n ConvertContactGroupChangeRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\x66\n\x12\x63ontact_group_type\x18\x02 \x01(\x0e\x32J.ansys.api.discovery.v0.connections.contactgroup.ContactGoupConversionType\x12O\n\rcontact_pairs\x18\x03 \x01(\x0b\x32\x38.ansys.api.discovery.v0.connections.contact.ContactPairs\x12\x15\n\x08idealize\x18\x04 \x01(\x08H\x00\x88\x01\x01\x12!\n\x14\x66riction_coefficient\x18\x05 \x01(\x01H\x01\x88\x01\x01\x42\x0b\n\t_idealizeB\x17\n\x15_friction_coefficient\"\x9b\x08\n\x16\x43ontactGroupProperties\x12M\n\x0c\x63ontact_type\x18\x01 \x01(\x0e\x32\x37.ansys.api.discovery.v0.connections.contact.ContactType\x12O\n\rcontact_pairs\x18\x02 \x01(\x0b\x32\x38.ansys.api.discovery.v0.connections.contact.ContactPairs\x12\x1c\n\x14\x66riction_coefficient\x18\x03 \x01(\x01\x12\x18\n\x10stiffness_factor\x18\x04 \x01(\x01\x12\x1f\n\x17\x64\x65tection_radius_factor\x18\x05 \x01(\x01\x12\x30\n\x06offset\x18\x06 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x38\n\x0eshear_strenght\x18\x07 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12:\n\x10tensile_strength\x18\x08 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x1f\n\x17\x61re_strength_limits_set\x18\t \x01(\x08\x12\x1d\n\x15\x61\x64just_gap_or_overlap\x18\n \x01(\x08\x12\x1a\n\x12make_just_touching\x18\x0b \x01(\x08\x12\x10\n\x08idealize\x18\x0c \x01(\x08\x12#\n\x1bspecify_thermal_conductance\x18\r \x01(\x08\x12?\n7specify_thermal_conductance_from_thickness_and_material\x18\x0e \x01(\x08\x12$\n\x1cspecify_electric_conductance\x18\x0f \x01(\x08\x12@\n8specify_electric_conductance_from_thickness_and_material\x18\x10 \x01(\x08\x12\x45\n\x1bthermal_contact_conductance\x18\x11 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12G\n\x1dthermal_conductance_thickness\x18\x12 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12H\n\x1e\x65lectrical_contact_conductance\x18\x13 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12J\n electrical_conductance_thickness\x18\x14 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"\xbc\x02\n\x16\x43ontactGroupDefinition\x12\x35\n\x02id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12<\n\tparent_id\x18\x02 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\r\n\x05label\x18\x03 \x01(\t\x12\x17\n\x0fside1_locations\x18\x04 \x03(\t\x12\x17\n\x0fside2_locations\x18\x05 \x03(\t\x12\x12\n\nsuppressed\x18\x06 \x01(\x08\x12X\n\x07\x63ontact\x18\x07 \x01(\x0b\x32G.ansys.api.discovery.v0.connections.contactgroup.ContactGroupProperties*X\n\x19\x43ontactGoupConversionType\x12\x19\n\x15SLIDING_CONTACT_GROUP\x10\x00\x12\t\n\x05JOINT\x10\x01\x12\x08\n\x04\x42OND\x10\x02\x12\x0b\n\x07\x45XCLUDE\x10\x03\x32\xa8\x17\n\x0c\x43ontactGroup\x12s\n\x1a\x43hangeContactSide1Location\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1a\x43hangeContactSide2Location\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x81\x01\n\x11\x43hangeContactType\x12\x44.ansys.api.discovery.v0.connections.contact.ChangeContactTypeRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12[\n\x05Split\x12*.ansys.api.discovery.v0.ChangeEmptyRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x84\x01\n\x07\x43onvert\x12Q.ansys.api.discovery.v0.connections.contactgroup.ConvertContactGroupChangeRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12p\n\x19\x43hangeFrictionCoefficient\x12+.ansys.api.discovery.v0.ChangeDoubleRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12l\n\x15\x43hangeStiffnessFactor\x12+.ansys.api.discovery.v0.ChangeDoubleRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12r\n\x1b\x43hangeDetectionRadiusFactor\x12+.ansys.api.discovery.v0.ChangeDoubleRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x65\n\x0c\x43hangeOffset\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12l\n\x13\x43hangeShearStrength\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12n\n\x15\x43hangeTensileStrength\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12r\n\x1a\x43hangeAreStrengthLimitsSet\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12p\n\x18\x43hangeAdjustGapOrOverlap\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12n\n\x16\x43hangeMakeJustTouching\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x66\n\x0e\x43hangeIdealize\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12w\n\x1f\x43hangeSpecifyThermalConductance\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x8f\x01\n7ChangeSpecifyThermalConductanceFromThicknessAndMaterial\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12x\n ChangeSpecifyElectricConductance\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x90\x01\n8ChangeSpecifyElectricConductanceFromThicknessAndMaterial\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12x\n\x1f\x43hangeThermalContactConductance\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12z\n!ChangeThermalConductanceThickness\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12y\n ChangeElectricContactConductance\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12{\n\"ChangeElectricConductanceThickness\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1a\x43hangeDetectionDistanceLow\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12t\n\x1b\x43hangeDetectionDistanceHigh\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB%\xaa\x02\"Ansys.Api.Discovery.V0.Connectionsb\x06proto3')
20
+
21
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
22
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.connections.contactgroup_pb2', globals())
23
+ if _descriptor._USE_C_DESCRIPTORS == False:
24
+
25
+ DESCRIPTOR._options = None
26
+ DESCRIPTOR._serialized_options = b'\252\002\"Ansys.Api.Discovery.V0.Connections'
27
+ _CONTACTGOUPCONVERSIONTYPE._serialized_start=1989
28
+ _CONTACTGOUPCONVERSIONTYPE._serialized_end=2077
29
+ _CONVERTCONTACTGROUPCHANGEREQUEST._serialized_start=237
30
+ _CONVERTCONTACTGROUPCHANGEREQUEST._serialized_end=614
31
+ _CONTACTGROUPPROPERTIES._serialized_start=617
32
+ _CONTACTGROUPPROPERTIES._serialized_end=1668
33
+ _CONTACTGROUPDEFINITION._serialized_start=1671
34
+ _CONTACTGROUPDEFINITION._serialized_end=1987
35
+ _CONTACTGROUP._serialized_start=2080
36
+ _CONTACTGROUP._serialized_end=5064
37
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,178 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import ansys.api.dbu.v0.dbumodels_pb2
6
+ import ansys.api.discovery.v0.connections.contact_pb2
7
+ import ansys.api.discovery.v0.discoverymodels_pb2
8
+ import builtins
9
+ import google.protobuf.descriptor
10
+ import google.protobuf.internal.containers
11
+ import google.protobuf.internal.enum_type_wrapper
12
+ import google.protobuf.message
13
+ import typing
14
+ import typing_extensions
15
+
16
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
17
+
18
+ class _ContactGoupConversionType:
19
+ ValueType = typing.NewType('ValueType', builtins.int)
20
+ V: typing_extensions.TypeAlias = ValueType
21
+ class _ContactGoupConversionTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ContactGoupConversionType.ValueType], builtins.type):
22
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
23
+ SLIDING_CONTACT_GROUP: ContactGoupConversionType.ValueType = ... # 0
24
+ JOINT: ContactGoupConversionType.ValueType = ... # 1
25
+ BOND: ContactGoupConversionType.ValueType = ... # 2
26
+ EXCLUDE: ContactGoupConversionType.ValueType = ... # 3
27
+ class ContactGoupConversionType(_ContactGoupConversionType, metaclass=_ContactGoupConversionTypeEnumTypeWrapper):
28
+ """Contact group condition definitions"""
29
+ pass
30
+
31
+ SLIDING_CONTACT_GROUP: ContactGoupConversionType.ValueType = ... # 0
32
+ JOINT: ContactGoupConversionType.ValueType = ... # 1
33
+ BOND: ContactGoupConversionType.ValueType = ... # 2
34
+ EXCLUDE: ContactGoupConversionType.ValueType = ... # 3
35
+ global___ContactGoupConversionType = ContactGoupConversionType
36
+
37
+
38
+ class ConvertContactGroupChangeRequest(google.protobuf.message.Message):
39
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
40
+ OBJECT_ID_FIELD_NUMBER: builtins.int
41
+ CONTACT_GROUP_TYPE_FIELD_NUMBER: builtins.int
42
+ CONTACT_PAIRS_FIELD_NUMBER: builtins.int
43
+ IDEALIZE_FIELD_NUMBER: builtins.int
44
+ FRICTION_COEFFICIENT_FIELD_NUMBER: builtins.int
45
+ @property
46
+ def object_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
47
+ contact_group_type: global___ContactGoupConversionType.ValueType = ...
48
+ @property
49
+ def contact_pairs(self) -> ansys.api.discovery.v0.connections.contact_pb2.ContactPairs: ...
50
+ idealize: builtins.bool = ...
51
+ friction_coefficient: builtins.float = ...
52
+ def __init__(self,
53
+ *,
54
+ object_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
55
+ contact_group_type : global___ContactGoupConversionType.ValueType = ...,
56
+ contact_pairs : typing.Optional[ansys.api.discovery.v0.connections.contact_pb2.ContactPairs] = ...,
57
+ idealize : typing.Optional[builtins.bool] = ...,
58
+ friction_coefficient : typing.Optional[builtins.float] = ...,
59
+ ) -> None: ...
60
+ def HasField(self, field_name: typing_extensions.Literal["_friction_coefficient",b"_friction_coefficient","_idealize",b"_idealize","contact_pairs",b"contact_pairs","friction_coefficient",b"friction_coefficient","idealize",b"idealize","object_id",b"object_id"]) -> builtins.bool: ...
61
+ def ClearField(self, field_name: typing_extensions.Literal["_friction_coefficient",b"_friction_coefficient","_idealize",b"_idealize","contact_group_type",b"contact_group_type","contact_pairs",b"contact_pairs","friction_coefficient",b"friction_coefficient","idealize",b"idealize","object_id",b"object_id"]) -> None: ...
62
+ @typing.overload
63
+ def WhichOneof(self, oneof_group: typing_extensions.Literal["_friction_coefficient",b"_friction_coefficient"]) -> typing.Optional[typing_extensions.Literal["friction_coefficient"]]: ...
64
+ @typing.overload
65
+ def WhichOneof(self, oneof_group: typing_extensions.Literal["_idealize",b"_idealize"]) -> typing.Optional[typing_extensions.Literal["idealize"]]: ...
66
+ global___ConvertContactGroupChangeRequest = ConvertContactGroupChangeRequest
67
+
68
+ class ContactGroupProperties(google.protobuf.message.Message):
69
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
70
+ CONTACT_TYPE_FIELD_NUMBER: builtins.int
71
+ CONTACT_PAIRS_FIELD_NUMBER: builtins.int
72
+ FRICTION_COEFFICIENT_FIELD_NUMBER: builtins.int
73
+ STIFFNESS_FACTOR_FIELD_NUMBER: builtins.int
74
+ DETECTION_RADIUS_FACTOR_FIELD_NUMBER: builtins.int
75
+ OFFSET_FIELD_NUMBER: builtins.int
76
+ SHEAR_STRENGHT_FIELD_NUMBER: builtins.int
77
+ TENSILE_STRENGTH_FIELD_NUMBER: builtins.int
78
+ ARE_STRENGTH_LIMITS_SET_FIELD_NUMBER: builtins.int
79
+ ADJUST_GAP_OR_OVERLAP_FIELD_NUMBER: builtins.int
80
+ MAKE_JUST_TOUCHING_FIELD_NUMBER: builtins.int
81
+ IDEALIZE_FIELD_NUMBER: builtins.int
82
+ SPECIFY_THERMAL_CONDUCTANCE_FIELD_NUMBER: builtins.int
83
+ SPECIFY_THERMAL_CONDUCTANCE_FROM_THICKNESS_AND_MATERIAL_FIELD_NUMBER: builtins.int
84
+ SPECIFY_ELECTRIC_CONDUCTANCE_FIELD_NUMBER: builtins.int
85
+ SPECIFY_ELECTRIC_CONDUCTANCE_FROM_THICKNESS_AND_MATERIAL_FIELD_NUMBER: builtins.int
86
+ THERMAL_CONTACT_CONDUCTANCE_FIELD_NUMBER: builtins.int
87
+ THERMAL_CONDUCTANCE_THICKNESS_FIELD_NUMBER: builtins.int
88
+ ELECTRICAL_CONTACT_CONDUCTANCE_FIELD_NUMBER: builtins.int
89
+ ELECTRICAL_CONDUCTANCE_THICKNESS_FIELD_NUMBER: builtins.int
90
+ contact_type: ansys.api.discovery.v0.connections.contact_pb2.ContactType.ValueType = ...
91
+ @property
92
+ def contact_pairs(self) -> ansys.api.discovery.v0.connections.contact_pb2.ContactPairs: ...
93
+ friction_coefficient: builtins.float = ...
94
+ stiffness_factor: builtins.float = ...
95
+ detection_radius_factor: builtins.float = ...
96
+ @property
97
+ def offset(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
98
+ @property
99
+ def shear_strenght(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
100
+ @property
101
+ def tensile_strength(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
102
+ are_strength_limits_set: builtins.bool = ...
103
+ adjust_gap_or_overlap: builtins.bool = ...
104
+ make_just_touching: builtins.bool = ...
105
+ idealize: builtins.bool = ...
106
+ specify_thermal_conductance: builtins.bool = ...
107
+ specify_thermal_conductance_from_thickness_and_material: builtins.bool = ...
108
+ specify_electric_conductance: builtins.bool = ...
109
+ specify_electric_conductance_from_thickness_and_material: builtins.bool = ...
110
+ @property
111
+ def thermal_contact_conductance(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
112
+ @property
113
+ def thermal_conductance_thickness(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
114
+ @property
115
+ def electrical_contact_conductance(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
116
+ @property
117
+ def electrical_conductance_thickness(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
118
+ def __init__(self,
119
+ *,
120
+ contact_type : ansys.api.discovery.v0.connections.contact_pb2.ContactType.ValueType = ...,
121
+ contact_pairs : typing.Optional[ansys.api.discovery.v0.connections.contact_pb2.ContactPairs] = ...,
122
+ friction_coefficient : builtins.float = ...,
123
+ stiffness_factor : builtins.float = ...,
124
+ detection_radius_factor : builtins.float = ...,
125
+ offset : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
126
+ shear_strenght : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
127
+ tensile_strength : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
128
+ are_strength_limits_set : builtins.bool = ...,
129
+ adjust_gap_or_overlap : builtins.bool = ...,
130
+ make_just_touching : builtins.bool = ...,
131
+ idealize : builtins.bool = ...,
132
+ specify_thermal_conductance : builtins.bool = ...,
133
+ specify_thermal_conductance_from_thickness_and_material : builtins.bool = ...,
134
+ specify_electric_conductance : builtins.bool = ...,
135
+ specify_electric_conductance_from_thickness_and_material : builtins.bool = ...,
136
+ thermal_contact_conductance : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
137
+ thermal_conductance_thickness : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
138
+ electrical_contact_conductance : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
139
+ electrical_conductance_thickness : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
140
+ ) -> None: ...
141
+ def HasField(self, field_name: typing_extensions.Literal["contact_pairs",b"contact_pairs","electrical_conductance_thickness",b"electrical_conductance_thickness","electrical_contact_conductance",b"electrical_contact_conductance","offset",b"offset","shear_strenght",b"shear_strenght","tensile_strength",b"tensile_strength","thermal_conductance_thickness",b"thermal_conductance_thickness","thermal_contact_conductance",b"thermal_contact_conductance"]) -> builtins.bool: ...
142
+ def ClearField(self, field_name: typing_extensions.Literal["adjust_gap_or_overlap",b"adjust_gap_or_overlap","are_strength_limits_set",b"are_strength_limits_set","contact_pairs",b"contact_pairs","contact_type",b"contact_type","detection_radius_factor",b"detection_radius_factor","electrical_conductance_thickness",b"electrical_conductance_thickness","electrical_contact_conductance",b"electrical_contact_conductance","friction_coefficient",b"friction_coefficient","idealize",b"idealize","make_just_touching",b"make_just_touching","offset",b"offset","shear_strenght",b"shear_strenght","specify_electric_conductance",b"specify_electric_conductance","specify_electric_conductance_from_thickness_and_material",b"specify_electric_conductance_from_thickness_and_material","specify_thermal_conductance",b"specify_thermal_conductance","specify_thermal_conductance_from_thickness_and_material",b"specify_thermal_conductance_from_thickness_and_material","stiffness_factor",b"stiffness_factor","tensile_strength",b"tensile_strength","thermal_conductance_thickness",b"thermal_conductance_thickness","thermal_contact_conductance",b"thermal_contact_conductance"]) -> None: ...
143
+ global___ContactGroupProperties = ContactGroupProperties
144
+
145
+ class ContactGroupDefinition(google.protobuf.message.Message):
146
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
147
+ ID_FIELD_NUMBER: builtins.int
148
+ PARENT_ID_FIELD_NUMBER: builtins.int
149
+ LABEL_FIELD_NUMBER: builtins.int
150
+ SIDE1_LOCATIONS_FIELD_NUMBER: builtins.int
151
+ SIDE2_LOCATIONS_FIELD_NUMBER: builtins.int
152
+ SUPPRESSED_FIELD_NUMBER: builtins.int
153
+ CONTACT_FIELD_NUMBER: builtins.int
154
+ @property
155
+ def id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
156
+ @property
157
+ def parent_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
158
+ label: typing.Text = ...
159
+ @property
160
+ def side1_locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
161
+ @property
162
+ def side2_locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
163
+ suppressed: builtins.bool = ...
164
+ @property
165
+ def contact(self) -> global___ContactGroupProperties: ...
166
+ def __init__(self,
167
+ *,
168
+ id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
169
+ parent_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
170
+ label : typing.Text = ...,
171
+ side1_locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
172
+ side2_locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
173
+ suppressed : builtins.bool = ...,
174
+ contact : typing.Optional[global___ContactGroupProperties] = ...,
175
+ ) -> None: ...
176
+ def HasField(self, field_name: typing_extensions.Literal["contact",b"contact","id",b"id","parent_id",b"parent_id"]) -> builtins.bool: ...
177
+ def ClearField(self, field_name: typing_extensions.Literal["contact",b"contact","id",b"id","label",b"label","parent_id",b"parent_id","side1_locations",b"side1_locations","side2_locations",b"side2_locations","suppressed",b"suppressed"]) -> None: ...
178
+ global___ContactGroupDefinition = ContactGroupDefinition