ansys-api-discovery 0.6.14__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/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/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 +4 -2
- ansys/api/discovery/v0/connections/fluidinterface_pb2.py +11 -11
- ansys/api/discovery/v0/connections/fluidinterface_pb2.pyi +9 -3
- ansys/api/discovery/v0/connections/fluidinterface_pb2_grpc.py +10 -10
- ansys/api/discovery/v0/connections/fluidinterface_pb2_grpc.pyi +4 -4
- 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.14.dist-info → ansys_api_discovery-0.6.15.dist-info}/METADATA +3 -3
- {ansys_api_discovery-0.6.14.dist-info → ansys_api_discovery-0.6.15.dist-info}/RECORD +36 -36
- {ansys_api_discovery-0.6.14.dist-info → ansys_api_discovery-0.6.15.dist-info}/LICENSE +0 -0
- {ansys_api_discovery-0.6.14.dist-info → ansys_api_discovery-0.6.15.dist-info}/WHEEL +0 -0
- {ansys_api_discovery-0.6.14.dist-info → ansys_api_discovery-0.6.15.dist-info}/entry_points.txt +0 -0
- {ansys_api_discovery-0.6.14.dist-info → ansys_api_discovery-0.6.15.dist-info}/top_level.txt +0 -0
ansys/api/discovery/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.
|
|
1
|
+
0.6.15
|
|
@@ -36,7 +36,7 @@ service Fan
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
message InternalFanAssignmentCreationRequest{
|
|
39
|
-
|
|
39
|
+
ScopedCreationData creation_data = 1;
|
|
40
40
|
ansys.api.dbu.v0.PhysicsEntityIdentifier fan_id = 2;
|
|
41
41
|
InternalFanAssignmentProperties internal_fan_assignment_properties = 3;
|
|
42
42
|
}
|
|
@@ -74,6 +74,7 @@ message InternalFanAssignmentProperties {
|
|
|
74
74
|
Quantity hub_radius = 3;
|
|
75
75
|
Quantity tip_radius = 4;
|
|
76
76
|
bool is_swirling = 5;
|
|
77
|
+
optional ansys.api.dbu.v0.EntityIdentifier inlet_face = 6;
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
enum ExternalFanSpecification
|
|
@@ -16,7 +16,7 @@ from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_disc
|
|
|
16
16
|
from ansys.api.discovery.v0.engineeringdata import fandata_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_engineeringdata_dot_fandata__pb2
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,ansys/api/discovery/v0/assignments/fan.proto\x12\x30\x61nsys.api.discovery.v0.assignments.fanassignment\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\x1a\x34\x61nsys/api/discovery/v0/engineeringdata/fandata.proto\"\
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,ansys/api/discovery/v0/assignments/fan.proto\x12\x30\x61nsys.api.discovery.v0.assignments.fanassignment\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\x1a\x34\x61nsys/api/discovery/v0/engineeringdata/fandata.proto\"\xa3\x02\n$InternalFanAssignmentCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12\x39\n\x06\x66\x61n_id\x18\x02 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12}\n\"internal_fan_assignment_properties\x18\x03 \x01(\x0b\x32Q.ansys.api.discovery.v0.assignments.fanassignment.InternalFanAssignmentProperties\"\xa3\x02\n$ExternalFanAssignmentCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12\x39\n\x06\x66\x61n_id\x18\x02 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12}\n\"external_fan_assignment_properties\x18\x03 \x01(\x0b\x32Q.ansys.api.discovery.v0.assignments.fanassignment.ExternalFanAssignmentProperties\"\xd8\x01\n%InternalFanAssignmentCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12i\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32Q.ansys.api.discovery.v0.assignments.fanassignment.InternalFanAssignmentDefinition\"\xd8\x01\n%ExternalFanAssignmentCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12i\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32Q.ansys.api.discovery.v0.assignments.fanassignment.ExternalFanAssignmentDefinition\"\xc8\x01\n%ChangeExternalFanSpecificationRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\x61\n\rspecification\x18\x02 \x01(\x0e\x32J.ansys.api.discovery.v0.assignments.fanassignment.ExternalFanSpecification\"\xd3\x01\n\x1f\x45xternalFanAssignmentProperties\x12\x61\n\rspecification\x18\x01 \x01(\x0e\x32J.ansys.api.discovery.v0.assignments.fanassignment.ExternalFanSpecification\x12\x38\n\x0egauge_pressure\x18\x02 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x13\n\x0bis_swirling\x18\x03 \x01(\x08\"\xc9\x02\n\x1fInternalFanAssignmentProperties\x12\x13\n\x0bis_shrouded\x18\x01 \x01(\x08\x12\x44\n\x12specify_total_heat\x18\x02 \x01(\x0b\x32(.ansys.api.discovery.v0.OptionalQuantity\x12\x34\n\nhub_radius\x18\x03 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x34\n\ntip_radius\x18\x04 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x13\n\x0bis_swirling\x18\x05 \x01(\x08\x12;\n\ninlet_face\x18\x06 \x01(\x0b\x32\".ansys.api.dbu.v0.EntityIdentifierH\x00\x88\x01\x01\x42\r\n\x0b_inlet_face\"\x99\x03\n\x1fInternalFanAssignmentDefinition\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\x12p\n\x15\x61ssignment_properties\x18\x06 \x01(\x0b\x32Q.ansys.api.discovery.v0.assignments.fanassignment.ExternalFanAssignmentProperties\x12Y\n\x0e\x66\x61n_properties\x18\x07 \x01(\x0b\x32\x41.ansys.api.discovery.v0.engineeringdata.fandata.FanDataProperties\"\x99\x03\n\x1f\x45xternalFanAssignmentDefinition\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\x12p\n\x15\x61ssignment_properties\x18\x06 \x01(\x0b\x32Q.ansys.api.discovery.v0.assignments.fanassignment.InternalFanAssignmentProperties\x12Y\n\x0e\x66\x61n_properties\x18\x07 \x01(\x0b\x32\x41.ansys.api.discovery.v0.engineeringdata.fandata.FanDataProperties*3\n\x18\x45xternalFanSpecification\x12\n\n\x06INTAKE\x10\x00\x12\x0b\n\x07\x45XHAUST\x10\x01\x32\xec\x0c\n\x03\x46\x61n\x12\xce\x01\n\x1b\x43reateInternalFanAssignment\x12V.ansys.api.discovery.v0.assignments.fanassignment.InternalFanAssignmentCreationRequest\x1aW.ansys.api.discovery.v0.assignments.fanassignment.InternalFanAssignmentCreationResponse\x12\xce\x01\n\x1b\x43reateExternalFanAssignment\x12V.ansys.api.discovery.v0.assignments.fanassignment.ExternalFanAssignmentCreationRequest\x1aW.ansys.api.discovery.v0.assignments.fanassignment.ExternalFanAssignmentCreationResponse\x12n\n\x13\x43hangeFanAssignment\x12/.ansys.api.discovery.v0.ChangeAssignmentRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\xa1\x01\n\x1e\x43hangeExternalFanSpecification\x12W.ansys.api.discovery.v0.assignments.fanassignment.ChangeExternalFanSpecificationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12r\n\x11\x43hangeFanLocation\x12\x35.ansys.api.discovery.v0.ChangeLocationExtendedRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12w\n\x1e\x43hangeExternalFanGaugePressure\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1a\x43hangeInternalFanInletFace\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1b\x43hangeInternalFanIsShrouded\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1a\x43hangeInternalFanHubRadius\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1a\x43hangeInternalFanTipRadius\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1a\x43hangeInternalFanTotalHeat\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12y\n!ChangeInternalFanSpecifyTotalHeat\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB%\xaa\x02\"Ansys.Api.Discovery.V0.Assignmentsb\x06proto3')
|
|
20
20
|
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
22
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.assignments.fan_pb2', globals())
|
|
@@ -24,26 +24,26 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
24
24
|
|
|
25
25
|
DESCRIPTOR._options = None
|
|
26
26
|
DESCRIPTOR._serialized_options = b'\252\002\"Ansys.Api.Discovery.V0.Assignments'
|
|
27
|
-
_EXTERNALFANSPECIFICATION._serialized_start=
|
|
28
|
-
_EXTERNALFANSPECIFICATION._serialized_end=
|
|
27
|
+
_EXTERNALFANSPECIFICATION._serialized_start=2831
|
|
28
|
+
_EXTERNALFANSPECIFICATION._serialized_end=2882
|
|
29
29
|
_INTERNALFANASSIGNMENTCREATIONREQUEST._serialized_start=233
|
|
30
|
-
_INTERNALFANASSIGNMENTCREATIONREQUEST._serialized_end=
|
|
31
|
-
_EXTERNALFANASSIGNMENTCREATIONREQUEST._serialized_start=
|
|
32
|
-
_EXTERNALFANASSIGNMENTCREATIONREQUEST._serialized_end=
|
|
33
|
-
_INTERNALFANASSIGNMENTCREATIONRESPONSE._serialized_start=
|
|
34
|
-
_INTERNALFANASSIGNMENTCREATIONRESPONSE._serialized_end=
|
|
35
|
-
_EXTERNALFANASSIGNMENTCREATIONRESPONSE._serialized_start=
|
|
36
|
-
_EXTERNALFANASSIGNMENTCREATIONRESPONSE._serialized_end=
|
|
37
|
-
_CHANGEEXTERNALFANSPECIFICATIONREQUEST._serialized_start=
|
|
38
|
-
_CHANGEEXTERNALFANSPECIFICATIONREQUEST._serialized_end=
|
|
39
|
-
_EXTERNALFANASSIGNMENTPROPERTIES._serialized_start=
|
|
40
|
-
_EXTERNALFANASSIGNMENTPROPERTIES._serialized_end=
|
|
41
|
-
_INTERNALFANASSIGNMENTPROPERTIES._serialized_start=
|
|
42
|
-
_INTERNALFANASSIGNMENTPROPERTIES._serialized_end=
|
|
43
|
-
_INTERNALFANASSIGNMENTDEFINITION._serialized_start=
|
|
44
|
-
_INTERNALFANASSIGNMENTDEFINITION._serialized_end=
|
|
45
|
-
_EXTERNALFANASSIGNMENTDEFINITION._serialized_start=
|
|
46
|
-
_EXTERNALFANASSIGNMENTDEFINITION._serialized_end=
|
|
47
|
-
_FAN._serialized_start=
|
|
48
|
-
_FAN._serialized_end=
|
|
30
|
+
_INTERNALFANASSIGNMENTCREATIONREQUEST._serialized_end=524
|
|
31
|
+
_EXTERNALFANASSIGNMENTCREATIONREQUEST._serialized_start=527
|
|
32
|
+
_EXTERNALFANASSIGNMENTCREATIONREQUEST._serialized_end=818
|
|
33
|
+
_INTERNALFANASSIGNMENTCREATIONRESPONSE._serialized_start=821
|
|
34
|
+
_INTERNALFANASSIGNMENTCREATIONRESPONSE._serialized_end=1037
|
|
35
|
+
_EXTERNALFANASSIGNMENTCREATIONRESPONSE._serialized_start=1040
|
|
36
|
+
_EXTERNALFANASSIGNMENTCREATIONRESPONSE._serialized_end=1256
|
|
37
|
+
_CHANGEEXTERNALFANSPECIFICATIONREQUEST._serialized_start=1259
|
|
38
|
+
_CHANGEEXTERNALFANSPECIFICATIONREQUEST._serialized_end=1459
|
|
39
|
+
_EXTERNALFANASSIGNMENTPROPERTIES._serialized_start=1462
|
|
40
|
+
_EXTERNALFANASSIGNMENTPROPERTIES._serialized_end=1673
|
|
41
|
+
_INTERNALFANASSIGNMENTPROPERTIES._serialized_start=1676
|
|
42
|
+
_INTERNALFANASSIGNMENTPROPERTIES._serialized_end=2005
|
|
43
|
+
_INTERNALFANASSIGNMENTDEFINITION._serialized_start=2008
|
|
44
|
+
_INTERNALFANASSIGNMENTDEFINITION._serialized_end=2417
|
|
45
|
+
_EXTERNALFANASSIGNMENTDEFINITION._serialized_start=2420
|
|
46
|
+
_EXTERNALFANASSIGNMENTDEFINITION._serialized_end=2829
|
|
47
|
+
_FAN._serialized_start=2885
|
|
48
|
+
_FAN._serialized_end=4529
|
|
49
49
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -36,14 +36,14 @@ class InternalFanAssignmentCreationRequest(google.protobuf.message.Message):
|
|
|
36
36
|
FAN_ID_FIELD_NUMBER: builtins.int
|
|
37
37
|
INTERNAL_FAN_ASSIGNMENT_PROPERTIES_FIELD_NUMBER: builtins.int
|
|
38
38
|
@property
|
|
39
|
-
def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.
|
|
39
|
+
def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData: ...
|
|
40
40
|
@property
|
|
41
41
|
def fan_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
42
42
|
@property
|
|
43
43
|
def internal_fan_assignment_properties(self) -> global___InternalFanAssignmentProperties: ...
|
|
44
44
|
def __init__(self,
|
|
45
45
|
*,
|
|
46
|
-
creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.
|
|
46
|
+
creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
|
|
47
47
|
fan_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
48
48
|
internal_fan_assignment_properties : typing.Optional[global___InternalFanAssignmentProperties] = ...,
|
|
49
49
|
) -> None: ...
|
|
@@ -148,6 +148,7 @@ class InternalFanAssignmentProperties(google.protobuf.message.Message):
|
|
|
148
148
|
HUB_RADIUS_FIELD_NUMBER: builtins.int
|
|
149
149
|
TIP_RADIUS_FIELD_NUMBER: builtins.int
|
|
150
150
|
IS_SWIRLING_FIELD_NUMBER: builtins.int
|
|
151
|
+
INLET_FACE_FIELD_NUMBER: builtins.int
|
|
151
152
|
is_shrouded: builtins.bool = ...
|
|
152
153
|
@property
|
|
153
154
|
def specify_total_heat(self) -> ansys.api.discovery.v0.discoverymodels_pb2.OptionalQuantity: ...
|
|
@@ -156,6 +157,8 @@ class InternalFanAssignmentProperties(google.protobuf.message.Message):
|
|
|
156
157
|
@property
|
|
157
158
|
def tip_radius(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
|
|
158
159
|
is_swirling: builtins.bool = ...
|
|
160
|
+
@property
|
|
161
|
+
def inlet_face(self) -> ansys.api.dbu.v0.dbumodels_pb2.EntityIdentifier: ...
|
|
159
162
|
def __init__(self,
|
|
160
163
|
*,
|
|
161
164
|
is_shrouded : builtins.bool = ...,
|
|
@@ -163,9 +166,11 @@ class InternalFanAssignmentProperties(google.protobuf.message.Message):
|
|
|
163
166
|
hub_radius : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
164
167
|
tip_radius : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
165
168
|
is_swirling : builtins.bool = ...,
|
|
169
|
+
inlet_face : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.EntityIdentifier] = ...,
|
|
166
170
|
) -> None: ...
|
|
167
|
-
def HasField(self, field_name: typing_extensions.Literal["hub_radius",b"hub_radius","specify_total_heat",b"specify_total_heat","tip_radius",b"tip_radius"]) -> builtins.bool: ...
|
|
168
|
-
def ClearField(self, field_name: typing_extensions.Literal["hub_radius",b"hub_radius","is_shrouded",b"is_shrouded","is_swirling",b"is_swirling","specify_total_heat",b"specify_total_heat","tip_radius",b"tip_radius"]) -> None: ...
|
|
171
|
+
def HasField(self, field_name: typing_extensions.Literal["_inlet_face",b"_inlet_face","hub_radius",b"hub_radius","inlet_face",b"inlet_face","specify_total_heat",b"specify_total_heat","tip_radius",b"tip_radius"]) -> builtins.bool: ...
|
|
172
|
+
def ClearField(self, field_name: typing_extensions.Literal["_inlet_face",b"_inlet_face","hub_radius",b"hub_radius","inlet_face",b"inlet_face","is_shrouded",b"is_shrouded","is_swirling",b"is_swirling","specify_total_heat",b"specify_total_heat","tip_radius",b"tip_radius"]) -> None: ...
|
|
173
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_inlet_face",b"_inlet_face"]) -> typing.Optional[typing_extensions.Literal["inlet_face"]]: ...
|
|
169
174
|
global___InternalFanAssignmentProperties = InternalFanAssignmentProperties
|
|
170
175
|
|
|
171
176
|
class InternalFanAssignmentDefinition(google.protobuf.message.Message):
|
|
@@ -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
|
|
@@ -15,14 +15,19 @@ class PorousStub(object):
|
|
|
15
15
|
Args:
|
|
16
16
|
channel: A grpc.Channel.
|
|
17
17
|
"""
|
|
18
|
-
self.
|
|
19
|
-
'/ansys.api.discovery.v0.conditions.porous.Porous/
|
|
20
|
-
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.
|
|
18
|
+
self.CreatePorousIsotropic = channel.unary_unary(
|
|
19
|
+
'/ansys.api.discovery.v0.conditions.porous.Porous/CreatePorousIsotropic',
|
|
20
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationRequest.SerializeToString,
|
|
21
21
|
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationResponse.FromString,
|
|
22
22
|
)
|
|
23
|
-
self.
|
|
24
|
-
'/ansys.api.discovery.v0.conditions.porous.Porous/
|
|
25
|
-
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.
|
|
23
|
+
self.CreatePorousBidirectional = channel.unary_unary(
|
|
24
|
+
'/ansys.api.discovery.v0.conditions.porous.Porous/CreatePorousBidirectional',
|
|
25
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationRequest.SerializeToString,
|
|
26
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.CreatePorousOrthotropic = channel.unary_unary(
|
|
29
|
+
'/ansys.api.discovery.v0.conditions.porous.Porous/CreatePorousOrthotropic',
|
|
30
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationRequest.SerializeToString,
|
|
26
31
|
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationResponse.FromString,
|
|
27
32
|
)
|
|
28
33
|
self.ChangePorousSpecification = channel.unary_unary(
|
|
@@ -35,9 +40,9 @@ class PorousStub(object):
|
|
|
35
40
|
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
|
|
36
41
|
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
37
42
|
)
|
|
38
|
-
self.
|
|
39
|
-
'/ansys.api.discovery.v0.conditions.porous.Porous/
|
|
40
|
-
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.
|
|
43
|
+
self.ChangePorousStreamwiseFlowDirectionReference = channel.unary_unary(
|
|
44
|
+
'/ansys.api.discovery.v0.conditions.porous.Porous/ChangePorousStreamwiseFlowDirectionReference',
|
|
45
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.SerializeToString,
|
|
41
46
|
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
42
47
|
)
|
|
43
48
|
self.ChangePorousViscousStreamwiseMagnitude = channel.unary_unary(
|
|
@@ -100,14 +105,20 @@ class PorousStub(object):
|
|
|
100
105
|
class PorousServicer(object):
|
|
101
106
|
"""Missing associated documentation comment in .proto file."""
|
|
102
107
|
|
|
103
|
-
def
|
|
108
|
+
def CreatePorousIsotropic(self, request, context):
|
|
104
109
|
"""wall creation methods
|
|
105
110
|
"""
|
|
106
111
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
107
112
|
context.set_details('Method not implemented!')
|
|
108
113
|
raise NotImplementedError('Method not implemented!')
|
|
109
114
|
|
|
110
|
-
def
|
|
115
|
+
def CreatePorousBidirectional(self, request, context):
|
|
116
|
+
"""Missing associated documentation comment in .proto file."""
|
|
117
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
118
|
+
context.set_details('Method not implemented!')
|
|
119
|
+
raise NotImplementedError('Method not implemented!')
|
|
120
|
+
|
|
121
|
+
def CreatePorousOrthotropic(self, request, context):
|
|
111
122
|
"""Missing associated documentation comment in .proto file."""
|
|
112
123
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
113
124
|
context.set_details('Method not implemented!')
|
|
@@ -126,7 +137,7 @@ class PorousServicer(object):
|
|
|
126
137
|
context.set_details('Method not implemented!')
|
|
127
138
|
raise NotImplementedError('Method not implemented!')
|
|
128
139
|
|
|
129
|
-
def
|
|
140
|
+
def ChangePorousStreamwiseFlowDirectionReference(self, request, context):
|
|
130
141
|
"""Missing associated documentation comment in .proto file."""
|
|
131
142
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
132
143
|
context.set_details('Method not implemented!')
|
|
@@ -204,14 +215,19 @@ class PorousServicer(object):
|
|
|
204
215
|
|
|
205
216
|
def add_PorousServicer_to_server(servicer, server):
|
|
206
217
|
rpc_method_handlers = {
|
|
207
|
-
'
|
|
208
|
-
servicer.
|
|
209
|
-
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.
|
|
218
|
+
'CreatePorousIsotropic': grpc.unary_unary_rpc_method_handler(
|
|
219
|
+
servicer.CreatePorousIsotropic,
|
|
220
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationRequest.FromString,
|
|
221
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationResponse.SerializeToString,
|
|
222
|
+
),
|
|
223
|
+
'CreatePorousBidirectional': grpc.unary_unary_rpc_method_handler(
|
|
224
|
+
servicer.CreatePorousBidirectional,
|
|
225
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationRequest.FromString,
|
|
210
226
|
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationResponse.SerializeToString,
|
|
211
227
|
),
|
|
212
|
-
'
|
|
213
|
-
servicer.
|
|
214
|
-
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.
|
|
228
|
+
'CreatePorousOrthotropic': grpc.unary_unary_rpc_method_handler(
|
|
229
|
+
servicer.CreatePorousOrthotropic,
|
|
230
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationRequest.FromString,
|
|
215
231
|
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationResponse.SerializeToString,
|
|
216
232
|
),
|
|
217
233
|
'ChangePorousSpecification': grpc.unary_unary_rpc_method_handler(
|
|
@@ -224,9 +240,9 @@ def add_PorousServicer_to_server(servicer, server):
|
|
|
224
240
|
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.FromString,
|
|
225
241
|
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
226
242
|
),
|
|
227
|
-
'
|
|
228
|
-
servicer.
|
|
229
|
-
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.
|
|
243
|
+
'ChangePorousStreamwiseFlowDirectionReference': grpc.unary_unary_rpc_method_handler(
|
|
244
|
+
servicer.ChangePorousStreamwiseFlowDirectionReference,
|
|
245
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.FromString,
|
|
230
246
|
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
231
247
|
),
|
|
232
248
|
'ChangePorousViscousStreamwiseMagnitude': grpc.unary_unary_rpc_method_handler(
|
|
@@ -295,7 +311,24 @@ class Porous(object):
|
|
|
295
311
|
"""Missing associated documentation comment in .proto file."""
|
|
296
312
|
|
|
297
313
|
@staticmethod
|
|
298
|
-
def
|
|
314
|
+
def CreatePorousIsotropic(request,
|
|
315
|
+
target,
|
|
316
|
+
options=(),
|
|
317
|
+
channel_credentials=None,
|
|
318
|
+
call_credentials=None,
|
|
319
|
+
insecure=False,
|
|
320
|
+
compression=None,
|
|
321
|
+
wait_for_ready=None,
|
|
322
|
+
timeout=None,
|
|
323
|
+
metadata=None):
|
|
324
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.porous.Porous/CreatePorousIsotropic',
|
|
325
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationRequest.SerializeToString,
|
|
326
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationResponse.FromString,
|
|
327
|
+
options, channel_credentials,
|
|
328
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
329
|
+
|
|
330
|
+
@staticmethod
|
|
331
|
+
def CreatePorousBidirectional(request,
|
|
299
332
|
target,
|
|
300
333
|
options=(),
|
|
301
334
|
channel_credentials=None,
|
|
@@ -305,14 +338,14 @@ class Porous(object):
|
|
|
305
338
|
wait_for_ready=None,
|
|
306
339
|
timeout=None,
|
|
307
340
|
metadata=None):
|
|
308
|
-
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.porous.Porous/
|
|
309
|
-
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.
|
|
341
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.porous.Porous/CreatePorousBidirectional',
|
|
342
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationRequest.SerializeToString,
|
|
310
343
|
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationResponse.FromString,
|
|
311
344
|
options, channel_credentials,
|
|
312
345
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
313
346
|
|
|
314
347
|
@staticmethod
|
|
315
|
-
def
|
|
348
|
+
def CreatePorousOrthotropic(request,
|
|
316
349
|
target,
|
|
317
350
|
options=(),
|
|
318
351
|
channel_credentials=None,
|
|
@@ -322,8 +355,8 @@ class Porous(object):
|
|
|
322
355
|
wait_for_ready=None,
|
|
323
356
|
timeout=None,
|
|
324
357
|
metadata=None):
|
|
325
|
-
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.porous.Porous/
|
|
326
|
-
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.
|
|
358
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.porous.Porous/CreatePorousOrthotropic',
|
|
359
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationRequest.SerializeToString,
|
|
327
360
|
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_porous__pb2.PorousCreationResponse.FromString,
|
|
328
361
|
options, channel_credentials,
|
|
329
362
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -363,7 +396,7 @@ class Porous(object):
|
|
|
363
396
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
364
397
|
|
|
365
398
|
@staticmethod
|
|
366
|
-
def
|
|
399
|
+
def ChangePorousStreamwiseFlowDirectionReference(request,
|
|
367
400
|
target,
|
|
368
401
|
options=(),
|
|
369
402
|
channel_credentials=None,
|
|
@@ -373,8 +406,8 @@ class Porous(object):
|
|
|
373
406
|
wait_for_ready=None,
|
|
374
407
|
timeout=None,
|
|
375
408
|
metadata=None):
|
|
376
|
-
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.porous.Porous/
|
|
377
|
-
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.
|
|
409
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.porous.Porous/ChangePorousStreamwiseFlowDirectionReference',
|
|
410
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.SerializeToString,
|
|
378
411
|
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
379
412
|
options, channel_credentials,
|
|
380
413
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|