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.

Files changed (56) hide show
  1. ansys/api/discovery/VERSION +1 -1
  2. ansys/api/discovery/v0/assignments/fan.proto +2 -1
  3. ansys/api/discovery/v0/assignments/fan_pb2.py +22 -22
  4. ansys/api/discovery/v0/assignments/fan_pb2.pyi +9 -4
  5. ansys/api/discovery/v0/conditions/current.proto +43 -0
  6. ansys/api/discovery/v0/conditions/current_pb2.py +36 -0
  7. ansys/api/discovery/v0/conditions/current_pb2.pyi +94 -0
  8. ansys/api/discovery/v0/conditions/current_pb2_grpc.py +134 -0
  9. ansys/api/discovery/v0/conditions/current_pb2_grpc.pyi +48 -0
  10. ansys/api/discovery/v0/conditions/localfidelity.proto +43 -0
  11. ansys/api/discovery/v0/conditions/localfidelity_pb2.py +36 -0
  12. ansys/api/discovery/v0/conditions/localfidelity_pb2.pyi +94 -0
  13. ansys/api/discovery/v0/conditions/localfidelity_pb2_grpc.py +134 -0
  14. ansys/api/discovery/v0/conditions/localfidelity_pb2_grpc.pyi +48 -0
  15. ansys/api/discovery/v0/conditions/porous.proto +12 -16
  16. ansys/api/discovery/v0/conditions/porous_pb2.py +19 -21
  17. ansys/api/discovery/v0/conditions/porous_pb2.pyi +19 -38
  18. ansys/api/discovery/v0/conditions/porous_pb2_grpc.py +63 -30
  19. ansys/api/discovery/v0/conditions/porous_pb2_grpc.pyi +22 -12
  20. ansys/api/discovery/v0/conditions/rotatingfluidzone.proto +1 -1
  21. ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.py +6 -6
  22. ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.pyi +5 -5
  23. ansys/api/discovery/v0/conditions/symmetry.proto +35 -0
  24. ansys/api/discovery/v0/conditions/symmetry_pb2.py +34 -0
  25. ansys/api/discovery/v0/conditions/symmetry_pb2.pyi +72 -0
  26. ansys/api/discovery/v0/conditions/symmetry_pb2_grpc.py +101 -0
  27. ansys/api/discovery/v0/conditions/symmetry_pb2_grpc.pyi +38 -0
  28. ansys/api/discovery/v0/conditions/voltage.proto +43 -0
  29. ansys/api/discovery/v0/conditions/voltage_pb2.py +36 -0
  30. ansys/api/discovery/v0/conditions/voltage_pb2.pyi +94 -0
  31. ansys/api/discovery/v0/conditions/voltage_pb2_grpc.py +134 -0
  32. ansys/api/discovery/v0/conditions/voltage_pb2_grpc.pyi +48 -0
  33. ansys/api/discovery/v0/connections/contact.proto +4 -4
  34. ansys/api/discovery/v0/connections/contact_pb2.py +8 -8
  35. ansys/api/discovery/v0/connections/contact_pb2.pyi +8 -1
  36. ansys/api/discovery/v0/connections/contact_pb2_grpc.py +3 -36
  37. ansys/api/discovery/v0/connections/contact_pb2_grpc.pyi +2 -12
  38. ansys/api/discovery/v0/connections/contactgroup.proto +4 -3
  39. ansys/api/discovery/v0/connections/contactgroup_pb2.py +8 -8
  40. ansys/api/discovery/v0/connections/contactgroup_pb2.pyi +8 -1
  41. ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.py +3 -3
  42. ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.pyi +2 -2
  43. ansys/api/discovery/v0/connections/fluidinterface.proto +17 -15
  44. ansys/api/discovery/v0/connections/fluidinterface_pb2.py +15 -15
  45. ansys/api/discovery/v0/connections/fluidinterface_pb2.pyi +23 -17
  46. ansys/api/discovery/v0/connections/fluidinterface_pb2_grpc.py +72 -72
  47. ansys/api/discovery/v0/connections/fluidinterface_pb2_grpc.pyi +24 -24
  48. ansys/api/discovery/v0/discoverymodels.proto +15 -1
  49. ansys/api/discovery/v0/discoverymodels_pb2.py +52 -48
  50. ansys/api/discovery/v0/discoverymodels_pb2.pyi +45 -5
  51. {ansys_api_discovery-0.6.13.dist-info → ansys_api_discovery-0.6.15.dist-info}/METADATA +3 -3
  52. {ansys_api_discovery-0.6.13.dist-info → ansys_api_discovery-0.6.15.dist-info}/RECORD +56 -36
  53. {ansys_api_discovery-0.6.13.dist-info → ansys_api_discovery-0.6.15.dist-info}/LICENSE +0 -0
  54. {ansys_api_discovery-0.6.13.dist-info → ansys_api_discovery-0.6.15.dist-info}/WHEEL +0 -0
  55. {ansys_api_discovery-0.6.13.dist-info → ansys_api_discovery-0.6.15.dist-info}/entry_points.txt +0 -0
  56. {ansys_api_discovery-0.6.13.dist-info → ansys_api_discovery-0.6.15.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
1
- 0.6.13
1
+ 0.6.15
@@ -36,7 +36,7 @@ service Fan
36
36
  }
