ansys-api-discovery 0.5.2__py3-none-any.whl → 0.6.0__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/conditions.proto +11 -46
- ansys/api/discovery/v0/conditions_pb2.py +12 -70
- ansys/api/discovery/v0/conditions_pb2.pyi +16 -88
- ansys/api/discovery/v0/conditions_pb2_grpc.py +40 -139
- ansys/api/discovery/v0/conditions_pb2_grpc.pyi +20 -50
- ansys/api/discovery/v0/conditionsfluid.proto +246 -0
- ansys/api/discovery/v0/conditionsfluid_pb2.py +85 -0
- ansys/api/discovery/v0/conditionsfluid_pb2.pyi +590 -0
- ansys/api/discovery/v0/conditionsfluid_pb2_grpc.py +662 -0
- ansys/api/discovery/v0/conditionsfluid_pb2_grpc.pyi +208 -0
- ansys/api/discovery/v0/conditionsstructural.proto +407 -0
- ansys/api/discovery/v0/conditionsstructural_pb2.py +113 -0
- ansys/api/discovery/v0/conditionsstructural_pb2.pyi +839 -0
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.py +2746 -0
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.pyi +854 -0
- ansys/api/discovery/v0/conditionsthermal.proto +179 -0
- ansys/api/discovery/v0/conditionsthermal_pb2.py +63 -0
- ansys/api/discovery/v0/conditionsthermal_pb2.pyi +399 -0
- ansys/api/discovery/v0/conditionsthermal_pb2_grpc.py +665 -0
- ansys/api/discovery/v0/conditionsthermal_pb2_grpc.pyi +217 -0
- ansys/api/discovery/v0/definedvariationstable.proto +12 -0
- ansys/api/discovery/v0/definedvariationstable_pb2.py +12 -116
- ansys/api/discovery/v0/definedvariationstable_pb2.pyi +16 -0
- ansys/api/discovery/v0/definedvariationstable_pb2_grpc.py +68 -0
- ansys/api/discovery/v0/definedvariationstable_pb2_grpc.pyi +26 -0
- ansys/api/discovery/v0/discoverymodels.proto +91 -25
- ansys/api/discovery/v0/discoverymodels_pb2.py +59 -211
- ansys/api/discovery/v0/discoverymodels_pb2.pyi +264 -50
- ansys/api/discovery/v0/historytrackparameters_pb2.py +3 -50
- ansys/api/discovery/v0/messaging.proto +0 -2
- ansys/api/discovery/v0/messaging_pb2.py +8 -20
- ansys/api/discovery/v0/scriptparameters_pb2.py +3 -37
- ansys/api/discovery/v0/simulations.proto +0 -1
- ansys/api/discovery/v0/simulations_pb2.py +8 -19
- ansys/api/discovery/v0/solution.proto +18 -2
- ansys/api/discovery/v0/solution_pb2.py +18 -40
- ansys/api/discovery/v0/solution_pb2.pyi +48 -0
- ansys/api/discovery/v0/solution_pb2_grpc.py +33 -0
- ansys/api/discovery/v0/solution_pb2_grpc.pyi +10 -0
- ansys/api/discovery/v0/units_pb2.py +3 -1232
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.0.dist-info}/METADATA +8 -8
- ansys_api_discovery-0.6.0.dist-info/RECORD +70 -0
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.0.dist-info}/WHEEL +1 -1
- ansys_api_discovery-0.5.2.dist-info/RECORD +0 -55
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.0.dist-info}/LICENSE +0 -0
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.0.dist-info}/entry_points.txt +0 -0
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.0.dist-info}/top_level.txt +0 -0
|
@@ -9,70 +9,40 @@ import grpc
|
|
|
9
9
|
|
|
10
10
|
class ConditionsStub:
|
|
11
11
|
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
12
|
-
|
|
13
|
-
ansys.api.discovery.v0.conditions_pb2.
|
|
14
|
-
ansys.api.discovery.v0.discoverymodels_pb2.
|
|
15
|
-
"""
|
|
12
|
+
DeleteCondition: grpc.UnaryUnaryMultiCallable[
|
|
13
|
+
ansys.api.discovery.v0.conditions_pb2.DeleteConditionRequest,
|
|
14
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse] = ...
|
|
15
|
+
"""General condition methods"""
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
ansys.api.discovery.v0.conditions_pb2.
|
|
19
|
-
ansys.api.discovery.v0.
|
|
17
|
+
ChangeConditionSuppressionState: grpc.UnaryUnaryMultiCallable[
|
|
18
|
+
ansys.api.discovery.v0.conditions_pb2.ChangeConditionSuppressionStateRequest,
|
|
19
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse] = ...
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
ansys.api.discovery.v0.conditions_pb2.
|
|
23
|
-
ansys.api.discovery.v0.
|
|
24
|
-
|
|
25
|
-
ChangeHeatPerUnitVolume: grpc.UnaryUnaryMultiCallable[
|
|
26
|
-
ansys.api.discovery.v0.conditions_pb2.ChangeQuantityRequest,
|
|
27
|
-
ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse] = ...
|
|
28
|
-
|
|
29
|
-
ChangeHeatPerUnitArea: grpc.UnaryUnaryMultiCallable[
|
|
30
|
-
ansys.api.discovery.v0.conditions_pb2.ChangeQuantityRequest,
|
|
31
|
-
ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse] = ...
|
|
32
|
-
|
|
33
|
-
ChangeHeatSpecification: grpc.UnaryUnaryMultiCallable[
|
|
34
|
-
ansys.api.discovery.v0.conditions_pb2.HeatSpecificationRequest,
|
|
35
|
-
ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse] = ...
|
|
21
|
+
ChangeConditionName: grpc.UnaryUnaryMultiCallable[
|
|
22
|
+
ansys.api.discovery.v0.conditions_pb2.ChangeConditionNameRequest,
|
|
23
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse] = ...
|
|
36
24
|
|
|
37
25
|
|
|
38
26
|
class ConditionsServicer(metaclass=abc.ABCMeta):
|
|
39
27
|
@abc.abstractmethod
|
|
40
|
-
def
|
|
41
|
-
request: ansys.api.discovery.v0.conditions_pb2.
|
|
28
|
+
def DeleteCondition(self,
|
|
29
|
+
request: ansys.api.discovery.v0.conditions_pb2.DeleteConditionRequest,
|
|
42
30
|
context: grpc.ServicerContext,
|
|
43
|
-
) -> ansys.api.discovery.v0.discoverymodels_pb2.
|
|
44
|
-
"""
|
|
31
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse:
|
|
32
|
+
"""General condition methods"""
|
|
45
33
|
pass
|
|
46
34
|
|
|
47
35
|
@abc.abstractmethod
|
|
48
|
-
def
|
|
49
|
-
request: ansys.api.discovery.v0.conditions_pb2.
|
|
50
|
-
context: grpc.ServicerContext,
|
|
51
|
-
) -> ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse: ...
|
|
52
|
-
|
|
53
|
-
@abc.abstractmethod
|
|
54
|
-
def ChangeTotalHeat(self,
|
|
55
|
-
request: ansys.api.discovery.v0.conditions_pb2.ChangeQuantityRequest,
|
|
56
|
-
context: grpc.ServicerContext,
|
|
57
|
-
) -> ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse: ...
|
|
58
|
-
|
|
59
|
-
@abc.abstractmethod
|
|
60
|
-
def ChangeHeatPerUnitVolume(self,
|
|
61
|
-
request: ansys.api.discovery.v0.conditions_pb2.ChangeQuantityRequest,
|
|
62
|
-
context: grpc.ServicerContext,
|
|
63
|
-
) -> ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse: ...
|
|
64
|
-
|
|
65
|
-
@abc.abstractmethod
|
|
66
|
-
def ChangeHeatPerUnitArea(self,
|
|
67
|
-
request: ansys.api.discovery.v0.conditions_pb2.ChangeQuantityRequest,
|
|
36
|
+
def ChangeConditionSuppressionState(self,
|
|
37
|
+
request: ansys.api.discovery.v0.conditions_pb2.ChangeConditionSuppressionStateRequest,
|
|
68
38
|
context: grpc.ServicerContext,
|
|
69
|
-
) -> ansys.api.discovery.v0.
|
|
39
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse: ...
|
|
70
40
|
|
|
71
41
|
@abc.abstractmethod
|
|
72
|
-
def
|
|
73
|
-
request: ansys.api.discovery.v0.conditions_pb2.
|
|
42
|
+
def ChangeConditionName(self,
|
|
43
|
+
request: ansys.api.discovery.v0.conditions_pb2.ChangeConditionNameRequest,
|
|
74
44
|
context: grpc.ServicerContext,
|
|
75
|
-
) -> ansys.api.discovery.v0.
|
|
45
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse: ...
|
|
76
46
|
|
|
77
47
|
|
|
78
48
|
def add_ConditionsServicer_to_server(servicer: ConditionsServicer, server: grpc.Server) -> None: ...
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.conditions.conditionsfluid;
|
|
4
|
+
|
|
5
|
+
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
6
|
+
|
|
7
|
+
option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions.ConditionsFluid";
|
|
8
|
+
|
|
9
|
+
service ConditionsFluid
|
|
10
|
+
{
|
|
11
|
+
//Fluid flow methods
|
|
12
|
+
rpc CreateFlowVelocityInlet(FlowVelocityInletCreationRequest) returns (FlowVelocityInletCreationResponse);
|
|
13
|
+
|
|
14
|
+
rpc CreateFlowVelocityOutlet(FlowVelocityOutletCreationRequest) returns (FlowVelocityOutletCreationResponse);
|
|
15
|
+
|
|
16
|
+
rpc CreateFlowPressureInlet(FlowPressureInletCreationRequest) returns (FlowPressureInletCreationResponse);
|
|
17
|
+
|
|
18
|
+
rpc CreateFlowPressureOutlet(FlowPressureOutletCreationRequest) returns (FlowPressureOutletCreationResponse);
|
|
19
|
+
|
|
20
|
+
rpc CreateFlowMassFlowInlet(FlowMassFlowInletCreationRequest) returns (FlowMassFlowInletCreationResponse);
|
|
21
|
+
|
|
22
|
+
rpc CreateFlowMassFlowOutlet(FlowMassFlowOutletCreationRequest) returns (FlowMassFlowOutletCreationResponse);
|
|
23
|
+
|
|
24
|
+
rpc ChangeFlowLocation(ChangeLocationRequest) returns (ConditionChangedResponse);
|
|
25
|
+
|
|
26
|
+
rpc ChangeFlowVelocityInletMagnitude(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
27
|
+
|
|
28
|
+
rpc ChangeFlowVelocityOutletMagnitude(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
29
|
+
|
|
30
|
+
rpc ChangeFlowPressureInletMagnitude(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
31
|
+
|
|
32
|
+
rpc ChangeFlowPressureOutletMagnitude(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
33
|
+
|
|
34
|
+
rpc ChangeFlowMassFlowInletMagnitude(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
35
|
+
|
|
36
|
+
rpc ChangeFlowMassFlowOutletMagnitude(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
37
|
+
|
|
38
|
+
rpc ChangeFlowTemperatureInputEnabled(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
39
|
+
|
|
40
|
+
rpc ChangeFlowTemperatureMagnitude(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
41
|
+
|
|
42
|
+
rpc ChangeFlowSwirlingInputEnabled(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
43
|
+
|
|
44
|
+
rpc ChangeFlowSwirlingMagnitude(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
45
|
+
|
|
46
|
+
rpc ChangeFlowSpecification(ChangeFlowSpecificationRequest) returns (ConditionChangedResponse);
|
|
47
|
+
|
|
48
|
+
rpc ChangeFlowDirection(ChangeFlowDirectionRequest) returns (ConditionChangedResponse);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Command Requests and Responses
|
|
52
|
+
|
|
53
|
+
// Velocity In
|
|
54
|
+
message FlowVelocityInletCreationRequest{
|
|
55
|
+
ScopedConditionCreationData creation_data = 2;
|
|
56
|
+
VelocityInletProperties velocity_inlet = 4;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
message FlowVelocityInletCreationResponse{
|
|
60
|
+
ConditionCreationResponse condition_response = 1;
|
|
61
|
+
FlowVelocityInletDefinition condition_data = 2;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Velocity Out
|
|
65
|
+
message FlowVelocityOutletCreationRequest{
|
|
66
|
+
ScopedConditionCreationData creation_data = 1;
|
|
67
|
+
VelocityOutletProperties velocity_outlet = 2;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
message FlowVelocityOutletCreationResponse{
|
|
71
|
+
ConditionCreationResponse condition_response = 1;
|
|
72
|
+
FlowVelocityOutletDefinition condition_data = 2;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// Pressure In
|
|
76
|
+
message FlowPressureInletCreationRequest{
|
|
77
|
+
ScopedConditionCreationData creation_data = 1;
|
|
78
|
+
PressureInletProperties pressure_inlet = 2;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
message FlowPressureInletCreationResponse{
|
|
82
|
+
ConditionCreationResponse condition_response = 1;
|
|
83
|
+
FlowPressureInletDefinition condition_data = 2;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// Pressure Out
|
|
87
|
+
message FlowPressureOutletCreationRequest{
|
|
88
|
+
ScopedConditionCreationData creation_data = 1;
|
|
89
|
+
PressureOutletProperties pressure_outlet = 2;
|
|
90
|
+
}
|
|
91
|
+
message FlowPressureOutletCreationResponse{
|
|
92
|
+
ConditionCreationResponse condition_response = 1;
|
|
93
|
+
FlowPressureOutletDefinition condition_data = 2;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// Mass Flow In
|
|
97
|
+
message FlowMassFlowInletCreationRequest{
|
|
98
|
+
ScopedConditionCreationData creation_data = 1;
|
|
99
|
+
MassFlowInletProperties mass_flow_inlet = 2;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
message FlowMassFlowInletCreationResponse{
|
|
103
|
+
ConditionCreationResponse condition_response = 1;
|
|
104
|
+
FlowMassFlowInletDefinition condition_data = 2;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// Mass Flow Out
|
|
108
|
+
message FlowMassFlowOutletCreationRequest{
|
|
109
|
+
ScopedConditionCreationData creation_data = 1;
|
|
110
|
+
MassFlowOutletProperties mass_flow_outlet = 2;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
message FlowMassFlowOutletCreationResponse{
|
|
114
|
+
ConditionCreationResponse condition_response = 1;
|
|
115
|
+
FlowMassFlowOutletDefinition condition_data = 2;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
message ChangeFlowSpecificationRequest{
|
|
119
|
+
string object_id = 1;
|
|
120
|
+
FlowSpecificationDefinition specification = 2;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
message ChangeFlowDirectionRequest{
|
|
124
|
+
string object_id = 1;
|
|
125
|
+
FlowDirectionDefinition direction = 2;
|
|
126
|
+
bool reset_to_default_subtype = 3;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// fluid enumerations
|
|
130
|
+
|
|
131
|
+
enum FlowDirectionDefinition {
|
|
132
|
+
IN = 0;
|
|
133
|
+
OUT = 1;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
enum FlowSpecificationDefinition {
|
|
137
|
+
VELOCITY = 0;
|
|
138
|
+
MASSFLOW = 1;
|
|
139
|
+
PRESSURE = 2;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
// Fluid conditions properties
|
|
143
|
+
|
|
144
|
+
message VelocityInletProperties
|
|
145
|
+
{
|
|
146
|
+
Quantity speed = 1;
|
|
147
|
+
FlowThermalProperties thermal_properties = 2;
|
|
148
|
+
bool is_swirling = 3;
|
|
149
|
+
Quantity rotational_speed = 4;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
message VelocityOutletProperties
|
|
153
|
+
{
|
|
154
|
+
Quantity speed = 1;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
message PressureInletProperties
|
|
158
|
+
{
|
|
159
|
+
Quantity pressure = 1;
|
|
160
|
+
FlowThermalProperties thermal_properties = 2;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
message PressureOutletProperties
|
|
164
|
+
{
|
|
165
|
+
Quantity pressure = 1;
|
|
166
|
+
FlowThermalProperties thermal_properties = 2;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
message MassFlowInletProperties
|
|
170
|
+
{
|
|
171
|
+
Quantity mass_flow = 1;
|
|
172
|
+
FlowThermalProperties thermal_properties = 2;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
message MassFlowOutletProperties
|
|
176
|
+
{
|
|
177
|
+
Quantity mass_flow = 1;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
message FlowThermalProperties
|
|
181
|
+
{
|
|
182
|
+
bool is_thermal = 1;
|
|
183
|
+
Quantity temperature = 2;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
// Fluid conditions definitions
|
|
187
|
+
|
|
188
|
+
message FlowVelocityInletDefinition {
|
|
189
|
+
string id = 1;
|
|
190
|
+
string parent_id = 2;
|
|
191
|
+
string label = 3;
|
|
192
|
+
repeated string locations = 4;
|
|
193
|
+
bool suppressed = 5;
|
|
194
|
+
VelocityInletProperties velocity_inlet = 6;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
message FlowVelocityOutletDefinition {
|
|
198
|
+
string id = 1;
|
|
199
|
+
string parent_id = 2;
|
|
200
|
+
string label = 3;
|
|
201
|
+
repeated string locations = 4;
|
|
202
|
+
bool suppressed = 5;
|
|
203
|
+
VelocityOutletProperties velocity_outlet = 6;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
message FlowPressureInletDefinition {
|
|
207
|
+
string id = 1;
|
|
208
|
+
string parent_id = 2;
|
|
209
|
+
string label = 3;
|
|
210
|
+
repeated string locations = 4;
|
|
211
|
+
bool suppressed = 5;
|
|
212
|
+
PressureInletProperties pressure_inlet = 6;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
message FlowPressureOutletDefinition {
|
|
216
|
+
string id = 1;
|
|
217
|
+
string parent_id = 2;
|
|
218
|
+
string label = 3;
|
|
219
|
+
repeated string locations = 4;
|
|
220
|
+
bool suppressed = 5;
|
|
221
|
+
PressureOutletProperties pressure_outlet = 6;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
message FlowMassFlowInletDefinition {
|
|
225
|
+
string id = 1;
|
|
226
|
+
string parent_id = 2;
|
|
227
|
+
string label = 3;
|
|
228
|
+
repeated string locations = 4;
|
|
229
|
+
bool suppressed = 5;
|
|
230
|
+
MassFlowInletProperties mass_flow_inlet = 6;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
message FlowMassFlowOutletDefinition {
|
|
234
|
+
string id = 1;
|
|
235
|
+
string parent_id = 2;
|
|
236
|
+
string label = 3;
|
|
237
|
+
repeated string locations = 4;
|
|
238
|
+
bool suppressed = 5;
|
|
239
|
+
MassFlowOutletProperties mass_flow_outlet = 6;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
// Wall condition definitions
|
|
245
|
+
// Porous condition definition
|
|
246
|
+
// Fan condition definition
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: ansys/api/discovery/v0/conditionsfluid.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.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,ansys/api/discovery/v0/conditionsfluid.proto\x12\x31\x61nsys.api.discovery.v0.conditions.conditionsfluid\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xd2\x01\n FlowVelocityInletCreationRequest\x12J\n\rcreation_data\x18\x02 \x01(\x0b\x32\x33.ansys.api.discovery.v0.ScopedConditionCreationData\x12\x62\n\x0evelocity_inlet\x18\x04 \x01(\x0b\x32J.ansys.api.discovery.v0.conditions.conditionsfluid.VelocityInletProperties\"\xda\x01\n!FlowVelocityInletCreationResponse\x12M\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32\x31.ansys.api.discovery.v0.ConditionCreationResponse\x12\x66\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32N.ansys.api.discovery.v0.conditions.conditionsfluid.FlowVelocityInletDefinition\"\xd5\x01\n!FlowVelocityOutletCreationRequest\x12J\n\rcreation_data\x18\x01 \x01(\x0b\x32\x33.ansys.api.discovery.v0.ScopedConditionCreationData\x12\x64\n\x0fvelocity_outlet\x18\x02 \x01(\x0b\x32K.ansys.api.discovery.v0.conditions.conditionsfluid.VelocityOutletProperties\"\xdc\x01\n\"FlowVelocityOutletCreationResponse\x12M\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32\x31.ansys.api.discovery.v0.ConditionCreationResponse\x12g\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32O.ansys.api.discovery.v0.conditions.conditionsfluid.FlowVelocityOutletDefinition\"\xd2\x01\n FlowPressureInletCreationRequest\x12J\n\rcreation_data\x18\x01 \x01(\x0b\x32\x33.ansys.api.discovery.v0.ScopedConditionCreationData\x12\x62\n\x0epressure_inlet\x18\x02 \x01(\x0b\x32J.ansys.api.discovery.v0.conditions.conditionsfluid.PressureInletProperties\"\xda\x01\n!FlowPressureInletCreationResponse\x12M\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32\x31.ansys.api.discovery.v0.ConditionCreationResponse\x12\x66\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32N.ansys.api.discovery.v0.conditions.conditionsfluid.FlowPressureInletDefinition\"\xd5\x01\n!FlowPressureOutletCreationRequest\x12J\n\rcreation_data\x18\x01 \x01(\x0b\x32\x33.ansys.api.discovery.v0.ScopedConditionCreationData\x12\x64\n\x0fpressure_outlet\x18\x02 \x01(\x0b\x32K.ansys.api.discovery.v0.conditions.conditionsfluid.PressureOutletProperties\"\xdc\x01\n\"FlowPressureOutletCreationResponse\x12M\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32\x31.ansys.api.discovery.v0.ConditionCreationResponse\x12g\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32O.ansys.api.discovery.v0.conditions.conditionsfluid.FlowPressureOutletDefinition\"\xd3\x01\n FlowMassFlowInletCreationRequest\x12J\n\rcreation_data\x18\x01 \x01(\x0b\x32\x33.ansys.api.discovery.v0.ScopedConditionCreationData\x12\x63\n\x0fmass_flow_inlet\x18\x02 \x01(\x0b\x32J.ansys.api.discovery.v0.conditions.conditionsfluid.MassFlowInletProperties\"\xda\x01\n!FlowMassFlowInletCreationResponse\x12M\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32\x31.ansys.api.discovery.v0.ConditionCreationResponse\x12\x66\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32N.ansys.api.discovery.v0.conditions.conditionsfluid.FlowMassFlowInletDefinition\"\xd6\x01\n!FlowMassFlowOutletCreationRequest\x12J\n\rcreation_data\x18\x01 \x01(\x0b\x32\x33.ansys.api.discovery.v0.ScopedConditionCreationData\x12\x65\n\x10mass_flow_outlet\x18\x02 \x01(\x0b\x32K.ansys.api.discovery.v0.conditions.conditionsfluid.MassFlowOutletProperties\"\xdc\x01\n\"FlowMassFlowOutletCreationResponse\x12M\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32\x31.ansys.api.discovery.v0.ConditionCreationResponse\x12g\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32O.ansys.api.discovery.v0.conditions.conditionsfluid.FlowMassFlowOutletDefinition\"\x9a\x01\n\x1e\x43hangeFlowSpecificationRequest\x12\x11\n\tobject_id\x18\x01 \x01(\t\x12\x65\n\rspecification\x18\x02 \x01(\x0e\x32N.ansys.api.discovery.v0.conditions.conditionsfluid.FlowSpecificationDefinition\"\xb0\x01\n\x1a\x43hangeFlowDirectionRequest\x12\x11\n\tobject_id\x18\x01 \x01(\t\x12]\n\tdirection\x18\x02 \x01(\x0e\x32J.ansys.api.discovery.v0.conditions.conditionsfluid.FlowDirectionDefinition\x12 \n\x18reset_to_default_subtype\x18\x03 \x01(\x08\"\x81\x02\n\x17VelocityInletProperties\x12/\n\x05speed\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x64\n\x12thermal_properties\x18\x02 \x01(\x0b\x32H.ansys.api.discovery.v0.conditions.conditionsfluid.FlowThermalProperties\x12\x13\n\x0bis_swirling\x18\x03 \x01(\x08\x12:\n\x10rotational_speed\x18\x04 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"K\n\x18VelocityOutletProperties\x12/\n\x05speed\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"\xb3\x01\n\x17PressureInletProperties\x12\x32\n\x08pressure\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x64\n\x12thermal_properties\x18\x02 \x01(\x0b\x32H.ansys.api.discovery.v0.conditions.conditionsfluid.FlowThermalProperties\"\xb4\x01\n\x18PressureOutletProperties\x12\x32\n\x08pressure\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x64\n\x12thermal_properties\x18\x02 \x01(\x0b\x32H.ansys.api.discovery.v0.conditions.conditionsfluid.FlowThermalProperties\"\xb4\x01\n\x17MassFlowInletProperties\x12\x33\n\tmass_flow\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x64\n\x12thermal_properties\x18\x02 \x01(\x0b\x32H.ansys.api.discovery.v0.conditions.conditionsfluid.FlowThermalProperties\"O\n\x18MassFlowOutletProperties\x12\x33\n\tmass_flow\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"b\n\x15\x46lowThermalProperties\x12\x12\n\nis_thermal\x18\x01 \x01(\x08\x12\x35\n\x0btemperature\x18\x02 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"\xd6\x01\n\x1b\x46lowVelocityInletDefinition\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tparent_id\x18\x02 \x01(\t\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\x62\n\x0evelocity_inlet\x18\x06 \x01(\x0b\x32J.ansys.api.discovery.v0.conditions.conditionsfluid.VelocityInletProperties\"\xd9\x01\n\x1c\x46lowVelocityOutletDefinition\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tparent_id\x18\x02 \x01(\t\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\x64\n\x0fvelocity_outlet\x18\x06 \x01(\x0b\x32K.ansys.api.discovery.v0.conditions.conditionsfluid.VelocityOutletProperties\"\xd6\x01\n\x1b\x46lowPressureInletDefinition\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tparent_id\x18\x02 \x01(\t\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\x62\n\x0epressure_inlet\x18\x06 \x01(\x0b\x32J.ansys.api.discovery.v0.conditions.conditionsfluid.PressureInletProperties\"\xd9\x01\n\x1c\x46lowPressureOutletDefinition\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tparent_id\x18\x02 \x01(\t\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\x64\n\x0fpressure_outlet\x18\x06 \x01(\x0b\x32K.ansys.api.discovery.v0.conditions.conditionsfluid.PressureOutletProperties\"\xd7\x01\n\x1b\x46lowMassFlowInletDefinition\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tparent_id\x18\x02 \x01(\t\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\x63\n\x0fmass_flow_inlet\x18\x06 \x01(\x0b\x32J.ansys.api.discovery.v0.conditions.conditionsfluid.MassFlowInletProperties\"\xda\x01\n\x1c\x46lowMassFlowOutletDefinition\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tparent_id\x18\x02 \x01(\t\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\x65\n\x10mass_flow_outlet\x18\x06 \x01(\x0b\x32K.ansys.api.discovery.v0.conditions.conditionsfluid.MassFlowOutletProperties**\n\x17\x46lowDirectionDefinition\x12\x06\n\x02IN\x10\x00\x12\x07\n\x03OUT\x10\x01*G\n\x1b\x46lowSpecificationDefinition\x12\x0c\n\x08VELOCITY\x10\x00\x12\x0c\n\x08MASSFLOW\x10\x01\x12\x0c\n\x08PRESSURE\x10\x02\x32\xa9\x17\n\x0f\x43onditionsFluid\x12\xc4\x01\n\x17\x43reateFlowVelocityInlet\x12S.ansys.api.discovery.v0.conditions.conditionsfluid.FlowVelocityInletCreationRequest\x1aT.ansys.api.discovery.v0.conditions.conditionsfluid.FlowVelocityInletCreationResponse\x12\xc7\x01\n\x18\x43reateFlowVelocityOutlet\x12T.ansys.api.discovery.v0.conditions.conditionsfluid.FlowVelocityOutletCreationRequest\x1aU.ansys.api.discovery.v0.conditions.conditionsfluid.FlowVelocityOutletCreationResponse\x12\xc4\x01\n\x17\x43reateFlowPressureInlet\x12S.ansys.api.discovery.v0.conditions.conditionsfluid.FlowPressureInletCreationRequest\x1aT.ansys.api.discovery.v0.conditions.conditionsfluid.FlowPressureInletCreationResponse\x12\xc7\x01\n\x18\x43reateFlowPressureOutlet\x12T.ansys.api.discovery.v0.conditions.conditionsfluid.FlowPressureOutletCreationRequest\x1aU.ansys.api.discovery.v0.conditions.conditionsfluid.FlowPressureOutletCreationResponse\x12\xc4\x01\n\x17\x43reateFlowMassFlowInlet\x12S.ansys.api.discovery.v0.conditions.conditionsfluid.FlowMassFlowInletCreationRequest\x1aT.ansys.api.discovery.v0.conditions.conditionsfluid.FlowMassFlowInletCreationResponse\x12\xc7\x01\n\x18\x43reateFlowMassFlowOutlet\x12T.ansys.api.discovery.v0.conditions.conditionsfluid.FlowMassFlowOutletCreationRequest\x1aU.ansys.api.discovery.v0.conditions.conditionsfluid.FlowMassFlowOutletCreationResponse\x12u\n\x12\x43hangeFlowLocation\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a\x30.ansys.api.discovery.v0.ConditionChangedResponse\x12\x83\x01\n ChangeFlowVelocityInletMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a\x30.ansys.api.discovery.v0.ConditionChangedResponse\x12\x84\x01\n!ChangeFlowVelocityOutletMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a\x30.ansys.api.discovery.v0.ConditionChangedResponse\x12\x83\x01\n ChangeFlowPressureInletMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a\x30.ansys.api.discovery.v0.ConditionChangedResponse\x12\x84\x01\n!ChangeFlowPressureOutletMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a\x30.ansys.api.discovery.v0.ConditionChangedResponse\x12\x83\x01\n ChangeFlowMassFlowInletMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a\x30.ansys.api.discovery.v0.ConditionChangedResponse\x12\x84\x01\n!ChangeFlowMassFlowOutletMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a\x30.ansys.api.discovery.v0.ConditionChangedResponse\x12\x83\x01\n!ChangeFlowTemperatureInputEnabled\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a\x30.ansys.api.discovery.v0.ConditionChangedResponse\x12\x81\x01\n\x1e\x43hangeFlowTemperatureMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a\x30.ansys.api.discovery.v0.ConditionChangedResponse\x12\x80\x01\n\x1e\x43hangeFlowSwirlingInputEnabled\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a\x30.ansys.api.discovery.v0.ConditionChangedResponse\x12~\n\x1b\x43hangeFlowSwirlingMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a\x30.ansys.api.discovery.v0.ConditionChangedResponse\x12\x9e\x01\n\x17\x43hangeFlowSpecification\x12Q.ansys.api.discovery.v0.conditions.conditionsfluid.ChangeFlowSpecificationRequest\x1a\x30.ansys.api.discovery.v0.ConditionChangedResponse\x12\x96\x01\n\x13\x43hangeFlowDirection\x12M.ansys.api.discovery.v0.conditions.conditionsfluid.ChangeFlowDirectionRequest\x1a\x30.ansys.api.discovery.v0.ConditionChangedResponseB4\xaa\x02\x31\x41nsys.Api.Discovery.V0.Conditions.ConditionsFluidb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.conditionsfluid_pb2', globals())
|
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
|
+
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
DESCRIPTOR._serialized_options = b'\252\0021Ansys.Api.Discovery.V0.Conditions.ConditionsFluid'
|
|
25
|
+
_FLOWDIRECTIONDEFINITION._serialized_start=5481
|
|
26
|
+
_FLOWDIRECTIONDEFINITION._serialized_end=5523
|
|
27
|
+
_FLOWSPECIFICATIONDEFINITION._serialized_start=5525
|
|
28
|
+
_FLOWSPECIFICATIONDEFINITION._serialized_end=5596
|
|
29
|
+
_FLOWVELOCITYINLETCREATIONREQUEST._serialized_start=146
|
|
30
|
+
_FLOWVELOCITYINLETCREATIONREQUEST._serialized_end=356
|
|
31
|
+
_FLOWVELOCITYINLETCREATIONRESPONSE._serialized_start=359
|
|
32
|
+
_FLOWVELOCITYINLETCREATIONRESPONSE._serialized_end=577
|
|
33
|
+
_FLOWVELOCITYOUTLETCREATIONREQUEST._serialized_start=580
|
|
34
|
+
_FLOWVELOCITYOUTLETCREATIONREQUEST._serialized_end=793
|
|
35
|
+
_FLOWVELOCITYOUTLETCREATIONRESPONSE._serialized_start=796
|
|
36
|
+
_FLOWVELOCITYOUTLETCREATIONRESPONSE._serialized_end=1016
|
|
37
|
+
_FLOWPRESSUREINLETCREATIONREQUEST._serialized_start=1019
|
|
38
|
+
_FLOWPRESSUREINLETCREATIONREQUEST._serialized_end=1229
|
|
39
|
+
_FLOWPRESSUREINLETCREATIONRESPONSE._serialized_start=1232
|
|
40
|
+
_FLOWPRESSUREINLETCREATIONRESPONSE._serialized_end=1450
|
|
41
|
+
_FLOWPRESSUREOUTLETCREATIONREQUEST._serialized_start=1453
|
|
42
|
+
_FLOWPRESSUREOUTLETCREATIONREQUEST._serialized_end=1666
|
|
43
|
+
_FLOWPRESSUREOUTLETCREATIONRESPONSE._serialized_start=1669
|
|
44
|
+
_FLOWPRESSUREOUTLETCREATIONRESPONSE._serialized_end=1889
|
|
45
|
+
_FLOWMASSFLOWINLETCREATIONREQUEST._serialized_start=1892
|
|
46
|
+
_FLOWMASSFLOWINLETCREATIONREQUEST._serialized_end=2103
|
|
47
|
+
_FLOWMASSFLOWINLETCREATIONRESPONSE._serialized_start=2106
|
|
48
|
+
_FLOWMASSFLOWINLETCREATIONRESPONSE._serialized_end=2324
|
|
49
|
+
_FLOWMASSFLOWOUTLETCREATIONREQUEST._serialized_start=2327
|
|
50
|
+
_FLOWMASSFLOWOUTLETCREATIONREQUEST._serialized_end=2541
|
|
51
|
+
_FLOWMASSFLOWOUTLETCREATIONRESPONSE._serialized_start=2544
|
|
52
|
+
_FLOWMASSFLOWOUTLETCREATIONRESPONSE._serialized_end=2764
|
|
53
|
+
_CHANGEFLOWSPECIFICATIONREQUEST._serialized_start=2767
|
|
54
|
+
_CHANGEFLOWSPECIFICATIONREQUEST._serialized_end=2921
|
|
55
|
+
_CHANGEFLOWDIRECTIONREQUEST._serialized_start=2924
|
|
56
|
+
_CHANGEFLOWDIRECTIONREQUEST._serialized_end=3100
|
|
57
|
+
_VELOCITYINLETPROPERTIES._serialized_start=3103
|
|
58
|
+
_VELOCITYINLETPROPERTIES._serialized_end=3360
|
|
59
|
+
_VELOCITYOUTLETPROPERTIES._serialized_start=3362
|
|
60
|
+
_VELOCITYOUTLETPROPERTIES._serialized_end=3437
|
|
61
|
+
_PRESSUREINLETPROPERTIES._serialized_start=3440
|
|
62
|
+
_PRESSUREINLETPROPERTIES._serialized_end=3619
|
|
63
|
+
_PRESSUREOUTLETPROPERTIES._serialized_start=3622
|
|
64
|
+
_PRESSUREOUTLETPROPERTIES._serialized_end=3802
|
|
65
|
+
_MASSFLOWINLETPROPERTIES._serialized_start=3805
|
|
66
|
+
_MASSFLOWINLETPROPERTIES._serialized_end=3985
|
|
67
|
+
_MASSFLOWOUTLETPROPERTIES._serialized_start=3987
|
|
68
|
+
_MASSFLOWOUTLETPROPERTIES._serialized_end=4066
|
|
69
|
+
_FLOWTHERMALPROPERTIES._serialized_start=4068
|
|
70
|
+
_FLOWTHERMALPROPERTIES._serialized_end=4166
|
|
71
|
+
_FLOWVELOCITYINLETDEFINITION._serialized_start=4169
|
|
72
|
+
_FLOWVELOCITYINLETDEFINITION._serialized_end=4383
|
|
73
|
+
_FLOWVELOCITYOUTLETDEFINITION._serialized_start=4386
|
|
74
|
+
_FLOWVELOCITYOUTLETDEFINITION._serialized_end=4603
|
|
75
|
+
_FLOWPRESSUREINLETDEFINITION._serialized_start=4606
|
|
76
|
+
_FLOWPRESSUREINLETDEFINITION._serialized_end=4820
|
|
77
|
+
_FLOWPRESSUREOUTLETDEFINITION._serialized_start=4823
|
|
78
|
+
_FLOWPRESSUREOUTLETDEFINITION._serialized_end=5040
|
|
79
|
+
_FLOWMASSFLOWINLETDEFINITION._serialized_start=5043
|
|
80
|
+
_FLOWMASSFLOWINLETDEFINITION._serialized_end=5258
|
|
81
|
+
_FLOWMASSFLOWOUTLETDEFINITION._serialized_start=5261
|
|
82
|
+
_FLOWMASSFLOWOUTLETDEFINITION._serialized_end=5479
|
|
83
|
+
_CONDITIONSFLUID._serialized_start=5599
|
|
84
|
+
_CONDITIONSFLUID._serialized_end=8584
|
|
85
|
+
# @@protoc_insertion_point(module_scope)
|