ansys-systemcoupling-core 0.4.1__py3-none-any.whl → 0.5.0__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-systemcoupling-core might be problematic. Click here for more details.

Files changed (123) hide show
  1. ansys/systemcoupling/core/adaptor/api_23_1/_clear_state.py +13 -0
  2. ansys/systemcoupling/core/adaptor/api_23_1/case_root.py +7 -1
  3. ansys/systemcoupling/core/adaptor/api_23_1/clear_state.py +4 -2
  4. ansys/systemcoupling/core/adaptor/api_23_2/_clear_state.py +13 -0
  5. ansys/systemcoupling/core/adaptor/api_23_2/case_root.py +7 -1
  6. ansys/systemcoupling/core/adaptor/api_23_2/clear_state.py +4 -2
  7. ansys/systemcoupling/core/adaptor/api_24_1/_clear_state.py +13 -0
  8. ansys/systemcoupling/core/adaptor/api_24_1/case_root.py +7 -1
  9. ansys/systemcoupling/core/adaptor/api_24_1/clear_state.py +4 -2
  10. ansys/systemcoupling/core/adaptor/api_24_2/_add_participant.py +80 -0
  11. ansys/systemcoupling/core/adaptor/api_24_2/_clear_state.py +13 -0
  12. ansys/systemcoupling/core/adaptor/api_24_2/_solve.py +13 -0
  13. ansys/systemcoupling/core/adaptor/api_24_2/abort.py +39 -0
  14. ansys/systemcoupling/core/adaptor/api_24_2/activate_hidden.py +46 -0
  15. ansys/systemcoupling/core/adaptor/api_24_2/add_aerodamping_data_transfers.py +43 -0
  16. ansys/systemcoupling/core/adaptor/api_24_2/add_data_transfer.py +190 -0
  17. ansys/systemcoupling/core/adaptor/api_24_2/add_data_transfer_by_display_names.py +191 -0
  18. ansys/systemcoupling/core/adaptor/api_24_2/add_expression_function.py +61 -0
  19. ansys/systemcoupling/core/adaptor/api_24_2/add_fsi_data_transfers.py +43 -0
  20. ansys/systemcoupling/core/adaptor/api_24_2/add_interface.py +77 -0
  21. ansys/systemcoupling/core/adaptor/api_24_2/add_interface_by_display_names.py +78 -0
  22. ansys/systemcoupling/core/adaptor/api_24_2/add_named_expression.py +42 -0
  23. ansys/systemcoupling/core/adaptor/api_24_2/add_ordered_data_transfers.py +32 -0
  24. ansys/systemcoupling/core/adaptor/api_24_2/add_participant.py +162 -0
  25. ansys/systemcoupling/core/adaptor/api_24_2/add_reference_frame.py +40 -0
  26. ansys/systemcoupling/core/adaptor/api_24_2/add_thermal_data_transfers.py +43 -0
  27. ansys/systemcoupling/core/adaptor/api_24_2/add_transformation.py +102 -0
  28. ansys/systemcoupling/core/adaptor/api_24_2/analysis_control.py +283 -0
  29. ansys/systemcoupling/core/adaptor/api_24_2/apip.py +33 -0
  30. ansys/systemcoupling/core/adaptor/api_24_2/ascii_output.py +44 -0
  31. ansys/systemcoupling/core/adaptor/api_24_2/attribute.py +20 -0
  32. ansys/systemcoupling/core/adaptor/api_24_2/attribute_child.py +54 -0
  33. ansys/systemcoupling/core/adaptor/api_24_2/automatic_alignment_options.py +46 -0
  34. ansys/systemcoupling/core/adaptor/api_24_2/available_ports.py +40 -0
  35. ansys/systemcoupling/core/adaptor/api_24_2/avoid_data_reconstruction.py +46 -0
  36. ansys/systemcoupling/core/adaptor/api_24_2/case_root.py +62 -0
  37. ansys/systemcoupling/core/adaptor/api_24_2/clear_state.py +18 -0
  38. ansys/systemcoupling/core/adaptor/api_24_2/connect_ensight_dvs.py +41 -0
  39. ansys/systemcoupling/core/adaptor/api_24_2/coupling_interface.py +20 -0
  40. ansys/systemcoupling/core/adaptor/api_24_2/coupling_interface_child.py +42 -0
  41. ansys/systemcoupling/core/adaptor/api_24_2/coupling_participant.py +23 -0
  42. ansys/systemcoupling/core/adaptor/api_24_2/coupling_participant_child.py +265 -0
  43. ansys/systemcoupling/core/adaptor/api_24_2/create_restart_point.py +29 -0
  44. ansys/systemcoupling/core/adaptor/api_24_2/data_transfer.py +20 -0
  45. ansys/systemcoupling/core/adaptor/api_24_2/data_transfer_child.py +187 -0
  46. ansys/systemcoupling/core/adaptor/api_24_2/delete_snapshot.py +28 -0
  47. ansys/systemcoupling/core/adaptor/api_24_2/delete_transformation.py +42 -0
  48. ansys/systemcoupling/core/adaptor/api_24_2/dimensionality.py +96 -0
  49. ansys/systemcoupling/core/adaptor/api_24_2/execution_control.py +246 -0
  50. ansys/systemcoupling/core/adaptor/api_24_2/execution_control_1.py +24 -0
  51. ansys/systemcoupling/core/adaptor/api_24_2/expression.py +20 -0
  52. ansys/systemcoupling/core/adaptor/api_24_2/expression_child.py +36 -0
  53. ansys/systemcoupling/core/adaptor/api_24_2/expression_function.py +20 -0
  54. ansys/systemcoupling/core/adaptor/api_24_2/expression_function_child.py +46 -0
  55. ansys/systemcoupling/core/adaptor/api_24_2/external_data_file.py +24 -0
  56. ansys/systemcoupling/core/adaptor/api_24_2/fluent_input.py +77 -0
  57. ansys/systemcoupling/core/adaptor/api_24_2/fmu_parameter.py +20 -0
  58. ansys/systemcoupling/core/adaptor/api_24_2/fmu_parameter_child.py +156 -0
  59. ansys/systemcoupling/core/adaptor/api_24_2/generate_input_file.py +41 -0
  60. ansys/systemcoupling/core/adaptor/api_24_2/get_add_data_transfer_group_commands.py +29 -0
  61. ansys/systemcoupling/core/adaptor/api_24_2/get_execution_command.py +30 -0
  62. ansys/systemcoupling/core/adaptor/api_24_2/get_machines.py +13 -0
  63. ansys/systemcoupling/core/adaptor/api_24_2/get_mode_shape_variables.py +29 -0
  64. ansys/systemcoupling/core/adaptor/api_24_2/get_region_names_for_participant.py +31 -0
  65. ansys/systemcoupling/core/adaptor/api_24_2/get_setup_summary.py +25 -0
  66. ansys/systemcoupling/core/adaptor/api_24_2/get_status_messages.py +52 -0
  67. ansys/systemcoupling/core/adaptor/api_24_2/get_supported_participant_types.py +13 -0
  68. ansys/systemcoupling/core/adaptor/api_24_2/get_thermal_data_transfer_options.py +32 -0
  69. ansys/systemcoupling/core/adaptor/api_24_2/get_transformation.py +43 -0
  70. ansys/systemcoupling/core/adaptor/api_24_2/global_stabilization.py +143 -0
  71. ansys/systemcoupling/core/adaptor/api_24_2/has_input_file_changed.py +36 -0
  72. ansys/systemcoupling/core/adaptor/api_24_2/import_system_coupling_input_file.py +36 -0
  73. ansys/systemcoupling/core/adaptor/api_24_2/initialize.py +27 -0
  74. ansys/systemcoupling/core/adaptor/api_24_2/instancing.py +23 -0
  75. ansys/systemcoupling/core/adaptor/api_24_2/instancing_child.py +62 -0
  76. ansys/systemcoupling/core/adaptor/api_24_2/interrupt.py +39 -0
  77. ansys/systemcoupling/core/adaptor/api_24_2/library.py +37 -0
  78. ansys/systemcoupling/core/adaptor/api_24_2/live_visualization.py +20 -0
  79. ansys/systemcoupling/core/adaptor/api_24_2/live_visualization_child.py +100 -0
  80. ansys/systemcoupling/core/adaptor/api_24_2/mapping_control.py +239 -0
  81. ansys/systemcoupling/core/adaptor/api_24_2/open.py +102 -0
  82. ansys/systemcoupling/core/adaptor/api_24_2/open_results_in_ensight.py +56 -0
  83. ansys/systemcoupling/core/adaptor/api_24_2/open_snapshot.py +37 -0
  84. ansys/systemcoupling/core/adaptor/api_24_2/output_control.py +134 -0
  85. ansys/systemcoupling/core/adaptor/api_24_2/parameter.py +20 -0
  86. ansys/systemcoupling/core/adaptor/api_24_2/parameter_child.py +56 -0
  87. ansys/systemcoupling/core/adaptor/api_24_2/partition_participants.py +138 -0
  88. ansys/systemcoupling/core/adaptor/api_24_2/properties.py +36 -0
  89. ansys/systemcoupling/core/adaptor/api_24_2/record_interactions.py +46 -0
  90. ansys/systemcoupling/core/adaptor/api_24_2/reference_frame.py +20 -0
  91. ansys/systemcoupling/core/adaptor/api_24_2/reference_frame_child.py +71 -0
  92. ansys/systemcoupling/core/adaptor/api_24_2/region.py +20 -0
  93. ansys/systemcoupling/core/adaptor/api_24_2/region_child.py +71 -0
  94. ansys/systemcoupling/core/adaptor/api_24_2/reload_expression_function_modules.py +14 -0
  95. ansys/systemcoupling/core/adaptor/api_24_2/results.py +89 -0
  96. ansys/systemcoupling/core/adaptor/api_24_2/save.py +51 -0
  97. ansys/systemcoupling/core/adaptor/api_24_2/save_snapshot.py +54 -0
  98. ansys/systemcoupling/core/adaptor/api_24_2/setup_root.py +251 -0
  99. ansys/systemcoupling/core/adaptor/api_24_2/shutdown.py +25 -0
  100. ansys/systemcoupling/core/adaptor/api_24_2/side.py +20 -0
  101. ansys/systemcoupling/core/adaptor/api_24_2/side_child.py +56 -0
  102. ansys/systemcoupling/core/adaptor/api_24_2/solution_control.py +115 -0
  103. ansys/systemcoupling/core/adaptor/api_24_2/solution_root.py +116 -0
  104. ansys/systemcoupling/core/adaptor/api_24_2/solve.py +30 -0
  105. ansys/systemcoupling/core/adaptor/api_24_2/stabilization.py +157 -0
  106. ansys/systemcoupling/core/adaptor/api_24_2/start_participants.py +47 -0
  107. ansys/systemcoupling/core/adaptor/api_24_2/step.py +57 -0
  108. ansys/systemcoupling/core/adaptor/api_24_2/transformation.py +21 -0
  109. ansys/systemcoupling/core/adaptor/api_24_2/transformation_child.py +62 -0
  110. ansys/systemcoupling/core/adaptor/api_24_2/type.py +38 -0
  111. ansys/systemcoupling/core/adaptor/api_24_2/unmapped_value_options.py +158 -0
  112. ansys/systemcoupling/core/adaptor/api_24_2/update_control.py +43 -0
  113. ansys/systemcoupling/core/adaptor/api_24_2/update_participant.py +61 -0
  114. ansys/systemcoupling/core/adaptor/api_24_2/variable.py +20 -0
  115. ansys/systemcoupling/core/adaptor/api_24_2/variable_child.py +231 -0
  116. ansys/systemcoupling/core/adaptor/api_24_2/write_csv_chart_files.py +21 -0
  117. ansys/systemcoupling/core/adaptor/api_24_2/write_ensight.py +46 -0
  118. ansys/systemcoupling/core/adaptor/impl/injected_commands.py +18 -0
  119. ansys/systemcoupling/core/util/logging.py +1 -1
  120. {ansys_systemcoupling_core-0.4.1.dist-info → ansys_systemcoupling_core-0.5.0.dist-info}/METADATA +10 -10
  121. {ansys_systemcoupling_core-0.4.1.dist-info → ansys_systemcoupling_core-0.5.0.dist-info}/RECORD +123 -12
  122. {ansys_systemcoupling_core-0.4.1.dist-info → ansys_systemcoupling_core-0.5.0.dist-info}/LICENSE +0 -0
  123. {ansys_systemcoupling_core-0.4.1.dist-info → ansys_systemcoupling_core-0.5.0.dist-info}/WHEEL +0 -0
