ansys-api-discovery 0.6.3__py3-none-any.whl → 0.6.4__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.4.dist-info}/METADATA +13 -4
- ansys_api_discovery-0.6.4.dist-info/RECORD +200 -0
- {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.4.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.4.dist-info}/LICENSE +0 -0
- {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.4.dist-info}/entry_points.txt +0 -0
- {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.4.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,102 @@
|
|
|
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.message
|
|
11
|
+
import typing
|
|
12
|
+
import typing_extensions
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
|
|
15
|
+
|
|
16
|
+
class RotatingFluidZoneCreationRequest(google.protobuf.message.Message):
|
|
17
|
+
"""Command Requests and Responses
|
|
18
|
+
|
|
19
|
+
Create RFZ
|
|
20
|
+
"""
|
|
21
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
22
|
+
CREATION_DATA_FIELD_NUMBER: builtins.int
|
|
23
|
+
ROTATING_FLUID_ZONE_PROPERTIES_FIELD_NUMBER: builtins.int
|
|
24
|
+
@property
|
|
25
|
+
def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData: ...
|
|
26
|
+
@property
|
|
27
|
+
def rotating_fluid_zone_properties(self) -> global___RotatingFluidZoneProperties: ...
|
|
28
|
+
def __init__(self,
|
|
29
|
+
*,
|
|
30
|
+
creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
|
|
31
|
+
rotating_fluid_zone_properties : typing.Optional[global___RotatingFluidZoneProperties] = ...,
|
|
32
|
+
) -> None: ...
|
|
33
|
+
def HasField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","rotating_fluid_zone_properties",b"rotating_fluid_zone_properties"]) -> builtins.bool: ...
|
|
34
|
+
def ClearField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","rotating_fluid_zone_properties",b"rotating_fluid_zone_properties"]) -> None: ...
|
|
35
|
+
global___RotatingFluidZoneCreationRequest = RotatingFluidZoneCreationRequest
|
|
36
|
+
|
|
37
|
+
class RotatingFluidZoneCreationResponse(google.protobuf.message.Message):
|
|
38
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
39
|
+
CONDITION_RESPONSE_FIELD_NUMBER: builtins.int
|
|
40
|
+
CONDITION_DATA_FIELD_NUMBER: builtins.int
|
|
41
|
+
@property
|
|
42
|
+
def condition_response(self) -> ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse: ...
|
|
43
|
+
@property
|
|
44
|
+
def condition_data(self) -> global___RotatingFluidZoneDefinition: ...
|
|
45
|
+
def __init__(self,
|
|
46
|
+
*,
|
|
47
|
+
condition_response : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse] = ...,
|
|
48
|
+
condition_data : typing.Optional[global___RotatingFluidZoneDefinition] = ...,
|
|
49
|
+
) -> None: ...
|
|
50
|
+
def HasField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> builtins.bool: ...
|
|
51
|
+
def ClearField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> None: ...
|
|
52
|
+
global___RotatingFluidZoneCreationResponse = RotatingFluidZoneCreationResponse
|
|
53
|
+
|
|
54
|
+
class RotatingFluidZoneProperties(google.protobuf.message.Message):
|
|
55
|
+
"""RFZ conditions properties
|
|
56
|
+
|
|
57
|
+
"""
|
|
58
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
59
|
+
TRANSLATIONAL_VELOCITY_FIELD_NUMBER: builtins.int
|
|
60
|
+
@property
|
|
61
|
+
def translational_velocity(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
|
|
62
|
+
def __init__(self,
|
|
63
|
+
*,
|
|
64
|
+
translational_velocity : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
65
|
+
) -> None: ...
|
|
66
|
+
def HasField(self, field_name: typing_extensions.Literal["translational_velocity",b"translational_velocity"]) -> builtins.bool: ...
|
|
67
|
+
def ClearField(self, field_name: typing_extensions.Literal["translational_velocity",b"translational_velocity"]) -> None: ...
|
|
68
|
+
global___RotatingFluidZoneProperties = RotatingFluidZoneProperties
|
|
69
|
+
|
|
70
|
+
class RotatingFluidZoneDefinition(google.protobuf.message.Message):
|
|
71
|
+
"""Fluid conditions definitions
|
|
72
|
+
|
|
73
|
+
"""
|
|
74
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
75
|
+
ID_FIELD_NUMBER: builtins.int
|
|
76
|
+
PARENT_ID_FIELD_NUMBER: builtins.int
|
|
77
|
+
LABEL_FIELD_NUMBER: builtins.int
|
|
78
|
+
LOCATIONS_FIELD_NUMBER: builtins.int
|
|
79
|
+
SUPPRESSED_FIELD_NUMBER: builtins.int
|
|
80
|
+
ROTATING_FLUID_ZONE_PROPERTIES_FIELD_NUMBER: builtins.int
|
|
81
|
+
@property
|
|
82
|
+
def id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
83
|
+
@property
|
|
84
|
+
def parent_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
85
|
+
label: typing.Text = ...
|
|
86
|
+
@property
|
|
87
|
+
def locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
|
|
88
|
+
suppressed: builtins.bool = ...
|
|
89
|
+
@property
|
|
90
|
+
def rotating_fluid_zone_properties(self) -> global___RotatingFluidZoneProperties: ...
|
|
91
|
+
def __init__(self,
|
|
92
|
+
*,
|
|
93
|
+
id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
94
|
+
parent_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
95
|
+
label : typing.Text = ...,
|
|
96
|
+
locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
|
|
97
|
+
suppressed : builtins.bool = ...,
|
|
98
|
+
rotating_fluid_zone_properties : typing.Optional[global___RotatingFluidZoneProperties] = ...,
|
|
99
|
+
) -> None: ...
|
|
100
|
+
def HasField(self, field_name: typing_extensions.Literal["id",b"id","parent_id",b"parent_id","rotating_fluid_zone_properties",b"rotating_fluid_zone_properties"]) -> builtins.bool: ...
|
|
101
|
+
def ClearField(self, field_name: typing_extensions.Literal["id",b"id","label",b"label","locations",b"locations","parent_id",b"parent_id","rotating_fluid_zone_properties",b"rotating_fluid_zone_properties","suppressed",b"suppressed"]) -> None: ...
|
|
102
|
+
global___RotatingFluidZoneDefinition = RotatingFluidZoneDefinition
|
|
@@ -0,0 +1,136 @@
|
|
|
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 rotatingfluidzone_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_rotatingfluidzone__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 RotatingFluidZoneStub(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.CreateRotatingFluidZone = channel.unary_unary(
|
|
19
|
+
'/ansys.api.discovery.v0.conditions.rotatingfluidzone.RotatingFluidZone/CreateRotatingFluidZone',
|
|
20
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_rotatingfluidzone__pb2.RotatingFluidZoneCreationRequest.SerializeToString,
|
|
21
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_rotatingfluidzone__pb2.RotatingFluidZoneCreationResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.ChangeRotatingFluidZoneLocation = channel.unary_unary(
|
|
24
|
+
'/ansys.api.discovery.v0.conditions.rotatingfluidzone.RotatingFluidZone/ChangeRotatingFluidZoneLocation',
|
|
25
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
|
|
26
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.ChangeWallRotationalVelocityMagnitude = channel.unary_unary(
|
|
29
|
+
'/ansys.api.discovery.v0.conditions.rotatingfluidzone.RotatingFluidZone/ChangeWallRotationalVelocityMagnitude',
|
|
30
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
31
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class RotatingFluidZoneServicer(object):
|
|
36
|
+
"""Missing associated documentation comment in .proto file."""
|
|
37
|
+
|
|
38
|
+
def CreateRotatingFluidZone(self, request, context):
|
|
39
|
+
"""creation methods
|
|
40
|
+
"""
|
|
41
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
42
|
+
context.set_details('Method not implemented!')
|
|
43
|
+
raise NotImplementedError('Method not implemented!')
|
|
44
|
+
|
|
45
|
+
def ChangeRotatingFluidZoneLocation(self, request, context):
|
|
46
|
+
"""properties commands
|
|
47
|
+
"""
|
|
48
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
49
|
+
context.set_details('Method not implemented!')
|
|
50
|
+
raise NotImplementedError('Method not implemented!')
|
|
51
|
+
|
|
52
|
+
def ChangeWallRotationalVelocityMagnitude(self, request, context):
|
|
53
|
+
"""Motion quantities
|
|
54
|
+
"""
|
|
55
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
56
|
+
context.set_details('Method not implemented!')
|
|
57
|
+
raise NotImplementedError('Method not implemented!')
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def add_RotatingFluidZoneServicer_to_server(servicer, server):
|
|
61
|
+
rpc_method_handlers = {
|
|
62
|
+
'CreateRotatingFluidZone': grpc.unary_unary_rpc_method_handler(
|
|
63
|
+
servicer.CreateRotatingFluidZone,
|
|
64
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_rotatingfluidzone__pb2.RotatingFluidZoneCreationRequest.FromString,
|
|
65
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_rotatingfluidzone__pb2.RotatingFluidZoneCreationResponse.SerializeToString,
|
|
66
|
+
),
|
|
67
|
+
'ChangeRotatingFluidZoneLocation': grpc.unary_unary_rpc_method_handler(
|
|
68
|
+
servicer.ChangeRotatingFluidZoneLocation,
|
|
69
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.FromString,
|
|
70
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
71
|
+
),
|
|
72
|
+
'ChangeWallRotationalVelocityMagnitude': grpc.unary_unary_rpc_method_handler(
|
|
73
|
+
servicer.ChangeWallRotationalVelocityMagnitude,
|
|
74
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
75
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
76
|
+
),
|
|
77
|
+
}
|
|
78
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
79
|
+
'ansys.api.discovery.v0.conditions.rotatingfluidzone.RotatingFluidZone', rpc_method_handlers)
|
|
80
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
# This class is part of an EXPERIMENTAL API.
|
|
84
|
+
class RotatingFluidZone(object):
|
|
85
|
+
"""Missing associated documentation comment in .proto file."""
|
|
86
|
+
|
|
87
|
+
@staticmethod
|
|
88
|
+
def CreateRotatingFluidZone(request,
|
|
89
|
+
target,
|
|
90
|
+
options=(),
|
|
91
|
+
channel_credentials=None,
|
|
92
|
+
call_credentials=None,
|
|
93
|
+
insecure=False,
|
|
94
|
+
compression=None,
|
|
95
|
+
wait_for_ready=None,
|
|
96
|
+
timeout=None,
|
|
97
|
+
metadata=None):
|
|
98
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.rotatingfluidzone.RotatingFluidZone/CreateRotatingFluidZone',
|
|
99
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_rotatingfluidzone__pb2.RotatingFluidZoneCreationRequest.SerializeToString,
|
|
100
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_rotatingfluidzone__pb2.RotatingFluidZoneCreationResponse.FromString,
|
|
101
|
+
options, channel_credentials,
|
|
102
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
103
|
+
|
|
104
|
+
@staticmethod
|
|
105
|
+
def ChangeRotatingFluidZoneLocation(request,
|
|
106
|
+
target,
|
|
107
|
+
options=(),
|
|
108
|
+
channel_credentials=None,
|
|
109
|
+
call_credentials=None,
|
|
110
|
+
insecure=False,
|
|
111
|
+
compression=None,
|
|
112
|
+
wait_for_ready=None,
|
|
113
|
+
timeout=None,
|
|
114
|
+
metadata=None):
|
|
115
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.rotatingfluidzone.RotatingFluidZone/ChangeRotatingFluidZoneLocation',
|
|
116
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
|
|
117
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
118
|
+
options, channel_credentials,
|
|
119
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
120
|
+
|
|
121
|
+
@staticmethod
|
|
122
|
+
def ChangeWallRotationalVelocityMagnitude(request,
|
|
123
|
+
target,
|
|
124
|
+
options=(),
|
|
125
|
+
channel_credentials=None,
|
|
126
|
+
call_credentials=None,
|
|
127
|
+
insecure=False,
|
|
128
|
+
compression=None,
|
|
129
|
+
wait_for_ready=None,
|
|
130
|
+
timeout=None,
|
|
131
|
+
metadata=None):
|
|
132
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.rotatingfluidzone.RotatingFluidZone/ChangeWallRotationalVelocityMagnitude',
|
|
133
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
134
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
135
|
+
options, channel_credentials,
|
|
136
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,54 @@
|
|
|
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.rotatingfluidzone_pb2
|
|
7
|
+
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
8
|
+
import grpc
|
|
9
|
+
|
|
10
|
+
class RotatingFluidZoneStub:
|
|
11
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
12
|
+
CreateRotatingFluidZone: grpc.UnaryUnaryMultiCallable[
|
|
13
|
+
ansys.api.discovery.v0.conditions.rotatingfluidzone_pb2.RotatingFluidZoneCreationRequest,
|
|
14
|
+
ansys.api.discovery.v0.conditions.rotatingfluidzone_pb2.RotatingFluidZoneCreationResponse] = ...
|
|
15
|
+
"""creation methods"""
|
|
16
|
+
|
|
17
|
+
ChangeRotatingFluidZoneLocation: grpc.UnaryUnaryMultiCallable[
|
|
18
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
19
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
20
|
+
"""properties commands"""
|
|
21
|
+
|
|
22
|
+
ChangeWallRotationalVelocityMagnitude: grpc.UnaryUnaryMultiCallable[
|
|
23
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
24
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
25
|
+
"""Motion quantities"""
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class RotatingFluidZoneServicer(metaclass=abc.ABCMeta):
|
|
29
|
+
@abc.abstractmethod
|
|
30
|
+
def CreateRotatingFluidZone(self,
|
|
31
|
+
request: ansys.api.discovery.v0.conditions.rotatingfluidzone_pb2.RotatingFluidZoneCreationRequest,
|
|
32
|
+
context: grpc.ServicerContext,
|
|
33
|
+
) -> ansys.api.discovery.v0.conditions.rotatingfluidzone_pb2.RotatingFluidZoneCreationResponse:
|
|
34
|
+
"""creation methods"""
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
@abc.abstractmethod
|
|
38
|
+
def ChangeRotatingFluidZoneLocation(self,
|
|
39
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
40
|
+
context: grpc.ServicerContext,
|
|
41
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse:
|
|
42
|
+
"""properties commands"""
|
|
43
|
+
pass
|
|
44
|
+
|
|
45
|
+
@abc.abstractmethod
|
|
46
|
+
def ChangeWallRotationalVelocityMagnitude(self,
|
|
47
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
48
|
+
context: grpc.ServicerContext,
|
|
49
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse:
|
|
50
|
+
"""Motion quantities"""
|
|
51
|
+
pass
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def add_RotatingFluidZoneServicer_to_server(servicer: RotatingFluidZoneServicer, server: grpc.Server) -> None: ...
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.conditions.solidtemperature;
|
|
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 SolidTemperature
|
|
11
|
+
{
|
|
12
|
+
rpc CreateTemperatureVolumetric(TemperatureCreationRequest) returns (TemperatureCreationResponse);
|
|
13
|
+
|
|
14
|
+
rpc CreateTemperatureSurface(TemperatureCreationRequest) returns (TemperatureCreationResponse);
|
|
15
|
+
|
|
16
|
+
rpc ChangeTemperatureLocation(ChangeLocationExtendedRequest) returns(ChangeResponse);
|
|
17
|
+
|
|
18
|
+
rpc ChangeTemperatureMagnitude(ChangeQuantityRequest) returns(ChangeResponse);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//Requests and responses
|
|
22
|
+
message TemperatureCreationRequest{
|
|
23
|
+
ScopedCreationData creation_data = 1;
|
|
24
|
+
Quantity temperature = 2;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message TemperatureCreationResponse{
|
|
28
|
+
CreationResponse condition_response = 1;
|
|
29
|
+
TemperatureDefinition condition_data = 2;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Definitions
|
|
33
|
+
message TemperatureDefinition {
|
|
34
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
|
|
35
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
|
|
36
|
+
string label = 3;
|
|
37
|
+
repeated string locations = 4;
|
|
38
|
+
bool suppressed = 5;
|
|
39
|
+
Quantity magnitude = 6;
|
|
40
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: ansys/api/discovery/v0/conditions/solidtemperature.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'\n8ansys/api/discovery/v0/conditions/solidtemperature.proto\x12\x32\x61nsys.api.discovery.v0.conditions.solidtemperature\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\x96\x01\n\x1aTemperatureCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12\x35\n\x0btemperature\x18\x02 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"\xc6\x01\n\x1bTemperatureCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12\x61\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32I.ansys.api.discovery.v0.conditions.solidtemperature.TemperatureDefinition\"\xf7\x01\n\x15TemperatureDefinition\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\x11\n\tlocations\x18\x04 \x03(\t\x12\x12\n\nsuppressed\x18\x05 \x01(\x08\x12\x33\n\tmagnitude\x18\x06 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity2\x82\x05\n\x10SolidTemperature\x12\xbe\x01\n\x1b\x43reateTemperatureVolumetric\x12N.ansys.api.discovery.v0.conditions.solidtemperature.TemperatureCreationRequest\x1aO.ansys.api.discovery.v0.conditions.solidtemperature.TemperatureCreationResponse\x12\xbb\x01\n\x18\x43reateTemperatureSurface\x12N.ansys.api.discovery.v0.conditions.solidtemperature.TemperatureCreationRequest\x1aO.ansys.api.discovery.v0.conditions.solidtemperature.TemperatureCreationResponse\x12z\n\x19\x43hangeTemperatureLocation\x12\x35.ansys.api.discovery.v0.ChangeLocationExtendedRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1a\x43hangeTemperatureMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.conditions.solidtemperature_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.Conditions'
|
|
26
|
+
_TEMPERATURECREATIONREQUEST._serialized_start=193
|
|
27
|
+
_TEMPERATURECREATIONREQUEST._serialized_end=343
|
|
28
|
+
_TEMPERATURECREATIONRESPONSE._serialized_start=346
|
|
29
|
+
_TEMPERATURECREATIONRESPONSE._serialized_end=544
|
|
30
|
+
_TEMPERATUREDEFINITION._serialized_start=547
|
|
31
|
+
_TEMPERATUREDEFINITION._serialized_end=794
|
|
32
|
+
_SOLIDTEMPERATURE._serialized_start=797
|
|
33
|
+
_SOLIDTEMPERATURE._serialized_end=1439
|
|
34
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,81 @@
|
|
|
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.message
|
|
11
|
+
import typing
|
|
12
|
+
import typing_extensions
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
|
|
15
|
+
|
|
16
|
+
class TemperatureCreationRequest(google.protobuf.message.Message):
|
|
17
|
+
"""Requests and responses"""
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
19
|
+
CREATION_DATA_FIELD_NUMBER: builtins.int
|
|
20
|
+
TEMPERATURE_FIELD_NUMBER: builtins.int
|
|
21
|
+
@property
|
|
22
|
+
def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData: ...
|
|
23
|
+
@property
|
|
24
|
+
def temperature(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
|
|
25
|
+
def __init__(self,
|
|
26
|
+
*,
|
|
27
|
+
creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
|
|
28
|
+
temperature : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
29
|
+
) -> None: ...
|
|
30
|
+
def HasField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","temperature",b"temperature"]) -> builtins.bool: ...
|
|
31
|
+
def ClearField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","temperature",b"temperature"]) -> None: ...
|
|
32
|
+
global___TemperatureCreationRequest = TemperatureCreationRequest
|
|
33
|
+
|
|
34
|
+
class TemperatureCreationResponse(google.protobuf.message.Message):
|
|
35
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
36
|
+
CONDITION_RESPONSE_FIELD_NUMBER: builtins.int
|
|
37
|
+
CONDITION_DATA_FIELD_NUMBER: builtins.int
|
|
38
|
+
@property
|
|
39
|
+
def condition_response(self) -> ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse: ...
|
|
40
|
+
@property
|
|
41
|
+
def condition_data(self) -> global___TemperatureDefinition: ...
|
|
42
|
+
def __init__(self,
|
|
43
|
+
*,
|
|
44
|
+
condition_response : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse] = ...,
|
|
45
|
+
condition_data : typing.Optional[global___TemperatureDefinition] = ...,
|
|
46
|
+
) -> None: ...
|
|
47
|
+
def HasField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> builtins.bool: ...
|
|
48
|
+
def ClearField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> None: ...
|
|
49
|
+
global___TemperatureCreationResponse = TemperatureCreationResponse
|
|
50
|
+
|
|
51
|
+
class TemperatureDefinition(google.protobuf.message.Message):
|
|
52
|
+
"""Definitions"""
|
|
53
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
54
|
+
ID_FIELD_NUMBER: builtins.int
|
|
55
|
+
PARENT_ID_FIELD_NUMBER: builtins.int
|
|
56
|
+
LABEL_FIELD_NUMBER: builtins.int
|
|
57
|
+
LOCATIONS_FIELD_NUMBER: builtins.int
|
|
58
|
+
SUPPRESSED_FIELD_NUMBER: builtins.int
|
|
59
|
+
MAGNITUDE_FIELD_NUMBER: builtins.int
|
|
60
|
+
@property
|
|
61
|
+
def id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
62
|
+
@property
|
|
63
|
+
def parent_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
64
|
+
label: typing.Text = ...
|
|
65
|
+
@property
|
|
66
|
+
def locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
|
|
67
|
+
suppressed: builtins.bool = ...
|
|
68
|
+
@property
|
|
69
|
+
def magnitude(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
|
|
70
|
+
def __init__(self,
|
|
71
|
+
*,
|
|
72
|
+
id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
73
|
+
parent_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
74
|
+
label : typing.Text = ...,
|
|
75
|
+
locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
|
|
76
|
+
suppressed : builtins.bool = ...,
|
|
77
|
+
magnitude : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
78
|
+
) -> None: ...
|
|
79
|
+
def HasField(self, field_name: typing_extensions.Literal["id",b"id","magnitude",b"magnitude","parent_id",b"parent_id"]) -> builtins.bool: ...
|
|
80
|
+
def ClearField(self, field_name: typing_extensions.Literal["id",b"id","label",b"label","locations",b"locations","magnitude",b"magnitude","parent_id",b"parent_id","suppressed",b"suppressed"]) -> None: ...
|
|
81
|
+
global___TemperatureDefinition = TemperatureDefinition
|
|
@@ -0,0 +1,166 @@
|
|
|
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 solidtemperature_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_solidtemperature__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 SolidTemperatureStub(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.CreateTemperatureVolumetric = channel.unary_unary(
|
|
19
|
+
'/ansys.api.discovery.v0.conditions.solidtemperature.SolidTemperature/CreateTemperatureVolumetric',
|
|
20
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_solidtemperature__pb2.TemperatureCreationRequest.SerializeToString,
|
|
21
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_solidtemperature__pb2.TemperatureCreationResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.CreateTemperatureSurface = channel.unary_unary(
|
|
24
|
+
'/ansys.api.discovery.v0.conditions.solidtemperature.SolidTemperature/CreateTemperatureSurface',
|
|
25
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_solidtemperature__pb2.TemperatureCreationRequest.SerializeToString,
|
|
26
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_solidtemperature__pb2.TemperatureCreationResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.ChangeTemperatureLocation = channel.unary_unary(
|
|
29
|
+
'/ansys.api.discovery.v0.conditions.solidtemperature.SolidTemperature/ChangeTemperatureLocation',
|
|
30
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.SerializeToString,
|
|
31
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
self.ChangeTemperatureMagnitude = channel.unary_unary(
|
|
34
|
+
'/ansys.api.discovery.v0.conditions.solidtemperature.SolidTemperature/ChangeTemperatureMagnitude',
|
|
35
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
36
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class SolidTemperatureServicer(object):
|
|
41
|
+
"""Missing associated documentation comment in .proto file."""
|
|
42
|
+
|
|
43
|
+
def CreateTemperatureVolumetric(self, request, context):
|
|
44
|
+
"""Missing associated documentation comment in .proto file."""
|
|
45
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
46
|
+
context.set_details('Method not implemented!')
|
|
47
|
+
raise NotImplementedError('Method not implemented!')
|
|
48
|
+
|
|
49
|
+
def CreateTemperatureSurface(self, request, context):
|
|
50
|
+
"""Missing associated documentation comment in .proto file."""
|
|
51
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
52
|
+
context.set_details('Method not implemented!')
|
|
53
|
+
raise NotImplementedError('Method not implemented!')
|
|
54
|
+
|
|
55
|
+
def ChangeTemperatureLocation(self, request, context):
|
|
56
|
+
"""Missing associated documentation comment in .proto file."""
|
|
57
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
58
|
+
context.set_details('Method not implemented!')
|
|
59
|
+
raise NotImplementedError('Method not implemented!')
|
|
60
|
+
|
|
61
|
+
def ChangeTemperatureMagnitude(self, request, context):
|
|
62
|
+
"""Missing associated documentation comment in .proto file."""
|
|
63
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
64
|
+
context.set_details('Method not implemented!')
|
|
65
|
+
raise NotImplementedError('Method not implemented!')
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def add_SolidTemperatureServicer_to_server(servicer, server):
|
|
69
|
+
rpc_method_handlers = {
|
|
70
|
+
'CreateTemperatureVolumetric': grpc.unary_unary_rpc_method_handler(
|
|
71
|
+
servicer.CreateTemperatureVolumetric,
|
|
72
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_solidtemperature__pb2.TemperatureCreationRequest.FromString,
|
|
73
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_solidtemperature__pb2.TemperatureCreationResponse.SerializeToString,
|
|
74
|
+
),
|
|
75
|
+
'CreateTemperatureSurface': grpc.unary_unary_rpc_method_handler(
|
|
76
|
+
servicer.CreateTemperatureSurface,
|
|
77
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_solidtemperature__pb2.TemperatureCreationRequest.FromString,
|
|
78
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_solidtemperature__pb2.TemperatureCreationResponse.SerializeToString,
|
|
79
|
+
),
|
|
80
|
+
'ChangeTemperatureLocation': grpc.unary_unary_rpc_method_handler(
|
|
81
|
+
servicer.ChangeTemperatureLocation,
|
|
82
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.FromString,
|
|
83
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
84
|
+
),
|
|
85
|
+
'ChangeTemperatureMagnitude': grpc.unary_unary_rpc_method_handler(
|
|
86
|
+
servicer.ChangeTemperatureMagnitude,
|
|
87
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
88
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
89
|
+
),
|
|
90
|
+
}
|
|
91
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
92
|
+
'ansys.api.discovery.v0.conditions.solidtemperature.SolidTemperature', rpc_method_handlers)
|
|
93
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
# This class is part of an EXPERIMENTAL API.
|
|
97
|
+
class SolidTemperature(object):
|
|
98
|
+
"""Missing associated documentation comment in .proto file."""
|
|
99
|
+
|
|
100
|
+
@staticmethod
|
|
101
|
+
def CreateTemperatureVolumetric(request,
|
|
102
|
+
target,
|
|
103
|
+
options=(),
|
|
104
|
+
channel_credentials=None,
|
|
105
|
+
call_credentials=None,
|
|
106
|
+
insecure=False,
|
|
107
|
+
compression=None,
|
|
108
|
+
wait_for_ready=None,
|
|
109
|
+
timeout=None,
|
|
110
|
+
metadata=None):
|
|
111
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.solidtemperature.SolidTemperature/CreateTemperatureVolumetric',
|
|
112
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_solidtemperature__pb2.TemperatureCreationRequest.SerializeToString,
|
|
113
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_solidtemperature__pb2.TemperatureCreationResponse.FromString,
|
|
114
|
+
options, channel_credentials,
|
|
115
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
116
|
+
|
|
117
|
+
@staticmethod
|
|
118
|
+
def CreateTemperatureSurface(request,
|
|
119
|
+
target,
|
|
120
|
+
options=(),
|
|
121
|
+
channel_credentials=None,
|
|
122
|
+
call_credentials=None,
|
|
123
|
+
insecure=False,
|
|
124
|
+
compression=None,
|
|
125
|
+
wait_for_ready=None,
|
|
126
|
+
timeout=None,
|
|
127
|
+
metadata=None):
|
|
128
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.solidtemperature.SolidTemperature/CreateTemperatureSurface',
|
|
129
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_solidtemperature__pb2.TemperatureCreationRequest.SerializeToString,
|
|
130
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_solidtemperature__pb2.TemperatureCreationResponse.FromString,
|
|
131
|
+
options, channel_credentials,
|
|
132
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
133
|
+
|
|
134
|
+
@staticmethod
|
|
135
|
+
def ChangeTemperatureLocation(request,
|
|
136
|
+
target,
|
|
137
|
+
options=(),
|
|
138
|
+
channel_credentials=None,
|
|
139
|
+
call_credentials=None,
|
|
140
|
+
insecure=False,
|
|
141
|
+
compression=None,
|
|
142
|
+
wait_for_ready=None,
|
|
143
|
+
timeout=None,
|
|
144
|
+
metadata=None):
|
|
145
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.solidtemperature.SolidTemperature/ChangeTemperatureLocation',
|
|
146
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.SerializeToString,
|
|
147
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
148
|
+
options, channel_credentials,
|
|
149
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
150
|
+
|
|
151
|
+
@staticmethod
|
|
152
|
+
def ChangeTemperatureMagnitude(request,
|
|
153
|
+
target,
|
|
154
|
+
options=(),
|
|
155
|
+
channel_credentials=None,
|
|
156
|
+
call_credentials=None,
|
|
157
|
+
insecure=False,
|
|
158
|
+
compression=None,
|
|
159
|
+
wait_for_ready=None,
|
|
160
|
+
timeout=None,
|
|
161
|
+
metadata=None):
|
|
162
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.solidtemperature.SolidTemperature/ChangeTemperatureMagnitude',
|
|
163
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
164
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
165
|
+
options, channel_credentials,
|
|
166
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|