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
@@ -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/voltage.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/voltage.proto\x12)ansys.api.discovery.v0.conditions.voltage\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xb5\x01\n\x16VoltageCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12X\n\x12voltage_properties\x18\x02 \x01(\x0b\x32<.ansys.api.discovery.v0.conditions.voltage.VoltageProperties\"\xb5\x01\n\x17VoltageCreationResponse\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.voltage.VoltageDefinition\"P\n\x11VoltageProperties\x12;\n\x11voltage_magnitude\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"\x8d\x02\n\x11VoltageDefinition\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\x07voltage\x18\x06 \x01(\x0b\x32<.ansys.api.discovery.v0.conditions.voltage.VoltageProperties2\x83\x03\n\x07Voltage\x12\x96\x01\n\rCreateVoltage\x12\x41.ansys.api.discovery.v0.conditions.voltage.VoltageCreationRequest\x1a\x42.ansys.api.discovery.v0.conditions.voltage.VoltageCreationResponse\x12n\n\x15\x43hangeVoltageLocation\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12o\n\x16\x43hangeVoltageMagnitude\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.voltage_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
+ _VOLTAGECREATIONREQUEST._serialized_start=175
27
+ _VOLTAGECREATIONREQUEST._serialized_end=356
28
+ _VOLTAGECREATIONRESPONSE._serialized_start=359
29
+ _VOLTAGECREATIONRESPONSE._serialized_end=540
30
+ _VOLTAGEPROPERTIES._serialized_start=542
31
+ _VOLTAGEPROPERTIES._serialized_end=622
32
+ _VOLTAGEDEFINITION._serialized_start=625
33
+ _VOLTAGEDEFINITION._serialized_end=894
34
+ _VOLTAGE._serialized_start=897
35
+ _VOLTAGE._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 VoltageCreationRequest(google.protobuf.message.Message):
17
+ """Voltage"""
18
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
19
+ CREATION_DATA_FIELD_NUMBER: builtins.int
20
+ VOLTAGE_PROPERTIES_FIELD_NUMBER: builtins.int
21
+ @property
22
+ def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData: ...
23
+ @property
24
+ def voltage_properties(self) -> global___VoltageProperties: ...
25
+ def __init__(self,
26
+ *,
27
+ creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
28
+ voltage_properties : typing.Optional[global___VoltageProperties] = ...,
29
+ ) -> None: ...
30
+ def HasField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","voltage_properties",b"voltage_properties"]) -> builtins.bool: ...
31
+ def ClearField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","voltage_properties",b"voltage_properties"]) -> None: ...
32
+ global___VoltageCreationRequest = VoltageCreationRequest
33
+
34
+ class VoltageCreationResponse(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___VoltageDefinition: ...
42
+ def __init__(self,
43
+ *,
44
+ condition_response : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse] = ...,
45
+ condition_data : typing.Optional[global___VoltageDefinition] = ...,
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___VoltageCreationResponse = VoltageCreationResponse
50
+
51
+ class VoltageProperties(google.protobuf.message.Message):
52
+ """Voltage condition definitions"""
53
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
54
+ VOLTAGE_MAGNITUDE_FIELD_NUMBER: builtins.int
55
+ @property
56
+ def voltage_magnitude(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
57
+ def __init__(self,
58
+ *,
59
+ voltage_magnitude : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
60
+ ) -> None: ...
61
+ def HasField(self, field_name: typing_extensions.Literal["voltage_magnitude",b"voltage_magnitude"]) -> builtins.bool: ...
62
+ def ClearField(self, field_name: typing_extensions.Literal["voltage_magnitude",b"voltage_magnitude"]) -> None: ...
63
+ global___VoltageProperties = VoltageProperties
64
+
65
+ class VoltageDefinition(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
+ VOLTAGE_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 voltage(self) -> global___VoltageProperties: ...
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
+ voltage : typing.Optional[global___VoltageProperties] = ...,
91
+ ) -> None: ...
92
+ def HasField(self, field_name: typing_extensions.Literal["id",b"id","parent_id",b"parent_id","voltage",b"voltage"]) -> builtins.bool: ...
93
+ def ClearField(self, field_name: typing_extensions.Literal["id",b"id","label",b"label","locations",b"locations","parent_id",b"parent_id","suppressed",b"suppressed","voltage",b"voltage"]) -> None: ...
94
+ global___VoltageDefinition = VoltageDefinition
@@ -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 voltage_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_voltage__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 VoltageStub(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.CreateVoltage = channel.unary_unary(
19
+ '/ansys.api.discovery.v0.conditions.voltage.Voltage/CreateVoltage',
20
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_voltage__pb2.VoltageCreationRequest.SerializeToString,
21
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_voltage__pb2.VoltageCreationResponse.FromString,
22
+ )
23
+ self.ChangeVoltageLocation = channel.unary_unary(
24
+ '/ansys.api.discovery.v0.conditions.voltage.Voltage/ChangeVoltageLocation',
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.ChangeVoltageMagnitude = channel.unary_unary(
29
+ '/ansys.api.discovery.v0.conditions.voltage.Voltage/ChangeVoltageMagnitude',
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 VoltageServicer(object):
36
+ """Missing associated documentation comment in .proto file."""
37
+
38
+ def CreateVoltage(self, request, context):
39
+ """Voltage 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 ChangeVoltageLocation(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 ChangeVoltageMagnitude(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_VoltageServicer_to_server(servicer, server):
59
+ rpc_method_handlers = {
60
+ 'CreateVoltage': grpc.unary_unary_rpc_method_handler(
61
+ servicer.CreateVoltage,
62
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_voltage__pb2.VoltageCreationRequest.FromString,
63
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_voltage__pb2.VoltageCreationResponse.SerializeToString,
64
+ ),
65
+ 'ChangeVoltageLocation': grpc.unary_unary_rpc_method_handler(
66
+ servicer.ChangeVoltageLocation,
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
+ 'ChangeVoltageMagnitude': grpc.unary_unary_rpc_method_handler(
71
+ servicer.ChangeVoltageMagnitude,
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.voltage.Voltage', rpc_method_handlers)
78
+ server.add_generic_rpc_handlers((generic_handler,))
79
+
80
+
81
+ # This class is part of an EXPERIMENTAL API.
82
+ class Voltage(object):
83
+ """Missing associated documentation comment in .proto file."""
84
+
85
+ @staticmethod
86
+ def CreateVoltage(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.voltage.Voltage/CreateVoltage',
97
+ ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_voltage__pb2.VoltageCreationRequest.SerializeToString,
98
+ ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_voltage__pb2.VoltageCreationResponse.FromString,
99
+ options, channel_credentials,
100
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
101
+
102
+ @staticmethod
103
+ def ChangeVoltageLocation(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.voltage.Voltage/ChangeVoltageLocation',
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 ChangeVoltageMagnitude(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.voltage.Voltage/ChangeVoltageMagnitude',
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.voltage_pb2
7
+ import ansys.api.discovery.v0.discoverymodels_pb2
8
+ import grpc
9
+
10
+ class VoltageStub:
11
+ def __init__(self, channel: grpc.Channel) -> None: ...
12
+ CreateVoltage: grpc.UnaryUnaryMultiCallable[
13
+ ansys.api.discovery.v0.conditions.voltage_pb2.VoltageCreationRequest,
14
+ ansys.api.discovery.v0.conditions.voltage_pb2.VoltageCreationResponse] = ...
15
+ """Voltage condition methods"""
16
+
17
+ ChangeVoltageLocation: grpc.UnaryUnaryMultiCallable[
18
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
19
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
20
+
21
+ ChangeVoltageMagnitude: grpc.UnaryUnaryMultiCallable[
22
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
23
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
24
+
25
+
26
+ class VoltageServicer(metaclass=abc.ABCMeta):
27
+ @abc.abstractmethod
28
+ def CreateVoltage(self,
29
+ request: ansys.api.discovery.v0.conditions.voltage_pb2.VoltageCreationRequest,
30
+ context: grpc.ServicerContext,
31
+ ) -> ansys.api.discovery.v0.conditions.voltage_pb2.VoltageCreationResponse:
32
+ """Voltage condition methods"""
33
+ pass
34
+
35
+ @abc.abstractmethod
36
+ def ChangeVoltageLocation(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 ChangeVoltageMagnitude(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_VoltageServicer_to_server(servicer: VoltageServicer, server: grpc.Server) -> None: ...
@@ -29,8 +29,7 @@ service Contact
29
29
  rpc ChangeAdjustGapOrOverlap(ChangeBooleanRequest) returns (ChangeResponse);
30
30
  rpc ChangeMakeJustTouching(ChangeBooleanRequest) returns (ChangeResponse);
31
31
  rpc ChangeIdealize(ChangeBooleanRequest) returns (ChangeResponse);
32
- rpc ChangeSpecifyThermalConductance(ChangeBooleanRequest) returns (ChangeResponse);
33
- rpc ChangeSpecifyThermalConductanceFromThicknessAndMaterial(ChangeBooleanRequest) returns (ChangeResponse);
32
+ rpc ChangeSpecifyThermalConductance(ChangeSpecifyThermalConductanceRequest) returns (ChangeResponse);
34
33
  rpc ChangeSpecifyElectricConductance(ChangeBooleanRequest) returns (ChangeResponse);
35
34
  rpc ChangeSpecifyElectricConductanceFromThicknessAndMaterial(ChangeBooleanRequest) returns (ChangeResponse);
36
35
  rpc ChangeThermalContactConductance(ChangeQuantityRequest) returns (ChangeResponse);
@@ -89,14 +88,15 @@ message ContactProperties {
89
88
  bool adjust_gap_or_overlap = 10;
90
89
  bool make_just_touching = 11;
91
90
  bool idealize = 12;
92
- bool specify_thermal_conductance = 13;
93
- bool specify_thermal_conductance_from_thickness_and_material = 14;
91
+ bool specify_thermal_conductance = 13; // OBSOLETE FROM VERSION 2026.1 ONWARDS
92
+ bool specify_thermal_conductance_from_thickness_and_material = 14; // OBSOLETE FROM VERSION 2026.1 ONWARDS
94
93
  bool specify_electric_conductance = 15;
95
94
  bool specify_electric_conductance_from_thickness_and_material = 16;
96
95
  Quantity thermal_contact_conductance = 17;
97
96
  Quantity thermal_conductance_thickness = 18;
98
97
  Quantity electrical_contact_conductance = 19;
99
98
  Quantity electrical_conductance_thickness = 20;
99
+ ThermalConductanceOptionType thermal_conductance_option = 21;
100
100
  }
101
101
 
102
102
  message ContactDefinition {
@@ -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'\n0ansys/api/discovery/v0/connections/contact.proto\x12*ansys.api.discovery.v0.connections.contact\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xc1\x01\n\x16\x43ontactCreationRequest\x12L\n\rcreation_data\x18\x01 \x01(\x0b\x32\x35.ansys.api.discovery.v0.DoubleSidedScopedCreationData\x12Y\n\x12\x63ontact_properties\x18\x02 \x01(\x0b\x32=.ansys.api.discovery.v0.connections.contact.ContactProperties\"\xb6\x01\n\x17\x43ontactCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12U\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32=.ansys.api.discovery.v0.connections.contact.ContactDefinition\"\xa7\x01\n\x18\x43hangeContactTypeRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12M\n\x0c\x63ontact_type\x18\x02 \x01(\x0e\x32\x37.ansys.api.discovery.v0.connections.contact.ContactType\"\xa9\x01\n\x18\x43hangeContactPairRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12O\n\rcontact_pairs\x18\x02 \x01(\x0b\x32\x38.ansys.api.discovery.v0.connections.contact.ContactPairs\"]\n\x0c\x43ontactPairs\x12M\n\x0c\x63ontact_pair\x18\x01 \x03(\x0b\x32\x37.ansys.api.discovery.v0.connections.contact.ContactPair\"+\n\x0b\x43ontactPair\x12\r\n\x05item1\x18\x01 \x03(\t\x12\r\n\x05item2\x18\x02 \x03(\t\"\x96\x08\n\x11\x43ontactProperties\x12M\n\x0c\x63ontact_type\x18\x01 \x01(\x0e\x32\x37.ansys.api.discovery.v0.connections.contact.ContactType\x12O\n\rcontact_pairs\x18\x02 \x01(\x0b\x32\x38.ansys.api.discovery.v0.connections.contact.ContactPairs\x12\x1c\n\x14\x66riction_coefficient\x18\x03 \x01(\x01\x12\x18\n\x10stiffness_factor\x18\x04 \x01(\x01\x12\x1f\n\x17\x64\x65tection_radius_factor\x18\x05 \x01(\x01\x12\x30\n\x06offset\x18\x06 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x38\n\x0eshear_strenght\x18\x07 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12:\n\x10tensile_strength\x18\x08 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x1f\n\x17\x61re_strength_limits_set\x18\t \x01(\x08\x12\x1d\n\x15\x61\x64just_gap_or_overlap\x18\n \x01(\x08\x12\x1a\n\x12make_just_touching\x18\x0b \x01(\x08\x12\x10\n\x08idealize\x18\x0c \x01(\x08\x12#\n\x1bspecify_thermal_conductance\x18\r \x01(\x08\x12?\n7specify_thermal_conductance_from_thickness_and_material\x18\x0e \x01(\x08\x12$\n\x1cspecify_electric_conductance\x18\x0f \x01(\x08\x12@\n8specify_electric_conductance_from_thickness_and_material\x18\x10 \x01(\x08\x12\x45\n\x1bthermal_contact_conductance\x18\x11 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12G\n\x1dthermal_conductance_thickness\x18\x12 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12H\n\x1e\x65lectrical_contact_conductance\x18\x13 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12J\n electrical_conductance_thickness\x18\x14 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"\xad\x02\n\x11\x43ontactDefinition\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\x17\n\x0fside1_locations\x18\x04 \x03(\t\x12\x17\n\x0fside2_locations\x18\x05 \x03(\t\x12\x12\n\nsuppressed\x18\x06 \x01(\x08\x12N\n\x07\x63ontact\x18\x07 \x01(\x0b\x32=.ansys.api.discovery.v0.connections.contact.ContactProperties*M\n\x0b\x43ontactType\x12\x12\n\x0e\x42ONDED_CONTACT\x10\x00\x12\x13\n\x0fSLIDING_CONTACT\x10\x01\x12\x15\n\x11PREVENTED_CONTACT\x10\x02\x32\xd1\x16\n\x07\x43ontact\x12\x98\x01\n\rCreateContact\x12\x42.ansys.api.discovery.v0.connections.contact.ContactCreationRequest\x1a\x43.ansys.api.discovery.v0.connections.contact.ContactCreationResponse\x12s\n\x1a\x43hangeContactSide1Location\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1a\x43hangeContactSide2Location\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x81\x01\n\x11\x43hangeContactType\x12\x44.ansys.api.discovery.v0.connections.contact.ChangeContactTypeRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x82\x01\n\x12\x43hangeContactPairs\x12\x44.ansys.api.discovery.v0.connections.contact.ChangeContactPairRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12[\n\x05Split\x12*.ansys.api.discovery.v0.ChangeEmptyRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12p\n\x19\x43hangeFrictionCoefficient\x12+.ansys.api.discovery.v0.ChangeDoubleRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12l\n\x15\x43hangeStiffnessFactor\x12+.ansys.api.discovery.v0.ChangeDoubleRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12r\n\x1b\x43hangeDetectionRadiusFactor\x12+.ansys.api.discovery.v0.ChangeDoubleRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x65\n\x0c\x43hangeOffset\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12l\n\x13\x43hangeShearStrength\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12n\n\x15\x43hangeTensileStrength\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12r\n\x1a\x43hangeAreStrengthLimitsSet\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12p\n\x18\x43hangeAdjustGapOrOverlap\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12n\n\x16\x43hangeMakeJustTouching\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x66\n\x0e\x43hangeIdealize\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12w\n\x1f\x43hangeSpecifyThermalConductance\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x8f\x01\n7ChangeSpecifyThermalConductanceFromThicknessAndMaterial\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12x\n ChangeSpecifyElectricConductance\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x90\x01\n8ChangeSpecifyElectricConductanceFromThicknessAndMaterial\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12x\n\x1f\x43hangeThermalContactConductance\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12z\n!ChangeThermalConductanceThickness\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12y\n ChangeElectricContactConductance\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12{\n\"ChangeElectricConductanceThickness\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB%\xaa\x02\"Ansys.Api.Discovery.V0.Connectionsb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0ansys/api/discovery/v0/connections/contact.proto\x12*ansys.api.discovery.v0.connections.contact\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xc1\x01\n\x16\x43ontactCreationRequest\x12L\n\rcreation_data\x18\x01 \x01(\x0b\x32\x35.ansys.api.discovery.v0.DoubleSidedScopedCreationData\x12Y\n\x12\x63ontact_properties\x18\x02 \x01(\x0b\x32=.ansys.api.discovery.v0.connections.contact.ContactProperties\"\xb6\x01\n\x17\x43ontactCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12U\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32=.ansys.api.discovery.v0.connections.contact.ContactDefinition\"\xa7\x01\n\x18\x43hangeContactTypeRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12M\n\x0c\x63ontact_type\x18\x02 \x01(\x0e\x32\x37.ansys.api.discovery.v0.connections.contact.ContactType\"\xa9\x01\n\x18\x43hangeContactPairRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12O\n\rcontact_pairs\x18\x02 \x01(\x0b\x32\x38.ansys.api.discovery.v0.connections.contact.ContactPairs\"]\n\x0c\x43ontactPairs\x12M\n\x0c\x63ontact_pair\x18\x01 \x03(\x0b\x32\x37.ansys.api.discovery.v0.connections.contact.ContactPair\"+\n\x0b\x43ontactPair\x12\r\n\x05item1\x18\x01 \x03(\t\x12\r\n\x05item2\x18\x02 \x03(\t\"\xf0\x08\n\x11\x43ontactProperties\x12M\n\x0c\x63ontact_type\x18\x01 \x01(\x0e\x32\x37.ansys.api.discovery.v0.connections.contact.ContactType\x12O\n\rcontact_pairs\x18\x02 \x01(\x0b\x32\x38.ansys.api.discovery.v0.connections.contact.ContactPairs\x12\x1c\n\x14\x66riction_coefficient\x18\x03 \x01(\x01\x12\x18\n\x10stiffness_factor\x18\x04 \x01(\x01\x12\x1f\n\x17\x64\x65tection_radius_factor\x18\x05 \x01(\x01\x12\x30\n\x06offset\x18\x06 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x38\n\x0eshear_strenght\x18\x07 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12:\n\x10tensile_strength\x18\x08 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x1f\n\x17\x61re_strength_limits_set\x18\t \x01(\x08\x12\x1d\n\x15\x61\x64just_gap_or_overlap\x18\n \x01(\x08\x12\x1a\n\x12make_just_touching\x18\x0b \x01(\x08\x12\x10\n\x08idealize\x18\x0c \x01(\x08\x12#\n\x1bspecify_thermal_conductance\x18\r \x01(\x08\x12?\n7specify_thermal_conductance_from_thickness_and_material\x18\x0e \x01(\x08\x12$\n\x1cspecify_electric_conductance\x18\x0f \x01(\x08\x12@\n8specify_electric_conductance_from_thickness_and_material\x18\x10 \x01(\x08\x12\x45\n\x1bthermal_contact_conductance\x18\x11 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12G\n\x1dthermal_conductance_thickness\x18\x12 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12H\n\x1e\x65lectrical_contact_conductance\x18\x13 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12J\n electrical_conductance_thickness\x18\x14 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12X\n\x1athermal_conductance_option\x18\x15 \x01(\x0e\x32\x34.ansys.api.discovery.v0.ThermalConductanceOptionType\"\xad\x02\n\x11\x43ontactDefinition\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\x17\n\x0fside1_locations\x18\x04 \x03(\t\x12\x17\n\x0fside2_locations\x18\x05 \x03(\t\x12\x12\n\nsuppressed\x18\x06 \x01(\x08\x12N\n\x07\x63ontact\x18\x07 \x01(\x0b\x32=.ansys.api.discovery.v0.connections.contact.ContactProperties*M\n\x0b\x43ontactType\x12\x12\n\x0e\x42ONDED_CONTACT\x10\x00\x12\x13\n\x0fSLIDING_CONTACT\x10\x01\x12\x15\n\x11PREVENTED_CONTACT\x10\x02\x32\xd2\x15\n\x07\x43ontact\x12\x98\x01\n\rCreateContact\x12\x42.ansys.api.discovery.v0.connections.contact.ContactCreationRequest\x1a\x43.ansys.api.discovery.v0.connections.contact.ContactCreationResponse\x12s\n\x1a\x43hangeContactSide1Location\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1a\x43hangeContactSide2Location\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x81\x01\n\x11\x43hangeContactType\x12\x44.ansys.api.discovery.v0.connections.contact.ChangeContactTypeRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x82\x01\n\x12\x43hangeContactPairs\x12\x44.ansys.api.discovery.v0.connections.contact.ChangeContactPairRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12[\n\x05Split\x12*.ansys.api.discovery.v0.ChangeEmptyRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12p\n\x19\x43hangeFrictionCoefficient\x12+.ansys.api.discovery.v0.ChangeDoubleRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12l\n\x15\x43hangeStiffnessFactor\x12+.ansys.api.discovery.v0.ChangeDoubleRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12r\n\x1b\x43hangeDetectionRadiusFactor\x12+.ansys.api.discovery.v0.ChangeDoubleRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x65\n\x0c\x43hangeOffset\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12l\n\x13\x43hangeShearStrength\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12n\n\x15\x43hangeTensileStrength\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12r\n\x1a\x43hangeAreStrengthLimitsSet\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12p\n\x18\x43hangeAdjustGapOrOverlap\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12n\n\x16\x43hangeMakeJustTouching\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x66\n\x0e\x43hangeIdealize\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x89\x01\n\x1f\x43hangeSpecifyThermalConductance\x12>.ansys.api.discovery.v0.ChangeSpecifyThermalConductanceRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12x\n ChangeSpecifyElectricConductance\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x90\x01\n8ChangeSpecifyElectricConductanceFromThicknessAndMaterial\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12x\n\x1f\x43hangeThermalContactConductance\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12z\n!ChangeThermalConductanceThickness\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12y\n ChangeElectricContactConductance\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12{\n\"ChangeElectricConductanceThickness\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB%\xaa\x02\"Ansys.Api.Discovery.V0.Connectionsb\x06proto3')
19
19
 
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.connections.contact_pb2', globals())
@@ -23,8 +23,8 @@ 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.Connections'
26
- _CONTACTTYPE._serialized_start=2392
27
- _CONTACTTYPE._serialized_end=2469
26
+ _CONTACTTYPE._serialized_start=2482
27
+ _CONTACTTYPE._serialized_end=2559
28
28
  _CONTACTCREATIONREQUEST._serialized_start=177
29
29
  _CONTACTCREATIONREQUEST._serialized_end=370
30
30
  _CONTACTCREATIONRESPONSE._serialized_start=373
@@ -38,9 +38,9 @@ if _descriptor._USE_C_DESCRIPTORS == False:
38
38
  _CONTACTPAIR._serialized_start=994
39
39
  _CONTACTPAIR._serialized_end=1037
40
40
  _CONTACTPROPERTIES._serialized_start=1040
41
- _CONTACTPROPERTIES._serialized_end=2086
42
- _CONTACTDEFINITION._serialized_start=2089
43
- _CONTACTDEFINITION._serialized_end=2390
44
- _CONTACT._serialized_start=2472
45
- _CONTACT._serialized_end=5369
41
+ _CONTACTPROPERTIES._serialized_end=2176
42
+ _CONTACTDEFINITION._serialized_start=2179
43
+ _CONTACTDEFINITION._serialized_end=2480
44
+ _CONTACT._serialized_start=2562
45
+ _CONTACT._serialized_end=5332
46
46
  # @@protoc_insertion_point(module_scope)
@@ -151,6 +151,7 @@ class ContactProperties(google.protobuf.message.Message):
151
151
  THERMAL_CONDUCTANCE_THICKNESS_FIELD_NUMBER: builtins.int
152
152
  ELECTRICAL_CONTACT_CONDUCTANCE_FIELD_NUMBER: builtins.int
153
153
  ELECTRICAL_CONDUCTANCE_THICKNESS_FIELD_NUMBER: builtins.int
154
+ THERMAL_CONDUCTANCE_OPTION_FIELD_NUMBER: builtins.int
154
155
  contact_type: global___ContactType.ValueType = ...
155
156
  @property
156
157
  def contact_pairs(self) -> global___ContactPairs: ...
@@ -168,7 +169,11 @@ class ContactProperties(google.protobuf.message.Message):
168
169
  make_just_touching: builtins.bool = ...
169
170
  idealize: builtins.bool = ...
170
171
  specify_thermal_conductance: builtins.bool = ...
172
+ """OBSOLETE FROM VERSION 2026.1 ONWARDS"""
173
+
171
174
  specify_thermal_conductance_from_thickness_and_material: builtins.bool = ...
175
+ """OBSOLETE FROM VERSION 2026.1 ONWARDS"""
176
+
172
177
  specify_electric_conductance: builtins.bool = ...
173
178
  specify_electric_conductance_from_thickness_and_material: builtins.bool = ...
174
179
  @property
@@ -179,6 +184,7 @@ class ContactProperties(google.protobuf.message.Message):
179
184
  def electrical_contact_conductance(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
180
185
  @property
181
186
  def electrical_conductance_thickness(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
187
+ thermal_conductance_option: ansys.api.discovery.v0.discoverymodels_pb2.ThermalConductanceOptionType.ValueType = ...
182
188
  def __init__(self,
183
189
  *,
184
190
  contact_type : global___ContactType.ValueType = ...,
@@ -201,9 +207,10 @@ class ContactProperties(google.protobuf.message.Message):
201
207
  thermal_conductance_thickness : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
202
208
  electrical_contact_conductance : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
203
209
  electrical_conductance_thickness : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
210
+ thermal_conductance_option : ansys.api.discovery.v0.discoverymodels_pb2.ThermalConductanceOptionType.ValueType = ...,
204
211
  ) -> None: ...
205
212
  def HasField(self, field_name: typing_extensions.Literal["contact_pairs",b"contact_pairs","electrical_conductance_thickness",b"electrical_conductance_thickness","electrical_contact_conductance",b"electrical_contact_conductance","offset",b"offset","shear_strenght",b"shear_strenght","tensile_strength",b"tensile_strength","thermal_conductance_thickness",b"thermal_conductance_thickness","thermal_contact_conductance",b"thermal_contact_conductance"]) -> builtins.bool: ...
206
- def ClearField(self, field_name: typing_extensions.Literal["adjust_gap_or_overlap",b"adjust_gap_or_overlap","are_strength_limits_set",b"are_strength_limits_set","contact_pairs",b"contact_pairs","contact_type",b"contact_type","detection_radius_factor",b"detection_radius_factor","electrical_conductance_thickness",b"electrical_conductance_thickness","electrical_contact_conductance",b"electrical_contact_conductance","friction_coefficient",b"friction_coefficient","idealize",b"idealize","make_just_touching",b"make_just_touching","offset",b"offset","shear_strenght",b"shear_strenght","specify_electric_conductance",b"specify_electric_conductance","specify_electric_conductance_from_thickness_and_material",b"specify_electric_conductance_from_thickness_and_material","specify_thermal_conductance",b"specify_thermal_conductance","specify_thermal_conductance_from_thickness_and_material",b"specify_thermal_conductance_from_thickness_and_material","stiffness_factor",b"stiffness_factor","tensile_strength",b"tensile_strength","thermal_conductance_thickness",b"thermal_conductance_thickness","thermal_contact_conductance",b"thermal_contact_conductance"]) -> None: ...
213
+ def ClearField(self, field_name: typing_extensions.Literal["adjust_gap_or_overlap",b"adjust_gap_or_overlap","are_strength_limits_set",b"are_strength_limits_set","contact_pairs",b"contact_pairs","contact_type",b"contact_type","detection_radius_factor",b"detection_radius_factor","electrical_conductance_thickness",b"electrical_conductance_thickness","electrical_contact_conductance",b"electrical_contact_conductance","friction_coefficient",b"friction_coefficient","idealize",b"idealize","make_just_touching",b"make_just_touching","offset",b"offset","shear_strenght",b"shear_strenght","specify_electric_conductance",b"specify_electric_conductance","specify_electric_conductance_from_thickness_and_material",b"specify_electric_conductance_from_thickness_and_material","specify_thermal_conductance",b"specify_thermal_conductance","specify_thermal_conductance_from_thickness_and_material",b"specify_thermal_conductance_from_thickness_and_material","stiffness_factor",b"stiffness_factor","tensile_strength",b"tensile_strength","thermal_conductance_option",b"thermal_conductance_option","thermal_conductance_thickness",b"thermal_conductance_thickness","thermal_contact_conductance",b"thermal_contact_conductance"]) -> None: ...
207
214
  global___ContactProperties = ContactProperties
208
215
 
209
216
  class ContactDefinition(google.protobuf.message.Message):
@@ -97,12 +97,7 @@ class ContactStub(object):
97
97
  )
98
98
  self.ChangeSpecifyThermalConductance = channel.unary_unary(
99
99
  '/ansys.api.discovery.v0.connections.contact.Contact/ChangeSpecifyThermalConductance',
100
- request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
101
- response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
102
- )
103
- self.ChangeSpecifyThermalConductanceFromThicknessAndMaterial = channel.unary_unary(
104
- '/ansys.api.discovery.v0.connections.contact.Contact/ChangeSpecifyThermalConductanceFromThicknessAndMaterial',
105
- request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
100
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeSpecifyThermalConductanceRequest.SerializeToString,
106
101
  response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
107
102
  )
108
103
  self.ChangeSpecifyElectricConductance = channel.unary_unary(
@@ -243,12 +238,6 @@ class ContactServicer(object):
243
238
  context.set_details('Method not implemented!')
244
239
  raise NotImplementedError('Method not implemented!')
245
240
 
246
- def ChangeSpecifyThermalConductanceFromThicknessAndMaterial(self, request, context):
247
- """Missing associated documentation comment in .proto file."""
248
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
249
- context.set_details('Method not implemented!')
250
- raise NotImplementedError('Method not implemented!')
251
-
252
241
  def ChangeSpecifyElectricConductance(self, request, context):
253
242
  """Missing associated documentation comment in .proto file."""
254
243
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
@@ -370,12 +359,7 @@ def add_ContactServicer_to_server(servicer, server):
370
359
  ),
371
360
  'ChangeSpecifyThermalConductance': grpc.unary_unary_rpc_method_handler(
372
361
  servicer.ChangeSpecifyThermalConductance,
373
- request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.FromString,
374
- response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
375
- ),
376
- 'ChangeSpecifyThermalConductanceFromThicknessAndMaterial': grpc.unary_unary_rpc_method_handler(
377
- servicer.ChangeSpecifyThermalConductanceFromThicknessAndMaterial,
378
- request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.FromString,
362
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeSpecifyThermalConductanceRequest.FromString,
379
363
  response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
380
364
  ),
381
365
  'ChangeSpecifyElectricConductance': grpc.unary_unary_rpc_method_handler(
@@ -702,24 +686,7 @@ class Contact(object):
702
686
  timeout=None,
703
687
  metadata=None):
704
688
  return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.connections.contact.Contact/ChangeSpecifyThermalConductance',
705
- ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
706
- ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
707
- options, channel_credentials,
708
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
709
-
710
- @staticmethod
711
- def ChangeSpecifyThermalConductanceFromThicknessAndMaterial(request,
712
- target,
713
- options=(),
714
- channel_credentials=None,
715
- call_credentials=None,
716
- insecure=False,
717
- compression=None,
718
- wait_for_ready=None,
719
- timeout=None,
720
- metadata=None):
721
- return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.connections.contact.Contact/ChangeSpecifyThermalConductanceFromThicknessAndMaterial',
722
- ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
689
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeSpecifyThermalConductanceRequest.SerializeToString,
723
690
  ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
724
691
  options, channel_credentials,
725
692
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -75,11 +75,7 @@ class ContactStub:
75
75
  ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
76
76
 
77
77
  ChangeSpecifyThermalConductance: grpc.UnaryUnaryMultiCallable[
78
- ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
79
- ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
80
-
81
- ChangeSpecifyThermalConductanceFromThicknessAndMaterial: grpc.UnaryUnaryMultiCallable[
82
- ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
78
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeSpecifyThermalConductanceRequest,
83
79
  ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
84
80
 
85
81
  ChangeSpecifyElectricConductance: grpc.UnaryUnaryMultiCallable[
@@ -208,13 +204,7 @@ class ContactServicer(metaclass=abc.ABCMeta):
208
204
 
209
205
  @abc.abstractmethod
210
206
  def ChangeSpecifyThermalConductance(self,
211
- request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
212
- context: grpc.ServicerContext,
213
- ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
214
-
215
- @abc.abstractmethod
216
- def ChangeSpecifyThermalConductanceFromThicknessAndMaterial(self,
217
- request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
207
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeSpecifyThermalConductanceRequest,
218
208
  context: grpc.ServicerContext,
219
209
  ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
220
210
 
@@ -28,7 +28,7 @@ service ContactGroup
28
28
  rpc ChangeAdjustGapOrOverlap(ChangeBooleanRequest) returns (ChangeResponse);
29
29
  rpc ChangeMakeJustTouching(ChangeBooleanRequest) returns (ChangeResponse);
30
30
  rpc ChangeIdealize(ChangeBooleanRequest) returns (ChangeResponse);
31
- rpc ChangeSpecifyThermalConductance(ChangeBooleanRequest) returns (ChangeResponse);
31
+ rpc ChangeSpecifyThermalConductance(ChangeSpecifyThermalConductanceRequest) returns (ChangeResponse);
32
32
  rpc ChangeSpecifyThermalConductanceFromThicknessAndMaterial(ChangeBooleanRequest) returns (ChangeResponse);
33
33
  rpc ChangeSpecifyElectricConductance(ChangeBooleanRequest) returns (ChangeResponse);
34
34
  rpc ChangeSpecifyElectricConductanceFromThicknessAndMaterial(ChangeBooleanRequest) returns (ChangeResponse);
@@ -70,14 +70,15 @@ message ContactGroupProperties {
70
70
  bool adjust_gap_or_overlap = 10;
71
71
  bool make_just_touching = 11;
72
72
  bool idealize = 12;
73
- bool specify_thermal_conductance = 13;
74
- bool specify_thermal_conductance_from_thickness_and_material = 14;
73
+ bool specify_thermal_conductance = 13; // OBSOLETE FROM VERSION 2026.1 ONWARDS
74
+ bool specify_thermal_conductance_from_thickness_and_material = 14; // OBSOLETE FROM VERSION 2026.1 ONWARDS
75
75
  bool specify_electric_conductance = 15;
76
76
  bool specify_electric_conductance_from_thickness_and_material = 16;
77
77
  Quantity thermal_contact_conductance = 17;
78
78
  Quantity thermal_conductance_thickness = 18;
79
79
  Quantity electrical_contact_conductance = 19;
80
80
  Quantity electrical_conductance_thickness = 20;
81
+ ThermalConductanceOptionType thermal_conductance_option = 21;
81
82
  }
82
83
 
83
84
  message ContactGroupDefinition {