ansys-api-discovery 0.5.2__tar.gz → 0.6.0__tar.gz
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.
- {ansys_api_discovery-0.5.2/ansys_api_discovery.egg-info → ansys_api_discovery-0.6.0}/PKG-INFO +8 -8
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/README.md +2 -2
- ansys_api_discovery-0.6.0/ansys/api/discovery/VERSION +1 -0
- ansys_api_discovery-0.6.0/ansys/api/discovery/v0/conditions.proto +32 -0
- ansys_api_discovery-0.6.0/ansys/api/discovery/v0/conditionsfluid.proto +246 -0
- ansys_api_discovery-0.6.0/ansys/api/discovery/v0/conditionsstructural.proto +407 -0
- ansys_api_discovery-0.6.0/ansys/api/discovery/v0/conditionsthermal.proto +179 -0
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys/api/discovery/v0/definedvariationstable.proto +12 -0
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys/api/discovery/v0/discoverymodels.proto +91 -25
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys/api/discovery/v0/messaging.proto +0 -2
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys/api/discovery/v0/simulations.proto +0 -1
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys/api/discovery/v0/solution.proto +18 -2
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0/ansys_api_discovery.egg-info}/PKG-INFO +8 -8
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys_api_discovery.egg-info/SOURCES.txt +3 -0
- ansys_api_discovery-0.6.0/ansys_api_discovery.egg-info/requires.txt +3 -0
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/pyproject.toml +1 -1
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/setup.py +2 -2
- ansys_api_discovery-0.5.2/ansys/api/discovery/VERSION +0 -1
- ansys_api_discovery-0.5.2/ansys/api/discovery/v0/conditions.proto +0 -67
- ansys_api_discovery-0.5.2/ansys_api_discovery.egg-info/requires.txt +0 -3
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/LICENSE +0 -0
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys/api/discovery/__init__.py +0 -0
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys/api/discovery/py.typed +0 -0
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys/api/discovery/v0/__init__.py +0 -0
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys/api/discovery/v0/historytrackparameters.proto +0 -0
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys/api/discovery/v0/scriptparameters.proto +0 -0
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys/api/discovery/v0/units.proto +0 -0
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys_api_discovery.egg-info/dependency_links.txt +0 -0
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys_api_discovery.egg-info/entry_points.txt +0 -0
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys_api_discovery.egg-info/top_level.txt +0 -0
- {ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/setup.cfg +0 -0
{ansys_api_discovery-0.5.2/ansys_api_discovery.egg-info → ansys_api_discovery-0.6.0}/PKG-INFO
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ansys-api-discovery
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on
|
|
3
|
+
Version: 0.6.0
|
|
4
|
+
Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on 07:41:21 on 09 October 2024
|
|
5
5
|
Home-page: https://github.com/ansys/ansys-api-discovery
|
|
6
6
|
Author: ANSYS, Inc.
|
|
7
7
|
Author-email: support@ansys.com
|
|
8
8
|
License: MIT
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.10
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
License-File: LICENSE
|
|
12
|
-
Requires-Dist: grpcio~=1.
|
|
13
|
-
Requires-Dist: protobuf<
|
|
14
|
-
Requires-Dist: ansys-api-
|
|
12
|
+
Requires-Dist: grpcio~=1.44
|
|
13
|
+
Requires-Dist: protobuf<6,>=3.19
|
|
14
|
+
Requires-Dist: ansys-api-geometry==0.4.10
|
|
15
15
|
|
|
16
16
|
### ansys-api-discovery gRPC Interface Package
|
|
17
17
|
|
|
@@ -68,9 +68,9 @@ these are built on PRs, the main branch, and on tags when pushing. Artifacts
|
|
|
68
68
|
are uploaded for each PR.
|
|
69
69
|
|
|
70
70
|
To publicly release wheels to PyPI, ensure your branch is up-to-date and then
|
|
71
|
-
push tags. For example, for the version ``v0.5.
|
|
71
|
+
push tags. For example, for the version ``v0.5.0``.
|
|
72
72
|
|
|
73
73
|
```bash
|
|
74
|
-
git tag v0.5.
|
|
74
|
+
git tag v0.5.0
|
|
75
75
|
git push --tags
|
|
76
76
|
```
|
|
@@ -53,9 +53,9 @@ these are built on PRs, the main branch, and on tags when pushing. Artifacts
|
|
|
53
53
|
are uploaded for each PR.
|
|
54
54
|
|
|
55
55
|
To publicly release wheels to PyPI, ensure your branch is up-to-date and then
|
|
56
|
-
push tags. For example, for the version ``v0.5.
|
|
56
|
+
push tags. For example, for the version ``v0.5.0``.
|
|
57
57
|
|
|
58
58
|
```bash
|
|
59
|
-
git tag v0.5.
|
|
59
|
+
git tag v0.5.0
|
|
60
60
|
git push --tags
|
|
61
61
|
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.6.0
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.conditions;
|
|
4
|
+
|
|
5
|
+
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
6
|
+
|
|
7
|
+
option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
|
|
8
|
+
|
|
9
|
+
service Conditions
|
|
10
|
+
{
|
|
11
|
+
//General condition methods
|
|
12
|
+
rpc DeleteCondition(DeleteConditionRequest) returns (ConditionChangedResponse);
|
|
13
|
+
|
|
14
|
+
rpc ChangeConditionSuppressionState(ChangeConditionSuppressionStateRequest) returns (ConditionChangedResponse);
|
|
15
|
+
|
|
16
|
+
rpc ChangeConditionName(ChangeConditionNameRequest) returns (ConditionChangedResponse);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
//General Requests
|
|
20
|
+
message DeleteConditionRequest{
|
|
21
|
+
string object_id = 1;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
message ChangeConditionSuppressionStateRequest{
|
|
25
|
+
string object_id = 1;
|
|
26
|
+
bool is_suppressed = 2;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
message ChangeConditionNameRequest{
|
|
30
|
+
string object_id = 1;
|
|
31
|
+
string new_name = 2;
|
|
32
|
+
}
|
|
@@ -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,407 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.conditions.conditionsstructural;
|
|
4
|
+
|
|
5
|
+
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
6
|
+
|
|
7
|
+
option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions.ConditionsStructural";
|
|
8
|
+
|
|
9
|
+
service ConditionsStructural
|
|
10
|
+
{
|
|
11
|
+
//Support condition methods
|
|
12
|
+
rpc CreateSupportFixed(SupportGeneralCreationRequest) returns (SupportGeneralCreationResponse);
|
|
13
|
+
rpc CreateSupportHinged(SupportGeneralCreationRequest) returns (SupportGeneralCreationResponse);
|
|
14
|
+
rpc CreateSupportSliding(SupportGeneralCreationRequest) returns (SupportGeneralCreationResponse);
|
|
15
|
+
rpc CreateSupportBall(SupportGeneralCreationRequest) returns (SupportGeneralCreationResponse);
|
|
16
|
+
rpc CreateSupportDisplaced(SupportDisplacedCreationRequest) returns (SupportDisplacedCreationResponse);
|
|
17
|
+
|
|
18
|
+
rpc ChangeSupportLocation(ChangeLocationRequest) returns(ConditionChangedResponse);
|
|
19
|
+
|
|
20
|
+
rpc ChangeSupportSpecification(ChangeSupportSpecificationRequest) returns(ConditionChangedResponse);
|
|
21
|
+
|
|
22
|
+
rpc ChangeSupportDisplacedOrientation(ChangeDirectionRequest) returns(ConditionChangedResponse);
|
|
23
|
+
|
|
24
|
+
rpc ChangeSupportDisplacedDX(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
25
|
+
rpc ChangeSupportDisplacedDY(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
26
|
+
rpc ChangeSupportDisplacedDZ(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
27
|
+
rpc ChangeSupportDisplacedRX(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
28
|
+
rpc ChangeSupportDisplacedRY(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
29
|
+
rpc ChangeSupportDisplacedRZ(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
30
|
+
|
|
31
|
+
rpc ChangeSupportDisplacedIsFixedDX(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
32
|
+
rpc ChangeSupportDisplacedIsFixedDY(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
33
|
+
rpc ChangeSupportDisplacedIsFixedDZ(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
34
|
+
rpc ChangeSupportDisplacedIsFixedRX(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
35
|
+
rpc ChangeSupportDisplacedIsFixedRY(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
36
|
+
rpc ChangeSupportDisplacedIsFixedRZ(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
37
|
+
|
|
38
|
+
//Force condition methods
|
|
39
|
+
|
|
40
|
+
rpc CreateForceDistributedTotal(ForceDistributedTotalCreationRequest) returns (ForceDistributedTotalCreationResponse);
|
|
41
|
+
|
|
42
|
+
rpc CreateForceDistributedArea(ForceDistributedAreaCreationRequest) returns (ForceDistributedAreaCreationResponse);
|
|
43
|
+
|
|
44
|
+
rpc CreateForceTorque(ForceTorqueCreationRequest) returns (ForceTorqueCreationResponse);
|
|
45
|
+
|
|
46
|
+
rpc ChangeForceLocation(ChangeLocationRequest) returns(ConditionChangedResponse);
|
|
47
|
+
|
|
48
|
+
rpc ChangeForceSpecification(ChangeForceSpecificationRequest) returns (ConditionChangedResponse);
|
|
49
|
+
rpc ChangeForceMagnitudeDefinition(ChangeForceMagnitudeDefinitionRequest) returns (ConditionChangedResponse);
|
|
50
|
+
rpc ChangeForceByReversingDirection(ChangeCommandRequest) returns (ConditionChangedResponse);
|
|
51
|
+
|
|
52
|
+
rpc ChangeForceDefinedByComponentEnabled(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
53
|
+
|
|
54
|
+
rpc ChangeForceDistributedTotalMagnitude(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
55
|
+
rpc ChangeForceDistributedTotalX(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
56
|
+
rpc ChangeForceDistributedTotalY(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
57
|
+
rpc ChangeForceDistributedTotalZ(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
58
|
+
|
|
59
|
+
rpc ChangeForceDistributedAreaMagnitude(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
60
|
+
rpc ChangeForceDistributedAreaX(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
61
|
+
rpc ChangeForceDistributedAreaY(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
62
|
+
rpc ChangeForceDistributedAreaZ(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
63
|
+
|
|
64
|
+
rpc ChangeForceUseRemoteForceEnabled(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
65
|
+
rpc ChangeForceDistributedRemotePositionX(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
66
|
+
rpc ChangeForceDistributedRemotePositionY(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
67
|
+
rpc ChangeForceDistributedRemotePositionZ(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
68
|
+
|
|
69
|
+
rpc ChangeForceTorqueMagnitude(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
70
|
+
rpc ChangeForceTorqueX(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
71
|
+
rpc ChangeForceTorqueY(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
72
|
+
rpc ChangeForceTorqueZ(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
73
|
+
|
|
74
|
+
//Pressure condition methods
|
|
75
|
+
rpc CreatePressure(PressureCreationRequest) returns (PressureCreationResponse);
|
|
76
|
+
|
|
77
|
+
rpc ChangePressureLocation(ChangeLocationRequest) returns(ConditionChangedResponse);
|
|
78
|
+
|
|
79
|
+
rpc ChangePressureMagnitude(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
//Displacement condition methods
|
|
83
|
+
rpc CreateDisplacementTranslation(DisplacementTranslationCreationRequest) returns (DisplacementCreationResponse);
|
|
84
|
+
rpc CreateDisplacementRotation(DisplacementRotationCreationRequest) returns (DisplacementCreationResponse);
|
|
85
|
+
rpc CreateDisplacementCombined(DisplacementCombinedCreationRequest) returns (DisplacementCreationResponse);
|
|
86
|
+
|
|
87
|
+
rpc ChangeDisplacementLocation(ChangeLocationRequest) returns(ConditionChangedResponse);
|
|
88
|
+
|
|
89
|
+
rpc ChangeDisplacementSpecification(ChangeDisplacementSpecificationRequest) returns(ConditionChangedResponse);
|
|
90
|
+
rpc ChangeDisplacementOrientation(ChangeDirectionRequest) returns(ConditionChangedResponse);
|
|
91
|
+
|
|
92
|
+
rpc ChangeDisplacementDX(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
93
|
+
rpc ChangeDisplacementDY(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
94
|
+
rpc ChangeDisplacementDZ(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
95
|
+
rpc ChangeDisplacementTranslationalMagnitude(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
96
|
+
|
|
97
|
+
rpc ChangeDisplacementRX(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
98
|
+
rpc ChangeDisplacementRY(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
99
|
+
rpc ChangeDisplacementRZ(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
100
|
+
rpc ChangeDisplacementRotationalMagnitude(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
101
|
+
|
|
102
|
+
rpc ChangeDisplacementIsFixedDX(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
103
|
+
rpc ChangeDisplacementIsFixedDY(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
104
|
+
rpc ChangeDisplacementIsFixedDZ(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
105
|
+
|
|
106
|
+
rpc ChangeDisplacementIsFixedRX(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
107
|
+
rpc ChangeDisplacementIsFixedRY(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
108
|
+
rpc ChangeDisplacementIsFixedRZ(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
109
|
+
|
|
110
|
+
rpc ChangeDisplacementUseRemotePointEnabled(ChangeBooleanRequest) returns (ConditionChangedResponse);
|
|
111
|
+
rpc ChangeDisplacementDistributedRemotePositionX(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
112
|
+
rpc ChangeDisplacementDistributedRemotePositionY(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
113
|
+
rpc ChangeDisplacementDistributedRemotePositionZ(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
//Moment condition methods
|
|
117
|
+
rpc CreateMomentLocal(MomentCreationRequest) returns (MomentCreationResponse);
|
|
118
|
+
rpc CreateMomentGlobal(MomentCreationRequest) returns (MomentCreationResponse);
|
|
119
|
+
|
|
120
|
+
rpc ChangeMomentLocation(ChangeLocationRequest) returns(ConditionChangedResponse);
|
|
121
|
+
|
|
122
|
+
rpc ChangeMomentSpecification(ChangeMomentSpecificationRequest) returns(ConditionChangedResponse);
|
|
123
|
+
rpc ChangeMomentOrientation(ChangeDirectionRequest) returns(ConditionChangedResponse);
|
|
124
|
+
|
|
125
|
+
rpc ChangeMomentLocalX(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
126
|
+
rpc ChangeMomentLocalY(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
127
|
+
rpc ChangeMomentLocalZ(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
128
|
+
|
|
129
|
+
rpc ChangeMomentGlobalX(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
130
|
+
rpc ChangeMomentGlobalY(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
131
|
+
rpc ChangeMomentGlobalZ(ChangeQuantityRequest) returns (ConditionChangedResponse);
|
|
132
|
+
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
// Command requests and responses
|
|
137
|
+
|
|
138
|
+
// Support
|
|
139
|
+
message ChangeSupportSpecificationRequest{
|
|
140
|
+
string object_id = 1;
|
|
141
|
+
SupportSpecification support_specification = 2;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
message SupportGeneralCreationRequest{
|
|
145
|
+
ScopedConditionCreationData creation_data = 1;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
message SupportGeneralCreationResponse{
|
|
149
|
+
ConditionCreationResponse condition_response = 1;
|
|
150
|
+
SupportGeneralDefinition condition_data = 2;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
message SupportDisplacedCreationRequest{
|
|
154
|
+
ScopedConditionCreationData creation_data = 1;
|
|
155
|
+
SupportDisplacedProperties support_displaced = 2;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
message SupportDisplacedCreationResponse{
|
|
159
|
+
ConditionCreationResponse condition_response = 1;
|
|
160
|
+
SupportDisplacedDefinition condition_data = 2;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
// Force
|
|
165
|
+
message ChangeForceSpecificationRequest{
|
|
166
|
+
string object_id = 1;
|
|
167
|
+
ForceSpecification force_specification = 2;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
message ChangeForceMagnitudeDefinitionRequest{
|
|
171
|
+
string object_id = 1;
|
|
172
|
+
ForceMagnitudeDefinition force_magnitude_definition = 2;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
message ForceDistributedTotalCreationRequest{
|
|
176
|
+
ScopedConditionCreationData creation_data = 1;
|
|
177
|
+
ForceDistributedProperties force_properties = 2;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
message ForceDistributedTotalCreationResponse{
|
|
181
|
+
ConditionCreationResponse condition_response = 1;
|
|
182
|
+
ForceDistributedDefinition condition_data = 2;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
message ForceDistributedAreaCreationRequest{
|
|
186
|
+
ScopedConditionCreationData creation_data = 1;
|
|
187
|
+
ForceDistributedProperties force_properties = 2;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
message ForceDistributedAreaCreationResponse{
|
|
191
|
+
ConditionCreationResponse condition_response = 1;
|
|
192
|
+
ForceDistributedDefinition condition_data = 2;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
message ForceTorqueCreationRequest{
|
|
196
|
+
ScopedConditionCreationData creation_data = 1;
|
|
197
|
+
ForceTorqueProperties force_properties = 2;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
message ForceTorqueCreationResponse{
|
|
201
|
+
ConditionCreationResponse condition_response = 1;
|
|
202
|
+
ForceTorqueDefinition condition_data = 2;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
// Pressure
|
|
206
|
+
message PressureCreationRequest{
|
|
207
|
+
ScopedConditionCreationData creation_data = 1;
|
|
208
|
+
PressureProperties pressure_properties = 2;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
message PressureCreationResponse{
|
|
212
|
+
ConditionCreationResponse condition_response = 1;
|
|
213
|
+
PressureDefinition condition_data = 2;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// Displacement
|
|
217
|
+
message DisplacementTranslationCreationRequest{
|
|
218
|
+
ScopedConditionCreationData creation_data = 1;
|
|
219
|
+
DisplacementTranslationProperties displacement_properties = 2;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
message DisplacementRotationCreationRequest{
|
|
223
|
+
ScopedConditionCreationData creation_data = 1;
|
|
224
|
+
DisplacementRotationProperties displacement_properties = 2;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
message DisplacementCombinedCreationRequest{
|
|
228
|
+
ScopedConditionCreationData creation_data = 1;
|
|
229
|
+
DisplacementCombinedProperties displacement_properties = 2;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
message DisplacementCreationResponse{
|
|
233
|
+
ConditionCreationResponse condition_response = 1;
|
|
234
|
+
DisplacementDefinition condition_data = 2;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
message ChangeDisplacementSpecificationRequest{
|
|
238
|
+
string object_id = 1;
|
|
239
|
+
DisplacementSpecification displacement_specification = 2;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
// Moment
|
|
243
|
+
message MomentCreationRequest{
|
|
244
|
+
ScopedConditionCreationData creation_data = 1;
|
|
245
|
+
MomentProperties moment_properties = 2;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
message MomentCreationResponse{
|
|
249
|
+
ConditionCreationResponse condition_response = 1;
|
|
250
|
+
MomentDefinition condition_data = 2;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
message ChangeMomentSpecificationRequest{
|
|
254
|
+
string object_id = 1;
|
|
255
|
+
MomentSpecification moment_specification = 2;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
// Support enumerations
|
|
260
|
+
|
|
261
|
+
enum SupportSpecification {
|
|
262
|
+
FIXED = 0;
|
|
263
|
+
SLIDING = 1;
|
|
264
|
+
HINGED = 2;
|
|
265
|
+
BALL = 3;
|
|
266
|
+
DISPLACED = 4;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
// Support condition definitions
|
|
270
|
+
|
|
271
|
+
message SupportGeneralDefinition {
|
|
272
|
+
string id = 1;
|
|
273
|
+
string parent_id = 2;
|
|
274
|
+
string label = 3;
|
|
275
|
+
repeated string locations = 4;
|
|
276
|
+
bool suppressed = 5;
|
|
277
|
+
SupportSpecification support_type = 6;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
message SupportDisplacedDefinition {
|
|
281
|
+
string id = 1;
|
|
282
|
+
string parent_id = 2;
|
|
283
|
+
string label = 3;
|
|
284
|
+
repeated string locations = 4;
|
|
285
|
+
bool suppressed = 5;
|
|
286
|
+
SupportSpecification support_type = 6;
|
|
287
|
+
TensorOfOptionalQuantities displacement = 7;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
message SupportDisplacedProperties {
|
|
291
|
+
TensorOfOptionalQuantities displacement = 1;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
// force enumerations
|
|
295
|
+
|
|
296
|
+
enum ForceMagnitudeDefinition {
|
|
297
|
+
TOTALFORCE = 0;
|
|
298
|
+
FORCEPERAREA = 1;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
enum ForceSpecification {
|
|
302
|
+
DISTRIBUTED = 0;
|
|
303
|
+
TORQUE = 1;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
// force condition definitions
|
|
307
|
+
|
|
308
|
+
message ForceDistributedDefinition {
|
|
309
|
+
string id = 1;
|
|
310
|
+
string parent_id = 2;
|
|
311
|
+
string label = 3;
|
|
312
|
+
repeated string locations = 4;
|
|
313
|
+
bool suppressed = 5;
|
|
314
|
+
ForceDistributedProperties force_distributed = 6;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
message ForceDistributedProperties {
|
|
318
|
+
Quantity force = 1;
|
|
319
|
+
OptionalVector force_components = 2;
|
|
320
|
+
OptionalVector remote_point = 3;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
message ForceTorqueDefinition {
|
|
324
|
+
string id = 1;
|
|
325
|
+
string parent_id = 2;
|
|
326
|
+
string label = 3;
|
|
327
|
+
repeated string locations = 4;
|
|
328
|
+
bool suppressed = 5;
|
|
329
|
+
ForceTorqueProperties force_torque = 6;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
message ForceTorqueProperties {
|
|
333
|
+
Quantity force = 1;
|
|
334
|
+
OptionalVector force_components = 2;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
// Pressure condition definitions
|
|
338
|
+
message PressureProperties {
|
|
339
|
+
Quantity pressure_magnitude = 1;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
message PressureDefinition {
|
|
343
|
+
string id = 1;
|
|
344
|
+
string parent_id = 2;
|
|
345
|
+
string label = 3;
|
|
346
|
+
repeated string locations = 4;
|
|
347
|
+
bool suppressed = 5;
|
|
348
|
+
PressureProperties pressure = 6;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
// Displacement enumerations
|
|
352
|
+
|
|
353
|
+
enum DisplacementSpecification {
|
|
354
|
+
TRANSLATION = 0;
|
|
355
|
+
ROTATION = 1;
|
|
356
|
+
COMBINED = 2;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
// Displacement condition definitions
|
|
360
|
+
|
|
361
|
+
message DisplacementTranslationProperties {
|
|
362
|
+
VectorOfOptionalQuantities displacement = 1;
|
|
363
|
+
OptionalVector remote_point = 2;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
message DisplacementRotationProperties {
|
|
367
|
+
VectorOfOptionalQuantities rotation = 1;
|
|
368
|
+
OptionalVector remote_point = 2;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
message DisplacementCombinedProperties {
|
|
372
|
+
VectorOfOptionalQuantities displacement = 1;
|
|
373
|
+
VectorOfOptionalQuantities rotation = 2;
|
|
374
|
+
OptionalVector remote_point = 3;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
message DisplacementDefinition {
|
|
378
|
+
string id = 1;
|
|
379
|
+
string parent_id = 2;
|
|
380
|
+
string label = 3;
|
|
381
|
+
repeated string locations = 4;
|
|
382
|
+
bool suppressed = 5;
|
|
383
|
+
DisplacementCombinedProperties displacement = 6;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
// Displacement enumerations
|
|
387
|
+
|
|
388
|
+
enum MomentSpecification {
|
|
389
|
+
GLOBAL = 0;
|
|
390
|
+
LOCAL = 1;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
// Displacement condition definitions
|
|
394
|
+
|
|
395
|
+
message MomentProperties {
|
|
396
|
+
QuantityVector moment = 1;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
message MomentDefinition {
|
|
400
|
+
string id = 1;
|
|
401
|
+
string parent_id = 2;
|
|
402
|
+
string label = 3;
|
|
403
|
+
repeated string locations = 4;
|
|
404
|
+
bool suppressed = 5;
|
|
405
|
+
MomentProperties local = 6;
|
|
406
|
+
MomentProperties global = 7;
|
|
407
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.conditions.conditionsthermal;
|
|
4
|
+
|
|
5
|
+
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
6
|
+
|
|
7
|
+
option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions.ConditionsThermal";
|
|
8
|
+
|
|
9
|
+
service ConditionsThermal
|
|
10
|
+
{
|
|
11
|
+
//Heat condition methods
|
|
12
|
+
rpc CreateHeatVolumetricTotal(HeatCreationRequest) returns (HeatTotalCreationResponse);
|
|
13
|
+
|
|
14
|
+
rpc CreateHeatVolumetricDistributed(HeatCreationRequest) returns (HeatVolumetricDistributedCreationResponse);
|
|
15
|
+
|
|
16
|
+
rpc CreateHeatSurfaceTotal(HeatCreationRequest) returns (HeatTotalCreationResponse);
|
|
17
|
+
|
|
18
|
+
rpc CreateHeatSurfaceDistributed(HeatCreationRequest) returns (HeatSurfaceDistributedCreationResponse);
|
|
19
|
+
|
|
20
|
+
rpc ChangeHeatLocation(ChangeLocationExtendedRequest) returns(ConditionChangedResponse);
|
|
21
|
+
|
|
22
|
+
rpc ChangeTotalHeat(ChangeQuantityRequest) returns(ConditionChangedResponse);
|
|
23
|
+
|
|
24
|
+
rpc ChangeHeatPerUnitVolume(ChangeQuantityRequest) returns(ConditionChangedResponse);
|
|
25
|
+
|
|
26
|
+
rpc ChangeHeatPerUnitArea(ChangeQuantityRequest) returns(ConditionChangedResponse);
|
|
27
|
+
|
|
28
|
+
rpc ChangeHeatSpecification(ChangeHeatSpecificationRequest) returns(ConditionChangedResponse);
|
|
29
|
+
|
|
30
|
+
//Temperature condition methods
|
|
31
|
+
rpc CreateTemperatureVolumetric(TemperatureCreationRequest) returns (TemperatureCreationResponse);
|
|
32
|
+
|
|
33
|
+
rpc CreateTemperatureSurface(TemperatureCreationRequest) returns (TemperatureCreationResponse);
|
|
34
|
+
|
|
35
|
+
rpc ChangeTemperatureLocation(ChangeLocationExtendedRequest) returns(ConditionChangedResponse);
|
|
36
|
+
|
|
37
|
+
rpc ChangeTemperatureMagnitude(ChangeQuantityRequest) returns(ConditionChangedResponse);
|
|
38
|
+
|
|
39
|
+
//Insulated condition methods
|
|
40
|
+
rpc CreateInsulated(InsulatedCreationRequest) returns (InsulatedCreationResponse);
|
|
41
|
+
|
|
42
|
+
rpc ChangeInsulatedLocation(ChangeLocationRequest) returns(ConditionChangedResponse);
|
|
43
|
+
|
|
44
|
+
// Convection condition methods
|
|
45
|
+
rpc CreateConvection(ConvectionCreationRequest) returns (ConvectionCreationResponse);
|
|
46
|
+
|
|
47
|
+
rpc ChangeConvectionLocation(ChangeLocationRequest) returns(ConditionChangedResponse);
|
|
48
|
+
|
|
49
|
+
rpc ChangeConvectionCoefficientMagnitude(ChangeQuantityRequest) returns(ConditionChangedResponse);
|
|
50
|
+
|
|
51
|
+
rpc ChangeConvectionTemperatureMagnitude(ChangeQuantityRequest) returns(ConditionChangedResponse);
|
|
52
|
+
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Command requests and responses
|
|
56
|
+
|
|
57
|
+
// Heat
|
|
58
|
+
message ChangeHeatSpecificationRequest{
|
|
59
|
+
string object_id = 1;
|
|
60
|
+
HeatSpecification heat_specification = 2;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
message HeatCreationRequest{
|
|
64
|
+
ScopedConditionCreationData creation_data = 1;
|
|
65
|
+
Quantity heat = 2;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
message HeatTotalCreationResponse{
|
|
69
|
+
ConditionCreationResponse condition_response = 1;
|
|
70
|
+
HeatTotalDefinition condition_data = 2;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
message HeatVolumetricDistributedCreationResponse{
|
|
74
|
+
ConditionCreationResponse condition_response = 1;
|
|
75
|
+
HeatPerVolumeDefinition condition_data = 2;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
message HeatSurfaceDistributedCreationResponse{
|
|
79
|
+
ConditionCreationResponse condition_response = 1;
|
|
80
|
+
HeatPerAreaDefinition condition_data = 2;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// Temperature
|
|
84
|
+
message TemperatureCreationRequest{
|
|
85
|
+
ScopedConditionCreationData creation_data = 1;
|
|
86
|
+
Quantity temperature = 2;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
message TemperatureCreationResponse{
|
|
90
|
+
ConditionCreationResponse condition_response = 1;
|
|
91
|
+
TemperatureDefinition condition_data = 2;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// Insulated
|
|
95
|
+
message InsulatedCreationRequest{
|
|
96
|
+
ScopedConditionCreationData creation_data = 1;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
message InsulatedCreationResponse{
|
|
100
|
+
ConditionCreationResponse condition_response = 1;
|
|
101
|
+
InsulatedDefinition condition_data = 2;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// Convection
|
|
105
|
+
message ConvectionCreationRequest{
|
|
106
|
+
ScopedConditionCreationData creation_data = 1;
|
|
107
|
+
Quantity coefficient = 2;
|
|
108
|
+
Quantity temperature = 3;
|
|
109
|
+
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
message ConvectionCreationResponse{
|
|
113
|
+
ConditionCreationResponse condition_response = 1;
|
|
114
|
+
ConvectionDefinition condition_data = 2;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
// Thermal enumerations
|
|
119
|
+
|
|
120
|
+
enum HeatSpecification {
|
|
121
|
+
TOTALHEAT = 0;
|
|
122
|
+
HEATPERUNITVOLUMEORAREA = 1;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// Thermal condition definitions
|
|
126
|
+
|
|
127
|
+
message HeatTotalDefinition {
|
|
128
|
+
string id = 1;
|
|
129
|
+
string parent_id = 2;
|
|
130
|
+
string label = 3;
|
|
131
|
+
repeated string locations = 4;
|
|
132
|
+
bool suppressed = 5;
|
|
133
|
+
Quantity total_heat = 7;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
message HeatPerAreaDefinition {
|
|
137
|
+
string id = 1;
|
|
138
|
+
string parent_id = 2;
|
|
139
|
+
string label = 3;
|
|
140
|
+
repeated string locations = 4;
|
|
141
|
+
bool suppressed = 5;
|
|
142
|
+
Quantity heat_per_unitarea = 6;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
message HeatPerVolumeDefinition {
|
|
146
|
+
string id = 1;
|
|
147
|
+
string parent_id = 2;
|
|
148
|
+
string label = 3;
|
|
149
|
+
repeated string locations = 4;
|
|
150
|
+
bool suppressed = 5;
|
|
151
|
+
Quantity heat_per_unitvolume = 6;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
message TemperatureDefinition {
|
|
155
|
+
string id = 1;
|
|
156
|
+
string parent_id = 2;
|
|
157
|
+
string label = 3;
|
|
158
|
+
repeated string locations = 4;
|
|
159
|
+
bool suppressed = 5;
|
|
160
|
+
Quantity magnitude = 6;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
message InsulatedDefinition {
|
|
164
|
+
string id = 1;
|
|
165
|
+
string parent_id = 2;
|
|
166
|
+
string label = 3;
|
|
167
|
+
repeated string locations = 4;
|
|
168
|
+
bool suppressed = 5;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
message ConvectionDefinition {
|
|
172
|
+
string id = 1;
|
|
173
|
+
string parent_id = 2;
|
|
174
|
+
string label = 3;
|
|
175
|
+
repeated string locations = 4;
|
|
176
|
+
bool suppressed = 5;
|
|
177
|
+
Quantity coefficient = 6;
|
|
178
|
+
Quantity temperature = 7;
|
|
179
|
+
}
|
|
@@ -42,6 +42,12 @@ service DefinedVariationsTable{
|
|
|
42
42
|
// Get a variation output table's column
|
|
43
43
|
rpc GetOutputColumn(GetOutputColumnRequest) returns(GetOutputColumnResponse);
|
|
44
44
|
|
|
45
|
+
// Get the current variation from the design table
|
|
46
|
+
rpc GetCurrentVariation(google.protobuf.Empty) returns(GetCurrentVariationResponse);
|
|
47
|
+
|
|
48
|
+
// Set the current variation from the design table
|
|
49
|
+
rpc SetCurrentVariation(ansys.api.dbu.v0.EntityIdentifier) returns(MessageResponse);
|
|
50
|
+
|
|
45
51
|
// Set a star status for a variations list.
|
|
46
52
|
rpc SetStarredStatus(SetStarredStatusRequest) returns(google.protobuf.Empty) ;
|
|
47
53
|
|
|
@@ -121,6 +127,12 @@ message SetStarredStatusRequest{
|
|
|
121
127
|
bool starred = 2;
|
|
122
128
|
}
|
|
123
129
|
|
|
130
|
+
message GetCurrentVariationResponse{
|
|
131
|
+
// The variation's moniker.
|
|
132
|
+
string variation_moniker = 1;
|
|
133
|
+
string message = 2;
|
|
134
|
+
}
|
|
135
|
+
|
|
124
136
|
///UPDATES
|
|
125
137
|
//
|
|
126
138
|
|
{ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys/api/discovery/v0/discoverymodels.proto
RENAMED
|
@@ -3,6 +3,7 @@ syntax = "proto3";
|
|
|
3
3
|
package ansys.api.discovery.v0;
|
|
4
4
|
|
|
5
5
|
import "ansys/api/dbu/v0/dbumodels.proto";
|
|
6
|
+
import "ansys/api/geometry/v0/models.proto";
|
|
6
7
|
|
|
7
8
|
option csharp_namespace = "Ansys.Api.Discovery.V0";
|
|
8
9
|
|
|
@@ -91,45 +92,109 @@ message Simulation {
|
|
|
91
92
|
string id = 1;
|
|
92
93
|
string label = 2;
|
|
93
94
|
}
|
|
94
|
-
//
|
|
95
|
-
// CONDITIONS PROTOS
|
|
96
|
-
//
|
|
97
95
|
|
|
98
|
-
//
|
|
99
|
-
|
|
96
|
+
// General Requests
|
|
97
|
+
|
|
98
|
+
message ChangeLocationRequest{
|
|
99
|
+
string object_id = 1;
|
|
100
|
+
repeated string locations = 2;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
//enables the type of location to be changed as well as the scope. Only supported for specific condition types
|
|
104
|
+
message ChangeLocationExtendedRequest
|
|
105
|
+
{
|
|
106
|
+
ChangeLocationRequest change_location_request = 1;
|
|
107
|
+
LocationSpecification location_specification = 2;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
message ChangeQuantityRequest{
|
|
111
|
+
string object_id = 1;
|
|
112
|
+
Quantity quantity = 2;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
message ChangeBooleanRequest{
|
|
116
|
+
string object_id = 1;
|
|
117
|
+
bool boolean_value = 2;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
message ChangeDirectionRequest{
|
|
121
|
+
string object_id = 1;
|
|
122
|
+
ansys.api.geometry.v0.Direction direction = 2;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
message ChangeCommandRequest{
|
|
126
|
+
string object_id = 1;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
message ScopedConditionCreationData{
|
|
130
|
+
optional string object_id = 1;
|
|
131
|
+
string simulation_id = 2;
|
|
132
|
+
repeated string locations = 3;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// General Responses
|
|
100
136
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
HEATPERUNITVOLUMEORAREA = 1;
|
|
137
|
+
message ConditionChangedResponse{
|
|
138
|
+
bool success = 1;
|
|
139
|
+
string message = 2;
|
|
105
140
|
}
|
|
106
141
|
|
|
107
|
-
|
|
142
|
+
message ConditionCreationResponse{
|
|
143
|
+
bool success = 1;
|
|
144
|
+
string message = 2;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
message MessageResponse{
|
|
148
|
+
string message = 1;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// Defines the type of location, some conditions support application to either bodies and faces
|
|
108
152
|
enum LocationSpecification {
|
|
109
153
|
FACELOCATIONS = 0;
|
|
110
154
|
BODYLOCATIONS = 1;
|
|
111
155
|
}
|
|
112
156
|
|
|
113
|
-
//
|
|
114
|
-
message Heat {
|
|
115
|
-
string id = 1;
|
|
116
|
-
string parentid = 2;
|
|
117
|
-
string label = 3;
|
|
118
|
-
repeated string locations = 4;
|
|
119
|
-
bool suppressed = 5;
|
|
120
|
-
HeatSpecification heat_specifcation = 6;
|
|
121
|
-
Quantity total_heat = 7;
|
|
122
|
-
Quantity heat_per_unitvolume = 8;
|
|
123
|
-
Quantity heat_per_unitarea = 9;
|
|
124
|
-
}
|
|
125
|
-
|
|
157
|
+
// Quantity Data
|
|
126
158
|
message Quantity {
|
|
127
|
-
QuantityType quantity_type = 1;
|
|
159
|
+
QuantityType quantity_type = 1; //not required in cases where the usage context defines the quantity type
|
|
128
160
|
double quantity_value = 2;
|
|
129
161
|
int32 unit = 3;
|
|
130
|
-
string unit_abbreviation = 4;
|
|
162
|
+
string unit_abbreviation = 4; //not required in cases where the usage context defines the abbreviation
|
|
163
|
+
string as_string = 5; //Optional, but if not empty, all other properties will be defaulted from it.
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
message QuantityVector {
|
|
167
|
+
Quantity x = 1;
|
|
168
|
+
Quantity y = 2;
|
|
169
|
+
Quantity z = 3;
|
|
131
170
|
}
|
|
132
171
|
|
|
172
|
+
message OptionalVector {
|
|
173
|
+
bool is_defined = 1;
|
|
174
|
+
QuantityVector vector = 2;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
message OptionalQuantity{
|
|
178
|
+
bool is_defined = 1;
|
|
179
|
+
Quantity quantity = 2;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
message TensorOfOptionalQuantities{
|
|
183
|
+
OptionalQuantity dx = 1;
|
|
184
|
+
OptionalQuantity dy = 2;
|
|
185
|
+
OptionalQuantity dz = 3;
|
|
186
|
+
OptionalQuantity rx = 4;
|
|
187
|
+
OptionalQuantity ry = 5;
|
|
188
|
+
OptionalQuantity rz = 6;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
message VectorOfOptionalQuantities{
|
|
192
|
+
OptionalQuantity x = 1;
|
|
193
|
+
OptionalQuantity y = 2;
|
|
194
|
+
OptionalQuantity z = 3;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
|
|
133
198
|
// Represents the quantity type for a physics parameter.
|
|
134
199
|
enum QuantityType {
|
|
135
200
|
QUANTITY_TYPE_ACCELERATION=0;
|
|
@@ -213,4 +278,5 @@ enum QuantityType {
|
|
|
213
278
|
QUANTITY_TYPE_VOLUME_PER_LENGTH=78;
|
|
214
279
|
QUANTITY_TYPE_WARPING_MOMENT_OF_INERTIA=79;
|
|
215
280
|
QUANTITY_TYPE_NONE=80;
|
|
281
|
+
QUANTITY_TYPE_UNKNOWN = 81;
|
|
216
282
|
}
|
{ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys/api/discovery/v0/messaging.proto
RENAMED
|
@@ -3,8 +3,6 @@ syntax = "proto3";
|
|
|
3
3
|
|
|
4
4
|
package ansys.api.discovery.v0.messaging;
|
|
5
5
|
|
|
6
|
-
import "ansys/api/dbu/v0/dbumodels.proto";
|
|
7
|
-
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
8
6
|
import "google/protobuf/empty.proto";
|
|
9
7
|
|
|
10
8
|
option csharp_namespace = "Ansys.Api.Discovery.V0.Messaging";
|
{ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys/api/discovery/v0/solution.proto
RENAMED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
syntax = "proto3";
|
|
3
3
|
package ansys.api.discovery.v0.solution;
|
|
4
4
|
|
|
5
|
-
import "ansys/api/dbu/v0/dbumodels.proto";
|
|
6
|
-
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
7
5
|
import "google/protobuf/empty.proto";
|
|
8
6
|
|
|
9
7
|
option csharp_namespace = "Ansys.Api.Discovery.V0.Solution";
|
|
@@ -12,6 +10,7 @@ service Solution
|
|
|
12
10
|
{
|
|
13
11
|
rpc GetSolverFidelity(SimulationStageRequest) returns (SolverFidelityResponse);
|
|
14
12
|
rpc SetSolverFidelity(SolverFidelityRequest) returns (google.protobuf.Empty);
|
|
13
|
+
rpc Solve(SolveExecutionRequest) returns (SolveExecutionResponse);
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
message SolverFidelityRequest{
|
|
@@ -19,6 +18,7 @@ message SolverFidelityRequest{
|
|
|
19
18
|
double value = 2;
|
|
20
19
|
}
|
|
21
20
|
|
|
21
|
+
//TODO Replace string with Enum
|
|
22
22
|
message SimulationStageRequest{
|
|
23
23
|
string simulation = 1;
|
|
24
24
|
string stage = 2;
|
|
@@ -26,4 +26,20 @@ message SimulationStageRequest{
|
|
|
26
26
|
|
|
27
27
|
message SolverFidelityResponse{
|
|
28
28
|
double value = 1;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
message SolveExecutionRequest{
|
|
32
|
+
string simulation_id = 1;
|
|
33
|
+
Stage stage = 2;
|
|
34
|
+
bool execute_remotely =3;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
message SolveExecutionResponse{
|
|
38
|
+
bool success = 1;
|
|
39
|
+
string message = 2;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
enum Stage {
|
|
43
|
+
EXPLORE = 0;
|
|
44
|
+
REFINE = 1;
|
|
29
45
|
}
|
{ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0/ansys_api_discovery.egg-info}/PKG-INFO
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ansys-api-discovery
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on
|
|
3
|
+
Version: 0.6.0
|
|
4
|
+
Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on 07:41:21 on 09 October 2024
|
|
5
5
|
Home-page: https://github.com/ansys/ansys-api-discovery
|
|
6
6
|
Author: ANSYS, Inc.
|
|
7
7
|
Author-email: support@ansys.com
|
|
8
8
|
License: MIT
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.10
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
License-File: LICENSE
|
|
12
|
-
Requires-Dist: grpcio~=1.
|
|
13
|
-
Requires-Dist: protobuf<
|
|
14
|
-
Requires-Dist: ansys-api-
|
|
12
|
+
Requires-Dist: grpcio~=1.44
|
|
13
|
+
Requires-Dist: protobuf<6,>=3.19
|
|
14
|
+
Requires-Dist: ansys-api-geometry==0.4.10
|
|
15
15
|
|
|
16
16
|
### ansys-api-discovery gRPC Interface Package
|
|
17
17
|
|
|
@@ -68,9 +68,9 @@ these are built on PRs, the main branch, and on tags when pushing. Artifacts
|
|
|
68
68
|
are uploaded for each PR.
|
|
69
69
|
|
|
70
70
|
To publicly release wheels to PyPI, ensure your branch is up-to-date and then
|
|
71
|
-
push tags. For example, for the version ``v0.5.
|
|
71
|
+
push tags. For example, for the version ``v0.5.0``.
|
|
72
72
|
|
|
73
73
|
```bash
|
|
74
|
-
git tag v0.5.
|
|
74
|
+
git tag v0.5.0
|
|
75
75
|
git push --tags
|
|
76
76
|
```
|
{ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys_api_discovery.egg-info/SOURCES.txt
RENAMED
|
@@ -7,6 +7,9 @@ ansys/api/discovery/__init__.py
|
|
|
7
7
|
ansys/api/discovery/py.typed
|
|
8
8
|
ansys/api/discovery/v0/__init__.py
|
|
9
9
|
ansys/api/discovery/v0/conditions.proto
|
|
10
|
+
ansys/api/discovery/v0/conditionsfluid.proto
|
|
11
|
+
ansys/api/discovery/v0/conditionsstructural.proto
|
|
12
|
+
ansys/api/discovery/v0/conditionsthermal.proto
|
|
10
13
|
ansys/api/discovery/v0/definedvariationstable.proto
|
|
11
14
|
ansys/api/discovery/v0/discoverymodels.proto
|
|
12
15
|
ansys/api/discovery/v0/historytrackparameters.proto
|
|
@@ -34,8 +34,8 @@ if __name__ == "__main__":
|
|
|
34
34
|
long_description_content_type='text/markdown',
|
|
35
35
|
url=f"https://github.com/ansys/{package_name}",
|
|
36
36
|
license="MIT",
|
|
37
|
-
python_requires=">=3.
|
|
38
|
-
install_requires=["grpcio~=1.
|
|
37
|
+
python_requires=">=3.10",
|
|
38
|
+
install_requires=["grpcio~=1.44", "protobuf>=3.19,<6", "ansys-api-geometry==0.4.10"],
|
|
39
39
|
packages=setuptools.find_namespace_packages(".", include=("ansys.*",)),
|
|
40
40
|
package_data={
|
|
41
41
|
"": ["*.proto", "*.pyi", "py.typed", "VERSION"],
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.5.2
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
package ansys.api.discovery.v0.conditions;
|
|
4
|
-
|
|
5
|
-
import "ansys/api/dbu/v0/dbumodels.proto";
|
|
6
|
-
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
7
|
-
import "google/protobuf/empty.proto";
|
|
8
|
-
|
|
9
|
-
option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
|
|
10
|
-
|
|
11
|
-
service Conditions
|
|
12
|
-
{
|
|
13
|
-
//Heat methods
|
|
14
|
-
rpc CreateHeat(HeatCreationRequest) returns (Heat);
|
|
15
|
-
|
|
16
|
-
rpc ChangeHeatLocation(HeatChangeLocationRequest) returns(ConditionChangedResponse);
|
|
17
|
-
|
|
18
|
-
rpc ChangeTotalHeat(ChangeQuantityRequest) returns(ConditionChangedResponse);
|
|
19
|
-
|
|
20
|
-
rpc ChangeHeatPerUnitVolume(ChangeQuantityRequest) returns(ConditionChangedResponse);
|
|
21
|
-
|
|
22
|
-
rpc ChangeHeatPerUnitArea(ChangeQuantityRequest) returns(ConditionChangedResponse);
|
|
23
|
-
|
|
24
|
-
rpc ChangeHeatSpecification(HeatSpecificationRequest) returns(ConditionChangedResponse);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
message ChangeLocationRequest{
|
|
28
|
-
string object_id = 1;
|
|
29
|
-
repeated string locations = 2;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
message ChangeQuantityRequest{
|
|
33
|
-
string object_id = 1;
|
|
34
|
-
QuantityType quantity_type = 2;
|
|
35
|
-
double quantity_value = 3;
|
|
36
|
-
int32 unit = 4;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
message ConditionChangedResponse {
|
|
40
|
-
bool success = 1;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
//Heat methods
|
|
44
|
-
|
|
45
|
-
message HeatSpecificationRequest {
|
|
46
|
-
string object_id = 1;
|
|
47
|
-
HeatSpecification heat_specifcation = 2;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
message HeatChangeLocationRequest
|
|
51
|
-
{
|
|
52
|
-
ChangeLocationRequest change_locationrequest = 1;
|
|
53
|
-
LocationSpecification location_specification = 2;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// Inputs for heat creation
|
|
57
|
-
message HeatCreationRequest {
|
|
58
|
-
string simulation = 1;
|
|
59
|
-
LocationSpecification location_specification = 2;
|
|
60
|
-
repeated string locations = 3;
|
|
61
|
-
HeatSpecification heat_specifcation = 4;
|
|
62
|
-
QuantityType quantity_type = 5;
|
|
63
|
-
double quantity_value = 6;
|
|
64
|
-
int32 unit = 7;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ansys_api_discovery-0.5.2 → ansys_api_discovery-0.6.0}/ansys_api_discovery.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|