ansys-systemcoupling-core 0.1.3__py3-none-any.whl → 0.3.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 (211) hide show
  1. ansys/systemcoupling/core/__init__.py +27 -17
  2. ansys/systemcoupling/core/adaptor/api_23_2/_add_participant.py +70 -0
  3. ansys/systemcoupling/core/adaptor/api_23_2/_solve.py +13 -0
  4. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_participant.py +38 -2
  5. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/analysis_control.py +8 -0
  6. ansys/systemcoupling/core/adaptor/api_23_2/automatic_alignment_options.py +46 -0
  7. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/avoid_data_reconstruction.py +10 -0
  8. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/coupling_participant_child.py +1 -1
  9. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/fmu_parameter_child.py +30 -0
  10. ansys/systemcoupling/core/adaptor/api_23_2/get_transformation.py +43 -0
  11. ansys/systemcoupling/core/adaptor/api_23_2/live_visualization.py +20 -0
  12. ansys/systemcoupling/core/adaptor/api_23_2/live_visualization_child.py +72 -0
  13. ansys/systemcoupling/core/adaptor/api_23_2/open_results_in_en_sight.py +56 -0
  14. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/output_control.py +6 -1
  15. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/setup_root.py +55 -49
  16. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/solution_root.py +48 -36
  17. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/solve.py +1 -1
  18. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/variable_child.py +31 -0
  19. ansys/systemcoupling/core/adaptor/api_24_1/_add_participant.py +70 -0
  20. ansys/systemcoupling/core/adaptor/api_24_1/_solve.py +13 -0
  21. ansys/systemcoupling/core/adaptor/api_24_1/abort.py +39 -0
  22. ansys/systemcoupling/core/adaptor/api_24_1/activate_hidden.py +46 -0
  23. ansys/systemcoupling/core/adaptor/api_24_1/add_data_transfer.py +190 -0
  24. ansys/systemcoupling/core/adaptor/api_24_1/add_data_transfer_by_display_names.py +191 -0
  25. ansys/systemcoupling/core/adaptor/api_24_1/add_expression_function.py +61 -0
  26. ansys/systemcoupling/core/adaptor/api_24_1/add_interface.py +77 -0
  27. ansys/systemcoupling/core/adaptor/api_24_1/add_interface_by_display_names.py +78 -0
  28. ansys/systemcoupling/core/adaptor/api_24_1/add_named_expression.py +42 -0
  29. ansys/systemcoupling/core/adaptor/api_24_1/add_participant.py +140 -0
  30. ansys/systemcoupling/core/adaptor/api_24_1/add_reference_frame.py +40 -0
  31. ansys/systemcoupling/core/adaptor/api_24_1/add_transformation.py +102 -0
  32. ansys/systemcoupling/core/adaptor/api_24_1/analysis_control.py +249 -0
  33. ansys/systemcoupling/core/adaptor/api_24_1/apip.py +33 -0
  34. ansys/systemcoupling/core/adaptor/api_24_1/ascii_output.py +44 -0
  35. ansys/systemcoupling/core/adaptor/api_24_1/attribute.py +20 -0
  36. ansys/systemcoupling/core/adaptor/api_24_1/attribute_child.py +54 -0
  37. ansys/systemcoupling/core/adaptor/api_24_1/automatic_alignment_options.py +46 -0
  38. ansys/systemcoupling/core/adaptor/api_24_1/available_ports.py +40 -0
  39. ansys/systemcoupling/core/adaptor/api_24_1/avoid_data_reconstruction.py +46 -0
  40. ansys/systemcoupling/core/adaptor/api_24_1/case_root.py +62 -0
  41. ansys/systemcoupling/core/adaptor/api_24_1/clear_state.py +16 -0
  42. ansys/systemcoupling/core/adaptor/api_24_1/coupling_interface.py +20 -0
  43. ansys/systemcoupling/core/adaptor/api_24_1/coupling_interface_child.py +42 -0
  44. ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant.py +23 -0
  45. ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant_child.py +230 -0
  46. ansys/systemcoupling/core/adaptor/api_24_1/create_restart_point.py +29 -0
  47. ansys/systemcoupling/core/adaptor/api_24_1/data_transfer.py +20 -0
  48. ansys/systemcoupling/core/adaptor/api_24_1/data_transfer_child.py +187 -0
  49. ansys/systemcoupling/core/adaptor/api_24_1/delete_snapshot.py +28 -0
  50. ansys/systemcoupling/core/adaptor/api_24_1/delete_transformation.py +42 -0
  51. ansys/systemcoupling/core/adaptor/api_24_1/dimensionality.py +96 -0
  52. ansys/systemcoupling/core/adaptor/api_24_1/execution_control.py +186 -0
  53. ansys/systemcoupling/core/adaptor/api_24_1/expression.py +20 -0
  54. ansys/systemcoupling/core/adaptor/api_24_1/expression_child.py +36 -0
  55. ansys/systemcoupling/core/adaptor/api_24_1/expression_function.py +20 -0
  56. ansys/systemcoupling/core/adaptor/api_24_1/expression_function_child.py +46 -0
  57. ansys/systemcoupling/core/adaptor/api_24_1/external_data_file.py +24 -0
  58. ansys/systemcoupling/core/adaptor/api_24_1/fluent_input.py +67 -0
  59. ansys/systemcoupling/core/adaptor/api_24_1/fmu_parameter.py +20 -0
  60. ansys/systemcoupling/core/adaptor/api_24_1/fmu_parameter_child.py +156 -0
  61. ansys/systemcoupling/core/adaptor/api_24_1/generate_input_file.py +41 -0
  62. ansys/systemcoupling/core/adaptor/api_24_1/get_execution_command.py +30 -0
  63. ansys/systemcoupling/core/adaptor/api_24_1/get_machines.py +13 -0
  64. ansys/systemcoupling/core/adaptor/api_24_1/get_region_names_for_participant.py +31 -0
  65. ansys/systemcoupling/core/adaptor/api_24_1/get_setup_summary.py +25 -0
  66. ansys/systemcoupling/core/adaptor/api_24_1/get_snapshots.py +14 -0
  67. ansys/systemcoupling/core/adaptor/api_24_1/get_status_messages.py +52 -0
  68. ansys/systemcoupling/core/adaptor/api_24_1/get_transformation.py +43 -0
  69. ansys/systemcoupling/core/adaptor/api_24_1/global_stabilization.py +143 -0
  70. ansys/systemcoupling/core/adaptor/api_24_1/has_input_file_changed.py +36 -0
  71. ansys/systemcoupling/core/adaptor/api_24_1/import_system_coupling_input_file.py +36 -0
  72. ansys/systemcoupling/core/adaptor/api_24_1/initialize.py +27 -0
  73. ansys/systemcoupling/core/adaptor/api_24_1/instancing.py +23 -0
  74. ansys/systemcoupling/core/adaptor/api_24_1/instancing_child.py +62 -0
  75. ansys/systemcoupling/core/adaptor/api_24_1/interrupt.py +39 -0
  76. ansys/systemcoupling/core/adaptor/api_24_1/library.py +37 -0
  77. ansys/systemcoupling/core/adaptor/api_24_1/live_visualization.py +20 -0
  78. ansys/systemcoupling/core/adaptor/api_24_1/live_visualization_child.py +72 -0
  79. ansys/systemcoupling/core/adaptor/api_24_1/mapping_control.py +229 -0
  80. ansys/systemcoupling/core/adaptor/api_24_1/open.py +102 -0
  81. ansys/systemcoupling/core/adaptor/api_24_1/open_results_in_en_sight.py +56 -0
  82. ansys/systemcoupling/core/adaptor/api_24_1/open_snapshot.py +37 -0
  83. ansys/systemcoupling/core/adaptor/api_24_1/output_control.py +134 -0
  84. ansys/systemcoupling/core/adaptor/api_24_1/parameter.py +20 -0
  85. ansys/systemcoupling/core/adaptor/api_24_1/parameter_child.py +64 -0
  86. ansys/systemcoupling/core/adaptor/api_24_1/partition_participants.py +138 -0
  87. ansys/systemcoupling/core/adaptor/api_24_1/reference_frame.py +20 -0
  88. ansys/systemcoupling/core/adaptor/api_24_1/reference_frame_child.py +71 -0
  89. ansys/systemcoupling/core/adaptor/api_24_1/region.py +20 -0
  90. ansys/systemcoupling/core/adaptor/api_24_1/region_child.py +72 -0
  91. ansys/systemcoupling/core/adaptor/api_24_1/reload_expression_function_modules.py +14 -0
  92. ansys/systemcoupling/core/adaptor/api_24_1/results.py +89 -0
  93. ansys/systemcoupling/core/adaptor/api_24_1/save.py +51 -0
  94. ansys/systemcoupling/core/adaptor/api_24_1/save_snapshot.py +54 -0
  95. ansys/systemcoupling/core/adaptor/api_24_1/setup_root.py +195 -0
  96. ansys/systemcoupling/core/adaptor/api_24_1/shutdown.py +25 -0
  97. ansys/systemcoupling/core/adaptor/api_24_1/side.py +20 -0
  98. ansys/systemcoupling/core/adaptor/api_24_1/side_child.py +56 -0
  99. ansys/systemcoupling/core/adaptor/api_24_1/solution_control.py +103 -0
  100. ansys/systemcoupling/core/adaptor/api_24_1/solution_root.py +110 -0
  101. ansys/systemcoupling/core/adaptor/api_24_1/solve.py +30 -0
  102. ansys/systemcoupling/core/adaptor/api_24_1/stabilization.py +157 -0
  103. ansys/systemcoupling/core/adaptor/api_24_1/start_participants.py +47 -0
  104. ansys/systemcoupling/core/adaptor/api_24_1/step.py +57 -0
  105. ansys/systemcoupling/core/adaptor/api_24_1/transformation.py +21 -0
  106. ansys/systemcoupling/core/adaptor/api_24_1/transformation_child.py +62 -0
  107. ansys/systemcoupling/core/adaptor/api_24_1/type.py +38 -0
  108. ansys/systemcoupling/core/adaptor/api_24_1/unmapped_value_options.py +158 -0
  109. ansys/systemcoupling/core/adaptor/api_24_1/update_control.py +44 -0
  110. ansys/systemcoupling/core/adaptor/api_24_1/update_participant.py +61 -0
  111. ansys/systemcoupling/core/adaptor/api_24_1/variable.py +20 -0
  112. ansys/systemcoupling/core/adaptor/api_24_1/variable_child.py +232 -0
  113. ansys/systemcoupling/core/adaptor/api_24_1/write_csv_chart_files.py +21 -0
  114. ansys/systemcoupling/core/adaptor/api_24_1/write_ensight.py +46 -0
  115. ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +35 -0
  116. ansys/systemcoupling/core/adaptor/impl/injected_commands.py +97 -5
  117. ansys/systemcoupling/core/adaptor/impl/root_source.py +2 -0
  118. ansys/systemcoupling/core/adaptor/impl/static_info.py +69 -40
  119. ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +1 -1
  120. ansys/systemcoupling/core/adaptor/impl/types.py +12 -0
  121. ansys/systemcoupling/core/client/grpc_client.py +14 -4
  122. ansys/systemcoupling/core/client/syc_container.py +18 -3
  123. ansys/systemcoupling/core/client/syc_process.py +33 -7
  124. ansys/systemcoupling/core/examples/downloads.py +2 -2
  125. ansys/systemcoupling/core/participant/manager.py +198 -0
  126. ansys/systemcoupling/core/participant/protocol.py +51 -0
  127. ansys/systemcoupling/core/session.py +8 -2
  128. ansys/systemcoupling/core/syc_version.py +82 -0
  129. {ansys_systemcoupling_core-0.1.3.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/METADATA +27 -25
  130. ansys_systemcoupling_core-0.3.0.dist-info/RECORD +230 -0
  131. {ansys_systemcoupling_core-0.1.3.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/WHEEL +1 -1
  132. ansys_systemcoupling_core-0.1.3.dist-info/RECORD +0 -123
  133. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/abort.py +0 -0
  134. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/activate_hidden.py +0 -0
  135. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_data_transfer.py +0 -0
  136. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_data_transfer_by_display_names.py +0 -0
  137. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_expression_function.py +0 -0
  138. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_interface.py +0 -0
  139. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_interface_by_display_names.py +0 -0
  140. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_named_expression.py +0 -0
  141. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_reference_frame.py +0 -0
  142. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/add_transformation.py +0 -0
  143. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/apip.py +0 -0
  144. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/ascii_output.py +0 -0
  145. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/attribute.py +0 -0
  146. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/attribute_child.py +0 -0
  147. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/available_ports.py +0 -0
  148. ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/case_root.py +13 -13
  149. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/clear_state.py +0 -0
  150. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/coupling_interface.py +0 -0
  151. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/coupling_interface_child.py +0 -0
  152. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/coupling_participant.py +0 -0
  153. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/create_restart_point.py +0 -0
  154. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/data_transfer.py +0 -0
  155. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/data_transfer_child.py +0 -0
  156. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/delete_snapshot.py +0 -0
  157. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/delete_transformation.py +0 -0
  158. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/dimensionality.py +0 -0
  159. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/execution_control.py +0 -0
  160. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/expression.py +0 -0
  161. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/expression_child.py +0 -0
  162. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/expression_function.py +0 -0
  163. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/expression_function_child.py +0 -0
  164. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/external_data_file.py +0 -0
  165. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/fluent_input.py +0 -0
  166. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/fmu_parameter.py +0 -0
  167. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/generate_input_file.py +0 -0
  168. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/get_execution_command.py +0 -0
  169. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/get_machines.py +0 -0
  170. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/get_region_names_for_participant.py +0 -0
  171. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/get_setup_summary.py +0 -0
  172. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/get_snapshots.py +0 -0
  173. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/get_status_messages.py +0 -0
  174. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/global_stabilization.py +0 -0
  175. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/has_input_file_changed.py +0 -0
  176. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/import_system_coupling_input_file.py +0 -0
  177. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/initialize.py +0 -0
  178. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/instancing.py +0 -0
  179. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/instancing_child.py +0 -0
  180. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/interrupt.py +0 -0
  181. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/library.py +0 -0
  182. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/mapping_control.py +0 -0
  183. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/open.py +0 -0
  184. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/open_snapshot.py +0 -0
  185. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/partition_participants.py +0 -0
  186. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/reference_frame.py +0 -0
  187. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/reference_frame_child.py +0 -0
  188. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/region.py +0 -0
  189. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/region_child.py +0 -0
  190. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/reload_expression_function_modules.py +0 -0
  191. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/results.py +0 -0
  192. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/save.py +0 -0
  193. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/save_snapshot.py +0 -0
  194. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/shutdown.py +0 -0
  195. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/side.py +0 -0
  196. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/side_child.py +0 -0
  197. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/solution_control.py +0 -0
  198. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/stabilization.py +0 -0
  199. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/start_participants.py +0 -0
  200. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/step.py +0 -0
  201. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/transformation.py +0 -0
  202. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/transformation_child.py +0 -0
  203. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/type.py +0 -0
  204. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/unmapped_value_options.py +0 -0
  205. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/update_control.py +0 -0
  206. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/update_participant.py +0 -0
  207. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/variable.py +0 -0
  208. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/write_csv_chart_files.py +0 -0
  209. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_23_2}/write_ensight.py +0 -0
  210. /ansys/systemcoupling/core/adaptor/{api_23_1 → api_24_1}/open_results_in_ensight.py +0 -0
  211. {ansys_systemcoupling_core-0.1.3.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/LICENSE +0 -0
@@ -0,0 +1,46 @@
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 automatic_alignment_options(Container):
9
+ """
10
+ Automatic alignment settings.
11
+ """
12
+
13
+ syc_name = "AutomaticAlignmentOptions"
14
+
15
+ property_names_types = [
16
+ ("alignment_type", "AlignmentType", "str"),
17
+ ("singular_value_tolerance", "SingularValueTolerance", "RealType"),
18
+ ("verbosity", "Verbosity", "int"),
19
+ ]
20
+
21
+ @property
22
+ def alignment_type(self) -> str:
23
+ """Alignment type (\"Covariance\" or \"Moment Covariance\" or \"Inertial Axes\")."""
24
+ return self.get_property_state("alignment_type")
25
+
26
+ @alignment_type.setter
27
+ def alignment_type(self, value: str):
28
+ self.set_property_state("alignment_type", value)
29
+
30
+ @property
31
+ def singular_value_tolerance(self) -> RealType:
32
+ """Tolerance used to compare singular values"""
33
+ return self.get_property_state("singular_value_tolerance")
34
+
35
+ @singular_value_tolerance.setter
36
+ def singular_value_tolerance(self, value: RealType):
37
+ self.set_property_state("singular_value_tolerance", value)
38
+
39
+ @property
40
+ def verbosity(self) -> int:
41
+ """Set to 1 to print additional information about the alignment"""
42
+ return self.get_property_state("verbosity")
43
+
44
+ @verbosity.setter
45
+ def verbosity(self, value: int):
46
+ self.set_property_state("verbosity", value)
@@ -0,0 +1,40 @@
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 available_ports(Container):
9
+ """
10
+ Specify ports available for co-simulation.
11
+ """
12
+
13
+ syc_name = "AvailablePorts"
14
+
15
+ property_names_types = [("option", "Option", "str"), ("range", "Range", "str")]
16
+
17
+ @property
18
+ def option(self) -> str:
19
+ """Specify how available ports are determined.
20
+
21
+ - \"ProgramControlled\" - System Coupling will find an
22
+ available port.
23
+ - \"UserDefined\" - An available port will be chosen,
24
+ if possible, from a specified range."""
25
+ return self.get_property_state("option")
26
+
27
+ @option.setter
28
+ def option(self, value: str):
29
+ self.set_property_state("option", value)
30
+
31
+ @property
32
+ def range(self) -> str:
33
+ """Port range expressed as a comma-separated list of integers and/or
34
+ integer ranges. An integer range is a pair of integers separated
35
+ with a "-" character, specify an inclusive range of port numbers."""
36
+ return self.get_property_state("range")
37
+
38
+ @range.setter
39
+ def range(self, value: str):
40
+ self.set_property_state("range", value)
@@ -0,0 +1,46 @@
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 avoid_data_reconstruction(Container):
9
+ """
10
+ Control whether data reconstruction should be done for elemental intensive data.
11
+ """
12
+
13
+ syc_name = "AvoidDataReconstruction"
14
+
15
+ property_names_types = [
16
+ ("volume_mapping", "VolumeMapping", "bool"),
17
+ ("surface_mapping", "SurfaceMapping", "bool"),
18
+ ("surface_volume_mapping", "SurfaceVolumeMapping", "bool"),
19
+ ]
20
+
21
+ @property
22
+ def volume_mapping(self) -> bool:
23
+ """UNDOCUMENTED"""
24
+ return self.get_property_state("volume_mapping")
25
+
26
+ @volume_mapping.setter
27
+ def volume_mapping(self, value: bool):
28
+ self.set_property_state("volume_mapping", value)
29
+
30
+ @property
31
+ def surface_mapping(self) -> bool:
32
+ """UNDOCUMENTED"""
33
+ return self.get_property_state("surface_mapping")
34
+
35
+ @surface_mapping.setter
36
+ def surface_mapping(self, value: bool):
37
+ self.set_property_state("surface_mapping", value)
38
+
39
+ @property
40
+ def surface_volume_mapping(self) -> bool:
41
+ """UNDOCUMENTED"""
42
+ return self.get_property_state("surface_volume_mapping")
43
+
44
+ @surface_volume_mapping.setter
45
+ def surface_volume_mapping(self, value: bool):
46
+ self.set_property_state("surface_volume_mapping", value)
@@ -0,0 +1,62 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ SHASH = "0fbfd3e7593591d8e52193a6e92828c6174e531b26437aee17285b3d0d114664"
6
+
7
+ from ansys.systemcoupling.core.adaptor.impl.types import *
8
+
9
+ from .clear_state import clear_state
10
+ from .delete_snapshot import delete_snapshot
11
+ from .get_snapshots import get_snapshots
12
+ from .open import open
13
+ from .open_snapshot import open_snapshot
14
+ from .save import save
15
+ from .save_snapshot import save_snapshot
16
+
17
+
18
+ class case_root(Container):
19
+ """
20
+ 'root' object
21
+ """
22
+
23
+ syc_name = "CaseCommands"
24
+
25
+ command_names = [
26
+ "clear_state",
27
+ "delete_snapshot",
28
+ "get_snapshots",
29
+ "open",
30
+ "open_snapshot",
31
+ "save",
32
+ "save_snapshot",
33
+ ]
34
+
35
+ clear_state: clear_state = clear_state
36
+ """
37
+ clear_state command of case_root.
38
+ """
39
+ delete_snapshot: delete_snapshot = delete_snapshot
40
+ """
41
+ delete_snapshot command of case_root.
42
+ """
43
+ get_snapshots: get_snapshots = get_snapshots
44
+ """
45
+ get_snapshots command of case_root.
46
+ """
47
+ open: open = open
48
+ """
49
+ open command of case_root.
50
+ """
51
+ open_snapshot: open_snapshot = open_snapshot
52
+ """
53
+ open_snapshot command of case_root.
54
+ """
55
+ save: save = save
56
+ """
57
+ save command of case_root.
58
+ """
59
+ save_snapshot: save_snapshot = save_snapshot
60
+ """
61
+ save_snapshot command of case_root.
62
+ """
@@ -0,0 +1,16 @@
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 clear_state(Command):
9
+ """
10
+ Clears the state of the entire System Coupling service, removing all
11
+ data model items, parameter values, and calculated values.
12
+
13
+ Cannot be run after participants have been started.
14
+ """
15
+
16
+ syc_name = "ClearState"
@@ -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 .coupling_interface_child import coupling_interface_child
8
+
9
+
10
+ class coupling_interface(NamedContainer[coupling_interface_child]):
11
+ """
12
+ Configure a coupling interface.
13
+ """
14
+
15
+ syc_name = "CouplingInterface"
16
+
17
+ child_object_type: coupling_interface_child = coupling_interface_child
18
+ """
19
+ child_object_type of coupling_interface.
20
+ """
@@ -0,0 +1,42 @@
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 .data_transfer import data_transfer
8
+ from .mapping_control import mapping_control
9
+ from .side import side
10
+
11
+
12
+ class coupling_interface_child(Container):
13
+ """
14
+ Configure a coupling interface.
15
+ """
16
+
17
+ syc_name = "child_object_type"
18
+
19
+ child_names = ["side", "data_transfer", "mapping_control"]
20
+
21
+ side: side = side
22
+ """
23
+ side child of coupling_interface_child.
24
+ """
25
+ data_transfer: data_transfer = data_transfer
26
+ """
27
+ data_transfer child of coupling_interface_child.
28
+ """
29
+ mapping_control: mapping_control = mapping_control
30
+ """
31
+ mapping_control child of coupling_interface_child.
32
+ """
33
+ property_names_types = [("display_name", "DisplayName", "str")]
34
+
35
+ @property
36
+ def display_name(self) -> str:
37
+ """Set the display name of an object."""
38
+ return self.get_property_state("display_name")
39
+
40
+ @display_name.setter
41
+ def display_name(self, value: str):
42
+ self.set_property_state("display_name", value)
@@ -0,0 +1,23 @@
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 .coupling_participant_child import coupling_participant_child
8
+
9
+
10
+ class coupling_participant(NamedContainer[coupling_participant_child]):
11
+ """
12
+ Configure a coupling participant.
13
+
14
+ These settings are typically populated by using the ``add_participant``
15
+ command.
16
+ """
17
+
18
+ syc_name = "CouplingParticipant"
19
+
20
+ child_object_type: coupling_participant_child = coupling_participant_child
21
+ """
22
+ child_object_type of coupling_participant.
23
+ """
@@ -0,0 +1,230 @@
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 .execution_control import execution_control
8
+ from .external_data_file import external_data_file
9
+ from .fmu_parameter import fmu_parameter
10
+ from .parameter import parameter
11
+ from .region import region
12
+ from .update_control import update_control
13
+ from .variable import variable
14
+
15
+
16
+ class coupling_participant_child(Container):
17
+ """
18
+ Configure a coupling participant.
19
+
20
+ These settings are typically populated by using the ``add_participant``
21
+ command.
22
+ """
23
+
24
+ syc_name = "child_object_type"
25
+
26
+ child_names = [
27
+ "variable",
28
+ "parameter",
29
+ "region",
30
+ "update_control",
31
+ "fmu_parameter",
32
+ "execution_control",
33
+ "external_data_file",
34
+ ]
35
+
36
+ variable: variable = variable
37
+ """
38
+ variable child of coupling_participant_child.
39
+ """
40
+ parameter: parameter = parameter
41
+ """
42
+ parameter child of coupling_participant_child.
43
+ """
44
+ region: region = region
45
+ """
46
+ region child of coupling_participant_child.
47
+ """
48
+ update_control: update_control = update_control
49
+ """
50
+ update_control child of coupling_participant_child.
51
+ """
52
+ fmu_parameter: fmu_parameter = fmu_parameter
53
+ """
54
+ fmu_parameter child of coupling_participant_child.
55
+ """
56
+ execution_control: execution_control = execution_control
57
+ """
58
+ execution_control child of coupling_participant_child.
59
+ """
60
+ external_data_file: external_data_file = external_data_file
61
+ """
62
+ external_data_file child of coupling_participant_child.
63
+ """
64
+ property_names_types = [
65
+ ("participant_type", "ParticipantType", "str"),
66
+ ("participant_display_name", "ParticipantDisplayName", "str"),
67
+ ("display_name", "DisplayName", "str"),
68
+ ("dimension", "Dimension", "str"),
69
+ ("input_variables", "InputVariables", "StringListType"),
70
+ ("output_variables", "OutputVariables", "StringListType"),
71
+ ("input_parameters", "InputParameters", "StringListType"),
72
+ ("output_parameters", "OutputParameters", "StringListType"),
73
+ ("participant_file_loaded", "ParticipantFileLoaded", "str"),
74
+ ("logging_on", "LoggingOn", "bool"),
75
+ ("participant_analysis_type", "ParticipantAnalysisType", "str"),
76
+ ("use_new_apis", "UseNewAPIs", "bool"),
77
+ ("restarts_supported", "RestartsSupported", "bool"),
78
+ ("can_serialize_fmu_state", "CanSerializeFmuState", "bool"),
79
+ ("instancing", "Instancing", "str"),
80
+ ]
81
+
82
+ @property
83
+ def participant_type(self) -> str:
84
+ """Coupling participant type.
85
+
86
+ Allowed values:
87
+ - \"DEFAULT\"
88
+ - \"CFX\"
89
+ - \"FLUENT\"
90
+ - \"MAPDL\"
91
+ - \"AEDT\"
92
+ - \"FMU\"
93
+ - \"EXTERNALDATA\"
94
+ - \"FORTE\"
95
+ - \"DEFAULT-SRV\"
96
+ - \"MECH-SRV\"
97
+ - \"CFD-SRV\"
98
+ - \"SCDT-SRV\" """
99
+ return self.get_property_state("participant_type")
100
+
101
+ @participant_type.setter
102
+ def participant_type(self, value: str):
103
+ self.set_property_state("participant_type", value)
104
+
105
+ @property
106
+ def participant_display_name(self) -> str:
107
+ """Participant's display name as defined by the participant solver (as
108
+ opposed to System Coupling's ``display_name`` for the participant)."""
109
+ return self.get_property_state("participant_display_name")
110
+
111
+ @participant_display_name.setter
112
+ def participant_display_name(self, value: str):
113
+ self.set_property_state("participant_display_name", value)
114
+
115
+ @property
116
+ def display_name(self) -> str:
117
+ """Participant's display name as defined in System Coupling."""
118
+ return self.get_property_state("display_name")
119
+
120
+ @display_name.setter
121
+ def display_name(self, value: str):
122
+ self.set_property_state("display_name", value)
123
+
124
+ @property
125
+ def dimension(self) -> str:
126
+ """Dimension of the participant (\"2D\" or \"3D\")."""
127
+ return self.get_property_state("dimension")
128
+
129
+ @dimension.setter
130
+ def dimension(self, value: str):
131
+ self.set_property_state("dimension", value)
132
+
133
+ @property
134
+ def input_variables(self) -> StringListType:
135
+ """Input variables for the region or FMU."""
136
+ return self.get_property_state("input_variables")
137
+
138
+ @input_variables.setter
139
+ def input_variables(self, value: StringListType):
140
+ self.set_property_state("input_variables", value)
141
+
142
+ @property
143
+ def output_variables(self) -> StringListType:
144
+ """Output variables for the region or FMU."""
145
+ return self.get_property_state("output_variables")
146
+
147
+ @output_variables.setter
148
+ def output_variables(self, value: StringListType):
149
+ self.set_property_state("output_variables", value)
150
+
151
+ @property
152
+ def input_parameters(self) -> StringListType:
153
+ """Input parameters for the solver."""
154
+ return self.get_property_state("input_parameters")
155
+
156
+ @input_parameters.setter
157
+ def input_parameters(self, value: StringListType):
158
+ self.set_property_state("input_parameters", value)
159
+
160
+ @property
161
+ def output_parameters(self) -> StringListType:
162
+ """Output parameters for the solver."""
163
+ return self.get_property_state("output_parameters")
164
+
165
+ @output_parameters.setter
166
+ def output_parameters(self, value: StringListType):
167
+ self.set_property_state("output_parameters", value)
168
+
169
+ @property
170
+ def participant_file_loaded(self) -> str:
171
+ """File used to generate the participant."""
172
+ return self.get_property_state("participant_file_loaded")
173
+
174
+ @participant_file_loaded.setter
175
+ def participant_file_loaded(self, value: str):
176
+ self.set_property_state("participant_file_loaded", value)
177
+
178
+ @property
179
+ def logging_on(self) -> bool:
180
+ """Specifies whether logging is activated for the participant."""
181
+ return self.get_property_state("logging_on")
182
+
183
+ @logging_on.setter
184
+ def logging_on(self, value: bool):
185
+ self.set_property_state("logging_on", value)
186
+
187
+ @property
188
+ def participant_analysis_type(self) -> str:
189
+ """Coupling participant analysis type (\"Steady\" or \"Transient\")."""
190
+ return self.get_property_state("participant_analysis_type")
191
+
192
+ @participant_analysis_type.setter
193
+ def participant_analysis_type(self, value: str):
194
+ self.set_property_state("participant_analysis_type", value)
195
+
196
+ @property
197
+ def use_new_apis(self) -> bool:
198
+ """Controls whether Fluent/MAPDL/AEDT/CFX participant should communicate using new APIs."""
199
+ return self.get_property_state("use_new_apis")
200
+
201
+ @use_new_apis.setter
202
+ def use_new_apis(self, value: bool):
203
+ self.set_property_state("use_new_apis", value)
204
+
205
+ @property
206
+ def restarts_supported(self) -> bool:
207
+ """Indicates whether the participant supports restarts."""
208
+ return self.get_property_state("restarts_supported")
209
+
210
+ @restarts_supported.setter
211
+ def restarts_supported(self, value: bool):
212
+ self.set_property_state("restarts_supported", value)
213
+
214
+ @property
215
+ def can_serialize_fmu_state(self) -> bool:
216
+ """Indicates whether the FMU can state can be serialized."""
217
+ return self.get_property_state("can_serialize_fmu_state")
218
+
219
+ @can_serialize_fmu_state.setter
220
+ def can_serialize_fmu_state(self, value: bool):
221
+ self.set_property_state("can_serialize_fmu_state", value)
222
+
223
+ @property
224
+ def instancing(self) -> str:
225
+ """Set instancing on the participant."""
226
+ return self.get_property_state("instancing")
227
+
228
+ @instancing.setter
229
+ def instancing(self, value: str):
230
+ self.set_property_state("instancing", value)
@@ -0,0 +1,29 @@
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 create_restart_point(Command):
9
+ """
10
+ Interactive command that creates a restart point at the end of the
11
+ last completed coupling step.
12
+
13
+ Signals the System Coupling service and all coupling participants that a
14
+ restart point should be created before the next coupling step begins. The
15
+ restart point is created in addition to restart points created by the
16
+ ``output_control`` setting in the data model.
17
+
18
+ Note that some participants write their restart files only when the
19
+ coupling run resumes, so their files will not be available immediately
20
+ after the command is issued.
21
+
22
+ Results information for the coupling step is written to a file named
23
+ according to the convention ``Results_#.h5``, where ``_#`` is the number of
24
+ the coupling step. By default, the restart files are written to the ``SyC``
25
+ directory, which is automatically created by the System Coupling service
26
+ when restart points are created.
27
+ """
28
+
29
+ syc_name = "CreateRestartPoint"
@@ -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 .data_transfer_child import data_transfer_child
8
+
9
+
10
+ class data_transfer(NamedContainer[data_transfer_child]):
11
+ """
12
+ Configure data transfers for a coupling interface.
13
+ """
14
+
15
+ syc_name = "DataTransfer"
16
+
17
+ child_object_type: data_transfer_child = data_transfer_child
18
+ """
19
+ child_object_type of data_transfer.
20
+ """