ansys-api-fluent 0.3.38__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_fluent-0.3.38/LICENSE +21 -0
- ansys_api_fluent-0.3.38/PKG-INFO +85 -0
- ansys_api_fluent-0.3.38/README.md +63 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/__init__.py +6 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/_version.py +3 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/py.typed +0 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/Connection.proto +32 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/app_utilities.proto +249 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/batch_ops.proto +28 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/common.proto +10 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/common_api.proto +13 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/datamodel_se.proto +477 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/datamodel_tui.proto +134 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/events.proto +173 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/field_data.proto +617 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/health.proto +50 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/meshing_queries.proto +644 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/monitor.proto +99 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/reduction.proto +230 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/scheme_eval.proto +44 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/scheme_pointer.proto +32 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/settings.proto +212 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/svar.proto +110 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/transcript.proto +20 -0
- ansys_api_fluent-0.3.38/ansys/api/fluent/v0/variant.proto +52 -0
- ansys_api_fluent-0.3.38/ansys_api_fluent.egg-info/PKG-INFO +85 -0
- ansys_api_fluent-0.3.38/ansys_api_fluent.egg-info/SOURCES.txt +32 -0
- ansys_api_fluent-0.3.38/ansys_api_fluent.egg-info/dependency_links.txt +1 -0
- ansys_api_fluent-0.3.38/ansys_api_fluent.egg-info/entry_points.txt +2 -0
- ansys_api_fluent-0.3.38/ansys_api_fluent.egg-info/requires.txt +2 -0
- ansys_api_fluent-0.3.38/ansys_api_fluent.egg-info/top_level.txt +1 -0
- ansys_api_fluent-0.3.38/pyproject.toml +3 -0
- ansys_api_fluent-0.3.38/setup.cfg +4 -0
- ansys_api_fluent-0.3.38/setup.py +70 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 ANSYS, Inc. All rights reserved.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ansys-api-fluent
|
|
3
|
+
Version: 0.3.38
|
|
4
|
+
Summary: Autogenerated python gRPC interface package for ansys-api-fluent, built on 10:47:33 on 16 February 2026
|
|
5
|
+
Author: ANSYS, Inc.
|
|
6
|
+
Author-email: support@ansys.com
|
|
7
|
+
License: MIT
|
|
8
|
+
Requires-Python: >=3.10
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Requires-Dist: grpcio~=1.30
|
|
12
|
+
Requires-Dist: protobuf<7,>=3.19
|
|
13
|
+
Dynamic: author
|
|
14
|
+
Dynamic: author-email
|
|
15
|
+
Dynamic: description
|
|
16
|
+
Dynamic: description-content-type
|
|
17
|
+
Dynamic: license
|
|
18
|
+
Dynamic: license-file
|
|
19
|
+
Dynamic: requires-dist
|
|
20
|
+
Dynamic: requires-python
|
|
21
|
+
Dynamic: summary
|
|
22
|
+
|
|
23
|
+
### ansys-api-fluent gRPC Interface Package
|
|
24
|
+
|
|
25
|
+
This Python package contains the auto-generated gRPC Python interface files for
|
|
26
|
+
Fluent.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
#### Installation
|
|
30
|
+
|
|
31
|
+
Provided that these wheels have been published to public PyPI, they can be
|
|
32
|
+
installed with:
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
pip install ansys-api-fluent
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Otherwise, see the
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
#### Build
|
|
42
|
+
|
|
43
|
+
To build the gRPC packages, run:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
pip install build
|
|
47
|
+
python -m build
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
This will create both the source distribution containing just the protofiles
|
|
51
|
+
along with the wheel containing the protofiles and build Python interface
|
|
52
|
+
files.
|
|
53
|
+
|
|
54
|
+
Note that the interface files are identical regardless of the version of Python
|
|
55
|
+
used to generate them, but the last pre-built wheel for ``grpcio~=1.30`` was
|
|
56
|
+
Python 3.7, so to improve your build time, use Python 3.7 when building the
|
|
57
|
+
wheel.
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
#### Manual Deployment
|
|
61
|
+
|
|
62
|
+
After building the packages, manually deploy them with:
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
pip install twine
|
|
66
|
+
twine upload dist/*
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Note that this is automatically done through CI/CD.
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
#### Automatic Deployment
|
|
73
|
+
|
|
74
|
+
This repository contains GitHub CI/CD that enables the automatic building of
|
|
75
|
+
source and wheel packages for these gRPC Python interface files. By default,
|
|
76
|
+
these are built on PRs, the main branch, and on tags when pushing. Artifacts
|
|
77
|
+
are uploaded for each PR.
|
|
78
|
+
|
|
79
|
+
To publicly release wheels to PyPI, ensure your branch is up-to-date and then
|
|
80
|
+
push tags. For example, for the version ``v0.5.0``.
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
git tag v0.5.0
|
|
84
|
+
git push --tags
|
|
85
|
+
```
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
### ansys-api-fluent gRPC Interface Package
|
|
2
|
+
|
|
3
|
+
This Python package contains the auto-generated gRPC Python interface files for
|
|
4
|
+
Fluent.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
#### Installation
|
|
8
|
+
|
|
9
|
+
Provided that these wheels have been published to public PyPI, they can be
|
|
10
|
+
installed with:
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
pip install ansys-api-fluent
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Otherwise, see the
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
#### Build
|
|
20
|
+
|
|
21
|
+
To build the gRPC packages, run:
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
pip install build
|
|
25
|
+
python -m build
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
This will create both the source distribution containing just the protofiles
|
|
29
|
+
along with the wheel containing the protofiles and build Python interface
|
|
30
|
+
files.
|
|
31
|
+
|
|
32
|
+
Note that the interface files are identical regardless of the version of Python
|
|
33
|
+
used to generate them, but the last pre-built wheel for ``grpcio~=1.30`` was
|
|
34
|
+
Python 3.7, so to improve your build time, use Python 3.7 when building the
|
|
35
|
+
wheel.
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
#### Manual Deployment
|
|
39
|
+
|
|
40
|
+
After building the packages, manually deploy them with:
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
pip install twine
|
|
44
|
+
twine upload dist/*
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Note that this is automatically done through CI/CD.
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
#### Automatic Deployment
|
|
51
|
+
|
|
52
|
+
This repository contains GitHub CI/CD that enables the automatic building of
|
|
53
|
+
source and wheel packages for these gRPC Python interface files. By default,
|
|
54
|
+
these are built on PRs, the main branch, and on tags when pushing. Artifacts
|
|
55
|
+
are uploaded for each PR.
|
|
56
|
+
|
|
57
|
+
To publicly release wheels to PyPI, ensure your branch is up-to-date and then
|
|
58
|
+
push tags. For example, for the version ``v0.5.0``.
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
git tag v0.5.0
|
|
62
|
+
git push --tags
|
|
63
|
+
```
|
|
File without changes
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 1987-2022 ANSYS, Inc. All Rights Reserved.
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
syntax = "proto3";
|
|
6
|
+
|
|
7
|
+
package ansys.api.fluent.v0;
|
|
8
|
+
|
|
9
|
+
service Connection {
|
|
10
|
+
rpc Connect(ConnectRequest) returns (stream ConnectResponse) {}
|
|
11
|
+
}
|
|
12
|
+
enum ConnectionError {
|
|
13
|
+
NoError = 0;
|
|
14
|
+
PasswordMismatch = 1;
|
|
15
|
+
MaxConnectionsCountExceeded = 2;
|
|
16
|
+
UnknownError = 3;
|
|
17
|
+
VersionMismatch = 4;
|
|
18
|
+
WaitTimeExpired = 5;
|
|
19
|
+
}
|
|
20
|
+
message ConnectRequest {
|
|
21
|
+
enum RequestType {
|
|
22
|
+
CONNECT = 0;
|
|
23
|
+
PAUSE = 1;
|
|
24
|
+
}
|
|
25
|
+
RequestType requesttype = 1;
|
|
26
|
+
string password = 2;
|
|
27
|
+
string version = 3;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
message ConnectResponse {
|
|
31
|
+
ConnectionError errorcode = 1;
|
|
32
|
+
}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
// Miscellaneous utilities for solver apps which do not fit into any other category.
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
package ansys.api.fluent.v0.app_utilities;
|
|
6
|
+
|
|
7
|
+
service AppUtilities {
|
|
8
|
+
/* Get product version */
|
|
9
|
+
rpc GetProductVersion(GetProductVersionRequest) returns (GetProductVersionResponse);
|
|
10
|
+
|
|
11
|
+
/* Get build information */
|
|
12
|
+
rpc GetBuildInfo(GetBuildInfoRequest) returns (GetBuildInfoResponse);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Get Controller process information if the solver app is running in client-server mode,
|
|
16
|
+
* Controller process commanding the Solver process.
|
|
17
|
+
*/
|
|
18
|
+
rpc GetControllerProcessInfo(GetControllerProcessInfoRequest) returns (GetControllerProcessInfoResponse);
|
|
19
|
+
|
|
20
|
+
/* Get Solver process information */
|
|
21
|
+
rpc GetSolverProcessInfo(GetSolverProcessInfoRequest) returns (GetSolverProcessInfoResponse);
|
|
22
|
+
|
|
23
|
+
/* Get App mode */
|
|
24
|
+
rpc GetAppMode(GetAppModeRequest) returns (GetAppModeResponse);
|
|
25
|
+
|
|
26
|
+
/* Start Python journal */
|
|
27
|
+
rpc StartPythonJournal(StartPythonJournalRequest) returns (StartPythonJournalResponse);
|
|
28
|
+
|
|
29
|
+
/* Stop Python journal */
|
|
30
|
+
rpc StopPythonJournal(StopPythonJournalRequest) returns (StopPythonJournalResponse);
|
|
31
|
+
|
|
32
|
+
/* Is beta feature enabled? */
|
|
33
|
+
rpc IsBetaEnabled(IsBetaEnabledRequest) returns (IsBetaEnabledResponse);
|
|
34
|
+
|
|
35
|
+
/* Enable beta features */
|
|
36
|
+
rpc EnableBeta(EnableBetaRequest) returns (EnableBetaResponse);
|
|
37
|
+
|
|
38
|
+
/* Is wildcard as per the solver app's syntax? */
|
|
39
|
+
rpc IsWildcard(IsWildcardRequest) returns (IsWildcardResponse);
|
|
40
|
+
|
|
41
|
+
/* Is solution data available? */
|
|
42
|
+
rpc IsSolutionDataAvailable(IsSolutionDataAvailableRequest) returns (IsSolutionDataAvailableResponse);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Following 3 methods are useful to execute synchronous callbacks in gRPC client on solution events
|
|
46
|
+
* such as iteration or time-step advancement. An implementation of such mechanism will look like:
|
|
47
|
+
* 1. After each solution event, the solver will send a paused event to clients and pause itself.
|
|
48
|
+
* 2. The registered client will receive the paused event and execute the callback and then resume the solver.
|
|
49
|
+
*
|
|
50
|
+
* Register to pause on solution events.
|
|
51
|
+
*/
|
|
52
|
+
rpc RegisterPauseOnSolutionEvents(RegisterPauseOnSolutionEventsRequest) returns (RegisterPauseOnSolutionEventsResponse);
|
|
53
|
+
|
|
54
|
+
/* Resume from pause on a solution event */
|
|
55
|
+
rpc ResumeOnSolutionEvent(ResumeOnSolutionEventRequest) returns (ResumeOnSolutionEventResponse);
|
|
56
|
+
|
|
57
|
+
/* Unregister to pause on solution events */
|
|
58
|
+
rpc UnregisterPauseOnSolutionEvents(UnregisterPauseOnSolutionEventsRequest) returns (UnregisterPauseOnSolutionEventsResponse);
|
|
59
|
+
|
|
60
|
+
/* Exit the solver app */
|
|
61
|
+
rpc Exit(ExitRequest) returns (ExitResponse);
|
|
62
|
+
|
|
63
|
+
/* Change cortex working directory */
|
|
64
|
+
rpc SetWorkingDirectory(SetWorkingDirectoryRequest) returns (SetWorkingDirectoryResponse);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
message GetProductVersionRequest {
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
message GetProductVersionResponse {
|
|
71
|
+
/* Major version */
|
|
72
|
+
int64 major = 1;
|
|
73
|
+
/* Minor version */
|
|
74
|
+
int64 minor = 2;
|
|
75
|
+
/* Patch version */
|
|
76
|
+
int64 patch = 3;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
message GetBuildInfoRequest {
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
message GetBuildInfoResponse {
|
|
83
|
+
/* Build time */
|
|
84
|
+
string build_time = 1;
|
|
85
|
+
/* Build id */
|
|
86
|
+
int64 build_id = 2;
|
|
87
|
+
/* VCS revision */
|
|
88
|
+
string vcs_revision = 3;
|
|
89
|
+
/* VCS branch */
|
|
90
|
+
string vcs_branch = 4;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
message GetControllerProcessInfoRequest {
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
message GetControllerProcessInfoResponse {
|
|
97
|
+
/* Controller hostname */
|
|
98
|
+
string hostname = 1;
|
|
99
|
+
/* Controller process id */
|
|
100
|
+
int64 process_id = 2;
|
|
101
|
+
/* Controller working directory */
|
|
102
|
+
string working_directory = 3;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
message GetSolverProcessInfoRequest {
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
message GetSolverProcessInfoResponse {
|
|
109
|
+
/* Solver hostname */
|
|
110
|
+
string hostname = 1;
|
|
111
|
+
/* Solver process id */
|
|
112
|
+
int64 process_id = 2;
|
|
113
|
+
/* Solver working directory */
|
|
114
|
+
string working_directory = 3;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
message GetAppModeRequest {
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
message GetAppModeResponse {
|
|
121
|
+
/* App mode */
|
|
122
|
+
AppMode app_mode = 1;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
message StartPythonJournalRequest {
|
|
126
|
+
/**
|
|
127
|
+
* Journal file name
|
|
128
|
+
* If journal_name is not provided, StopPythonJournal should return the journal lines.
|
|
129
|
+
*/
|
|
130
|
+
optional string journal_name = 1;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
message StartPythonJournalResponse {
|
|
134
|
+
/**
|
|
135
|
+
* Journal id
|
|
136
|
+
* Journal id is returned if journal_name is not provided.
|
|
137
|
+
*/
|
|
138
|
+
optional string journal_id = 1;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
message StopPythonJournalRequest {
|
|
142
|
+
/**
|
|
143
|
+
* Journal id
|
|
144
|
+
* Journal id is required if journal_name is not provided in StartPythonJournal.
|
|
145
|
+
*/
|
|
146
|
+
optional string journal_id = 1;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
message StopPythonJournalResponse {
|
|
150
|
+
/**
|
|
151
|
+
* Journal string
|
|
152
|
+
* Journal string is returned if journal_name is not provided in StartPythonJournal.
|
|
153
|
+
*/
|
|
154
|
+
string journal_str = 1;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
message IsBetaEnabledRequest {
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
message IsBetaEnabledResponse {
|
|
161
|
+
/* Is beta feature enabled */
|
|
162
|
+
bool is_beta_enabled = 1;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
message EnableBetaRequest {
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
message EnableBetaResponse {
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
message IsWildcardRequest {
|
|
172
|
+
/* String to check if it is a wildcard */
|
|
173
|
+
string input = 1;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
message IsWildcardResponse {
|
|
177
|
+
/* Is wildcard */
|
|
178
|
+
bool is_wildcard = 1;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
message IsSolutionDataAvailableRequest {
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
message IsSolutionDataAvailableResponse {
|
|
185
|
+
/* Is solution data available */
|
|
186
|
+
bool is_solution_data_available = 1;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
message RegisterPauseOnSolutionEventsRequest {
|
|
190
|
+
/* Solution event */
|
|
191
|
+
SolutionEvent solution_event = 1;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
message RegisterPauseOnSolutionEventsResponse {
|
|
195
|
+
/* Registration id */
|
|
196
|
+
int64 registration_id = 1;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
message ResumeOnSolutionEventRequest {
|
|
200
|
+
/* Registration id */
|
|
201
|
+
int64 registration_id = 1;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
message ResumeOnSolutionEventResponse {
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
message UnregisterPauseOnSolutionEventsRequest {
|
|
208
|
+
/* Registration id */
|
|
209
|
+
int64 registration_id = 1;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
message UnregisterPauseOnSolutionEventsResponse {
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
message ExitRequest {
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
message ExitResponse {
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
message SetWorkingDirectoryRequest {
|
|
222
|
+
/* New directory path */
|
|
223
|
+
string path = 1;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
message SetWorkingDirectoryResponse {
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
enum AppMode {
|
|
230
|
+
/* App mode unknown */
|
|
231
|
+
APP_MODE_UNKNOWN = 0;
|
|
232
|
+
/* App mode meshing */
|
|
233
|
+
APP_MODE_MESHING = 1;
|
|
234
|
+
/* App mode solver */
|
|
235
|
+
APP_MODE_SOLVER = 2;
|
|
236
|
+
/* App mode icing */
|
|
237
|
+
APP_MODE_SOLVER_ICING = 3;
|
|
238
|
+
/* App mode aero */
|
|
239
|
+
APP_MODE_SOLVER_AERO = 4;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
enum SolutionEvent {
|
|
243
|
+
/* Solution event unknown */
|
|
244
|
+
SOLUTION_EVENT_UNKNOWN = 0;
|
|
245
|
+
/* Solution event iteration */
|
|
246
|
+
SOLUTION_EVENT_ITERATION = 1;
|
|
247
|
+
/* Solution event time step */
|
|
248
|
+
SOLUTION_EVENT_TIME_STEP = 2;
|
|
249
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package ansys.api.fluent.v0;
|
|
4
|
+
|
|
5
|
+
service BatchOps {
|
|
6
|
+
rpc Execute(stream ExecuteRequest) returns (stream ExecuteResponse);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
message ExecuteRequest {
|
|
10
|
+
string package = 1;
|
|
11
|
+
string service = 2;
|
|
12
|
+
string method = 3;
|
|
13
|
+
bytes request_body = 4;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
enum ExecuteStatus {
|
|
17
|
+
STATUS_UNSPECIFIED = 0;
|
|
18
|
+
STATUS_UNKNOWN = 1; // package, service or method is not known
|
|
19
|
+
STATUS_UNSUPPORTED = 2; // method is not grpc-unary
|
|
20
|
+
STATUS_SUCCESSFUL = 3;
|
|
21
|
+
STATUS_FAILED = 4;
|
|
22
|
+
STATUS_CANCELLED = 5; // one of the previous operations is not successful
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
message ExecuteResponse {
|
|
26
|
+
ExecuteStatus status = 1;
|
|
27
|
+
bytes response_body = 2;
|
|
28
|
+
}
|