ansys-api-discovery 0.6.13__py3-none-any.whl → 0.6.15__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ansys-api-discovery might be problematic. Click here for more details.
- ansys/api/discovery/VERSION +1 -1
- ansys/api/discovery/v0/assignments/fan.proto +2 -1
- ansys/api/discovery/v0/assignments/fan_pb2.py +22 -22
- ansys/api/discovery/v0/assignments/fan_pb2.pyi +9 -4
- ansys/api/discovery/v0/conditions/current.proto +43 -0
- ansys/api/discovery/v0/conditions/current_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/current_pb2.pyi +94 -0
- ansys/api/discovery/v0/conditions/current_pb2_grpc.py +134 -0
- ansys/api/discovery/v0/conditions/current_pb2_grpc.pyi +48 -0
- ansys/api/discovery/v0/conditions/localfidelity.proto +43 -0
- ansys/api/discovery/v0/conditions/localfidelity_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/localfidelity_pb2.pyi +94 -0
- ansys/api/discovery/v0/conditions/localfidelity_pb2_grpc.py +134 -0
- ansys/api/discovery/v0/conditions/localfidelity_pb2_grpc.pyi +48 -0
- ansys/api/discovery/v0/conditions/porous.proto +12 -16
- ansys/api/discovery/v0/conditions/porous_pb2.py +19 -21
- ansys/api/discovery/v0/conditions/porous_pb2.pyi +19 -38
- ansys/api/discovery/v0/conditions/porous_pb2_grpc.py +63 -30
- ansys/api/discovery/v0/conditions/porous_pb2_grpc.pyi +22 -12
- ansys/api/discovery/v0/conditions/rotatingfluidzone.proto +1 -1
- ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.py +6 -6
- ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.pyi +5 -5
- ansys/api/discovery/v0/conditions/symmetry.proto +35 -0
- ansys/api/discovery/v0/conditions/symmetry_pb2.py +34 -0
- ansys/api/discovery/v0/conditions/symmetry_pb2.pyi +72 -0
- ansys/api/discovery/v0/conditions/symmetry_pb2_grpc.py +101 -0
- ansys/api/discovery/v0/conditions/symmetry_pb2_grpc.pyi +38 -0
- ansys/api/discovery/v0/conditions/voltage.proto +43 -0
- ansys/api/discovery/v0/conditions/voltage_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/voltage_pb2.pyi +94 -0
- ansys/api/discovery/v0/conditions/voltage_pb2_grpc.py +134 -0
- ansys/api/discovery/v0/conditions/voltage_pb2_grpc.pyi +48 -0
- ansys/api/discovery/v0/connections/contact.proto +4 -4
- ansys/api/discovery/v0/connections/contact_pb2.py +8 -8
- ansys/api/discovery/v0/connections/contact_pb2.pyi +8 -1
- ansys/api/discovery/v0/connections/contact_pb2_grpc.py +3 -36
- ansys/api/discovery/v0/connections/contact_pb2_grpc.pyi +2 -12
- ansys/api/discovery/v0/connections/contactgroup.proto +4 -3
- ansys/api/discovery/v0/connections/contactgroup_pb2.py +8 -8
- ansys/api/discovery/v0/connections/contactgroup_pb2.pyi +8 -1
- ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.py +3 -3
- ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.pyi +2 -2
- ansys/api/discovery/v0/connections/fluidinterface.proto +17 -15
- ansys/api/discovery/v0/connections/fluidinterface_pb2.py +15 -15
- ansys/api/discovery/v0/connections/fluidinterface_pb2.pyi +23 -17
- ansys/api/discovery/v0/connections/fluidinterface_pb2_grpc.py +72 -72
- ansys/api/discovery/v0/connections/fluidinterface_pb2_grpc.pyi +24 -24
- ansys/api/discovery/v0/discoverymodels.proto +15 -1
- ansys/api/discovery/v0/discoverymodels_pb2.py +52 -48
- ansys/api/discovery/v0/discoverymodels_pb2.pyi +45 -5
- {ansys_api_discovery-0.6.13.dist-info → ansys_api_discovery-0.6.15.dist-info}/METADATA +3 -3
- {ansys_api_discovery-0.6.13.dist-info → ansys_api_discovery-0.6.15.dist-info}/RECORD +56 -36
- {ansys_api_discovery-0.6.13.dist-info → ansys_api_discovery-0.6.15.dist-info}/LICENSE +0 -0
- {ansys_api_discovery-0.6.13.dist-info → ansys_api_discovery-0.6.15.dist-info}/WHEEL +0 -0
- {ansys_api_discovery-0.6.13.dist-info → ansys_api_discovery-0.6.15.dist-info}/entry_points.txt +0 -0
- {ansys_api_discovery-0.6.13.dist-info → ansys_api_discovery-0.6.15.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import ansys.api.dbu.v0.dbumodels_pb2
|
|
6
|
+
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
7
|
+
import builtins
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import typing
|
|
12
|
+
import typing_extensions
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
|
|
15
|
+
|
|
16
|
+
class LocalFidelityCreationRequest(google.protobuf.message.Message):
|
|
17
|
+
"""LocalFidelity"""
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
19
|
+
CREATION_DATA_FIELD_NUMBER: builtins.int
|
|
20
|
+
LOCAL_FIDELITY_PROPERTIES_FIELD_NUMBER: builtins.int
|
|
21
|
+
@property
|
|
22
|
+
def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData: ...
|
|
23
|
+
@property
|
|
24
|
+
def local_fidelity_properties(self) -> global___LocalFidelityProperties: ...
|
|
25
|
+
def __init__(self,
|
|
26
|
+
*,
|
|
27
|
+
creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
|
|
28
|
+
local_fidelity_properties : typing.Optional[global___LocalFidelityProperties] = ...,
|
|
29
|
+
) -> None: ...
|
|
30
|
+
def HasField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","local_fidelity_properties",b"local_fidelity_properties"]) -> builtins.bool: ...
|
|
31
|
+
def ClearField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","local_fidelity_properties",b"local_fidelity_properties"]) -> None: ...
|
|
32
|
+
global___LocalFidelityCreationRequest = LocalFidelityCreationRequest
|
|
33
|
+
|
|
34
|
+
class LocalFidelityCreationResponse(google.protobuf.message.Message):
|
|
35
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
36
|
+
CONDITION_RESPONSE_FIELD_NUMBER: builtins.int
|
|
37
|
+
CONDITION_DATA_FIELD_NUMBER: builtins.int
|
|
38
|
+
@property
|
|
39
|
+
def condition_response(self) -> ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse: ...
|
|
40
|
+
@property
|
|
41
|
+
def condition_data(self) -> global___LocalFidelityDefinition: ...
|
|
42
|
+
def __init__(self,
|
|
43
|
+
*,
|
|
44
|
+
condition_response : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse] = ...,
|
|
45
|
+
condition_data : typing.Optional[global___LocalFidelityDefinition] = ...,
|
|
46
|
+
) -> None: ...
|
|
47
|
+
def HasField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> builtins.bool: ...
|
|
48
|
+
def ClearField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> None: ...
|
|
49
|
+
global___LocalFidelityCreationResponse = LocalFidelityCreationResponse
|
|
50
|
+
|
|
51
|
+
class LocalFidelityProperties(google.protobuf.message.Message):
|
|
52
|
+
"""LocalFidelity condition definitions"""
|
|
53
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
54
|
+
LOCAL_FIDELITY_MAGNITUDE_FIELD_NUMBER: builtins.int
|
|
55
|
+
@property
|
|
56
|
+
def local_fidelity_magnitude(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
|
|
57
|
+
def __init__(self,
|
|
58
|
+
*,
|
|
59
|
+
local_fidelity_magnitude : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
60
|
+
) -> None: ...
|
|
61
|
+
def HasField(self, field_name: typing_extensions.Literal["local_fidelity_magnitude",b"local_fidelity_magnitude"]) -> builtins.bool: ...
|
|
62
|
+
def ClearField(self, field_name: typing_extensions.Literal["local_fidelity_magnitude",b"local_fidelity_magnitude"]) -> None: ...
|
|
63
|
+
global___LocalFidelityProperties = LocalFidelityProperties
|
|
64
|
+
|
|
65
|
+
class LocalFidelityDefinition(google.protobuf.message.Message):
|
|
66
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
67
|
+
ID_FIELD_NUMBER: builtins.int
|
|
68
|
+
PARENT_ID_FIELD_NUMBER: builtins.int
|
|
69
|
+
LABEL_FIELD_NUMBER: builtins.int
|
|
70
|
+
LOCATIONS_FIELD_NUMBER: builtins.int
|
|
71
|
+
SUPPRESSED_FIELD_NUMBER: builtins.int
|
|
72
|
+
LOCAL_FIDELITY_FIELD_NUMBER: builtins.int
|
|
73
|
+
@property
|
|
74
|
+
def id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
75
|
+
@property
|
|
76
|
+
def parent_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
77
|
+
label: typing.Text = ...
|
|
78
|
+
@property
|
|
79
|
+
def locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
|
|
80
|
+
suppressed: builtins.bool = ...
|
|
81
|
+
@property
|
|
82
|
+
def local_fidelity(self) -> global___LocalFidelityProperties: ...
|
|
83
|
+
def __init__(self,
|
|
84
|
+
*,
|
|
85
|
+
id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
86
|
+
parent_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
87
|
+
label : typing.Text = ...,
|
|
88
|
+
locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
|
|
89
|
+
suppressed : builtins.bool = ...,
|
|
90
|
+
local_fidelity : typing.Optional[global___LocalFidelityProperties] = ...,
|
|
91
|
+
) -> None: ...
|
|
92
|
+
def HasField(self, field_name: typing_extensions.Literal["id",b"id","local_fidelity",b"local_fidelity","parent_id",b"parent_id"]) -> builtins.bool: ...
|
|
93
|
+
def ClearField(self, field_name: typing_extensions.Literal["id",b"id","label",b"label","local_fidelity",b"local_fidelity","locations",b"locations","parent_id",b"parent_id","suppressed",b"suppressed"]) -> None: ...
|
|
94
|
+
global___LocalFidelityDefinition = LocalFidelityDefinition
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from ansys.api.discovery.v0.conditions import localfidelity_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_localfidelity__pb2
|
|
6
|
+
from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class LocalFidelityStub(object):
|
|
10
|
+
"""Missing associated documentation comment in .proto file."""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel):
|
|
13
|
+
"""Constructor.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
channel: A grpc.Channel.
|
|
17
|
+
"""
|
|
18
|
+
self.CreateLocalFidelity = channel.unary_unary(
|
|
19
|
+
'/ansys.api.discovery.v0.conditions.localfidelity.LocalFidelity/CreateLocalFidelity',
|
|
20
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_localfidelity__pb2.LocalFidelityCreationRequest.SerializeToString,
|
|
21
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_localfidelity__pb2.LocalFidelityCreationResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.ChangeLocalFidelityLocation = channel.unary_unary(
|
|
24
|
+
'/ansys.api.discovery.v0.conditions.localfidelity.LocalFidelity/ChangeLocalFidelityLocation',
|
|
25
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.SerializeToString,
|
|
26
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.ChangeLocalFidelityMagnitude = channel.unary_unary(
|
|
29
|
+
'/ansys.api.discovery.v0.conditions.localfidelity.LocalFidelity/ChangeLocalFidelityMagnitude',
|
|
30
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
31
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class LocalFidelityServicer(object):
|
|
36
|
+
"""Missing associated documentation comment in .proto file."""
|
|
37
|
+
|
|
38
|
+
def CreateLocalFidelity(self, request, context):
|
|
39
|
+
"""LocalFidelity condition methods
|
|
40
|
+
"""
|
|
41
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
42
|
+
context.set_details('Method not implemented!')
|
|
43
|
+
raise NotImplementedError('Method not implemented!')
|
|
44
|
+
|
|
45
|
+
def ChangeLocalFidelityLocation(self, request, context):
|
|
46
|
+
"""Missing associated documentation comment in .proto file."""
|
|
47
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
48
|
+
context.set_details('Method not implemented!')
|
|
49
|
+
raise NotImplementedError('Method not implemented!')
|
|
50
|
+
|
|
51
|
+
def ChangeLocalFidelityMagnitude(self, request, context):
|
|
52
|
+
"""Missing associated documentation comment in .proto file."""
|
|
53
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
54
|
+
context.set_details('Method not implemented!')
|
|
55
|
+
raise NotImplementedError('Method not implemented!')
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
def add_LocalFidelityServicer_to_server(servicer, server):
|
|
59
|
+
rpc_method_handlers = {
|
|
60
|
+
'CreateLocalFidelity': grpc.unary_unary_rpc_method_handler(
|
|
61
|
+
servicer.CreateLocalFidelity,
|
|
62
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_localfidelity__pb2.LocalFidelityCreationRequest.FromString,
|
|
63
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_localfidelity__pb2.LocalFidelityCreationResponse.SerializeToString,
|
|
64
|
+
),
|
|
65
|
+
'ChangeLocalFidelityLocation': grpc.unary_unary_rpc_method_handler(
|
|
66
|
+
servicer.ChangeLocalFidelityLocation,
|
|
67
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.FromString,
|
|
68
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
69
|
+
),
|
|
70
|
+
'ChangeLocalFidelityMagnitude': grpc.unary_unary_rpc_method_handler(
|
|
71
|
+
servicer.ChangeLocalFidelityMagnitude,
|
|
72
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
73
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
74
|
+
),
|
|
75
|
+
}
|
|
76
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
77
|
+
'ansys.api.discovery.v0.conditions.localfidelity.LocalFidelity', rpc_method_handlers)
|
|
78
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
# This class is part of an EXPERIMENTAL API.
|
|
82
|
+
class LocalFidelity(object):
|
|
83
|
+
"""Missing associated documentation comment in .proto file."""
|
|
84
|
+
|
|
85
|
+
@staticmethod
|
|
86
|
+
def CreateLocalFidelity(request,
|
|
87
|
+
target,
|
|
88
|
+
options=(),
|
|
89
|
+
channel_credentials=None,
|
|
90
|
+
call_credentials=None,
|
|
91
|
+
insecure=False,
|
|
92
|
+
compression=None,
|
|
93
|
+
wait_for_ready=None,
|
|
94
|
+
timeout=None,
|
|
95
|
+
metadata=None):
|
|
96
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.localfidelity.LocalFidelity/CreateLocalFidelity',
|
|
97
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_localfidelity__pb2.LocalFidelityCreationRequest.SerializeToString,
|
|
98
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_localfidelity__pb2.LocalFidelityCreationResponse.FromString,
|
|
99
|
+
options, channel_credentials,
|
|
100
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
101
|
+
|
|
102
|
+
@staticmethod
|
|
103
|
+
def ChangeLocalFidelityLocation(request,
|
|
104
|
+
target,
|
|
105
|
+
options=(),
|
|
106
|
+
channel_credentials=None,
|
|
107
|
+
call_credentials=None,
|
|
108
|
+
insecure=False,
|
|
109
|
+
compression=None,
|
|
110
|
+
wait_for_ready=None,
|
|
111
|
+
timeout=None,
|
|
112
|
+
metadata=None):
|
|
113
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.localfidelity.LocalFidelity/ChangeLocalFidelityLocation',
|
|
114
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.SerializeToString,
|
|
115
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
116
|
+
options, channel_credentials,
|
|
117
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
118
|
+
|
|
119
|
+
@staticmethod
|
|
120
|
+
def ChangeLocalFidelityMagnitude(request,
|
|
121
|
+
target,
|
|
122
|
+
options=(),
|
|
123
|
+
channel_credentials=None,
|
|
124
|
+
call_credentials=None,
|
|
125
|
+
insecure=False,
|
|
126
|
+
compression=None,
|
|
127
|
+
wait_for_ready=None,
|
|
128
|
+
timeout=None,
|
|
129
|
+
metadata=None):
|
|
130
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.localfidelity.LocalFidelity/ChangeLocalFidelityMagnitude',
|
|
131
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
132
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
133
|
+
options, channel_credentials,
|
|
134
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import abc
|
|
6
|
+
import ansys.api.discovery.v0.conditions.localfidelity_pb2
|
|
7
|
+
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
8
|
+
import grpc
|
|
9
|
+
|
|
10
|
+
class LocalFidelityStub:
|
|
11
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
12
|
+
CreateLocalFidelity: grpc.UnaryUnaryMultiCallable[
|
|
13
|
+
ansys.api.discovery.v0.conditions.localfidelity_pb2.LocalFidelityCreationRequest,
|
|
14
|
+
ansys.api.discovery.v0.conditions.localfidelity_pb2.LocalFidelityCreationResponse] = ...
|
|
15
|
+
"""LocalFidelity condition methods"""
|
|
16
|
+
|
|
17
|
+
ChangeLocalFidelityLocation: grpc.UnaryUnaryMultiCallable[
|
|
18
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationExtendedRequest,
|
|
19
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
20
|
+
|
|
21
|
+
ChangeLocalFidelityMagnitude: grpc.UnaryUnaryMultiCallable[
|
|
22
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
23
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class LocalFidelityServicer(metaclass=abc.ABCMeta):
|
|
27
|
+
@abc.abstractmethod
|
|
28
|
+
def CreateLocalFidelity(self,
|
|
29
|
+
request: ansys.api.discovery.v0.conditions.localfidelity_pb2.LocalFidelityCreationRequest,
|
|
30
|
+
context: grpc.ServicerContext,
|
|
31
|
+
) -> ansys.api.discovery.v0.conditions.localfidelity_pb2.LocalFidelityCreationResponse:
|
|
32
|
+
"""LocalFidelity condition methods"""
|
|
33
|
+
pass
|
|
34
|
+
|
|
35
|
+
@abc.abstractmethod
|
|
36
|
+
def ChangeLocalFidelityLocation(self,
|
|
37
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationExtendedRequest,
|
|
38
|
+
context: grpc.ServicerContext,
|
|
39
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
40
|
+
|
|
41
|
+
@abc.abstractmethod
|
|
42
|
+
def ChangeLocalFidelityMagnitude(self,
|
|
43
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
44
|
+
context: grpc.ServicerContext,
|
|
45
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def add_LocalFidelityServicer_to_server(servicer: LocalFidelityServicer, server: grpc.Server) -> None: ...
|
|
@@ -10,16 +10,18 @@ option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
|
|
|
10
10
|
service Porous
|
|
11
11
|
{
|
|
12
12
|
//wall creation methods
|
|
13
|
-
rpc
|
|
13
|
+
rpc CreatePorousIsotropic(PorousCreationRequest) returns (PorousCreationResponse);
|
|
14
14
|
|
|
15
|
-
rpc
|
|
15
|
+
rpc CreatePorousBidirectional(PorousCreationRequest) returns (PorousCreationResponse);
|
|
16
|
+
|
|
17
|
+
rpc CreatePorousOrthotropic(PorousCreationRequest) returns (PorousCreationResponse);
|
|
16
18
|
|
|
17
19
|
// properties
|
|
18
20
|
rpc ChangePorousSpecification(ChangePorousSpecificationRequest) returns (ChangeResponse);
|
|
19
21
|
|
|
20
22
|
rpc ChangePorousLocation(ChangeLocationRequest) returns (ChangeResponse);
|
|
21
23
|
|
|
22
|
-
rpc
|
|
24
|
+
rpc ChangePorousStreamwiseFlowDirectionReference(ChangeLocationExtendedRequest) returns (ChangeResponse);
|
|
23
25
|
|
|
24
26
|
|
|
25
27
|
// Resistance coeffiecient quantities
|
|
@@ -52,17 +54,10 @@ service Porous
|
|
|
52
54
|
|
|
53
55
|
// Command Requests and Responses
|
|
54
56
|
|
|
55
|
-
|
|
56
|
-
message PorousCartesianCreationRequest{
|
|
57
|
-
ScopedCreationData creation_data = 1;
|
|
58
|
-
PorousProperties porous_properties = 2;
|
|
59
|
-
optional string flow_normal_face_id = 3;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
message PorousConicalCreationRequest{
|
|
57
|
+
message PorousCreationRequest{
|
|
63
58
|
ScopedCreationData creation_data = 1;
|
|
64
59
|
PorousProperties porous_properties = 2;
|
|
65
|
-
optional
|
|
60
|
+
optional LocationIdentifier streamwise_flow_direction_reference = 3;
|
|
66
61
|
}
|
|
67
62
|
|
|
68
63
|
message PorousCreationResponse{
|
|
@@ -88,12 +83,11 @@ enum PorousSpecification {
|
|
|
88
83
|
|
|
89
84
|
message PorousProperties
|
|
90
85
|
{
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
ResistanceCoeffients coefficients = 3;
|
|
94
|
-
SolidProperties solid_properties = 4;
|
|
86
|
+
ResistanceCoeffients coefficients = 1;
|
|
87
|
+
SolidProperties solid_properties = 2;
|
|
95
88
|
}
|
|
96
89
|
|
|
90
|
+
|
|
97
91
|
message SolidProperties
|
|
98
92
|
{
|
|
99
93
|
double porosity = 1;
|
|
@@ -121,4 +115,6 @@ message PorousDefinition {
|
|
|
121
115
|
repeated string locations = 4;
|
|
122
116
|
bool suppressed = 5;
|
|
123
117
|
PorousProperties porous_properties = 6;
|
|
118
|
+
PorousSpecification porous_specification = 7;
|
|
119
|
+
optional LocationIdentifier streamwise_flow_direction_reference = 8;
|
|
124
120
|
}
|
|
@@ -15,7 +15,7 @@ from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_d
|
|
|
15
15
|
from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.ansys/api/discovery/v0/conditions/porous.proto\x12(ansys.api.discovery.v0.conditions.porous\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.ansys/api/discovery/v0/conditions/porous.proto\x12(ansys.api.discovery.v0.conditions.porous\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xb7\x02\n\x15PorousCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12U\n\x11porous_properties\x18\x02 \x01(\x0b\x32:.ansys.api.discovery.v0.conditions.porous.PorousProperties\x12\\\n#streamwise_flow_direction_reference\x18\x03 \x01(\x0b\x32*.ansys.api.discovery.v0.LocationIdentifierH\x00\x88\x01\x01\x42&\n$_streamwise_flow_direction_reference\"\xb2\x01\n\x16PorousCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12R\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32:.ansys.api.discovery.v0.conditions.porous.PorousDefinition\"\xb6\x01\n ChangePorousSpecificationRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12T\n\rspecification\x18\x02 \x01(\x0e\x32=.ansys.api.discovery.v0.conditions.porous.PorousSpecification\"\xbd\x01\n\x10PorousProperties\x12T\n\x0c\x63oefficients\x18\x01 \x01(\x0b\x32>.ansys.api.discovery.v0.conditions.porous.ResistanceCoeffients\x12S\n\x10solid_properties\x18\x02 \x01(\x0b\x32\x39.ansys.api.discovery.v0.conditions.porous.SolidProperties\"\xd9\x01\n\x0fSolidProperties\x12\x10\n\x08porosity\x18\x01 \x01(\x01\x12\x31\n\x07\x64\x65nsity\x18\x02 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12H\n\x1eisotropic_thermal_conductivity\x18\x03 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x37\n\rspecific_heat\x18\x04 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"\xef\x03\n\x14ResistanceCoeffients\x12<\n\x12viscous_streamwise\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12=\n\x13inertial_streamwise\x18\x02 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12>\n\x0fviscous_primary\x18\x03 \x01(\x0b\x32 .ansys.api.discovery.v0.QuantityH\x00\x88\x01\x01\x12?\n\x10inertial_primary\x18\x04 \x01(\x0b\x32 .ansys.api.discovery.v0.QuantityH\x01\x88\x01\x01\x12@\n\x11viscous_secondary\x18\x05 \x01(\x0b\x32 .ansys.api.discovery.v0.QuantityH\x02\x88\x01\x01\x12\x41\n\x12inertial_secondary\x18\x06 \x01(\x0b\x32 .ansys.api.discovery.v0.QuantityH\x03\x88\x01\x01\x42\x12\n\x10_viscous_primaryB\x13\n\x11_inertial_primaryB\x14\n\x12_viscous_secondaryB\x15\n\x13_inertial_secondary\"\xf7\x03\n\x10PorousDefinition\x12\x35\n\x02id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12<\n\tparent_id\x18\x02 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\r\n\x05label\x18\x03 \x01(\t\x12\x11\n\tlocations\x18\x04 \x03(\t\x12\x12\n\nsuppressed\x18\x05 \x01(\x08\x12U\n\x11porous_properties\x18\x06 \x01(\x0b\x32:.ansys.api.discovery.v0.conditions.porous.PorousProperties\x12[\n\x14porous_specification\x18\x07 \x01(\x0e\x32=.ansys.api.discovery.v0.conditions.porous.PorousSpecification\x12\\\n#streamwise_flow_direction_reference\x18\x08 \x01(\x0b\x32*.ansys.api.discovery.v0.LocationIdentifierH\x00\x88\x01\x01\x42&\n$_streamwise_flow_direction_reference*H\n\x13PorousSpecification\x12\r\n\tISOTROPIC\x10\x00\x12\x11\n\rBIDIRECTIONAL\x10\x01\x12\x0f\n\x0bORTHOTROPIC\x10\x02\x32\x81\x12\n\x06Porous\x12\x9a\x01\n\x15\x43reatePorousIsotropic\x12?.ansys.api.discovery.v0.conditions.porous.PorousCreationRequest\x1a@.ansys.api.discovery.v0.conditions.porous.PorousCreationResponse\x12\x9e\x01\n\x19\x43reatePorousBidirectional\x12?.ansys.api.discovery.v0.conditions.porous.PorousCreationRequest\x1a@.ansys.api.discovery.v0.conditions.porous.PorousCreationResponse\x12\x9c\x01\n\x17\x43reatePorousOrthotropic\x12?.ansys.api.discovery.v0.conditions.porous.PorousCreationRequest\x1a@.ansys.api.discovery.v0.conditions.porous.PorousCreationResponse\x12\x8f\x01\n\x19\x43hangePorousSpecification\x12J.ansys.api.discovery.v0.conditions.porous.ChangePorousSpecificationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12m\n\x14\x43hangePorousLocation\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x8d\x01\n,ChangePorousStreamwiseFlowDirectionReference\x12\x35.ansys.api.discovery.v0.ChangeLocationExtendedRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x7f\n&ChangePorousViscousStreamwiseMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x80\x01\n\'ChangePorousInertialStreamwiseMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x85\x01\n,ChangePorousViscousCrossflowPrimaryMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x86\x01\n-ChangePorousInertialCrossflowPrimaryMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x87\x01\n.ChangePorousViscousCrossflowSecondaryMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x88\x01\n/ChangePorousInertialCrossflowSecondaryMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12w\n\x1f\x43hangePorousThermalInputEnabled\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12r\n\x19\x43hangePorousSolidPorosity\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12q\n\x18\x43hangePorousSolidDensity\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x86\x01\n-ChangePorousSolidIsotropicThermalConductivity\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12v\n\x1d\x43hangePorousSolidSpecificHeat\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.conditions.porous_pb2', globals())
|
|
@@ -23,24 +23,22 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
23
23
|
|
|
24
24
|
DESCRIPTOR._options = None
|
|
25
25
|
DESCRIPTOR._serialized_options = b'\252\002!Ansys.Api.Discovery.V0.Conditions'
|
|
26
|
-
_POROUSSPECIFICATION._serialized_start=
|
|
27
|
-
_POROUSSPECIFICATION._serialized_end=
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
_POROUS._serialized_start=2425
|
|
45
|
-
_POROUS._serialized_end=4558
|
|
26
|
+
_POROUSSPECIFICATION._serialized_start=2268
|
|
27
|
+
_POROUSSPECIFICATION._serialized_end=2340
|
|
28
|
+
_POROUSCREATIONREQUEST._serialized_start=173
|
|
29
|
+
_POROUSCREATIONREQUEST._serialized_end=484
|
|
30
|
+
_POROUSCREATIONRESPONSE._serialized_start=487
|
|
31
|
+
_POROUSCREATIONRESPONSE._serialized_end=665
|
|
32
|
+
_CHANGEPOROUSSPECIFICATIONREQUEST._serialized_start=668
|
|
33
|
+
_CHANGEPOROUSSPECIFICATIONREQUEST._serialized_end=850
|
|
34
|
+
_POROUSPROPERTIES._serialized_start=853
|
|
35
|
+
_POROUSPROPERTIES._serialized_end=1042
|
|
36
|
+
_SOLIDPROPERTIES._serialized_start=1045
|
|
37
|
+
_SOLIDPROPERTIES._serialized_end=1262
|
|
38
|
+
_RESISTANCECOEFFIENTS._serialized_start=1265
|
|
39
|
+
_RESISTANCECOEFFIENTS._serialized_end=1760
|
|
40
|
+
_POROUSDEFINITION._serialized_start=1763
|
|
41
|
+
_POROUSDEFINITION._serialized_end=2266
|
|
42
|
+
_POROUS._serialized_start=2343
|
|
43
|
+
_POROUS._serialized_end=4648
|
|
46
44
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -34,51 +34,30 @@ ORTHOTROPIC: PorousSpecification.ValueType = ... # 2
|
|
|
34
34
|
global___PorousSpecification = PorousSpecification
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class PorousCreationRequest(google.protobuf.message.Message):
|
|
38
38
|
"""Command Requests and Responses
|
|
39
39
|
|
|
40
|
-
Create Free Slip
|
|
41
40
|
"""
|
|
42
41
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
43
42
|
CREATION_DATA_FIELD_NUMBER: builtins.int
|
|
44
43
|
POROUS_PROPERTIES_FIELD_NUMBER: builtins.int
|
|
45
|
-
|
|
44
|
+
STREAMWISE_FLOW_DIRECTION_REFERENCE_FIELD_NUMBER: builtins.int
|
|
46
45
|
@property
|
|
47
46
|
def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData: ...
|
|
48
47
|
@property
|
|
49
48
|
def porous_properties(self) -> global___PorousProperties: ...
|
|
50
|
-
flow_normal_face_id: typing.Text = ...
|
|
51
|
-
def __init__(self,
|
|
52
|
-
*,
|
|
53
|
-
creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
|
|
54
|
-
porous_properties : typing.Optional[global___PorousProperties] = ...,
|
|
55
|
-
flow_normal_face_id : typing.Optional[typing.Text] = ...,
|
|
56
|
-
) -> None: ...
|
|
57
|
-
def HasField(self, field_name: typing_extensions.Literal["_flow_normal_face_id",b"_flow_normal_face_id","creation_data",b"creation_data","flow_normal_face_id",b"flow_normal_face_id","porous_properties",b"porous_properties"]) -> builtins.bool: ...
|
|
58
|
-
def ClearField(self, field_name: typing_extensions.Literal["_flow_normal_face_id",b"_flow_normal_face_id","creation_data",b"creation_data","flow_normal_face_id",b"flow_normal_face_id","porous_properties",b"porous_properties"]) -> None: ...
|
|
59
|
-
def WhichOneof(self, oneof_group: typing_extensions.Literal["_flow_normal_face_id",b"_flow_normal_face_id"]) -> typing.Optional[typing_extensions.Literal["flow_normal_face_id"]]: ...
|
|
60
|
-
global___PorousCartesianCreationRequest = PorousCartesianCreationRequest
|
|
61
|
-
|
|
62
|
-
class PorousConicalCreationRequest(google.protobuf.message.Message):
|
|
63
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
64
|
-
CREATION_DATA_FIELD_NUMBER: builtins.int
|
|
65
|
-
POROUS_PROPERTIES_FIELD_NUMBER: builtins.int
|
|
66
|
-
CONICAL_FLOW_NORMAL_FACE_ID_FIELD_NUMBER: builtins.int
|
|
67
|
-
@property
|
|
68
|
-
def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData: ...
|
|
69
49
|
@property
|
|
70
|
-
def
|
|
71
|
-
conical_flow_normal_face_id: typing.Text = ...
|
|
50
|
+
def streamwise_flow_direction_reference(self) -> ansys.api.discovery.v0.discoverymodels_pb2.LocationIdentifier: ...
|
|
72
51
|
def __init__(self,
|
|
73
52
|
*,
|
|
74
53
|
creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
|
|
75
54
|
porous_properties : typing.Optional[global___PorousProperties] = ...,
|
|
76
|
-
|
|
55
|
+
streamwise_flow_direction_reference : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.LocationIdentifier] = ...,
|
|
77
56
|
) -> None: ...
|
|
78
|
-
def HasField(self, field_name: typing_extensions.Literal["
|
|
79
|
-
def ClearField(self, field_name: typing_extensions.Literal["
|
|
80
|
-
def WhichOneof(self, oneof_group: typing_extensions.Literal["
|
|
81
|
-
|
|
57
|
+
def HasField(self, field_name: typing_extensions.Literal["_streamwise_flow_direction_reference",b"_streamwise_flow_direction_reference","creation_data",b"creation_data","porous_properties",b"porous_properties","streamwise_flow_direction_reference",b"streamwise_flow_direction_reference"]) -> builtins.bool: ...
|
|
58
|
+
def ClearField(self, field_name: typing_extensions.Literal["_streamwise_flow_direction_reference",b"_streamwise_flow_direction_reference","creation_data",b"creation_data","porous_properties",b"porous_properties","streamwise_flow_direction_reference",b"streamwise_flow_direction_reference"]) -> None: ...
|
|
59
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_streamwise_flow_direction_reference",b"_streamwise_flow_direction_reference"]) -> typing.Optional[typing_extensions.Literal["streamwise_flow_direction_reference"]]: ...
|
|
60
|
+
global___PorousCreationRequest = PorousCreationRequest
|
|
82
61
|
|
|
83
62
|
class PorousCreationResponse(google.protobuf.message.Message):
|
|
84
63
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
@@ -119,25 +98,19 @@ class PorousProperties(google.protobuf.message.Message):
|
|
|
119
98
|
|
|
120
99
|
"""
|
|
121
100
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
122
|
-
SPECIFICATION_FIELD_NUMBER: builtins.int
|
|
123
|
-
FLOW_NORMAL_FACE_ID_FIELD_NUMBER: builtins.int
|
|
124
101
|
COEFFICIENTS_FIELD_NUMBER: builtins.int
|
|
125
102
|
SOLID_PROPERTIES_FIELD_NUMBER: builtins.int
|
|
126
|
-
specification: global___PorousSpecification.ValueType = ...
|
|
127
|
-
flow_normal_face_id: typing.Text = ...
|
|
128
103
|
@property
|
|
129
104
|
def coefficients(self) -> global___ResistanceCoeffients: ...
|
|
130
105
|
@property
|
|
131
106
|
def solid_properties(self) -> global___SolidProperties: ...
|
|
132
107
|
def __init__(self,
|
|
133
108
|
*,
|
|
134
|
-
specification : global___PorousSpecification.ValueType = ...,
|
|
135
|
-
flow_normal_face_id : typing.Text = ...,
|
|
136
109
|
coefficients : typing.Optional[global___ResistanceCoeffients] = ...,
|
|
137
110
|
solid_properties : typing.Optional[global___SolidProperties] = ...,
|
|
138
111
|
) -> None: ...
|
|
139
112
|
def HasField(self, field_name: typing_extensions.Literal["coefficients",b"coefficients","solid_properties",b"solid_properties"]) -> builtins.bool: ...
|
|
140
|
-
def ClearField(self, field_name: typing_extensions.Literal["coefficients",b"coefficients","
|
|
113
|
+
def ClearField(self, field_name: typing_extensions.Literal["coefficients",b"coefficients","solid_properties",b"solid_properties"]) -> None: ...
|
|
141
114
|
global___PorousProperties = PorousProperties
|
|
142
115
|
|
|
143
116
|
class SolidProperties(google.protobuf.message.Message):
|
|
@@ -216,6 +189,8 @@ class PorousDefinition(google.protobuf.message.Message):
|
|
|
216
189
|
LOCATIONS_FIELD_NUMBER: builtins.int
|
|
217
190
|
SUPPRESSED_FIELD_NUMBER: builtins.int
|
|
218
191
|
POROUS_PROPERTIES_FIELD_NUMBER: builtins.int
|
|
192
|
+
POROUS_SPECIFICATION_FIELD_NUMBER: builtins.int
|
|
193
|
+
STREAMWISE_FLOW_DIRECTION_REFERENCE_FIELD_NUMBER: builtins.int
|
|
219
194
|
@property
|
|
220
195
|
def id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
221
196
|
@property
|
|
@@ -226,6 +201,9 @@ class PorousDefinition(google.protobuf.message.Message):
|
|
|
226
201
|
suppressed: builtins.bool = ...
|
|
227
202
|
@property
|
|
228
203
|
def porous_properties(self) -> global___PorousProperties: ...
|
|
204
|
+
porous_specification: global___PorousSpecification.ValueType = ...
|
|
205
|
+
@property
|
|
206
|
+
def streamwise_flow_direction_reference(self) -> ansys.api.discovery.v0.discoverymodels_pb2.LocationIdentifier: ...
|
|
229
207
|
def __init__(self,
|
|
230
208
|
*,
|
|
231
209
|
id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
@@ -234,7 +212,10 @@ class PorousDefinition(google.protobuf.message.Message):
|
|
|
234
212
|
locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
|
|
235
213
|
suppressed : builtins.bool = ...,
|
|
236
214
|
porous_properties : typing.Optional[global___PorousProperties] = ...,
|
|
215
|
+
porous_specification : global___PorousSpecification.ValueType = ...,
|
|
216
|
+
streamwise_flow_direction_reference : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.LocationIdentifier] = ...,
|
|
237
217
|
) -> None: ...
|
|
238
|
-
def HasField(self, field_name: typing_extensions.Literal["id",b"id","parent_id",b"parent_id","porous_properties",b"porous_properties"]) -> builtins.bool: ...
|
|
239
|
-
def ClearField(self, field_name: typing_extensions.Literal["id",b"id","label",b"label","locations",b"locations","parent_id",b"parent_id","porous_properties",b"porous_properties","suppressed",b"suppressed"]) -> None: ...
|
|
218
|
+
def HasField(self, field_name: typing_extensions.Literal["_streamwise_flow_direction_reference",b"_streamwise_flow_direction_reference","id",b"id","parent_id",b"parent_id","porous_properties",b"porous_properties","streamwise_flow_direction_reference",b"streamwise_flow_direction_reference"]) -> builtins.bool: ...
|
|
219
|
+
def ClearField(self, field_name: typing_extensions.Literal["_streamwise_flow_direction_reference",b"_streamwise_flow_direction_reference","id",b"id","label",b"label","locations",b"locations","parent_id",b"parent_id","porous_properties",b"porous_properties","porous_specification",b"porous_specification","streamwise_flow_direction_reference",b"streamwise_flow_direction_reference","suppressed",b"suppressed"]) -> None: ...
|
|
220
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_streamwise_flow_direction_reference",b"_streamwise_flow_direction_reference"]) -> typing.Optional[typing_extensions.Literal["streamwise_flow_direction_reference"]]: ...
|
|
240
221
|
global___PorousDefinition = PorousDefinition
|