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,398 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from ansys.api.discovery.v0.conditions import moment_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2
|
|
6
|
+
from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class MomentStub(object):
|
|
10
|
+
"""Missing associated documentation comment in .proto file."""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel):
|
|
13
|
+
"""Constructor.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
channel: A grpc.Channel.
|
|
17
|
+
"""
|
|
18
|
+
self.CreateMomentLocal = channel.unary_unary(
|
|
19
|
+
'/ansys.api.discovery.v0.conditions.moment.Moment/CreateMomentLocal',
|
|
20
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2.MomentCreationRequest.SerializeToString,
|
|
21
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2.MomentCreationResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.CreateMomentGlobal = channel.unary_unary(
|
|
24
|
+
'/ansys.api.discovery.v0.conditions.moment.Moment/CreateMomentGlobal',
|
|
25
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2.MomentCreationRequest.SerializeToString,
|
|
26
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2.MomentCreationResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.ChangeMomentLocation = channel.unary_unary(
|
|
29
|
+
'/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentLocation',
|
|
30
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
|
|
31
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
self.ChangeMomentSpecification = channel.unary_unary(
|
|
34
|
+
'/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentSpecification',
|
|
35
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2.ChangeMomentSpecificationRequest.SerializeToString,
|
|
36
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
37
|
+
)
|
|
38
|
+
self.ChangeMomentOrientation = channel.unary_unary(
|
|
39
|
+
'/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentOrientation',
|
|
40
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeDirectionRequest.SerializeToString,
|
|
41
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
42
|
+
)
|
|
43
|
+
self.ChangeMomentLocalX = channel.unary_unary(
|
|
44
|
+
'/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentLocalX',
|
|
45
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
46
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
47
|
+
)
|
|
48
|
+
self.ChangeMomentLocalY = channel.unary_unary(
|
|
49
|
+
'/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentLocalY',
|
|
50
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
51
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
52
|
+
)
|
|
53
|
+
self.ChangeMomentLocalZ = channel.unary_unary(
|
|
54
|
+
'/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentLocalZ',
|
|
55
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
56
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
57
|
+
)
|
|
58
|
+
self.ChangeMomentGlobalX = channel.unary_unary(
|
|
59
|
+
'/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentGlobalX',
|
|
60
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
61
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
62
|
+
)
|
|
63
|
+
self.ChangeMomentGlobalY = channel.unary_unary(
|
|
64
|
+
'/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentGlobalY',
|
|
65
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
66
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
67
|
+
)
|
|
68
|
+
self.ChangeMomentGlobalZ = channel.unary_unary(
|
|
69
|
+
'/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentGlobalZ',
|
|
70
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
71
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
class MomentServicer(object):
|
|
76
|
+
"""Missing associated documentation comment in .proto file."""
|
|
77
|
+
|
|
78
|
+
def CreateMomentLocal(self, request, context):
|
|
79
|
+
"""Moment condition methods
|
|
80
|
+
"""
|
|
81
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
82
|
+
context.set_details('Method not implemented!')
|
|
83
|
+
raise NotImplementedError('Method not implemented!')
|
|
84
|
+
|
|
85
|
+
def CreateMomentGlobal(self, request, context):
|
|
86
|
+
"""Missing associated documentation comment in .proto file."""
|
|
87
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
88
|
+
context.set_details('Method not implemented!')
|
|
89
|
+
raise NotImplementedError('Method not implemented!')
|
|
90
|
+
|
|
91
|
+
def ChangeMomentLocation(self, request, context):
|
|
92
|
+
"""Missing associated documentation comment in .proto file."""
|
|
93
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
94
|
+
context.set_details('Method not implemented!')
|
|
95
|
+
raise NotImplementedError('Method not implemented!')
|
|
96
|
+
|
|
97
|
+
def ChangeMomentSpecification(self, request, context):
|
|
98
|
+
"""Missing associated documentation comment in .proto file."""
|
|
99
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
100
|
+
context.set_details('Method not implemented!')
|
|
101
|
+
raise NotImplementedError('Method not implemented!')
|
|
102
|
+
|
|
103
|
+
def ChangeMomentOrientation(self, request, context):
|
|
104
|
+
"""Missing associated documentation comment in .proto file."""
|
|
105
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
106
|
+
context.set_details('Method not implemented!')
|
|
107
|
+
raise NotImplementedError('Method not implemented!')
|
|
108
|
+
|
|
109
|
+
def ChangeMomentLocalX(self, request, context):
|
|
110
|
+
"""Missing associated documentation comment in .proto file."""
|
|
111
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
112
|
+
context.set_details('Method not implemented!')
|
|
113
|
+
raise NotImplementedError('Method not implemented!')
|
|
114
|
+
|
|
115
|
+
def ChangeMomentLocalY(self, request, context):
|
|
116
|
+
"""Missing associated documentation comment in .proto file."""
|
|
117
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
118
|
+
context.set_details('Method not implemented!')
|
|
119
|
+
raise NotImplementedError('Method not implemented!')
|
|
120
|
+
|
|
121
|
+
def ChangeMomentLocalZ(self, request, context):
|
|
122
|
+
"""Missing associated documentation comment in .proto file."""
|
|
123
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
124
|
+
context.set_details('Method not implemented!')
|
|
125
|
+
raise NotImplementedError('Method not implemented!')
|
|
126
|
+
|
|
127
|
+
def ChangeMomentGlobalX(self, request, context):
|
|
128
|
+
"""Missing associated documentation comment in .proto file."""
|
|
129
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
130
|
+
context.set_details('Method not implemented!')
|
|
131
|
+
raise NotImplementedError('Method not implemented!')
|
|
132
|
+
|
|
133
|
+
def ChangeMomentGlobalY(self, request, context):
|
|
134
|
+
"""Missing associated documentation comment in .proto file."""
|
|
135
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
136
|
+
context.set_details('Method not implemented!')
|
|
137
|
+
raise NotImplementedError('Method not implemented!')
|
|
138
|
+
|
|
139
|
+
def ChangeMomentGlobalZ(self, request, context):
|
|
140
|
+
"""Missing associated documentation comment in .proto file."""
|
|
141
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
142
|
+
context.set_details('Method not implemented!')
|
|
143
|
+
raise NotImplementedError('Method not implemented!')
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
def add_MomentServicer_to_server(servicer, server):
|
|
147
|
+
rpc_method_handlers = {
|
|
148
|
+
'CreateMomentLocal': grpc.unary_unary_rpc_method_handler(
|
|
149
|
+
servicer.CreateMomentLocal,
|
|
150
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2.MomentCreationRequest.FromString,
|
|
151
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2.MomentCreationResponse.SerializeToString,
|
|
152
|
+
),
|
|
153
|
+
'CreateMomentGlobal': grpc.unary_unary_rpc_method_handler(
|
|
154
|
+
servicer.CreateMomentGlobal,
|
|
155
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2.MomentCreationRequest.FromString,
|
|
156
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2.MomentCreationResponse.SerializeToString,
|
|
157
|
+
),
|
|
158
|
+
'ChangeMomentLocation': grpc.unary_unary_rpc_method_handler(
|
|
159
|
+
servicer.ChangeMomentLocation,
|
|
160
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.FromString,
|
|
161
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
162
|
+
),
|
|
163
|
+
'ChangeMomentSpecification': grpc.unary_unary_rpc_method_handler(
|
|
164
|
+
servicer.ChangeMomentSpecification,
|
|
165
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2.ChangeMomentSpecificationRequest.FromString,
|
|
166
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
167
|
+
),
|
|
168
|
+
'ChangeMomentOrientation': grpc.unary_unary_rpc_method_handler(
|
|
169
|
+
servicer.ChangeMomentOrientation,
|
|
170
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeDirectionRequest.FromString,
|
|
171
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
172
|
+
),
|
|
173
|
+
'ChangeMomentLocalX': grpc.unary_unary_rpc_method_handler(
|
|
174
|
+
servicer.ChangeMomentLocalX,
|
|
175
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
176
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
177
|
+
),
|
|
178
|
+
'ChangeMomentLocalY': grpc.unary_unary_rpc_method_handler(
|
|
179
|
+
servicer.ChangeMomentLocalY,
|
|
180
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
181
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
182
|
+
),
|
|
183
|
+
'ChangeMomentLocalZ': grpc.unary_unary_rpc_method_handler(
|
|
184
|
+
servicer.ChangeMomentLocalZ,
|
|
185
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
186
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
187
|
+
),
|
|
188
|
+
'ChangeMomentGlobalX': grpc.unary_unary_rpc_method_handler(
|
|
189
|
+
servicer.ChangeMomentGlobalX,
|
|
190
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
191
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
192
|
+
),
|
|
193
|
+
'ChangeMomentGlobalY': grpc.unary_unary_rpc_method_handler(
|
|
194
|
+
servicer.ChangeMomentGlobalY,
|
|
195
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
196
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
197
|
+
),
|
|
198
|
+
'ChangeMomentGlobalZ': grpc.unary_unary_rpc_method_handler(
|
|
199
|
+
servicer.ChangeMomentGlobalZ,
|
|
200
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
201
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
202
|
+
),
|
|
203
|
+
}
|
|
204
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
205
|
+
'ansys.api.discovery.v0.conditions.moment.Moment', rpc_method_handlers)
|
|
206
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
# This class is part of an EXPERIMENTAL API.
|
|
210
|
+
class Moment(object):
|
|
211
|
+
"""Missing associated documentation comment in .proto file."""
|
|
212
|
+
|
|
213
|
+
@staticmethod
|
|
214
|
+
def CreateMomentLocal(request,
|
|
215
|
+
target,
|
|
216
|
+
options=(),
|
|
217
|
+
channel_credentials=None,
|
|
218
|
+
call_credentials=None,
|
|
219
|
+
insecure=False,
|
|
220
|
+
compression=None,
|
|
221
|
+
wait_for_ready=None,
|
|
222
|
+
timeout=None,
|
|
223
|
+
metadata=None):
|
|
224
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.moment.Moment/CreateMomentLocal',
|
|
225
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2.MomentCreationRequest.SerializeToString,
|
|
226
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2.MomentCreationResponse.FromString,
|
|
227
|
+
options, channel_credentials,
|
|
228
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
229
|
+
|
|
230
|
+
@staticmethod
|
|
231
|
+
def CreateMomentGlobal(request,
|
|
232
|
+
target,
|
|
233
|
+
options=(),
|
|
234
|
+
channel_credentials=None,
|
|
235
|
+
call_credentials=None,
|
|
236
|
+
insecure=False,
|
|
237
|
+
compression=None,
|
|
238
|
+
wait_for_ready=None,
|
|
239
|
+
timeout=None,
|
|
240
|
+
metadata=None):
|
|
241
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.moment.Moment/CreateMomentGlobal',
|
|
242
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2.MomentCreationRequest.SerializeToString,
|
|
243
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2.MomentCreationResponse.FromString,
|
|
244
|
+
options, channel_credentials,
|
|
245
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
246
|
+
|
|
247
|
+
@staticmethod
|
|
248
|
+
def ChangeMomentLocation(request,
|
|
249
|
+
target,
|
|
250
|
+
options=(),
|
|
251
|
+
channel_credentials=None,
|
|
252
|
+
call_credentials=None,
|
|
253
|
+
insecure=False,
|
|
254
|
+
compression=None,
|
|
255
|
+
wait_for_ready=None,
|
|
256
|
+
timeout=None,
|
|
257
|
+
metadata=None):
|
|
258
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentLocation',
|
|
259
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
|
|
260
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
261
|
+
options, channel_credentials,
|
|
262
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
263
|
+
|
|
264
|
+
@staticmethod
|
|
265
|
+
def ChangeMomentSpecification(request,
|
|
266
|
+
target,
|
|
267
|
+
options=(),
|
|
268
|
+
channel_credentials=None,
|
|
269
|
+
call_credentials=None,
|
|
270
|
+
insecure=False,
|
|
271
|
+
compression=None,
|
|
272
|
+
wait_for_ready=None,
|
|
273
|
+
timeout=None,
|
|
274
|
+
metadata=None):
|
|
275
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentSpecification',
|
|
276
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_moment__pb2.ChangeMomentSpecificationRequest.SerializeToString,
|
|
277
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
278
|
+
options, channel_credentials,
|
|
279
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
280
|
+
|
|
281
|
+
@staticmethod
|
|
282
|
+
def ChangeMomentOrientation(request,
|
|
283
|
+
target,
|
|
284
|
+
options=(),
|
|
285
|
+
channel_credentials=None,
|
|
286
|
+
call_credentials=None,
|
|
287
|
+
insecure=False,
|
|
288
|
+
compression=None,
|
|
289
|
+
wait_for_ready=None,
|
|
290
|
+
timeout=None,
|
|
291
|
+
metadata=None):
|
|
292
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentOrientation',
|
|
293
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeDirectionRequest.SerializeToString,
|
|
294
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
295
|
+
options, channel_credentials,
|
|
296
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
297
|
+
|
|
298
|
+
@staticmethod
|
|
299
|
+
def ChangeMomentLocalX(request,
|
|
300
|
+
target,
|
|
301
|
+
options=(),
|
|
302
|
+
channel_credentials=None,
|
|
303
|
+
call_credentials=None,
|
|
304
|
+
insecure=False,
|
|
305
|
+
compression=None,
|
|
306
|
+
wait_for_ready=None,
|
|
307
|
+
timeout=None,
|
|
308
|
+
metadata=None):
|
|
309
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentLocalX',
|
|
310
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
311
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
312
|
+
options, channel_credentials,
|
|
313
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
314
|
+
|
|
315
|
+
@staticmethod
|
|
316
|
+
def ChangeMomentLocalY(request,
|
|
317
|
+
target,
|
|
318
|
+
options=(),
|
|
319
|
+
channel_credentials=None,
|
|
320
|
+
call_credentials=None,
|
|
321
|
+
insecure=False,
|
|
322
|
+
compression=None,
|
|
323
|
+
wait_for_ready=None,
|
|
324
|
+
timeout=None,
|
|
325
|
+
metadata=None):
|
|
326
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentLocalY',
|
|
327
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
328
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
329
|
+
options, channel_credentials,
|
|
330
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
331
|
+
|
|
332
|
+
@staticmethod
|
|
333
|
+
def ChangeMomentLocalZ(request,
|
|
334
|
+
target,
|
|
335
|
+
options=(),
|
|
336
|
+
channel_credentials=None,
|
|
337
|
+
call_credentials=None,
|
|
338
|
+
insecure=False,
|
|
339
|
+
compression=None,
|
|
340
|
+
wait_for_ready=None,
|
|
341
|
+
timeout=None,
|
|
342
|
+
metadata=None):
|
|
343
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentLocalZ',
|
|
344
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
345
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
346
|
+
options, channel_credentials,
|
|
347
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
348
|
+
|
|
349
|
+
@staticmethod
|
|
350
|
+
def ChangeMomentGlobalX(request,
|
|
351
|
+
target,
|
|
352
|
+
options=(),
|
|
353
|
+
channel_credentials=None,
|
|
354
|
+
call_credentials=None,
|
|
355
|
+
insecure=False,
|
|
356
|
+
compression=None,
|
|
357
|
+
wait_for_ready=None,
|
|
358
|
+
timeout=None,
|
|
359
|
+
metadata=None):
|
|
360
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentGlobalX',
|
|
361
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
362
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
363
|
+
options, channel_credentials,
|
|
364
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
365
|
+
|
|
366
|
+
@staticmethod
|
|
367
|
+
def ChangeMomentGlobalY(request,
|
|
368
|
+
target,
|
|
369
|
+
options=(),
|
|
370
|
+
channel_credentials=None,
|
|
371
|
+
call_credentials=None,
|
|
372
|
+
insecure=False,
|
|
373
|
+
compression=None,
|
|
374
|
+
wait_for_ready=None,
|
|
375
|
+
timeout=None,
|
|
376
|
+
metadata=None):
|
|
377
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentGlobalY',
|
|
378
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
379
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
380
|
+
options, channel_credentials,
|
|
381
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
382
|
+
|
|
383
|
+
@staticmethod
|
|
384
|
+
def ChangeMomentGlobalZ(request,
|
|
385
|
+
target,
|
|
386
|
+
options=(),
|
|
387
|
+
channel_credentials=None,
|
|
388
|
+
call_credentials=None,
|
|
389
|
+
insecure=False,
|
|
390
|
+
compression=None,
|
|
391
|
+
wait_for_ready=None,
|
|
392
|
+
timeout=None,
|
|
393
|
+
metadata=None):
|
|
394
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.moment.Moment/ChangeMomentGlobalZ',
|
|
395
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
396
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
397
|
+
options, channel_credentials,
|
|
398
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,128 @@
|
|
|
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.moment_pb2
|
|
7
|
+
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
8
|
+
import grpc
|
|
9
|
+
|
|
10
|
+
class MomentStub:
|
|
11
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
12
|
+
CreateMomentLocal: grpc.UnaryUnaryMultiCallable[
|
|
13
|
+
ansys.api.discovery.v0.conditions.moment_pb2.MomentCreationRequest,
|
|
14
|
+
ansys.api.discovery.v0.conditions.moment_pb2.MomentCreationResponse] = ...
|
|
15
|
+
"""Moment condition methods"""
|
|
16
|
+
|
|
17
|
+
CreateMomentGlobal: grpc.UnaryUnaryMultiCallable[
|
|
18
|
+
ansys.api.discovery.v0.conditions.moment_pb2.MomentCreationRequest,
|
|
19
|
+
ansys.api.discovery.v0.conditions.moment_pb2.MomentCreationResponse] = ...
|
|
20
|
+
|
|
21
|
+
ChangeMomentLocation: grpc.UnaryUnaryMultiCallable[
|
|
22
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
23
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
24
|
+
|
|
25
|
+
ChangeMomentSpecification: grpc.UnaryUnaryMultiCallable[
|
|
26
|
+
ansys.api.discovery.v0.conditions.moment_pb2.ChangeMomentSpecificationRequest,
|
|
27
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
28
|
+
|
|
29
|
+
ChangeMomentOrientation: grpc.UnaryUnaryMultiCallable[
|
|
30
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeDirectionRequest,
|
|
31
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
32
|
+
|
|
33
|
+
ChangeMomentLocalX: grpc.UnaryUnaryMultiCallable[
|
|
34
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
35
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
36
|
+
|
|
37
|
+
ChangeMomentLocalY: grpc.UnaryUnaryMultiCallable[
|
|
38
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
39
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
40
|
+
|
|
41
|
+
ChangeMomentLocalZ: grpc.UnaryUnaryMultiCallable[
|
|
42
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
43
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
44
|
+
|
|
45
|
+
ChangeMomentGlobalX: grpc.UnaryUnaryMultiCallable[
|
|
46
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
47
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
48
|
+
|
|
49
|
+
ChangeMomentGlobalY: grpc.UnaryUnaryMultiCallable[
|
|
50
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
51
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
52
|
+
|
|
53
|
+
ChangeMomentGlobalZ: grpc.UnaryUnaryMultiCallable[
|
|
54
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
55
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class MomentServicer(metaclass=abc.ABCMeta):
|
|
59
|
+
@abc.abstractmethod
|
|
60
|
+
def CreateMomentLocal(self,
|
|
61
|
+
request: ansys.api.discovery.v0.conditions.moment_pb2.MomentCreationRequest,
|
|
62
|
+
context: grpc.ServicerContext,
|
|
63
|
+
) -> ansys.api.discovery.v0.conditions.moment_pb2.MomentCreationResponse:
|
|
64
|
+
"""Moment condition methods"""
|
|
65
|
+
pass
|
|
66
|
+
|
|
67
|
+
@abc.abstractmethod
|
|
68
|
+
def CreateMomentGlobal(self,
|
|
69
|
+
request: ansys.api.discovery.v0.conditions.moment_pb2.MomentCreationRequest,
|
|
70
|
+
context: grpc.ServicerContext,
|
|
71
|
+
) -> ansys.api.discovery.v0.conditions.moment_pb2.MomentCreationResponse: ...
|
|
72
|
+
|
|
73
|
+
@abc.abstractmethod
|
|
74
|
+
def ChangeMomentLocation(self,
|
|
75
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
76
|
+
context: grpc.ServicerContext,
|
|
77
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
78
|
+
|
|
79
|
+
@abc.abstractmethod
|
|
80
|
+
def ChangeMomentSpecification(self,
|
|
81
|
+
request: ansys.api.discovery.v0.conditions.moment_pb2.ChangeMomentSpecificationRequest,
|
|
82
|
+
context: grpc.ServicerContext,
|
|
83
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
84
|
+
|
|
85
|
+
@abc.abstractmethod
|
|
86
|
+
def ChangeMomentOrientation(self,
|
|
87
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeDirectionRequest,
|
|
88
|
+
context: grpc.ServicerContext,
|
|
89
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
90
|
+
|
|
91
|
+
@abc.abstractmethod
|
|
92
|
+
def ChangeMomentLocalX(self,
|
|
93
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
94
|
+
context: grpc.ServicerContext,
|
|
95
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
96
|
+
|
|
97
|
+
@abc.abstractmethod
|
|
98
|
+
def ChangeMomentLocalY(self,
|
|
99
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
100
|
+
context: grpc.ServicerContext,
|
|
101
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
102
|
+
|
|
103
|
+
@abc.abstractmethod
|
|
104
|
+
def ChangeMomentLocalZ(self,
|
|
105
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
106
|
+
context: grpc.ServicerContext,
|
|
107
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
108
|
+
|
|
109
|
+
@abc.abstractmethod
|
|
110
|
+
def ChangeMomentGlobalX(self,
|
|
111
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
112
|
+
context: grpc.ServicerContext,
|
|
113
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
114
|
+
|
|
115
|
+
@abc.abstractmethod
|
|
116
|
+
def ChangeMomentGlobalY(self,
|
|
117
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
118
|
+
context: grpc.ServicerContext,
|
|
119
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
120
|
+
|
|
121
|
+
@abc.abstractmethod
|
|
122
|
+
def ChangeMomentGlobalZ(self,
|
|
123
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
124
|
+
context: grpc.ServicerContext,
|
|
125
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
def add_MomentServicer_to_server(servicer: MomentServicer, server: grpc.Server) -> None: ...
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.conditions.porous;
|
|
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.Conditions";
|
|
9
|
+
|
|
10
|
+
service Porous
|
|
11
|
+
{
|
|
12
|
+
//wall creation methods
|
|
13
|
+
rpc CreatePorous(PorousCreationRequest) returns (PorousCreationResponse);
|
|
14
|
+
|
|
15
|
+
// properties
|
|
16
|
+
rpc ChangePorousDirectionality(ChangePorousDirectionalityRequest) returns (ChangeResponse);
|
|
17
|
+
|
|
18
|
+
rpc ChangePorousLocation(ChangeLocationRequest) returns (ChangeResponse);
|
|
19
|
+
|
|
20
|
+
rpc ChangePorousDirection(ChangeDirectionRequest) returns (ChangeResponse);
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
// Resistance coeffiecient quantities
|
|
24
|
+
rpc ChangePorousViscousStreamwiseMagnitude(ChangeQuantityRequest) returns (ChangeResponse);
|
|
25
|
+
|
|
26
|
+
rpc ChangePorousInertialStreamwiseMagnitude(ChangeQuantityRequest) returns (ChangeResponse);
|
|
27
|
+
|
|
28
|
+
rpc ChangePorousViscousCrossflowPrimaryMagnitude(ChangeQuantityRequest) returns (ChangeResponse);
|
|
29
|
+
|
|
30
|
+
rpc ChangePorousInertialCrossflowPrimaryMagnitude(ChangeQuantityRequest) returns (ChangeResponse);
|
|
31
|
+
|
|
32
|
+
rpc ChangePorousViscousCrossflowSecondaryMagnitude(ChangeQuantityRequest) returns (ChangeResponse);
|
|
33
|
+
|
|
34
|
+
rpc ChangePorousInertialCrossflowSecondaryMagnitude(ChangeQuantityRequest) returns (ChangeResponse);
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
//Solid quantities
|
|
38
|
+
|
|
39
|
+
rpc ChangePorouseThermalInputEnabled(ChangeBooleanRequest) returns (ChangeResponse);
|
|
40
|
+
|
|
41
|
+
rpc ChangePorousSolidPorosity(ChangeQuantityRequest) returns (ChangeResponse);
|
|
42
|
+
|
|
43
|
+
rpc ChangePorousSolidDensity(ChangeQuantityRequest) returns (ChangeResponse);
|
|
44
|
+
|
|
45
|
+
rpc ChangePorousSolidIsotropicThermalConductivity(ChangeQuantityRequest) returns (ChangeResponse);
|
|
46
|
+
|
|
47
|
+
rpc ChangePorousSolidSpecificHeat(ChangeQuantityRequest) returns (ChangeResponse);
|
|
48
|
+
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Command Requests and Responses
|
|
52
|
+
|
|
53
|
+
// Create Free Slip
|
|
54
|
+
message PorousCreationRequest{
|
|
55
|
+
ScopedCreationData creation_data = 2;
|
|
56
|
+
PorousProperties porous_properties = 4;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
message PorousCreationResponse{
|
|
60
|
+
CreationResponse condition_response = 1;
|
|
61
|
+
PorousDefinition condition_data = 2;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// enum commands
|
|
65
|
+
message ChangePorousDirectionalityRequest{
|
|
66
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
|
|
67
|
+
PorousDirectionality porous_directionality = 2;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// enumerations
|
|
71
|
+
|
|
72
|
+
enum PorousDirectionality {
|
|
73
|
+
ISOTROPIC = 0;
|
|
74
|
+
BIDIRECTIONAL = 1;
|
|
75
|
+
ORTHOTROPIC = 2;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// Conditions properties
|
|
79
|
+
|
|
80
|
+
message PorousProperties
|
|
81
|
+
{
|
|
82
|
+
PorousDirectionality directionality = 1;
|
|
83
|
+
QuantityVector direction = 2;
|
|
84
|
+
ResistanceCoeffients coefficients = 3;
|
|
85
|
+
SolidProperties solid_properties = 4;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
message SolidProperties
|
|
89
|
+
{
|
|
90
|
+
Quantity porosity = 1;
|
|
91
|
+
Quantity density = 2;
|
|
92
|
+
Quantity isotropic_therma_conductivity = 3;
|
|
93
|
+
Quantity specific_heat = 4;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
message ResistanceCoeffients
|
|
97
|
+
{
|
|
98
|
+
Quantity viscous_streamwise = 1;
|
|
99
|
+
Quantity inertial_streamwise = 2;
|
|
100
|
+
optional Quantity viscous_primary = 3;
|
|
101
|
+
optional Quantity inertial_primary = 4;
|
|
102
|
+
optional Quantity viscous_secondary = 5;
|
|
103
|
+
optional Quantity inertial_secondary = 6;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
// conditions definitions
|
|
108
|
+
|
|
109
|
+
message PorousDefinition {
|
|
110
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
|
|
111
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
|
|
112
|
+
string label = 3;
|
|
113
|
+
repeated string locations = 4;
|
|
114
|
+
bool suppressed = 5;
|
|
115
|
+
PorousProperties porous_properties = 6;
|
|
116
|
+
}
|