37
37
 
38
38
  message InternalFanAssignmentCreationRequest{
39
- DoubleSidedScopedCreationData creation_data = 1;
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\"\xae\x02\n$InternalFanAssignmentCreationRequest\x12L\n\rcreation_data\x18\x01 \x01(\x0b\x32\x35.ansys.api.discovery.v0.DoubleSidedScopedCreationData\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\"\xfd\x01\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\"\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')
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=2766
28
- _EXTERNALFANSPECIFICATION._serialized_end=2817
27
+ _EXTERNALFANSPECIFICATION._serialized_start=2831
28
+ _EXTERNALFANSPECIFICATION._serialized_end=2882
29
29
  _INTERNALFANASSIGNMENTCREATIONREQUEST._serialized_start=233
30
- _INTERNALFANASSIGNMENTCREATIONREQUEST._serialized_end=535
31
- _EXTERNALFANASSIGNMENTCREATIONREQUEST._serialized_start=538
32
- _EXTERNALFANASSIGNMENTCREATIONREQUEST._serialized_end=829
33
- _INTERNALFANASSIGNMENTCREATIONRESPONSE._serialized_start=832
34
- _INTERNALFANASSIGNMENTCREATIONRESPONSE._serialized_end=1048
35
- _EXTERNALFANASSIGNMENTCREATIONRESPONSE._serialized_start=1051
36
- _EXTERNALFANASSIGNMENTCREATIONRESPONSE._serialized_end=1267
37
- _CHANGEEXTERNALFANSPECIFICATIONREQUEST._serialized_start=1270
38
- _CHANGEEXTERNALFANSPECIFICATIONREQUEST._serialized_end=1470
39
- _EXTERNALFANASSIGNMENTPROPERTIES._serialized_start=1473
40
- _EXTERNALFANASSIGNMENTPROPERTIES._serialized_end=1684
41
- _INTERNALFANASSIGNMENTPROPERTIES._serialized_start=1687
42
- _INTERNALFANASSIGNMENTPROPERTIES._serialized_end=1940
43
- _INTERNALFANASSIGNMENTDEFINITION._serialized_start=1943
44
- _INTERNALFANASSIGNMENTDEFINITION._serialized_end=2352
45
- _EXTERNALFANASSIGNMENTDEFINITION._serialized_start=2355
46
- _EXTERNALFANASSIGNMENTDEFINITION._serialized_end=2764
47
- _FAN._serialized_start=2820
48
- _FAN._serialized_end=4464
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.DoubleSidedScopedCreationData: ...
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.DoubleSidedScopedCreationData] = ...,
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):
@@ -0,0 +1,43 @@
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.conditions.current;
4
+
5
+ import "ansys/api/dbu/v0/dbumodels.proto";
6
+ import "ansys/api/discovery/v0/discoverymodels.proto";
7
+
8
+ option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
9
+
10
+ service Current
11
+ {
12
+ //Current condition methods
13
+ rpc CreateCurrent(CurrentCreationRequest) returns (CurrentCreationResponse);
14
+
15
+ rpc ChangeCurrentLocation(ChangeLocationRequest) returns(ChangeResponse);
16
+
17
+ rpc ChangeCurrentMagnitude(ChangeQuantityRequest) returns (ChangeResponse);
18
+ }
19
+
20
+ // Current
21
+ message CurrentCreationRequest{
22
+ ScopedCreationData creation_data = 1;
23
+ CurrentProperties current_properties = 2;
24
+ }
25
+
26
+ message CurrentCreationResponse{
27
+ CreationResponse condition_response = 1;
28
+ CurrentDefinition condition_data = 2;
29
+ }
30
+
31
+ // Current condition definitions
32
+ message CurrentProperties {
33
+ Quantity current_magnitude = 1;
34
+ }
35
+
36
+ message CurrentDefinition {
37
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
38
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
39
+ string label = 3;
40
+ repeated string locations = 4;
41
+ bool suppressed = 5;
42
+ CurrentProperties current = 6;
43
+ }
@@ -0,0 +1,36 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: ansys/api/discovery/v0/conditions/current.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf.internal import builder as _builder
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2
15
+ from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/ansys/api/discovery/v0/conditions/current.proto\x12)ansys.api.discovery.v0.conditions.current\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xb5\x01\n\x16\x43urrentCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12X\n\x12\x63urrent_properties\x18\x02 \x01(\x0b\x32<.ansys.api.discovery.v0.conditions.current.CurrentProperties\"\xb5\x01\n\x17\x43urrentCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12T\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32<.ansys.api.discovery.v0.conditions.current.CurrentDefinition\"P\n\x11\x43urrentProperties\x12;\n\x11\x63urrent_magnitude\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"\x8d\x02\n\x11\x43urrentDefinition\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\x12M\n\x07\x63urrent\x18\x06 \x01(\x0b\x32<.ansys.api.discovery.v0.conditions.current.CurrentProperties2\x83\x03\n\x07\x43urrent\x12\x96\x01\n\rCreateCurrent\x12\x41.ansys.api.discovery.v0.conditions.current.CurrentCreationRequest\x1a\x42.ansys.api.discovery.v0.conditions.current.CurrentCreationResponse\x12n\n\x15\x43hangeCurrentLocation\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12o\n\x16\x43hangeCurrentMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
19
+
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.conditions.current_pb2', globals())
22
+ if _descriptor._USE_C_DESCRIPTORS == False:
23
+
24
+ DESCRIPTOR._options = None
25
+ DESCRIPTOR._serialized_options = b'\252\002!Ansys.Api.Discovery.V0.Conditions'
26
+ _CURRENTCREATIONREQUEST._serialized_start=175
27
+ _CURRENTCREATIONREQUEST._serialized_end=356
28
+ _CURRENTCREATIONRESPONSE._serialized_start=359
29
+ _CURRENTCREATIONRESPONSE._serialized_end=540
30
+ _CURRENTPROPERTIES._serialized_start=542
31
+ _CURRENTPROPERTIES._serialized_end=622
32
+ _CURRENTDEFINITION._serialized_start=625
33
+ _CURRENTDEFINITION._serialized_end=894
34
+ _CURRENT._serialized_start=897
35
+ _CURRENT._serialized_end=1284
36
+ # @@protoc_insertion_point(module_scope)
@@ -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 CurrentCreationRequest(google.protobuf.message.Message):
17
+ """Current"""
18
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
19
+ CREATION_DATA_FIELD_NUMBER: builtins.int
20
+ CURRENT_PROPERTIES_FIELD_NUMBER: builtins.int
21
+ @property
22
+ def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData: ...
23
+ @property
24
+ def current_properties(self) -> global___CurrentProperties: ...
25
+ def __init__(self,
26
+ *,
27
+ creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
28
+ current_properties : typing.Optional[global___CurrentProperties] = ...,
29
+ ) -> None: ...
30
+ def HasField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","current_properties",b"current_properties"]) -> builtins.bool: ...
31
+ def ClearField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","current_properties",b"current_properties"]) -> None: ...
32
+ global___CurrentCreationRequest = CurrentCreationRequest
33
+
34
+ class CurrentCreationResponse(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___CurrentDefinition: ...
42
+ def __init__(self,
43
+ *,
44
+ condition_response : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse] = ...,
45
+ condition_data : typing.Optional[global___CurrentDefinition] = ...,
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___CurrentCreationResponse = CurrentCreationResponse
50
+
51
+ class CurrentProperties(google.protobuf.message.Message):
52
+ """Current condition definitions"""
53
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
54
+ CURRENT_MAGNITUDE_FIELD_NUMBER: builtins.int
55
+ @property
56
+ def current_magnitude(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
57
+ def __init__(self,
58
+ *,
59
+ current_magnitude : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
60
+ ) -> None: ...
61
+ def HasField(self, field_name: typing_extensions.Literal["current_magnitude",b"current_magnitude"]) -> builtins.bool: ...
62
+ def ClearField(self, field_name: typing_extensions.Literal["current_magnitude",b"current_magnitude"]) -> None: ...
63
+ global___CurrentProperties = CurrentProperties
64
+
65
+ class CurrentDefinition(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
+ CURRENT_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 current(self) -> global___CurrentProperties: ...
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
+ current : typing.Optional[global___CurrentProperties] = ...,
91
+ ) -> None: ...
92
+ def HasField(self, field_name: typing_extensions.Literal["current",b"current","id",b"id","parent_id",b"parent_id"]) -> builtins.bool: ...
93
+ def ClearField(self, field_name: typing_extensions.Literal["current",b"current","id",b"id","label",b"label","locations",b"locations","parent_id",b"parent_id","suppressed",b"suppressed"]) -> None: ...
94
+ global___CurrentDefinition = CurrentDefinition
@@ -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 current_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_current__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 CurrentStub(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.CreateCurrent = channel.unary_unary(
19
+ '/ansys.api.discovery.v0.conditions.current.Current/CreateCurrent',
20
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_current__pb2.CurrentCreationRequest.SerializeToString,
21
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_current__pb2.CurrentCreationResponse.FromString,
22
+ )
23
+ self.ChangeCurrentLocation = channel.unary_unary(
24
+ '/ansys.api.discovery.v0.conditions.current.Current/ChangeCurrentLocation',
25
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
26
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
27
+ )
28
+ self.ChangeCurrentMagnitude = channel.unary_unary(
29
+ '/ansys.api.discovery.v0.conditions.current.Current/ChangeCurrentMagnitude',
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 CurrentServicer(object):
36
+ """Missing associated documentation comment in .proto file."""
37
+
38
+ def CreateCurrent(self, request, context):
39
+ """Current 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 ChangeCurrentLocation(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 ChangeCurrentMagnitude(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_CurrentServicer_to_server(servicer, server):
59
+ rpc_method_handlers = {
60
+ 'CreateCurrent': grpc.unary_unary_rpc_method_handler(
61
+ servicer.CreateCurrent,
62
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_current__pb2.CurrentCreationRequest.FromString,
63
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_current__pb2.CurrentCreationResponse.SerializeToString,
64
+ ),
65
+ 'ChangeCurrentLocation': grpc.unary_unary_rpc_method_handler(
66
+ servicer.ChangeCurrentLocation,
67
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.FromString,
68
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
69
+ ),
70
+ 'ChangeCurrentMagnitude': grpc.unary_unary_rpc_method_handler(
71
+ servicer.ChangeCurrentMagnitude,
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.current.Current', rpc_method_handlers)
78
+ server.add_generic_rpc_handlers((generic_handler,))
79
+
80
+
81
+ # This class is part of an EXPERIMENTAL API.
82
+ class Current(object):
83
+ """Missing associated documentation comment in .proto file."""
84
+
85
+ @staticmethod
86
+ def CreateCurrent(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.current.Current/CreateCurrent',
97
+ ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_current__pb2.CurrentCreationRequest.SerializeToString,
98
+ ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_current__pb2.CurrentCreationResponse.FromString,
99
+ options, channel_credentials,
100
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
101
+
102
+ @staticmethod
103
+ def ChangeCurrentLocation(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.current.Current/ChangeCurrentLocation',
114
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.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 ChangeCurrentMagnitude(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.current.Current/ChangeCurrentMagnitude',
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.current_pb2
7
+ import ansys.api.discovery.v0.discoverymodels_pb2
8
+ import grpc
9
+
10
+ class CurrentStub:
11
+ def __init__(self, channel: grpc.Channel) -> None: ...
12
+ CreateCurrent: grpc.UnaryUnaryMultiCallable[
13
+ ansys.api.discovery.v0.conditions.current_pb2.CurrentCreationRequest,
14
+ ansys.api.discovery.v0.conditions.current_pb2.CurrentCreationResponse] = ...
15
+ """Current condition methods"""
16
+
17
+ ChangeCurrentLocation: grpc.UnaryUnaryMultiCallable[
18
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
19
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
20
+
21
+ ChangeCurrentMagnitude: grpc.UnaryUnaryMultiCallable[
22
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
23
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
24
+
25
+
26
+ class CurrentServicer(metaclass=abc.ABCMeta):
27
+ @abc.abstractmethod
28
+ def CreateCurrent(self,
29
+ request: ansys.api.discovery.v0.conditions.current_pb2.CurrentCreationRequest,
30
+ context: grpc.ServicerContext,
31
+ ) -> ansys.api.discovery.v0.conditions.current_pb2.CurrentCreationResponse:
32
+ """Current condition methods"""
33
+ pass
34
+
35
+ @abc.abstractmethod
36
+ def ChangeCurrentLocation(self,
37
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
38
+ context: grpc.ServicerContext,
39
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
40
+
41
+ @abc.abstractmethod
42
+ def ChangeCurrentMagnitude(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_CurrentServicer_to_server(servicer: CurrentServicer, server: grpc.Server) -> None: ...
@@ -0,0 +1,43 @@
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.conditions.localfidelity;
4
+
5
+ import "ansys/api/dbu/v0/dbumodels.proto";
6
+ import "ansys/api/discovery/v0/discoverymodels.proto";
7
+
8
+ option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
9
+
10
+ service LocalFidelity
11
+ {
12
+ //LocalFidelity condition methods
13
+ rpc CreateLocalFidelity(LocalFidelityCreationRequest) returns (LocalFidelityCreationResponse);
14
+
15
+ rpc ChangeLocalFidelityLocation(ChangeLocationExtendedRequest) returns(ChangeResponse);
16
+
17
+ rpc ChangeLocalFidelityMagnitude(ChangeQuantityRequest) returns (ChangeResponse);
18
+ }
19
+
20
+ // LocalFidelity
21
+ message LocalFidelityCreationRequest{
22
+ ScopedCreationData creation_data = 1;
23
+ LocalFidelityProperties local_fidelity_properties = 2;
24
+ }
25
+
26
+ message LocalFidelityCreationResponse{
27
+ CreationResponse condition_response = 1;
28
+ LocalFidelityDefinition condition_data = 2;
29
+ }
30
+
31
+ // LocalFidelity condition definitions
32
+ message LocalFidelityProperties {
33
+ Quantity local_fidelity_magnitude = 1;
34
+ }
35
+
36
+ message LocalFidelityDefinition {
37
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
38
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
39
+ string label = 3;
40
+ repeated string locations = 4;
41
+ bool suppressed = 5;
42
+ LocalFidelityProperties local_fidelity = 6;
43
+ }
@@ -0,0 +1,36 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: ansys/api/discovery/v0/conditions/localfidelity.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf.internal import builder as _builder
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2
15
+ from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ansys/api/discovery/v0/conditions/localfidelity.proto\x12/ansys.api.discovery.v0.conditions.localfidelity\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xce\x01\n\x1cLocalFidelityCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12k\n\x19local_fidelity_properties\x18\x02 \x01(\x0b\x32H.ansys.api.discovery.v0.conditions.localfidelity.LocalFidelityProperties\"\xc7\x01\n\x1dLocalFidelityCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12`\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32H.ansys.api.discovery.v0.conditions.localfidelity.LocalFidelityDefinition\"]\n\x17LocalFidelityProperties\x12\x42\n\x18local_fidelity_magnitude\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"\xa6\x02\n\x17LocalFidelityDefinition\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\x12`\n\x0elocal_fidelity\x18\x06 \x01(\x0b\x32H.ansys.api.discovery.v0.conditions.localfidelity.LocalFidelityProperties2\xbb\x03\n\rLocalFidelity\x12\xb4\x01\n\x13\x43reateLocalFidelity\x12M.ansys.api.discovery.v0.conditions.localfidelity.LocalFidelityCreationRequest\x1aN.ansys.api.discovery.v0.conditions.localfidelity.LocalFidelityCreationResponse\x12|\n\x1b\x43hangeLocalFidelityLocation\x12\x35.ansys.api.discovery.v0.ChangeLocationExtendedRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12u\n\x1c\x43hangeLocalFidelityMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
19
+
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.conditions.localfidelity_pb2', globals())
22
+ if _descriptor._USE_C_DESCRIPTORS == False:
23
+
24
+ DESCRIPTOR._options = None
25
+ DESCRIPTOR._serialized_options = b'\252\002!Ansys.Api.Discovery.V0.Conditions'
26
+ _LOCALFIDELITYCREATIONREQUEST._serialized_start=187
27
+ _LOCALFIDELITYCREATIONREQUEST._serialized_end=393
28
+ _LOCALFIDELITYCREATIONRESPONSE._serialized_start=396
29
+ _LOCALFIDELITYCREATIONRESPONSE._serialized_end=595
30
+ _LOCALFIDELITYPROPERTIES._serialized_start=597
31
+ _LOCALFIDELITYPROPERTIES._serialized_end=690
32
+ _LOCALFIDELITYDEFINITION._serialized_start=693
33
+ _LOCALFIDELITYDEFINITION._serialized_end=987
34
+ _LOCALFIDELITY._serialized_start=990
35
+ _LOCALFIDELITY._serialized_end=1433
36
+ # @@protoc_insertion_point(module_scope)