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,36 @@
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 import_system_coupling_input_file(Command):
9
+ """
10
+ Reads the specified System Coupling SCI file and pushes its information
11
+ into the data model. The SCI file is the required System Coupling input
12
+ format for the initial run of a coupled analysis set up in Workbench.
13
+
14
+ After the initial run based on an imported SCI file, a reissue
15
+ of the ``import_system_coupling_input_file`` command is unnecessary and is
16
+ not recommended unless the setup has changed.
17
+
18
+ Cannot be run after participants have been started.
19
+
20
+ Parameters
21
+ ----------
22
+ file_path : str
23
+ Path and file name for the SCI file to be read.
24
+
25
+ """
26
+
27
+ syc_name = "ImportSystemCouplingInputFile"
28
+
29
+ argument_names = ["file_path"]
30
+
31
+ class file_path(String):
32
+ """
33
+ Path and file name for the SCI file to be read.
34
+ """
35
+
36
+ syc_name = "FilePath"
@@ -0,0 +1,27 @@
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 initialize(Command):
9
+ """
10
+ Interactive command that initializes a coupled analysis.
11
+
12
+ Initialization includes preparing System Coupling, making connections
13
+ between System Coupling and all participants, starting participants (if
14
+ necessary), and writing participant build information to the Transcript
15
+ and Log.
16
+
17
+ Note that if the ``execution_control`` ``option`` for a participant is set to
18
+ \"ExternallyManaged\", then System Coupling will not start the participant
19
+ using either this command or any of the other commands that automatically
20
+ start participants. The user is expected to manually start the participant.
21
+ This function will not return until all participants have been connected.
22
+
23
+ Note that this command will raise an exception if another instance of
24
+ System Coupling is solving in the current working directory.
25
+ """
26
+
27
+ syc_name = "Initialize"
@@ -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 .instancing_child import instancing_child
8
+
9
+
10
+ class instancing(NamedContainer[instancing_child]):
11
+ """
12
+ Define instancing for an interface side.
13
+
14
+ Available when cylindrical geometry instancing has been added to
15
+ the data model.
16
+ """
17
+
18
+ syc_name = "Instancing"
19
+
20
+ child_object_type: instancing_child = instancing_child
21
+ """
22
+ child_object_type of instancing.
23
+ """
@@ -0,0 +1,62 @@
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 instancing_child(Container):
9
+ """
10
+ Define instancing for an interface side.
11
+
12
+ Available when cylindrical geometry instancing has been added to
13
+ the data model.
14
+ """
15
+
16
+ syc_name = "child_object_type"
17
+
18
+ property_names_types = [
19
+ ("reference_frame", "ReferenceFrame", "str"),
20
+ ("instances_in_full_circle", "InstancesInFullCircle", "int"),
21
+ ("instances_for_mapping", "InstancesForMapping", "int"),
22
+ ]
23
+
24
+ @property
25
+ def reference_frame(self) -> str:
26
+ """Reference frame that defines the orientation of the instancing.
27
+
28
+ Rotation will be around the z-axis of the reference frame,
29
+ following the right-hand rule."""
30
+ return self.get_property_state("reference_frame")
31
+
32
+ @reference_frame.setter
33
+ def reference_frame(self, value: str):
34
+ self.set_property_state("reference_frame", value)
35
+
36
+ @property
37
+ def instances_in_full_circle(self) -> int:
38
+ """Total number of instances (including the first instance) in
39
+ a full 360 degree rotation of the participant mesh. This value
40
+ includes the reference instance (with the participant mesh).
41
+ All instances defined for the instancing object have identical
42
+ angles."""
43
+ return self.get_property_state("instances_in_full_circle")
44
+
45
+ @instances_in_full_circle.setter
46
+ def instances_in_full_circle(self, value: int):
47
+ self.set_property_state("instances_in_full_circle", value)
48
+
49
+ @property
50
+ def instances_for_mapping(self) -> int:
51
+ """Number of instances to be included in the mapping when instancing
52
+ is applied.
53
+
54
+ Required when the number of instances to be used for mapping does
55
+ not match the number of instances in a full circle. Default
56
+ assumes a 360 degree rotation of the participant mesh. This value
57
+ includes the reference instance (with the participant mesh)."""
58
+ return self.get_property_state("instances_for_mapping")
59
+
60
+ @instances_for_mapping.setter
61
+ def instances_for_mapping(self, value: int):
62
+ self.set_property_state("instances_for_mapping", value)
@@ -0,0 +1,39 @@
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 interrupt(InjectedCommand):
9
+ """
10
+ Interrupts a solve in progress.
11
+
12
+ See also ``abort``. The difference between an interrupted and
13
+ aborted solve is that an interrupted solve can be resumed.
14
+
15
+ Parameters
16
+ ----------
17
+ reason_msg : str, optional
18
+ Text to describe the reason for the interrupt.
19
+
20
+ This might be used for such purposes as providing
21
+ additional annotation in transcript output.
22
+
23
+ """
24
+
25
+ syc_name = "interrupt"
26
+
27
+ cmd_name = "interrupt"
28
+
29
+ argument_names = ["reason_msg"]
30
+
31
+ class reason_msg(String):
32
+ """
33
+ Text to describe the reason for the interrupt.
34
+
35
+ This might be used for such purposes as providing
36
+ additional annotation in transcript output.
37
+ """
38
+
39
+ syc_name = "reason_msg"
@@ -0,0 +1,37 @@
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 .expression import expression
8
+ from .expression_function import expression_function
9
+ from .instancing import instancing
10
+ from .reference_frame import reference_frame
11
+
12
+
13
+ class library(Container):
14
+ """
15
+ Contains objects that can be referenced from elsewhere in the data model.
16
+ """
17
+
18
+ syc_name = "Library"
19
+
20
+ child_names = ["expression", "expression_function", "reference_frame", "instancing"]
21
+
22
+ expression: expression = expression
23
+ """
24
+ expression child of library.
25
+ """
26
+ expression_function: expression_function = expression_function
27
+ """
28
+ expression_function child of library.
29
+ """
30
+ reference_frame: reference_frame = reference_frame
31
+ """
32
+ reference_frame child of library.
33
+ """
34
+ instancing: instancing = instancing
35
+ """
36
+ instancing child of library.
37
+ """
@@ -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 .live_visualization_child import live_visualization_child
8
+
9
+
10
+ class live_visualization(NamedContainer[live_visualization_child]):
11
+ """
12
+ Configures live visualization via EnSight DVS.
13
+ """
14
+
15
+ syc_name = "LiveVisualization"
16
+
17
+ child_object_type: live_visualization_child = live_visualization_child
18
+ """
19
+ child_object_type of live_visualization.
20
+ """
@@ -0,0 +1,72 @@
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 live_visualization_child(Container):
9
+ """
10
+ Configures live visualization via EnSight DVS.
11
+ """
12
+
13
+ syc_name = "child_object_type"
14
+
15
+ property_names_types = [
16
+ ("option", "Option", "str"),
17
+ ("write_results", "WriteResults", "bool"),
18
+ ("output_frequency", "OutputFrequency", "int"),
19
+ ]
20
+
21
+ @property
22
+ def option(self) -> str:
23
+ """Specifies live visualization working process
24
+
25
+ Allowed values:
26
+
27
+ - \"ProgramControlled\" - Generation of postprocessing results is disabled for now.
28
+
29
+ - \"Off\" - Generation of postprocessing results is disabled.
30
+
31
+ Allowed values for step-based analyses:
32
+
33
+ - \"LastStep\" - Generate results only for the last coupling step completed.
34
+
35
+ - \"EveryStep\" - Generate results at the end of every coupling step.
36
+
37
+ - \"StepInterval\" - Generate results at the end of coupling steps at
38
+ the interval specified by the output frequency setting.
39
+
40
+ Allowed values for iteration-based analyses:
41
+
42
+ - \"LastIteration\" - Generate results only for the last coupling
43
+ iteration completed.
44
+
45
+ - \"EveryIteration\" - Generate results at the end of every coupling
46
+ iteration.
47
+
48
+ - \"IterationInterval\" - Generate results at the end of coupling
49
+ iterations at the interval specified by the output frequency setting."""
50
+ return self.get_property_state("option")
51
+
52
+ @option.setter
53
+ def option(self, value: str):
54
+ self.set_property_state("option", value)
55
+
56
+ @property
57
+ def write_results(self) -> bool:
58
+ """Write results to files when conducting live visualization."""
59
+ return self.get_property_state("write_results")
60
+
61
+ @write_results.setter
62
+ def write_results(self, value: bool):
63
+ self.set_property_state("write_results", value)
64
+
65
+ @property
66
+ def output_frequency(self) -> int:
67
+ """Specify output frequency."""
68
+ return self.get_property_state("output_frequency")
69
+
70
+ @output_frequency.setter
71
+ def output_frequency(self, value: int):
72
+ self.set_property_state("output_frequency", value)
@@ -0,0 +1,229 @@
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 mapping_control(Container):
9
+ """
10
+ Configure controls for mapping.
11
+ """
12
+
13
+ syc_name = "MappingControl"
14
+
15
+ property_names_types = [
16
+ ("stop_if_poor_intersection", "StopIfPoorIntersection", "bool"),
17
+ ("poor_intersection_threshold", "PoorIntersectionThreshold", "RealType"),
18
+ ("face_alignment", "FaceAlignment", "str"),
19
+ ("absolute_gap_tolerance", "AbsoluteGapTolerance", "RealType"),
20
+ ("relative_gap_tolerance", "RelativeGapTolerance", "RealType"),
21
+ ("small_weight_tolerance", "SmallWeightTolerance", "RealType"),
22
+ ("corner_tolerance", "CornerTolerance", "RealType"),
23
+ ("halo_tolerance", "HaloTolerance", "RealType"),
24
+ (
25
+ "conservative_reciprocity_factor",
26
+ "ConservativeReciprocityFactor",
27
+ "RealType",
28
+ ),
29
+ (
30
+ "profile_preserving_reciprocity_factor",
31
+ "ProfilePreservingReciprocityFactor",
32
+ "RealType",
33
+ ),
34
+ ("conservative_intensive", "ConservativeIntensive", "str"),
35
+ ("preserve_normal", "PreserveNormal", "str"),
36
+ (
37
+ "conservation_fix_tolerance_volume",
38
+ "ConservationFixToleranceVolume",
39
+ "RealType",
40
+ ),
41
+ ("rbf_option", "RBFOption", "str"),
42
+ ("rbf_shape_parameter", "RBFShapeParameter", "RealType"),
43
+ ("rbf_linear_correction", "RBFLinearCorrection", "bool"),
44
+ ("rbf_clipping_scale", "RBFClippingScale", "RealType"),
45
+ ]
46
+
47
+ @property
48
+ def stop_if_poor_intersection(self) -> bool:
49
+ """Controls whether to stop if the intersection is poor"""
50
+ return self.get_property_state("stop_if_poor_intersection")
51
+
52
+ @stop_if_poor_intersection.setter
53
+ def stop_if_poor_intersection(self, value: bool):
54
+ self.set_property_state("stop_if_poor_intersection", value)
55
+
56
+ @property
57
+ def poor_intersection_threshold(self) -> RealType:
58
+ """System Coupling terminates with an error if the intersected fractions are below this threshold (in both directions)"""
59
+ return self.get_property_state("poor_intersection_threshold")
60
+
61
+ @poor_intersection_threshold.setter
62
+ def poor_intersection_threshold(self, value: RealType):
63
+ self.set_property_state("poor_intersection_threshold", value)
64
+
65
+ @property
66
+ def face_alignment(self) -> str:
67
+ """Controls how face alignment is used during mapping.
68
+
69
+ Allowed values:
70
+
71
+ - \"ProgramControlled\" (default)
72
+ - \"OppositeOrientation\"
73
+ - \"SameOrientation\"
74
+ - \"AnyOrientation\" """
75
+ return self.get_property_state("face_alignment")
76
+
77
+ @face_alignment.setter
78
+ def face_alignment(self, value: str):
79
+ self.set_property_state("face_alignment", value)
80
+
81
+ @property
82
+ def absolute_gap_tolerance(self) -> RealType:
83
+ """Absolute gap tolerance value."""
84
+ return self.get_property_state("absolute_gap_tolerance")
85
+
86
+ @absolute_gap_tolerance.setter
87
+ def absolute_gap_tolerance(self, value: RealType):
88
+ self.set_property_state("absolute_gap_tolerance", value)
89
+
90
+ @property
91
+ def relative_gap_tolerance(self) -> RealType:
92
+ """Maximum gap size relative to face size."""
93
+ return self.get_property_state("relative_gap_tolerance")
94
+
95
+ @relative_gap_tolerance.setter
96
+ def relative_gap_tolerance(self, value: RealType):
97
+ self.set_property_state("relative_gap_tolerance", value)
98
+
99
+ @property
100
+ def small_weight_tolerance(self) -> RealType:
101
+ """Relative tolerance used to control when weights are dropped."""
102
+ return self.get_property_state("small_weight_tolerance")
103
+
104
+ @small_weight_tolerance.setter
105
+ def small_weight_tolerance(self, value: RealType):
106
+ self.set_property_state("small_weight_tolerance", value)
107
+
108
+ @property
109
+ def corner_tolerance(self) -> RealType:
110
+ """Angle [degrees] between adjacent source mesh faces above which the
111
+ mapping algorithm will stop searching for mapping candidates."""
112
+ return self.get_property_state("corner_tolerance")
113
+
114
+ @corner_tolerance.setter
115
+ def corner_tolerance(self, value: RealType):
116
+ self.set_property_state("corner_tolerance", value)
117
+
118
+ @property
119
+ def halo_tolerance(self) -> RealType:
120
+ """If a face intersects but a target node lies outside of the source face, then
121
+ map the node if the projected distance to the face / sqrt(srcArea) is less
122
+ than this tolerance, otherwise leave as unmapped."""
123
+ return self.get_property_state("halo_tolerance")
124
+
125
+ @halo_tolerance.setter
126
+ def halo_tolerance(self, value: RealType):
127
+ self.set_property_state("halo_tolerance", value)
128
+
129
+ @property
130
+ def conservative_reciprocity_factor(self) -> RealType:
131
+ """Reciprocity blend factor for conservative mapping."""
132
+ return self.get_property_state("conservative_reciprocity_factor")
133
+
134
+ @conservative_reciprocity_factor.setter
135
+ def conservative_reciprocity_factor(self, value: RealType):
136
+ self.set_property_state("conservative_reciprocity_factor", value)
137
+
138
+ @property
139
+ def profile_preserving_reciprocity_factor(self) -> RealType:
140
+ """Reciprocity blend factor for profile-preserving mapping."""
141
+ return self.get_property_state("profile_preserving_reciprocity_factor")
142
+
143
+ @profile_preserving_reciprocity_factor.setter
144
+ def profile_preserving_reciprocity_factor(self, value: RealType):
145
+ self.set_property_state("profile_preserving_reciprocity_factor", value)
146
+
147
+ @property
148
+ def conservative_intensive(self) -> str:
149
+ """Determines when the Intensive option is used for conservative mapping.
150
+
151
+ Allowed values:
152
+
153
+ - \"ProgramControlled\" (default)
154
+ - \"Off\"
155
+ - \"On\" """
156
+ return self.get_property_state("conservative_intensive")
157
+
158
+ @conservative_intensive.setter
159
+ def conservative_intensive(self, value: str):
160
+ self.set_property_state("conservative_intensive", value)
161
+
162
+ @property
163
+ def preserve_normal(self) -> str:
164
+ """Determines if the normal component of a vector is preserved.
165
+
166
+ Allowed values:
167
+
168
+ - \"ProgramControlled\" (default)
169
+ - \"Off\"
170
+ - \"On\" """
171
+ return self.get_property_state("preserve_normal")
172
+
173
+ @preserve_normal.setter
174
+ def preserve_normal(self, value: str):
175
+ self.set_property_state("preserve_normal", value)
176
+
177
+ @property
178
+ def conservation_fix_tolerance_volume(self) -> RealType:
179
+ """Source element overlap fraction to trigger volume mapping conservation fix.
180
+
181
+ 0.0 is default. 1.0 effectively disables it."""
182
+ return self.get_property_state("conservation_fix_tolerance_volume")
183
+
184
+ @conservation_fix_tolerance_volume.setter
185
+ def conservation_fix_tolerance_volume(self, value: RealType):
186
+ self.set_property_state("conservation_fix_tolerance_volume", value)
187
+
188
+ @property
189
+ def rbf_option(self) -> str:
190
+ """Controls radial basis function formulation.
191
+
192
+ Allowed values:
193
+
194
+ - \"Gaussian\" (default)
195
+ - \"ThinPlateSpline\" """
196
+ return self.get_property_state("rbf_option")
197
+
198
+ @rbf_option.setter
199
+ def rbf_option(self, value: str):
200
+ self.set_property_state("rbf_option", value)
201
+
202
+ @property
203
+ def rbf_shape_parameter(self) -> RealType:
204
+ """Sets the shape parameter beta when using Gaussian radial basis functions."""
205
+ return self.get_property_state("rbf_shape_parameter")
206
+
207
+ @rbf_shape_parameter.setter
208
+ def rbf_shape_parameter(self, value: RealType):
209
+ self.set_property_state("rbf_shape_parameter", value)
210
+
211
+ @property
212
+ def rbf_linear_correction(self) -> bool:
213
+ """Controls whether linear polynomial augmentation is added to the RBF stencil for
214
+ low order regular element types (tet, hex, pyramid, wedge)."""
215
+ return self.get_property_state("rbf_linear_correction")
216
+
217
+ @rbf_linear_correction.setter
218
+ def rbf_linear_correction(self, value: bool):
219
+ self.set_property_state("rbf_linear_correction", value)
220
+
221
+ @property
222
+ def rbf_clipping_scale(self) -> RealType:
223
+ """Length scale factor used to determine if source nodes are removed from RBF
224
+ stencil when too close."""
225
+ return self.get_property_state("rbf_clipping_scale")
226
+
227
+ @rbf_clipping_scale.setter
228
+ def rbf_clipping_scale(self, value: RealType):
229
+ self.set_property_state("rbf_clipping_scale", value)
@@ -0,0 +1,102 @@
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 open(Command):
9
+ """
10
+ Reads the state of a coupled analysis. The state consists of settings to
11
+ populate the datamodel and results to restart the analysis at the end of
12
+ a specified coupling step.
13
+
14
+ Settings are stored in a file named Settings.h5. Results files may
15
+ correspond either to coupling iterations or coupling steps, depending on
16
+ the analysis type and the types of participants involved.
17
+
18
+ By default (no arguments provided), this command looks for the ``SyC``
19
+ directory in the current working directory. By default, if multiple
20
+ results files exist, the most recent one is opened.
21
+
22
+ If given optional arguments, behavior is modified as described below.
23
+
24
+ Cannot be run after the participants have been started.
25
+
26
+ Parameters
27
+ ----------
28
+ file_path : str, optional
29
+ Working directory containing the ``SyC`` subdirectory (and its .h5
30
+ file(s)) to be read.
31
+ coupling_step : int, optional
32
+ Integer specifying the coupling step at which the coupled analysis is
33
+ restarted. When used, System Coupling reads the corresponding
34
+ ``Results_step<#>.h5`` file in the specified directory and restarts the
35
+ analysis at the end of the specified coupling step. When this argument
36
+ is used, System Coupling automatically removes the output files related
37
+ to all later coupling steps. If the files cannot be removed, then
38
+ System Coupling generates an exception message instructing you to free
39
+ up the files and reissue the ``open`` command with the ``coupling_step``
40
+ argument. If the simulation's results files are associated with
41
+ coupling iterations, then System Coupling prints an error message
42
+ indicating this.
43
+ coupling_iteration : int, optional
44
+ Integer specifying the coupling iteration at which the coupled analysis
45
+ is restarted. When used, System Coupling reads the corresponding
46
+ ``Results_iter<#>.h5`` file in the specified directory and restarts the
47
+ analysis at the end of the specified coupling iteration. When this
48
+ argument is used, System Coupling automatically removes the output
49
+ files related to all later coupling iterations. If the files cannot be
50
+ removed, then System Coupling generates an exception message
51
+ instructing you to free up the files and reissue the ``open`` command with
52
+ the ``coupling_iteration`` argument. If the simulation's results files are
53
+ associated with coupling steps, then System Coupling prints an error
54
+ message indicating this.
55
+
56
+ """
57
+
58
+ syc_name = "Open"
59
+
60
+ argument_names = ["file_path", "coupling_step", "coupling_iteration"]
61
+
62
+ class file_path(String):
63
+ """
64
+ Working directory containing the ``SyC`` subdirectory (and its .h5
65
+ file(s)) to be read.
66
+ """
67
+
68
+ syc_name = "FilePath"
69
+
70
+ class coupling_step(Integer):
71
+ """
72
+ Integer specifying the coupling step at which the coupled analysis is
73
+ restarted. When used, System Coupling reads the corresponding
74
+ ``Results_step<#>.h5`` file in the specified directory and restarts the
75
+ analysis at the end of the specified coupling step. When this argument
76
+ is used, System Coupling automatically removes the output files related
77
+ to all later coupling steps. If the files cannot be removed, then
78
+ System Coupling generates an exception message instructing you to free
79
+ up the files and reissue the ``open`` command with the ``coupling_step``
80
+ argument. If the simulation's results files are associated with
81
+ coupling iterations, then System Coupling prints an error message
82
+ indicating this.
83
+ """
84
+
85
+ syc_name = "CouplingStep"
86
+
87
+ class coupling_iteration(Integer):
88
+ """
89
+ Integer specifying the coupling iteration at which the coupled analysis
90
+ is restarted. When used, System Coupling reads the corresponding
91
+ ``Results_iter<#>.h5`` file in the specified directory and restarts the
92
+ analysis at the end of the specified coupling iteration. When this
93
+ argument is used, System Coupling automatically removes the output
94
+ files related to all later coupling iterations. If the files cannot be
95
+ removed, then System Coupling generates an exception message
96
+ instructing you to free up the files and reissue the ``open`` command with
97
+ the ``coupling_iteration`` argument. If the simulation's results files are
98
+ associated with coupling steps, then System Coupling prints an error
99
+ message indicating this.
100
+ """
101
+
102
+ syc_name = "CouplingIteration"