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.
- ansys/api/discovery/VERSION +1 -1
- ansys/api/discovery/v0/assignments/boltassignment.proto +40 -0
- ansys/api/discovery/v0/assignments/boltassignment_pb2.py +37 -0
- ansys/api/discovery/v0/assignments/boltassignment_pb2.pyi +95 -0
- ansys/api/discovery/v0/assignments/boltassignment_pb2_grpc.py +67 -0
- ansys/api/discovery/v0/assignments/boltassignment_pb2_grpc.pyi +27 -0
- ansys/api/discovery/v0/conditions/acceleration.proto +52 -0
- ansys/api/discovery/v0/conditions/acceleration_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/acceleration_pb2.pyi +94 -0
- ansys/api/discovery/v0/conditions/acceleration_pb2_grpc.py +365 -0
- ansys/api/discovery/v0/conditions/acceleration_pb2_grpc.pyi +118 -0
- ansys/api/discovery/v0/conditions/bearing.proto +47 -0
- ansys/api/discovery/v0/conditions/bearing_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/bearing_pb2.pyi +102 -0
- ansys/api/discovery/v0/conditions/bearing_pb2_grpc.py +200 -0
- ansys/api/discovery/v0/conditions/bearing_pb2_grpc.pyi +68 -0
- ansys/api/discovery/v0/conditions/boltpreload.proto +94 -0
- ansys/api/discovery/v0/conditions/boltpreload_pb2.py +48 -0
- ansys/api/discovery/v0/conditions/boltpreload_pb2.pyi +218 -0
- ansys/api/discovery/v0/conditions/boltpreload_pb2_grpc.py +431 -0
- ansys/api/discovery/v0/conditions/boltpreload_pb2_grpc.pyi +138 -0
- ansys/api/discovery/v0/{conditions.proto → conditions/condition.proto} +5 -4
- ansys/api/discovery/v0/conditions/condition_pb2.py +34 -0
- ansys/api/discovery/v0/{conditions_pb2.pyi → conditions/condition_pb2.pyi} +13 -6
- ansys/api/discovery/v0/{conditions_pb2_grpc.py → conditions/condition_pb2_grpc.py} +21 -21
- ansys/api/discovery/v0/{conditions_pb2_grpc.pyi → conditions/condition_pb2_grpc.pyi} +10 -10
- ansys/api/discovery/v0/conditions/convection.proto +43 -0
- ansys/api/discovery/v0/conditions/convection_pb2.py +34 -0
- ansys/api/discovery/v0/conditions/convection_pb2.pyi +89 -0
- ansys/api/discovery/v0/conditions/convection_pb2_grpc.py +166 -0
- ansys/api/discovery/v0/conditions/convection_pb2_grpc.pyi +55 -0
- ansys/api/discovery/v0/conditions/displacement.proto +105 -0
- ansys/api/discovery/v0/conditions/displacement_pb2.py +48 -0
- ansys/api/discovery/v0/conditions/displacement_pb2.pyi +209 -0
- ansys/api/discovery/v0/conditions/displacement_pb2_grpc.py +827 -0
- ansys/api/discovery/v0/conditions/displacement_pb2_grpc.pyi +258 -0
- ansys/api/discovery/v0/{conditionsfluid.proto → conditions/flow.proto} +19 -24
- ansys/api/discovery/v0/conditions/flow_pb2.py +86 -0
- ansys/api/discovery/v0/{conditionsfluid_pb2.pyi → conditions/flow_pb2.pyi} +51 -34
- ansys/api/discovery/v0/{conditionsfluid_pb2_grpc.py → conditions/flow_pb2_grpc.py} +86 -86
- ansys/api/discovery/v0/{conditionsfluid_pb2_grpc.pyi → conditions/flow_pb2_grpc.pyi} +32 -32
- ansys/api/discovery/v0/conditions/fluidinitialtemperature.proto +13 -0
- ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2.py +28 -0
- ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2.pyi +7 -0
- ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2_grpc.py +66 -0
- ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2_grpc.pyi +24 -0
- ansys/api/discovery/v0/conditions/force.proto +131 -0
- ansys/api/discovery/v0/conditions/force_pb2.py +56 -0
- ansys/api/discovery/v0/conditions/force_pb2.pyi +286 -0
- ansys/api/discovery/v0/conditions/force_pb2_grpc.py +829 -0
- ansys/api/discovery/v0/conditions/force_pb2_grpc.pyi +257 -0
- ansys/api/discovery/v0/conditions/gravity.proto +39 -0
- ansys/api/discovery/v0/conditions/gravity_pb2.py +32 -0
- ansys/api/discovery/v0/conditions/gravity_pb2.pyi +65 -0
- ansys/api/discovery/v0/conditions/gravity_pb2_grpc.py +266 -0
- ansys/api/discovery/v0/conditions/gravity_pb2_grpc.pyi +91 -0
- ansys/api/discovery/v0/conditions/heat.proto +90 -0
- ansys/api/discovery/v0/conditions/heat_pb2.py +46 -0
- ansys/api/discovery/v0/conditions/heat_pb2.pyi +210 -0
- ansys/api/discovery/v0/conditions/heat_pb2_grpc.py +332 -0
- ansys/api/discovery/v0/conditions/heat_pb2_grpc.pyi +108 -0
- ansys/api/discovery/v0/conditions/insulated.proto +34 -0
- ansys/api/discovery/v0/conditions/insulated_pb2.py +34 -0
- ansys/api/discovery/v0/conditions/insulated_pb2.pyi +73 -0
- ansys/api/discovery/v0/conditions/insulated_pb2_grpc.py +100 -0
- ansys/api/discovery/v0/conditions/insulated_pb2_grpc.pyi +35 -0
- ansys/api/discovery/v0/conditions/mass.proto +49 -0
- ansys/api/discovery/v0/conditions/mass_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/mass_pb2.pyi +98 -0
- ansys/api/discovery/v0/conditions/mass_pb2_grpc.py +266 -0
- ansys/api/discovery/v0/conditions/mass_pb2_grpc.pyi +88 -0
- ansys/api/discovery/v0/conditions/moment.proto +67 -0
- ansys/api/discovery/v0/conditions/moment_pb2.py +40 -0
- ansys/api/discovery/v0/conditions/moment_pb2.pyi +132 -0
- ansys/api/discovery/v0/conditions/moment_pb2_grpc.py +398 -0
- ansys/api/discovery/v0/conditions/moment_pb2_grpc.pyi +128 -0
- ansys/api/discovery/v0/conditions/porous.proto +116 -0
- ansys/api/discovery/v0/conditions/porous_pb2.py +44 -0
- ansys/api/discovery/v0/conditions/porous_pb2.pyi +217 -0
- ansys/api/discovery/v0/conditions/porous_pb2_grpc.py +534 -0
- ansys/api/discovery/v0/conditions/porous_pb2_grpc.pyi +181 -0
- ansys/api/discovery/v0/conditions/pressure.proto +43 -0
- ansys/api/discovery/v0/conditions/pressure_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/pressure_pb2.pyi +94 -0
- ansys/api/discovery/v0/conditions/pressure_pb2_grpc.py +134 -0
- ansys/api/discovery/v0/conditions/pressure_pb2_grpc.pyi +48 -0
- ansys/api/discovery/v0/conditions/rotatingfluidzone.proto +57 -0
- ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.pyi +102 -0
- ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2_grpc.py +136 -0
- ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2_grpc.pyi +54 -0
- ansys/api/discovery/v0/conditions/solidtemperature.proto +40 -0
- ansys/api/discovery/v0/conditions/solidtemperature_pb2.py +34 -0
- ansys/api/discovery/v0/conditions/solidtemperature_pb2.pyi +81 -0
- ansys/api/discovery/v0/conditions/solidtemperature_pb2_grpc.py +166 -0
- ansys/api/discovery/v0/conditions/solidtemperature_pb2_grpc.pyi +55 -0
- ansys/api/discovery/v0/conditions/springpreload.proto +105 -0
- ansys/api/discovery/v0/conditions/springpreload_pb2.py +50 -0
- ansys/api/discovery/v0/conditions/springpreload_pb2.pyi +250 -0
- ansys/api/discovery/v0/conditions/springpreload_pb2_grpc.py +431 -0
- ansys/api/discovery/v0/conditions/springpreload_pb2_grpc.pyi +138 -0
- ansys/api/discovery/v0/conditions/support.proto +98 -0
- ansys/api/discovery/v0/conditions/support_pb2.py +46 -0
- ansys/api/discovery/v0/conditions/support_pb2.pyi +200 -0
- ansys/api/discovery/v0/{conditionsthermal_pb2_grpc.py → conditions/support_pb2_grpc.py} +251 -221
- ansys/api/discovery/v0/conditions/support_pb2_grpc.pyi +218 -0
- ansys/api/discovery/v0/conditions/velocity.proto +58 -0
- ansys/api/discovery/v0/conditions/velocity_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/velocity_pb2.pyi +98 -0
- ansys/api/discovery/v0/conditions/velocity_pb2_grpc.py +497 -0
- ansys/api/discovery/v0/conditions/velocity_pb2_grpc.pyi +158 -0
- ansys/api/discovery/v0/conditions/wall.proto +209 -0
- ansys/api/discovery/v0/conditions/wall_pb2.py +70 -0
- ansys/api/discovery/v0/conditions/wall_pb2.pyi +494 -0
- ansys/api/discovery/v0/conditions/wall_pb2_grpc.py +633 -0
- ansys/api/discovery/v0/conditions/wall_pb2_grpc.pyi +211 -0
- ansys/api/discovery/v0/connections/contact.proto +110 -0
- ansys/api/discovery/v0/connections/contact_pb2.py +46 -0
- ansys/api/discovery/v0/connections/contact_pb2.pyi +242 -0
- ansys/api/discovery/v0/connections/contact_pb2_grpc.py +827 -0
- ansys/api/discovery/v0/connections/contact_pb2_grpc.pyi +258 -0
- ansys/api/discovery/v0/connections/contactgroup.proto +89 -0
- ansys/api/discovery/v0/connections/contactgroup_pb2.py +37 -0
- ansys/api/discovery/v0/connections/contactgroup_pb2.pyi +178 -0
- ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.py +860 -0
- ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.pyi +266 -0
- ansys/api/discovery/v0/connections/joint.proto +56 -0
- ansys/api/discovery/v0/connections/joint_pb2.py +40 -0
- ansys/api/discovery/v0/connections/joint_pb2.pyi +129 -0
- ansys/api/discovery/v0/connections/joint_pb2_grpc.py +167 -0
- ansys/api/discovery/v0/connections/joint_pb2_grpc.pyi +58 -0
- ansys/api/discovery/v0/discoverymodels.proto +34 -17
- ansys/api/discovery/v0/discoverymodels_pb2.py +46 -40
- ansys/api/discovery/v0/discoverymodels_pb2.pyi +118 -47
- ansys/api/discovery/v0/engineeringdata/boltdata.proto +37 -0
- ansys/api/discovery/v0/engineeringdata/boltdata_pb2.py +36 -0
- ansys/api/discovery/v0/engineeringdata/boltdata_pb2.pyi +81 -0
- ansys/api/discovery/v0/engineeringdata/boltdata_pb2_grpc.py +67 -0
- ansys/api/discovery/v0/engineeringdata/boltdata_pb2_grpc.pyi +27 -0
- ansys/api/discovery/v0/monitors.proto +4 -4
- ansys/api/discovery/v0/monitors_pb2.py +10 -10
- ansys/api/discovery/v0/monitors_pb2.pyi +11 -11
- ansys/api/discovery/v0/solution.proto +4 -3
- ansys/api/discovery/v0/solution_pb2.py +16 -15
- ansys/api/discovery/v0/solution_pb2.pyi +11 -7
- ansys/api/discovery/v0/unsupported.proto +10 -0
- ansys/api/discovery/v0/unsupported_pb2.py +5 -3
- ansys/api/discovery/v0/unsupported_pb2.pyi +14 -0
- ansys/api/discovery/v0/unsupported_pb2_grpc.py +68 -0
- ansys/api/discovery/v0/unsupported_pb2_grpc.pyi +24 -0
- {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/METADATA +13 -4
- ansys_api_discovery-0.6.5.dist-info/RECORD +200 -0
- {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/WHEEL +1 -1
- ansys/api/discovery/v0/conditions_pb2.py +0 -33
- ansys/api/discovery/v0/conditionsfluid_pb2.py +0 -85
- ansys/api/discovery/v0/conditionsstructural.proto +0 -595
- ansys/api/discovery/v0/conditionsstructural_pb2.py +0 -149
- ansys/api/discovery/v0/conditionsstructural_pb2.pyi +0 -1216
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.py +0 -4171
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.pyi +0 -1303
- ansys/api/discovery/v0/conditionsthermal.proto +0 -179
- ansys/api/discovery/v0/conditionsthermal_pb2.py +0 -63
- ansys/api/discovery/v0/conditionsthermal_pb2.pyi +0 -399
- ansys/api/discovery/v0/conditionsthermal_pb2_grpc.pyi +0 -217
- ansys_api_discovery-0.6.3.dist-info/RECORD +0 -85
- {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/LICENSE +0 -0
- {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/entry_points.txt +0 -0
- {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import abc
|
|
6
|
+
import ansys.api.discovery.v0.conditions.wall_pb2
|
|
7
|
+
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
8
|
+
import grpc
|
|
9
|
+
|
|
10
|
+
class WallStub:
|
|
11
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
12
|
+
CreateWallFreeSlip: grpc.UnaryUnaryMultiCallable[
|
|
13
|
+
ansys.api.discovery.v0.conditions.wall_pb2.WallFreeSlipCreationRequest,
|
|
14
|
+
ansys.api.discovery.v0.conditions.wall_pb2.WallFreeSlipCreationResponse] = ...
|
|
15
|
+
"""wall creation methods"""
|
|
16
|
+
|
|
17
|
+
CreateWallStationary: grpc.UnaryUnaryMultiCallable[
|
|
18
|
+
ansys.api.discovery.v0.conditions.wall_pb2.WallStationaryCreationRequest,
|
|
19
|
+
ansys.api.discovery.v0.conditions.wall_pb2.WallStationaryCreationResponse] = ...
|
|
20
|
+
|
|
21
|
+
CreateWallRotating: grpc.UnaryUnaryMultiCallable[
|
|
22
|
+
ansys.api.discovery.v0.conditions.wall_pb2.WallTranslationCreationRequest,
|
|
23
|
+
ansys.api.discovery.v0.conditions.wall_pb2.WallTranslationCreationResponse] = ...
|
|
24
|
+
|
|
25
|
+
CreateWallTranslating: grpc.UnaryUnaryMultiCallable[
|
|
26
|
+
ansys.api.discovery.v0.conditions.wall_pb2.WallRotationCreationRequest,
|
|
27
|
+
ansys.api.discovery.v0.conditions.wall_pb2.WallRotationCreationResponse] = ...
|
|
28
|
+
|
|
29
|
+
ChangeWallSpecification: grpc.UnaryUnaryMultiCallable[
|
|
30
|
+
ansys.api.discovery.v0.conditions.wall_pb2.ChangeWallSpecificationRequest,
|
|
31
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
32
|
+
"""Wall properties"""
|
|
33
|
+
|
|
34
|
+
ChangeWallLocation: grpc.UnaryUnaryMultiCallable[
|
|
35
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
36
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
37
|
+
|
|
38
|
+
ChangeWallRotationalVelocityMagnitude: grpc.UnaryUnaryMultiCallable[
|
|
39
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
40
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
41
|
+
"""Motion quantities"""
|
|
42
|
+
|
|
43
|
+
ChangeWallTranslationalVelocityMagnitude: grpc.UnaryUnaryMultiCallable[
|
|
44
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
45
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
46
|
+
|
|
47
|
+
ChangeWallThermalInputEnabled: grpc.UnaryUnaryMultiCallable[
|
|
48
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
|
|
49
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
50
|
+
"""Thermal quantities
|
|
51
|
+
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
ChangeWallThermalOption: grpc.UnaryUnaryMultiCallable[
|
|
55
|
+
ansys.api.discovery.v0.conditions.wall_pb2.ChangeWallThermalOptionRequest,
|
|
56
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
57
|
+
|
|
58
|
+
ChangeWallRadiationInputEnabled: grpc.UnaryUnaryMultiCallable[
|
|
59
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
|
|
60
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
61
|
+
|
|
62
|
+
ChangeWallInternalEmissivity: grpc.UnaryUnaryMultiCallable[
|
|
63
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
64
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
65
|
+
|
|
66
|
+
ChangeWallExternalTemperature: grpc.UnaryUnaryMultiCallable[
|
|
67
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
68
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
69
|
+
|
|
70
|
+
ChangeWallConvectionCoefficient: grpc.UnaryUnaryMultiCallable[
|
|
71
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
72
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
73
|
+
|
|
74
|
+
ChangeWallHeatFlux: grpc.UnaryUnaryMultiCallable[
|
|
75
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
76
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
77
|
+
|
|
78
|
+
ChangeWallHeatFlow: grpc.UnaryUnaryMultiCallable[
|
|
79
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
80
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
81
|
+
|
|
82
|
+
ChangeWallTemperature: grpc.UnaryUnaryMultiCallable[
|
|
83
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
84
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
85
|
+
|
|
86
|
+
ChangeWallExternalEmissivity: grpc.UnaryUnaryMultiCallable[
|
|
87
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
88
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
class WallServicer(metaclass=abc.ABCMeta):
|
|
92
|
+
@abc.abstractmethod
|
|
93
|
+
def CreateWallFreeSlip(self,
|
|
94
|
+
request: ansys.api.discovery.v0.conditions.wall_pb2.WallFreeSlipCreationRequest,
|
|
95
|
+
context: grpc.ServicerContext,
|
|
96
|
+
) -> ansys.api.discovery.v0.conditions.wall_pb2.WallFreeSlipCreationResponse:
|
|
97
|
+
"""wall creation methods"""
|
|
98
|
+
pass
|
|
99
|
+
|
|
100
|
+
@abc.abstractmethod
|
|
101
|
+
def CreateWallStationary(self,
|
|
102
|
+
request: ansys.api.discovery.v0.conditions.wall_pb2.WallStationaryCreationRequest,
|
|
103
|
+
context: grpc.ServicerContext,
|
|
104
|
+
) -> ansys.api.discovery.v0.conditions.wall_pb2.WallStationaryCreationResponse: ...
|
|
105
|
+
|
|
106
|
+
@abc.abstractmethod
|
|
107
|
+
def CreateWallRotating(self,
|
|
108
|
+
request: ansys.api.discovery.v0.conditions.wall_pb2.WallTranslationCreationRequest,
|
|
109
|
+
context: grpc.ServicerContext,
|
|
110
|
+
) -> ansys.api.discovery.v0.conditions.wall_pb2.WallTranslationCreationResponse: ...
|
|
111
|
+
|
|
112
|
+
@abc.abstractmethod
|
|
113
|
+
def CreateWallTranslating(self,
|
|
114
|
+
request: ansys.api.discovery.v0.conditions.wall_pb2.WallRotationCreationRequest,
|
|
115
|
+
context: grpc.ServicerContext,
|
|
116
|
+
) -> ansys.api.discovery.v0.conditions.wall_pb2.WallRotationCreationResponse: ...
|
|
117
|
+
|
|
118
|
+
@abc.abstractmethod
|
|
119
|
+
def ChangeWallSpecification(self,
|
|
120
|
+
request: ansys.api.discovery.v0.conditions.wall_pb2.ChangeWallSpecificationRequest,
|
|
121
|
+
context: grpc.ServicerContext,
|
|
122
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse:
|
|
123
|
+
"""Wall properties"""
|
|
124
|
+
pass
|
|
125
|
+
|
|
126
|
+
@abc.abstractmethod
|
|
127
|
+
def ChangeWallLocation(self,
|
|
128
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
129
|
+
context: grpc.ServicerContext,
|
|
130
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
131
|
+
|
|
132
|
+
@abc.abstractmethod
|
|
133
|
+
def ChangeWallRotationalVelocityMagnitude(self,
|
|
134
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
135
|
+
context: grpc.ServicerContext,
|
|
136
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse:
|
|
137
|
+
"""Motion quantities"""
|
|
138
|
+
pass
|
|
139
|
+
|
|
140
|
+
@abc.abstractmethod
|
|
141
|
+
def ChangeWallTranslationalVelocityMagnitude(self,
|
|
142
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
143
|
+
context: grpc.ServicerContext,
|
|
144
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
145
|
+
|
|
146
|
+
@abc.abstractmethod
|
|
147
|
+
def ChangeWallThermalInputEnabled(self,
|
|
148
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
|
|
149
|
+
context: grpc.ServicerContext,
|
|
150
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse:
|
|
151
|
+
"""Thermal quantities
|
|
152
|
+
|
|
153
|
+
"""
|
|
154
|
+
pass
|
|
155
|
+
|
|
156
|
+
@abc.abstractmethod
|
|
157
|
+
def ChangeWallThermalOption(self,
|
|
158
|
+
request: ansys.api.discovery.v0.conditions.wall_pb2.ChangeWallThermalOptionRequest,
|
|
159
|
+
context: grpc.ServicerContext,
|
|
160
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
161
|
+
|
|
162
|
+
@abc.abstractmethod
|
|
163
|
+
def ChangeWallRadiationInputEnabled(self,
|
|
164
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
|
|
165
|
+
context: grpc.ServicerContext,
|
|
166
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
167
|
+
|
|
168
|
+
@abc.abstractmethod
|
|
169
|
+
def ChangeWallInternalEmissivity(self,
|
|
170
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
171
|
+
context: grpc.ServicerContext,
|
|
172
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
173
|
+
|
|
174
|
+
@abc.abstractmethod
|
|
175
|
+
def ChangeWallExternalTemperature(self,
|
|
176
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
177
|
+
context: grpc.ServicerContext,
|
|
178
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
179
|
+
|
|
180
|
+
@abc.abstractmethod
|
|
181
|
+
def ChangeWallConvectionCoefficient(self,
|
|
182
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
183
|
+
context: grpc.ServicerContext,
|
|
184
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
185
|
+
|
|
186
|
+
@abc.abstractmethod
|
|
187
|
+
def ChangeWallHeatFlux(self,
|
|
188
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
189
|
+
context: grpc.ServicerContext,
|
|
190
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
191
|
+
|
|
192
|
+
@abc.abstractmethod
|
|
193
|
+
def ChangeWallHeatFlow(self,
|
|
194
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
195
|
+
context: grpc.ServicerContext,
|
|
196
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
197
|
+
|
|
198
|
+
@abc.abstractmethod
|
|
199
|
+
def ChangeWallTemperature(self,
|
|
200
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
201
|
+
context: grpc.ServicerContext,
|
|
202
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
203
|
+
|
|
204
|
+
@abc.abstractmethod
|
|
205
|
+
def ChangeWallExternalEmissivity(self,
|
|
206
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
207
|
+
context: grpc.ServicerContext,
|
|
208
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
def add_WallServicer_to_server(servicer: WallServicer, server: grpc.Server) -> None: ...
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.connections.contact;
|
|
4
|
+
|
|
5
|
+
import "ansys/api/dbu/v0/dbumodels.proto";
|
|
6
|
+
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
7
|
+
|
|
8
|
+
option csharp_namespace = "Ansys.Api.Discovery.V0.Connections";
|
|
9
|
+
|
|
10
|
+
service Contact
|
|
11
|
+
{
|
|
12
|
+
//Contact condition methods
|
|
13
|
+
rpc CreateContact(ContactCreationRequest) returns (ContactCreationResponse);
|
|
14
|
+
|
|
15
|
+
rpc ChangeContactSide1Location(ChangeLocationRequest) returns(ChangeResponse);
|
|
16
|
+
rpc ChangeContactSide2Location(ChangeLocationRequest) returns(ChangeResponse);
|
|
17
|
+
|
|
18
|
+
rpc ChangeContactType(ChangeContactTypeRequest) returns (ChangeResponse);
|
|
19
|
+
rpc ChangeContactPairs(ChangeContactPairRequest) returns (ChangeResponse);
|
|
20
|
+
rpc Split(ChangeEmptyRequest) returns (ChangeResponse);
|
|
21
|
+
|
|
22
|
+
rpc ChangeFrictionCoefficient(ChangeDoubleRequest) returns (ChangeResponse);
|
|
23
|
+
rpc ChangeStiffnessFactor(ChangeDoubleRequest) returns (ChangeResponse);
|
|
24
|
+
rpc ChangeDetectionRadiusFactor(ChangeDoubleRequest) returns (ChangeResponse);
|
|
25
|
+
rpc ChangeOffset(ChangeQuantityRequest) returns (ChangeResponse);
|
|
26
|
+
rpc ChangeShearStrength(ChangeQuantityRequest) returns (ChangeResponse);
|
|
27
|
+
rpc ChangeTensileStrength(ChangeQuantityRequest) returns (ChangeResponse);
|
|
28
|
+
rpc ChangeAreStrengthLimitsSet(ChangeBooleanRequest) returns (ChangeResponse);
|
|
29
|
+
rpc ChangeAdjustGapOrOverlap(ChangeBooleanRequest) returns (ChangeResponse);
|
|
30
|
+
rpc ChangeMakeJustTouching(ChangeBooleanRequest) returns (ChangeResponse);
|
|
31
|
+
rpc ChangeIdealize(ChangeBooleanRequest) returns (ChangeResponse);
|
|
32
|
+
rpc ChangeSpecifyThermalConductance(ChangeBooleanRequest) returns (ChangeResponse);
|
|
33
|
+
rpc ChangeSpecifyThermalConductanceFromThicknessAndMaterial(ChangeBooleanRequest) returns (ChangeResponse);
|
|
34
|
+
rpc ChangeSpecifyElectricConductance(ChangeBooleanRequest) returns (ChangeResponse);
|
|
35
|
+
rpc ChangeSpecifyElectricConductanceFromThicknessAndMaterial(ChangeBooleanRequest) returns (ChangeResponse);
|
|
36
|
+
rpc ChangeThermalContactConductance(ChangeQuantityRequest) returns (ChangeResponse);
|
|
37
|
+
rpc ChangeThermalConductanceThickness(ChangeQuantityRequest) returns (ChangeResponse);
|
|
38
|
+
rpc ChangeElectricContactConductance(ChangeQuantityRequest) returns (ChangeResponse);
|
|
39
|
+
rpc ChangeElectricConductanceThickness(ChangeQuantityRequest) returns (ChangeResponse);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
message ContactCreationRequest{
|
|
43
|
+
DoubleSidedScopedCreationData creation_data = 1;
|
|
44
|
+
ContactProperties contact_properties = 2;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
message ContactCreationResponse{
|
|
48
|
+
CreationResponse condition_response = 1;
|
|
49
|
+
ContactDefinition condition_data = 2;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
message ChangeContactTypeRequest{
|
|
53
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
|
|
54
|
+
ContactType contact_type = 2;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
message ChangeContactPairRequest{
|
|
58
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
|
|
59
|
+
ContactPairs contact_pairs = 2;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// Contact condition definitions
|
|
63
|
+
|
|
64
|
+
enum ContactType {
|
|
65
|
+
BONDED_CONTACT = 0;
|
|
66
|
+
SLIDING_CONTACT = 1;
|
|
67
|
+
PREVENTED_CONTACT = 2;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
message ContactPairs {
|
|
71
|
+
repeated ContactPair contact_pair = 1;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
message ContactPair {
|
|
75
|
+
repeated string item1 = 1;
|
|
76
|
+
repeated string item2 = 2;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
message ContactProperties {
|
|
80
|
+
ContactType contact_type = 1;
|
|
81
|
+
ContactPairs contact_pairs = 2;
|
|
82
|
+
double friction_coefficient = 3;
|
|
83
|
+
double stiffness_factor = 4;
|
|
84
|
+
double detection_radius_factor = 5;
|
|
85
|
+
Quantity offset = 6;
|
|
86
|
+
Quantity shear_strenght = 7;
|
|
87
|
+
Quantity tensile_strength = 8;
|
|
88
|
+
bool are_strength_limits_set = 9;
|
|
89
|
+
bool adjust_gap_or_overlap = 10;
|
|
90
|
+
bool make_just_touching = 11;
|
|
91
|
+
bool idealize = 12;
|
|
92
|
+
bool specify_thermal_conductance = 13;
|
|
93
|
+
bool specify_thermal_conductance_from_thickness_and_material = 14;
|
|
94
|
+
bool specify_electric_conductance = 15;
|
|
95
|
+
bool specify_electric_conductance_from_thickness_and_material = 16;
|
|
96
|
+
Quantity thermal_contact_conductance = 17;
|
|
97
|
+
Quantity thermal_conductance_thickness = 18;
|
|
98
|
+
Quantity electrical_contact_conductance = 19;
|
|
99
|
+
Quantity electrical_conductance_thickness = 20;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
message ContactDefinition {
|
|
103
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
|
|
104
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
|
|
105
|
+
string label = 3;
|
|
106
|
+
repeated string side1_locations = 4;
|
|
107
|
+
repeated string side2_locations = 5;
|
|
108
|
+
bool suppressed = 6;
|
|
109
|
+
ContactProperties contact = 7;
|
|
110
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: ansys/api/discovery/v0/connections/contact.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 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0ansys/api/discovery/v0/connections/contact.proto\x12*ansys.api.discovery.v0.connections.contact\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xc1\x01\n\x16\x43ontactCreationRequest\x12L\n\rcreation_data\x18\x01 \x01(\x0b\x32\x35.ansys.api.discovery.v0.DoubleSidedScopedCreationData\x12Y\n\x12\x63ontact_properties\x18\x02 \x01(\x0b\x32=.ansys.api.discovery.v0.connections.contact.ContactProperties\"\xb6\x01\n\x17\x43ontactCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12U\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32=.ansys.api.discovery.v0.connections.contact.ContactDefinition\"\xa7\x01\n\x18\x43hangeContactTypeRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12M\n\x0c\x63ontact_type\x18\x02 \x01(\x0e\x32\x37.ansys.api.discovery.v0.connections.contact.ContactType\"\xa9\x01\n\x18\x43hangeContactPairRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12O\n\rcontact_pairs\x18\x02 \x01(\x0b\x32\x38.ansys.api.discovery.v0.connections.contact.ContactPairs\"]\n\x0c\x43ontactPairs\x12M\n\x0c\x63ontact_pair\x18\x01 \x03(\x0b\x32\x37.ansys.api.discovery.v0.connections.contact.ContactPair\"+\n\x0b\x43ontactPair\x12\r\n\x05item1\x18\x01 \x03(\t\x12\r\n\x05item2\x18\x02 \x03(\t\"\x96\x08\n\x11\x43ontactProperties\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\"\xad\x02\n\x11\x43ontactDefinition\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\x12N\n\x07\x63ontact\x18\x07 \x01(\x0b\x32=.ansys.api.discovery.v0.connections.contact.ContactProperties*M\n\x0b\x43ontactType\x12\x12\n\x0e\x42ONDED_CONTACT\x10\x00\x12\x13\n\x0fSLIDING_CONTACT\x10\x01\x12\x15\n\x11PREVENTED_CONTACT\x10\x02\x32\xd1\x16\n\x07\x43ontact\x12\x98\x01\n\rCreateContact\x12\x42.ansys.api.discovery.v0.connections.contact.ContactCreationRequest\x1a\x43.ansys.api.discovery.v0.connections.contact.ContactCreationResponse\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\x82\x01\n\x12\x43hangeContactPairs\x12\x44.ansys.api.discovery.v0.connections.contact.ChangeContactPairRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12[\n\x05Split\x12*.ansys.api.discovery.v0.ChangeEmptyRequest\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.ChangeResponseB%\xaa\x02\"Ansys.Api.Discovery.V0.Connectionsb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.connections.contact_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
DESCRIPTOR._serialized_options = b'\252\002\"Ansys.Api.Discovery.V0.Connections'
|
|
26
|
+
_CONTACTTYPE._serialized_start=2392
|
|
27
|
+
_CONTACTTYPE._serialized_end=2469
|
|
28
|
+
_CONTACTCREATIONREQUEST._serialized_start=177
|
|
29
|
+
_CONTACTCREATIONREQUEST._serialized_end=370
|
|
30
|
+
_CONTACTCREATIONRESPONSE._serialized_start=373
|
|
31
|
+
_CONTACTCREATIONRESPONSE._serialized_end=555
|
|
32
|
+
_CHANGECONTACTTYPEREQUEST._serialized_start=558
|
|
33
|
+
_CHANGECONTACTTYPEREQUEST._serialized_end=725
|
|
34
|
+
_CHANGECONTACTPAIRREQUEST._serialized_start=728
|
|
35
|
+
_CHANGECONTACTPAIRREQUEST._serialized_end=897
|
|
36
|
+
_CONTACTPAIRS._serialized_start=899
|
|
37
|
+
_CONTACTPAIRS._serialized_end=992
|
|
38
|
+
_CONTACTPAIR._serialized_start=994
|
|
39
|
+
_CONTACTPAIR._serialized_end=1037
|
|
40
|
+
_CONTACTPROPERTIES._serialized_start=1040
|
|
41
|
+
_CONTACTPROPERTIES._serialized_end=2086
|
|
42
|
+
_CONTACTDEFINITION._serialized_start=2089
|
|
43
|
+
_CONTACTDEFINITION._serialized_end=2390
|
|
44
|
+
_CONTACT._serialized_start=2472
|
|
45
|
+
_CONTACT._serialized_end=5369
|
|
46
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,242 @@
|
|
|
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.discoverymodels_pb2
|
|
7
|
+
import builtins
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import typing
|
|
13
|
+
import typing_extensions
|
|
14
|
+
|
|
15
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
|
|
16
|
+
|
|
17
|
+
class _ContactType:
|
|
18
|
+
ValueType = typing.NewType('ValueType', builtins.int)
|
|
19
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
20
|
+
class _ContactTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ContactType.ValueType], builtins.type):
|
|
21
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
|
|
22
|
+
BONDED_CONTACT: ContactType.ValueType = ... # 0
|
|
23
|
+
SLIDING_CONTACT: ContactType.ValueType = ... # 1
|
|
24
|
+
PREVENTED_CONTACT: ContactType.ValueType = ... # 2
|
|
25
|
+
class ContactType(_ContactType, metaclass=_ContactTypeEnumTypeWrapper):
|
|
26
|
+
"""Contact condition definitions
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
BONDED_CONTACT: ContactType.ValueType = ... # 0
|
|
32
|
+
SLIDING_CONTACT: ContactType.ValueType = ... # 1
|
|
33
|
+
PREVENTED_CONTACT: ContactType.ValueType = ... # 2
|
|
34
|
+
global___ContactType = ContactType
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class ContactCreationRequest(google.protobuf.message.Message):
|
|
38
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
39
|
+
CREATION_DATA_FIELD_NUMBER: builtins.int
|
|
40
|
+
CONTACT_PROPERTIES_FIELD_NUMBER: builtins.int
|
|
41
|
+
@property
|
|
42
|
+
def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.DoubleSidedScopedCreationData: ...
|
|
43
|
+
@property
|
|
44
|
+
def contact_properties(self) -> global___ContactProperties: ...
|
|
45
|
+
def __init__(self,
|
|
46
|
+
*,
|
|
47
|
+
creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.DoubleSidedScopedCreationData] = ...,
|
|
48
|
+
contact_properties : typing.Optional[global___ContactProperties] = ...,
|
|
49
|
+
) -> None: ...
|
|
50
|
+
def HasField(self, field_name: typing_extensions.Literal["contact_properties",b"contact_properties","creation_data",b"creation_data"]) -> builtins.bool: ...
|
|
51
|
+
def ClearField(self, field_name: typing_extensions.Literal["contact_properties",b"contact_properties","creation_data",b"creation_data"]) -> None: ...
|
|
52
|
+
global___ContactCreationRequest = ContactCreationRequest
|
|
53
|
+
|
|
54
|
+
class ContactCreationResponse(google.protobuf.message.Message):
|
|
55
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
56
|
+
CONDITION_RESPONSE_FIELD_NUMBER: builtins.int
|
|
57
|
+
CONDITION_DATA_FIELD_NUMBER: builtins.int
|
|
58
|
+
@property
|
|
59
|
+
def condition_response(self) -> ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse: ...
|
|
60
|
+
@property
|
|
61
|
+
def condition_data(self) -> global___ContactDefinition: ...
|
|
62
|
+
def __init__(self,
|
|
63
|
+
*,
|
|
64
|
+
condition_response : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse] = ...,
|
|
65
|
+
condition_data : typing.Optional[global___ContactDefinition] = ...,
|
|
66
|
+
) -> None: ...
|
|
67
|
+
def HasField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> builtins.bool: ...
|
|
68
|
+
def ClearField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> None: ...
|
|
69
|
+
global___ContactCreationResponse = ContactCreationResponse
|
|
70
|
+
|
|
71
|
+
class ChangeContactTypeRequest(google.protobuf.message.Message):
|
|
72
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
73
|
+
OBJECT_ID_FIELD_NUMBER: builtins.int
|
|
74
|
+
CONTACT_TYPE_FIELD_NUMBER: builtins.int
|
|
75
|
+
@property
|
|
76
|
+
def object_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
77
|
+
contact_type: global___ContactType.ValueType = ...
|
|
78
|
+
def __init__(self,
|
|
79
|
+
*,
|
|
80
|
+
object_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
81
|
+
contact_type : global___ContactType.ValueType = ...,
|
|
82
|
+
) -> None: ...
|
|
83
|
+
def HasField(self, field_name: typing_extensions.Literal["object_id",b"object_id"]) -> builtins.bool: ...
|
|
84
|
+
def ClearField(self, field_name: typing_extensions.Literal["contact_type",b"contact_type","object_id",b"object_id"]) -> None: ...
|
|
85
|
+
global___ChangeContactTypeRequest = ChangeContactTypeRequest
|
|
86
|
+
|
|
87
|
+
class ChangeContactPairRequest(google.protobuf.message.Message):
|
|
88
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
89
|
+
OBJECT_ID_FIELD_NUMBER: builtins.int
|
|
90
|
+
CONTACT_PAIRS_FIELD_NUMBER: builtins.int
|
|
91
|
+
@property
|
|
92
|
+
def object_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
93
|
+
@property
|
|
94
|
+
def contact_pairs(self) -> global___ContactPairs: ...
|
|
95
|
+
def __init__(self,
|
|
96
|
+
*,
|
|
97
|
+
object_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
98
|
+
contact_pairs : typing.Optional[global___ContactPairs] = ...,
|
|
99
|
+
) -> None: ...
|
|
100
|
+
def HasField(self, field_name: typing_extensions.Literal["contact_pairs",b"contact_pairs","object_id",b"object_id"]) -> builtins.bool: ...
|
|
101
|
+
def ClearField(self, field_name: typing_extensions.Literal["contact_pairs",b"contact_pairs","object_id",b"object_id"]) -> None: ...
|
|
102
|
+
global___ChangeContactPairRequest = ChangeContactPairRequest
|
|
103
|
+
|
|
104
|
+
class ContactPairs(google.protobuf.message.Message):
|
|
105
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
106
|
+
CONTACT_PAIR_FIELD_NUMBER: builtins.int
|
|
107
|
+
@property
|
|
108
|
+
def contact_pair(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ContactPair]: ...
|
|
109
|
+
def __init__(self,
|
|
110
|
+
*,
|
|
111
|
+
contact_pair : typing.Optional[typing.Iterable[global___ContactPair]] = ...,
|
|
112
|
+
) -> None: ...
|
|
113
|
+
def ClearField(self, field_name: typing_extensions.Literal["contact_pair",b"contact_pair"]) -> None: ...
|
|
114
|
+
global___ContactPairs = ContactPairs
|
|
115
|
+
|
|
116
|
+
class ContactPair(google.protobuf.message.Message):
|
|
117
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
118
|
+
ITEM1_FIELD_NUMBER: builtins.int
|
|
119
|
+
ITEM2_FIELD_NUMBER: builtins.int
|
|
120
|
+
@property
|
|
121
|
+
def item1(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
|
|
122
|
+
@property
|
|
123
|
+
def item2(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
|
|
124
|
+
def __init__(self,
|
|
125
|
+
*,
|
|
126
|
+
item1 : typing.Optional[typing.Iterable[typing.Text]] = ...,
|
|
127
|
+
item2 : typing.Optional[typing.Iterable[typing.Text]] = ...,
|
|
128
|
+
) -> None: ...
|
|
129
|
+
def ClearField(self, field_name: typing_extensions.Literal["item1",b"item1","item2",b"item2"]) -> None: ...
|
|
130
|
+
global___ContactPair = ContactPair
|
|
131
|
+
|
|
132
|
+
class ContactProperties(google.protobuf.message.Message):
|
|
133
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
134
|
+
CONTACT_TYPE_FIELD_NUMBER: builtins.int
|
|
135
|
+
CONTACT_PAIRS_FIELD_NUMBER: builtins.int
|
|
136
|
+
FRICTION_COEFFICIENT_FIELD_NUMBER: builtins.int
|
|
137
|
+
STIFFNESS_FACTOR_FIELD_NUMBER: builtins.int
|
|
138
|
+
DETECTION_RADIUS_FACTOR_FIELD_NUMBER: builtins.int
|
|
139
|
+
OFFSET_FIELD_NUMBER: builtins.int
|
|
140
|
+
SHEAR_STRENGHT_FIELD_NUMBER: builtins.int
|
|
141
|
+
TENSILE_STRENGTH_FIELD_NUMBER: builtins.int
|
|
142
|
+
ARE_STRENGTH_LIMITS_SET_FIELD_NUMBER: builtins.int
|
|
143
|
+
ADJUST_GAP_OR_OVERLAP_FIELD_NUMBER: builtins.int
|
|
144
|
+
MAKE_JUST_TOUCHING_FIELD_NUMBER: builtins.int
|
|
145
|
+
IDEALIZE_FIELD_NUMBER: builtins.int
|
|
146
|
+
SPECIFY_THERMAL_CONDUCTANCE_FIELD_NUMBER: builtins.int
|
|
147
|
+
SPECIFY_THERMAL_CONDUCTANCE_FROM_THICKNESS_AND_MATERIAL_FIELD_NUMBER: builtins.int
|
|
148
|
+
SPECIFY_ELECTRIC_CONDUCTANCE_FIELD_NUMBER: builtins.int
|
|
149
|
+
SPECIFY_ELECTRIC_CONDUCTANCE_FROM_THICKNESS_AND_MATERIAL_FIELD_NUMBER: builtins.int
|
|
150
|
+
THERMAL_CONTACT_CONDUCTANCE_FIELD_NUMBER: builtins.int
|
|
151
|
+
THERMAL_CONDUCTANCE_THICKNESS_FIELD_NUMBER: builtins.int
|
|
152
|
+
ELECTRICAL_CONTACT_CONDUCTANCE_FIELD_NUMBER: builtins.int
|
|
153
|
+
ELECTRICAL_CONDUCTANCE_THICKNESS_FIELD_NUMBER: builtins.int
|
|
154
|
+
contact_type: global___ContactType.ValueType = ...
|
|
155
|
+
@property
|
|
156
|
+
def contact_pairs(self) -> global___ContactPairs: ...
|
|
157
|
+
friction_coefficient: builtins.float = ...
|
|
158
|
+
stiffness_factor: builtins.float = ...
|
|
159
|
+
detection_radius_factor: builtins.float = ...
|
|
160
|
+
@property
|
|
161
|
+
def offset(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
|
|
162
|
+
@property
|
|
163
|
+
def shear_strenght(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
|
|
164
|
+
@property
|
|
165
|
+
def tensile_strength(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
|
|
166
|
+
are_strength_limits_set: builtins.bool = ...
|
|
167
|
+
adjust_gap_or_overlap: builtins.bool = ...
|
|
168
|
+
make_just_touching: builtins.bool = ...
|
|
169
|
+
idealize: builtins.bool = ...
|
|
170
|
+
specify_thermal_conductance: builtins.bool = ...
|
|
171
|
+
specify_thermal_conductance_from_thickness_and_material: builtins.bool = ...
|
|
172
|
+
specify_electric_conductance: builtins.bool = ...
|
|
173
|
+
specify_electric_conductance_from_thickness_and_material: builtins.bool = ...
|
|
174
|
+
@property
|
|
175
|
+
def thermal_contact_conductance(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
|
|
176
|
+
@property
|
|
177
|
+
def thermal_conductance_thickness(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
|
|
178
|
+
@property
|
|
179
|
+
def electrical_contact_conductance(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
|
|
180
|
+
@property
|
|
181
|
+
def electrical_conductance_thickness(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
|
|
182
|
+
def __init__(self,
|
|
183
|
+
*,
|
|
184
|
+
contact_type : global___ContactType.ValueType = ...,
|
|
185
|
+
contact_pairs : typing.Optional[global___ContactPairs] = ...,
|
|
186
|
+
friction_coefficient : builtins.float = ...,
|
|
187
|
+
stiffness_factor : builtins.float = ...,
|
|
188
|
+
detection_radius_factor : builtins.float = ...,
|
|
189
|
+
offset : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
190
|
+
shear_strenght : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
191
|
+
tensile_strength : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
192
|
+
are_strength_limits_set : builtins.bool = ...,
|
|
193
|
+
adjust_gap_or_overlap : builtins.bool = ...,
|
|
194
|
+
make_just_touching : builtins.bool = ...,
|
|
195
|
+
idealize : builtins.bool = ...,
|
|
196
|
+
specify_thermal_conductance : builtins.bool = ...,
|
|
197
|
+
specify_thermal_conductance_from_thickness_and_material : builtins.bool = ...,
|
|
198
|
+
specify_electric_conductance : builtins.bool = ...,
|
|
199
|
+
specify_electric_conductance_from_thickness_and_material : builtins.bool = ...,
|
|
200
|
+
thermal_contact_conductance : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
201
|
+
thermal_conductance_thickness : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
202
|
+
electrical_contact_conductance : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
203
|
+
electrical_conductance_thickness : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
204
|
+
) -> None: ...
|
|
205
|
+
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: ...
|
|
206
|
+
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: ...
|
|
207
|
+
global___ContactProperties = ContactProperties
|
|
208
|
+
|
|
209
|
+
class ContactDefinition(google.protobuf.message.Message):
|
|
210
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
211
|
+
ID_FIELD_NUMBER: builtins.int
|
|
212
|
+
PARENT_ID_FIELD_NUMBER: builtins.int
|
|
213
|
+
LABEL_FIELD_NUMBER: builtins.int
|
|
214
|
+
SIDE1_LOCATIONS_FIELD_NUMBER: builtins.int
|
|
215
|
+
SIDE2_LOCATIONS_FIELD_NUMBER: builtins.int
|
|
216
|
+
SUPPRESSED_FIELD_NUMBER: builtins.int
|
|
217
|
+
CONTACT_FIELD_NUMBER: builtins.int
|
|
218
|
+
@property
|
|
219
|
+
def id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
220
|
+
@property
|
|
221
|
+
def parent_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
222
|
+
label: typing.Text = ...
|
|
223
|
+
@property
|
|
224
|
+
def side1_locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
|
|
225
|
+
@property
|
|
226
|
+
def side2_locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
|
|
227
|
+
suppressed: builtins.bool = ...
|
|
228
|
+
@property
|
|
229
|
+
def contact(self) -> global___ContactProperties: ...
|
|
230
|
+
def __init__(self,
|
|
231
|
+
*,
|
|
232
|
+
id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
233
|
+
parent_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
234
|
+
label : typing.Text = ...,
|
|
235
|
+
side1_locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
|
|
236
|
+
side2_locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
|
|
237
|
+
suppressed : builtins.bool = ...,
|
|
238
|
+
contact : typing.Optional[global___ContactProperties] = ...,
|
|
239
|
+
) -> None: ...
|
|
240
|
+
def HasField(self, field_name: typing_extensions.Literal["contact",b"contact","id",b"id","parent_id",b"parent_id"]) -> builtins.bool: ...
|
|
241
|
+
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: ...
|
|
242
|
+
global___ContactDefinition = ContactDefinition
|