@@ -0,0 +1,251 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ SHASH = "a8ff788a5c0dda078abf7f1cdd77210d449dc6fa3d5725cab1c3c9067c5062bf"
6
+
7
+ from ansys.systemcoupling.core.adaptor.impl.types import *
8
+
9
+ from ._add_participant import _add_participant
10
+ from .activate_hidden import activate_hidden
11
+ from .add_aerodamping_data_transfers import add_aerodamping_data_transfers
12
+ from .add_data_transfer import add_data_transfer
13
+ from .add_data_transfer_by_display_names import add_data_transfer_by_display_names
14
+ from .add_expression_function import add_expression_function
15
+ from .add_fsi_data_transfers import add_fsi_data_transfers
16
+ from .add_interface import add_interface
17
+ from .add_interface_by_display_names import add_interface_by_display_names
18
+ from .add_named_expression import add_named_expression
19
+ from .add_ordered_data_transfers import add_ordered_data_transfers
20
+ from .add_participant import add_participant
21
+ from .add_reference_frame import add_reference_frame
22
+ from .add_thermal_data_transfers import add_thermal_data_transfers
23
+ from .add_transformation import add_transformation
24
+ from .analysis_control import analysis_control
25
+ from .coupling_interface import coupling_interface
26
+ from .coupling_participant import coupling_participant
27
+ from .delete_transformation import delete_transformation
28
+ from .generate_input_file import generate_input_file
29
+ from .get_add_data_transfer_group_commands import get_add_data_transfer_group_commands
30
+ from .get_execution_command import get_execution_command
31
+ from .get_mode_shape_variables import get_mode_shape_variables
32
+ from .get_region_names_for_participant import get_region_names_for_participant
33
+ from .get_setup_summary import get_setup_summary
34
+ from .get_status_messages import get_status_messages
35
+ from .get_supported_participant_types import get_supported_participant_types
36
+ from .get_thermal_data_transfer_options import get_thermal_data_transfer_options
37
+ from .has_input_file_changed import has_input_file_changed
38
+ from .import_system_coupling_input_file import import_system_coupling_input_file
39
+ from .library import library
40
+ from .output_control import output_control
41
+ from .reload_expression_function_modules import reload_expression_function_modules
42
+ from .solution_control import solution_control
43
+ from .update_participant import update_participant
44
+
45
+
46
+ class setup_root(Container):
47
+ """
48
+ 'root' object
49
+ """
50
+
51
+ syc_name = "SystemCoupling"
52
+
53
+ child_names = [
54
+ "activate_hidden",
55
+ "library",
56
+ "coupling_participant",
57
+ "analysis_control",
58
+ "coupling_interface",
59
+ "solution_control",
60
+ "output_control",
61
+ ]
62
+
63
+ activate_hidden: activate_hidden = activate_hidden
64
+ """
65
+ activate_hidden child of setup_root.
66
+ """
67
+ library: library = library
68
+ """
69
+ library child of setup_root.
70
+ """
71
+ coupling_participant: coupling_participant = coupling_participant
72
+ """
73
+ coupling_participant child of setup_root.
74
+ """
75
+ analysis_control: analysis_control = analysis_control
76
+ """
77
+ analysis_control child of setup_root.
78
+ """
79
+ coupling_interface: coupling_interface = coupling_interface
80
+ """
81
+ coupling_interface child of setup_root.
82
+ """
83
+ solution_control: solution_control = solution_control
84
+ """
85
+ solution_control child of setup_root.
86
+ """
87
+ output_control: output_control = output_control
88
+ """
89
+ output_control child of setup_root.
90
+ """
91
+ command_names = [
92
+ "_add_participant",
93
+ "add_aerodamping_data_transfers",
94
+ "add_data_transfer",
95
+ "add_data_transfer_by_display_names",
96
+ "add_expression_function",
97
+ "add_fsi_data_transfers",
98
+ "add_interface",
99
+ "add_interface_by_display_names",
100
+ "add_named_expression",
101
+ "add_ordered_data_transfers",
102
+ "add_participant",
103
+ "add_reference_frame",
104
+ "add_thermal_data_transfers",
105
+ "add_transformation",
106
+ "delete_transformation",
107
+ "generate_input_file",
108
+ "get_add_data_transfer_group_commands",
109
+ "get_execution_command",
110
+ "get_mode_shape_variables",
111
+ "get_region_names_for_participant",
112
+ "get_setup_summary",
113
+ "get_status_messages",
114
+ "get_supported_participant_types",
115
+ "get_thermal_data_transfer_options",
116
+ "has_input_file_changed",
117
+ "import_system_coupling_input_file",
118
+ "reload_expression_function_modules",
119
+ "update_participant",
120
+ ]
121
+
122
+ _add_participant: _add_participant = _add_participant
123
+ """
124
+ _add_participant command of setup_root.
125
+ """
126
+ add_aerodamping_data_transfers: add_aerodamping_data_transfers = (
127
+ add_aerodamping_data_transfers
128
+ )
129
+ """
130
+ add_aerodamping_data_transfers command of setup_root.
131
+ """
132
+ add_data_transfer: add_data_transfer = add_data_transfer
133
+ """
134
+ add_data_transfer command of setup_root.
135
+ """
136
+ add_data_transfer_by_display_names: add_data_transfer_by_display_names = (
137
+ add_data_transfer_by_display_names
138
+ )
139
+ """
140
+ add_data_transfer_by_display_names command of setup_root.
141
+ """
142
+ add_expression_function: add_expression_function = add_expression_function
143
+ """
144
+ add_expression_function command of setup_root.
145
+ """
146
+ add_fsi_data_transfers: add_fsi_data_transfers = add_fsi_data_transfers
147
+ """
148
+ add_fsi_data_transfers command of setup_root.
149
+ """
150
+ add_interface: add_interface = add_interface
151
+ """
152
+ add_interface command of setup_root.
153
+ """
154
+ add_interface_by_display_names: add_interface_by_display_names = (
155
+ add_interface_by_display_names
156
+ )
157
+ """
158
+ add_interface_by_display_names command of setup_root.
159
+ """
160
+ add_named_expression: add_named_expression = add_named_expression
161
+ """
162
+ add_named_expression command of setup_root.
163
+ """
164
+ add_ordered_data_transfers: add_ordered_data_transfers = add_ordered_data_transfers
165
+ """
166
+ add_ordered_data_transfers command of setup_root.
167
+ """
168
+ add_participant: add_participant = add_participant
169
+ """
170
+ add_participant command of setup_root.
171
+ """
172
+ add_reference_frame: add_reference_frame = add_reference_frame
173
+ """
174
+ add_reference_frame command of setup_root.
175
+ """
176
+ add_thermal_data_transfers: add_thermal_data_transfers = add_thermal_data_transfers
177
+ """
178
+ add_thermal_data_transfers command of setup_root.
179
+ """
180
+ add_transformation: add_transformation = add_transformation
181
+ """
182
+ add_transformation command of setup_root.
183
+ """
184
+ delete_transformation: delete_transformation = delete_transformation
185
+ """
186
+ delete_transformation command of setup_root.
187
+ """
188
+ generate_input_file: generate_input_file = generate_input_file
189
+ """
190
+ generate_input_file command of setup_root.
191
+ """
192
+ get_add_data_transfer_group_commands: get_add_data_transfer_group_commands = (
193
+ get_add_data_transfer_group_commands
194
+ )
195
+ """
196
+ get_add_data_transfer_group_commands command of setup_root.
197
+ """
198
+ get_execution_command: get_execution_command = get_execution_command
199
+ """
200
+ get_execution_command command of setup_root.
201
+ """
202
+ get_mode_shape_variables: get_mode_shape_variables = get_mode_shape_variables
203
+ """
204
+ get_mode_shape_variables command of setup_root.
205
+ """
206
+ get_region_names_for_participant: get_region_names_for_participant = (
207
+ get_region_names_for_participant
208
+ )
209
+ """
210
+ get_region_names_for_participant command of setup_root.
211
+ """
212
+ get_setup_summary: get_setup_summary = get_setup_summary
213
+ """
214
+ get_setup_summary command of setup_root.
215
+ """
216
+ get_status_messages: get_status_messages = get_status_messages
217
+ """
218
+ get_status_messages command of setup_root.
219
+ """
220
+ get_supported_participant_types: get_supported_participant_types = (
221
+ get_supported_participant_types
222
+ )
223
+ """
224
+ get_supported_participant_types command of setup_root.
225
+ """
226
+ get_thermal_data_transfer_options: get_thermal_data_transfer_options = (
227
+ get_thermal_data_transfer_options
228
+ )
229
+ """
230
+ get_thermal_data_transfer_options command of setup_root.
231
+ """
232
+ has_input_file_changed: has_input_file_changed = has_input_file_changed
233
+ """
234
+ has_input_file_changed command of setup_root.
235
+ """
236
+ import_system_coupling_input_file: import_system_coupling_input_file = (
237
+ import_system_coupling_input_file
238
+ )
239
+ """
240
+ import_system_coupling_input_file command of setup_root.
241
+ """
242
+ reload_expression_function_modules: reload_expression_function_modules = (
243
+ reload_expression_function_modules
244
+ )
245
+ """
246
+ reload_expression_function_modules command of setup_root.
247
+ """
248
+ update_participant: update_participant = update_participant
249
+ """
250
+ update_participant command of setup_root.
251
+ """
@@ -0,0 +1,25 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ from ansys.systemcoupling.core.adaptor.impl.types import *
6
+
7
+
8
+ class shutdown(Command):
9
+ """
10
+ Interactive command that shuts down a coupled analysis.
11
+
12
+ ``shutdown`` includes ending the coupling run and signaling participants
13
+ to end the run. This produces a clean shutdown, generating the final
14
+ restart point and corresponding results file before disconnecting
15
+ from participants.
16
+
17
+ After participants are disconnected, the coupling service writes
18
+ timing details to the transcript. If participants were started
19
+ automatically, it ends participant processes.
20
+
21
+ When System Coupling disconnects from the analysis and shuts down, the GUI
22
+ Server file is removed from the working directory.
23
+ """
24
+
25
+ syc_name = "Shutdown"
@@ -0,0 +1,20 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ from ansys.systemcoupling.core.adaptor.impl.types import *
6
+
7
+ from .side_child import side_child
8
+
9
+
10
+ class side(NamedContainer[side_child]):
11
+ """
12
+ Configure one side of a coupling interface.
13
+ """
14
+
15
+ syc_name = "Side"
16
+
17
+ child_object_type: side_child = side_child
18
+ """
19
+ child_object_type of side.
20
+ """
@@ -0,0 +1,56 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ from ansys.systemcoupling.core.adaptor.impl.types import *
6
+
7
+
8
+ class side_child(Container):
9
+ """
10
+ Configure one side of a coupling interface.
11
+ """
12
+
13
+ syc_name = "child_object_type"
14
+
15
+ property_names_types = [
16
+ ("coupling_participant", "CouplingParticipant", "str"),
17
+ ("region_list", "RegionList", "StringListType"),
18
+ ("reference_frame", "ReferenceFrame", "str"),
19
+ ("instancing", "Instancing", "str"),
20
+ ]
21
+
22
+ @property
23
+ def coupling_participant(self) -> str:
24
+ """Name of the participant on this interface side."""
25
+ return self.get_property_state("coupling_participant")
26
+
27
+ @coupling_participant.setter
28
+ def coupling_participant(self, value: str):
29
+ self.set_property_state("coupling_participant", value)
30
+
31
+ @property
32
+ def region_list(self) -> StringListType:
33
+ """List of participant regions involved in this interface side."""
34
+ return self.get_property_state("region_list")
35
+
36
+ @region_list.setter
37
+ def region_list(self, value: StringListType):
38
+ self.set_property_state("region_list", value)
39
+
40
+ @property
41
+ def reference_frame(self) -> str:
42
+ """Reference frame of this side."""
43
+ return self.get_property_state("reference_frame")
44
+
45
+ @reference_frame.setter
46
+ def reference_frame(self, value: str):
47
+ self.set_property_state("reference_frame", value)
48
+
49
+ @property
50
+ def instancing(self) -> str:
51
+ """Instancing name for this side (leave unset if not required)."""
52
+ return self.get_property_state("instancing")
53
+
54
+ @instancing.setter
55
+ def instancing(self, value: str):
56
+ self.set_property_state("instancing", value)
@@ -0,0 +1,115 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ from ansys.systemcoupling.core.adaptor.impl.types import *
6
+
7
+ from .available_ports import available_ports
8
+
9
+
10
+ class solution_control(Container):
11
+ """
12
+ Configure solution controls.
13
+ """
14
+
15
+ syc_name = "SolutionControl"
16
+
17
+ child_names = ["available_ports"]
18
+
19
+ available_ports: available_ports = available_ports
20
+ """
21
+ available_ports child of solution_control.
22
+ """
23
+ property_names_types = [
24
+ ("duration_option", "DurationOption", "str"),
25
+ ("end_time", "EndTime", "RealType"),
26
+ ("number_of_steps", "NumberOfSteps", "int"),
27
+ ("time_step_size", "TimeStepSize", "RealType"),
28
+ ("minimum_iterations", "MinimumIterations", "int"),
29
+ ("maximum_iterations", "MaximumIterations", "int"),
30
+ ("use_ip_address_when_possible", "UseIPAddressWhenPossible", "bool"),
31
+ ("use_local_host_when_possible", "UseLocalHostWhenPossible", "bool"),
32
+ ]
33
+
34
+ @property
35
+ def duration_option(self) -> str:
36
+ """Determine how the analysis duration is specified.
37
+
38
+ Allowed values:
39
+
40
+ - \"EndTime\" - Available for transient analyses. Execute coupling
41
+ steps until the analysis reaches the specified end time.
42
+ - \"NumberOfSteps\" - Perform coupling steps until the specified
43
+ number of steps is reached."""
44
+ return self.get_property_state("duration_option")
45
+
46
+ @duration_option.setter
47
+ def duration_option(self, value: str):
48
+ self.set_property_state("duration_option", value)
49
+
50
+ @property
51
+ def end_time(self) -> RealType:
52
+ """Set co-simulation end time."""
53
+ return self.get_property_state("end_time")
54
+
55
+ @end_time.setter
56
+ def end_time(self, value: RealType):
57
+ self.set_property_state("end_time", value)
58
+
59
+ @property
60
+ def number_of_steps(self) -> int:
61
+ """Set number of coupling steps."""
62
+ return self.get_property_state("number_of_steps")
63
+
64
+ @number_of_steps.setter
65
+ def number_of_steps(self, value: int):
66
+ self.set_property_state("number_of_steps", value)
67
+
68
+ @property
69
+ def time_step_size(self) -> RealType:
70
+ """Set coupling time step size."""
71
+ return self.get_property_state("time_step_size")
72
+
73
+ @time_step_size.setter
74
+ def time_step_size(self, value: RealType):
75
+ self.set_property_state("time_step_size", value)
76
+
77
+ @property
78
+ def minimum_iterations(self) -> int:
79
+ """Set minimum iterations within coupling step."""
80
+ return self.get_property_state("minimum_iterations")
81
+
82
+ @minimum_iterations.setter
83
+ def minimum_iterations(self, value: int):
84
+ self.set_property_state("minimum_iterations", value)
85
+
86
+ @property
87
+ def maximum_iterations(self) -> int:
88
+ """Set maximum iterations within coupling step."""
89
+ return self.get_property_state("maximum_iterations")
90
+
91
+ @maximum_iterations.setter
92
+ def maximum_iterations(self, value: int):
93
+ self.set_property_state("maximum_iterations", value)
94
+
95
+ @property
96
+ def use_ip_address_when_possible(self) -> bool:
97
+ """If True (the default), prefer to use IPv4 address rather than hostname for
98
+ participant server connections. There is no guarantee that this request
99
+ can be satisfied for all participants."""
100
+ return self.get_property_state("use_ip_address_when_possible")
101
+
102
+ @use_ip_address_when_possible.setter
103
+ def use_ip_address_when_possible(self, value: bool):
104
+ self.set_property_state("use_ip_address_when_possible", value)
105
+
106
+ @property
107
+ def use_local_host_when_possible(self) -> bool:
108
+ """If True, prefer to use local host address rather than network address for
109
+ participant server connections. There is no guarantee that this request
110
+ can be satisfied for all participants."""
111
+ return self.get_property_state("use_local_host_when_possible")
112
+
113
+ @use_local_host_when_possible.setter
114
+ def use_local_host_when_possible(self, value: bool):
115
+ self.set_property_state("use_local_host_when_possible", value)
@@ -0,0 +1,116 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ SHASH = "b8e209ea9aecf13d907bdc4c075b64063c908fff4ef44ebaac826714ccff8547"
6
+
7
+ from ansys.systemcoupling.core.adaptor.impl.types import *
8
+
9
+ from ._solve import _solve
10
+ from .abort import abort
11
+ from .connect_ensight_dvs import connect_ensight_dvs
12
+ from .create_restart_point import create_restart_point
13
+ from .get_machines import get_machines
14
+ from .get_transformation import get_transformation
15
+ from .initialize import initialize
16
+ from .interrupt import interrupt
17
+ from .open_results_in_ensight import open_results_in_ensight
18
+ from .partition_participants import partition_participants
19
+ from .shutdown import shutdown
20
+ from .solve import solve
21
+ from .start_participants import start_participants
22
+ from .step import step
23
+ from .write_csv_chart_files import write_csv_chart_files
24
+ from .write_ensight import write_ensight
25
+
26
+
27
+ class solution_root(Container):
28
+ """
29
+ 'root' object
30
+ """
31
+
32
+ syc_name = "SolutionCommands"
33
+
34
+ command_names = [
35
+ "_solve",
36
+ "abort",
37
+ "connect_ensight_dvs",
38
+ "create_restart_point",
39
+ "get_machines",
40
+ "get_transformation",
41
+ "initialize",
42
+ "interrupt",
43
+ "open_results_in_ensight",
44
+ "partition_participants",
45
+ "shutdown",
46
+ "solve",
47
+ "start_participants",
48
+ "step",
49
+ "write_csv_chart_files",
50
+ "write_ensight",
51
+ ]
52
+
53
+ _solve: _solve = _solve
54
+ """
55
+ _solve command of solution_root.
56
+ """
57
+ abort: abort = abort
58
+ """
59
+ abort command of solution_root.
60
+ """
61
+ connect_ensight_dvs: connect_ensight_dvs = connect_ensight_dvs
62
+ """
63
+ connect_ensight_dvs command of solution_root.
64
+ """
65
+ create_restart_point: create_restart_point = create_restart_point
66
+ """
67
+ create_restart_point command of solution_root.
68
+ """
69
+ get_machines: get_machines = get_machines
70
+ """
71
+ get_machines command of solution_root.
72
+ """
73
+ get_transformation: get_transformation = get_transformation
74
+ """
75
+ get_transformation command of solution_root.
76
+ """
77
+ initialize: initialize = initialize
78
+ """
79
+ initialize command of solution_root.
80
+ """
81
+ interrupt: interrupt = interrupt
82
+ """
83
+ interrupt command of solution_root.
84
+ """
85
+ open_results_in_ensight: open_results_in_ensight = open_results_in_ensight
86
+ """
87
+ open_results_in_ensight command of solution_root.
88
+ """
89
+ partition_participants: partition_participants = partition_participants
90
+ """
91
+ partition_participants command of solution_root.
92
+ """
93
+ shutdown: shutdown = shutdown
94
+ """
95
+ shutdown command of solution_root.
96
+ """
97
+ solve: solve = solve
98
+ """
99
+ solve command of solution_root.
100
+ """
101
+ start_participants: start_participants = start_participants
102
+ """
103
+ start_participants command of solution_root.
104
+ """
105
+ step: step = step
106
+ """
107
+ step command of solution_root.
108
+ """
109
+ write_csv_chart_files: write_csv_chart_files = write_csv_chart_files
110
+ """
111
+ write_csv_chart_files command of solution_root.
112
+ """
113
+ write_ensight: write_ensight = write_ensight
114
+ """
115
+ write_ensight command of solution_root.
116
+ """
@@ -0,0 +1,30 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ from ansys.systemcoupling.core.adaptor.impl.types import *
6
+
7
+
8
+ class solve(InjectedCommand):
9
+ """
10
+ Starts the participants (if necessary) and solves the coupled analysis. By
11
+ default, the solution runs straight through without pause unless stopped by
12
+ an scStop file.
13
+
14
+ Disabled when a solution is already in progress.
15
+
16
+ For restarts, the ``open`` command must be run before the ``solve`` command.
17
+
18
+ Note that if the ``execution_control`` option for a participant is set to
19
+ \"ExternallyManaged\", then System Coupling will not start the participant
20
+ using either this command or any of the other commands that automatically
21
+ start participants. The user is expected to manually start the participant.
22
+ This function will not return until all participants have been connected.
23
+
24
+ Note that this command will raise an exception if another instance of
25
+ System Coupling is solving in the current working directory.
26
+ """
27
+
28
+ syc_name = "solve"
29
+
30
+ cmd_name = "solve"