ansys-systemcoupling-core 0.7.0__py3-none-any.whl → 0.9.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 (166) hide show
  1. ansys/systemcoupling/core/__init__.py +2 -2
  2. ansys/systemcoupling/core/_version.py +1 -1
  3. ansys/systemcoupling/core/adaptor/api_25_1/instancing.py +2 -0
  4. ansys/systemcoupling/core/adaptor/api_25_1/instancing_child.py +62 -10
  5. ansys/systemcoupling/core/adaptor/api_25_1/mapping_control.py +20 -0
  6. ansys/systemcoupling/core/adaptor/api_25_1/setup_root.py +1 -1
  7. ansys/systemcoupling/core/adaptor/api_25_1/update_participant.py +15 -15
  8. ansys/systemcoupling/core/adaptor/api_25_2/_add_participant.py +80 -0
  9. ansys/systemcoupling/core/adaptor/api_25_2/_clear_state.py +13 -0
  10. ansys/systemcoupling/core/adaptor/api_25_2/_solve.py +13 -0
  11. ansys/systemcoupling/core/adaptor/api_25_2/abort.py +39 -0
  12. ansys/systemcoupling/core/adaptor/api_25_2/activate_hidden.py +46 -0
  13. ansys/systemcoupling/core/adaptor/api_25_2/add_aerodamping_data_transfers.py +43 -0
  14. ansys/systemcoupling/core/adaptor/api_25_2/add_data_transfer.py +190 -0
  15. ansys/systemcoupling/core/adaptor/api_25_2/add_data_transfer_by_display_names.py +191 -0
  16. ansys/systemcoupling/core/adaptor/api_25_2/add_expression_function.py +61 -0
  17. ansys/systemcoupling/core/adaptor/api_25_2/add_flow_boundary_data_transfers.py +32 -0
  18. ansys/systemcoupling/core/adaptor/api_25_2/add_fsi_data_transfers.py +43 -0
  19. ansys/systemcoupling/core/adaptor/api_25_2/add_interface.py +77 -0
  20. ansys/systemcoupling/core/adaptor/api_25_2/add_interface_by_display_names.py +78 -0
  21. ansys/systemcoupling/core/adaptor/api_25_2/add_named_expression.py +42 -0
  22. ansys/systemcoupling/core/adaptor/api_25_2/add_ordered_data_transfers.py +32 -0
  23. ansys/systemcoupling/core/adaptor/api_25_2/add_participant.py +162 -0
  24. ansys/systemcoupling/core/adaptor/api_25_2/add_reference_frame.py +40 -0
  25. ansys/systemcoupling/core/adaptor/api_25_2/add_thermal_data_transfers.py +43 -0
  26. ansys/systemcoupling/core/adaptor/api_25_2/add_transformation.py +102 -0
  27. ansys/systemcoupling/core/adaptor/api_25_2/analysis_control.py +303 -0
  28. ansys/systemcoupling/core/adaptor/api_25_2/apip.py +33 -0
  29. ansys/systemcoupling/core/adaptor/api_25_2/ascii_output.py +44 -0
  30. ansys/systemcoupling/core/adaptor/api_25_2/attribute.py +20 -0
  31. ansys/systemcoupling/core/adaptor/api_25_2/attribute_child.py +64 -0
  32. ansys/systemcoupling/core/adaptor/api_25_2/automatic_alignment_options.py +46 -0
  33. ansys/systemcoupling/core/adaptor/api_25_2/available_ports.py +40 -0
  34. ansys/systemcoupling/core/adaptor/api_25_2/avoid_data_reconstruction.py +56 -0
  35. ansys/systemcoupling/core/adaptor/api_25_2/case_root.py +62 -0
  36. ansys/systemcoupling/core/adaptor/api_25_2/clear_state.py +18 -0
  37. ansys/systemcoupling/core/adaptor/api_25_2/connect_ensight_dvs.py +41 -0
  38. ansys/systemcoupling/core/adaptor/api_25_2/coupling_interface.py +20 -0
  39. ansys/systemcoupling/core/adaptor/api_25_2/coupling_interface_child.py +42 -0
  40. ansys/systemcoupling/core/adaptor/api_25_2/coupling_participant.py +23 -0
  41. ansys/systemcoupling/core/adaptor/api_25_2/coupling_participant_child.py +272 -0
  42. ansys/systemcoupling/core/adaptor/api_25_2/create_restart_point.py +29 -0
  43. ansys/systemcoupling/core/adaptor/api_25_2/data_transfer.py +20 -0
  44. ansys/systemcoupling/core/adaptor/api_25_2/data_transfer_child.py +187 -0
  45. ansys/systemcoupling/core/adaptor/api_25_2/delete_snapshot.py +28 -0
  46. ansys/systemcoupling/core/adaptor/api_25_2/delete_transformation.py +42 -0
  47. ansys/systemcoupling/core/adaptor/api_25_2/dimensionality.py +96 -0
  48. ansys/systemcoupling/core/adaptor/api_25_2/execution_control.py +256 -0
  49. ansys/systemcoupling/core/adaptor/api_25_2/execution_control_1.py +24 -0
  50. ansys/systemcoupling/core/adaptor/api_25_2/expression.py +20 -0
  51. ansys/systemcoupling/core/adaptor/api_25_2/expression_child.py +36 -0
  52. ansys/systemcoupling/core/adaptor/api_25_2/expression_function.py +20 -0
  53. ansys/systemcoupling/core/adaptor/api_25_2/expression_function_child.py +46 -0
  54. ansys/systemcoupling/core/adaptor/api_25_2/external_data_file.py +24 -0
  55. ansys/systemcoupling/core/adaptor/api_25_2/fluent_input.py +77 -0
  56. ansys/systemcoupling/core/adaptor/api_25_2/fmu_parameter.py +20 -0
  57. ansys/systemcoupling/core/adaptor/api_25_2/fmu_parameter_child.py +164 -0
  58. ansys/systemcoupling/core/adaptor/api_25_2/generate_input_file.py +41 -0
  59. ansys/systemcoupling/core/adaptor/api_25_2/get_add_data_transfer_group_commands.py +29 -0
  60. ansys/systemcoupling/core/adaptor/api_25_2/get_execution_command.py +30 -0
  61. ansys/systemcoupling/core/adaptor/api_25_2/get_machines.py +13 -0
  62. ansys/systemcoupling/core/adaptor/api_25_2/get_mode_shape_variables.py +29 -0
  63. ansys/systemcoupling/core/adaptor/api_25_2/get_region_names_for_participant.py +31 -0
  64. ansys/systemcoupling/core/adaptor/api_25_2/get_setup_summary.py +25 -0
  65. ansys/systemcoupling/core/adaptor/api_25_2/get_status_messages.py +52 -0
  66. ansys/systemcoupling/core/adaptor/api_25_2/get_supported_participant_types.py +13 -0
  67. ansys/systemcoupling/core/adaptor/api_25_2/get_thermal_data_transfer_options.py +32 -0
  68. ansys/systemcoupling/core/adaptor/api_25_2/get_transformation.py +43 -0
  69. ansys/systemcoupling/core/adaptor/api_25_2/global_stabilization.py +155 -0
  70. ansys/systemcoupling/core/adaptor/api_25_2/has_input_file_changed.py +36 -0
  71. ansys/systemcoupling/core/adaptor/api_25_2/import_system_coupling_input_file.py +36 -0
  72. ansys/systemcoupling/core/adaptor/api_25_2/initialize.py +27 -0
  73. ansys/systemcoupling/core/adaptor/api_25_2/instancing.py +25 -0
  74. ansys/systemcoupling/core/adaptor/api_25_2/instancing_child.py +114 -0
  75. ansys/systemcoupling/core/adaptor/api_25_2/interrupt.py +39 -0
  76. ansys/systemcoupling/core/adaptor/api_25_2/library.py +37 -0
  77. ansys/systemcoupling/core/adaptor/api_25_2/live_visualization.py +20 -0
  78. ansys/systemcoupling/core/adaptor/api_25_2/live_visualization_child.py +100 -0
  79. ansys/systemcoupling/core/adaptor/api_25_2/map.py +19 -0
  80. ansys/systemcoupling/core/adaptor/api_25_2/mapping_control.py +249 -0
  81. ansys/systemcoupling/core/adaptor/api_25_2/open.py +102 -0
  82. ansys/systemcoupling/core/adaptor/api_25_2/open_results_in_ensight.py +56 -0
  83. ansys/systemcoupling/core/adaptor/api_25_2/open_snapshot.py +37 -0
  84. ansys/systemcoupling/core/adaptor/api_25_2/output_control.py +134 -0
  85. ansys/systemcoupling/core/adaptor/api_25_2/parameter.py +20 -0
  86. ansys/systemcoupling/core/adaptor/api_25_2/parameter_child.py +60 -0
  87. ansys/systemcoupling/core/adaptor/api_25_2/partition_participants.py +138 -0
  88. ansys/systemcoupling/core/adaptor/api_25_2/properties.py +36 -0
  89. ansys/systemcoupling/core/adaptor/api_25_2/record_interactions.py +46 -0
  90. ansys/systemcoupling/core/adaptor/api_25_2/reference_frame.py +20 -0
  91. ansys/systemcoupling/core/adaptor/api_25_2/reference_frame_child.py +71 -0
  92. ansys/systemcoupling/core/adaptor/api_25_2/region.py +20 -0
  93. ansys/systemcoupling/core/adaptor/api_25_2/region_child.py +71 -0
  94. ansys/systemcoupling/core/adaptor/api_25_2/reload_expression_function_modules.py +14 -0
  95. ansys/systemcoupling/core/adaptor/api_25_2/results.py +89 -0
  96. ansys/systemcoupling/core/adaptor/api_25_2/save.py +51 -0
  97. ansys/systemcoupling/core/adaptor/api_25_2/save_snapshot.py +54 -0
  98. ansys/systemcoupling/core/adaptor/api_25_2/setup_root.py +259 -0
  99. ansys/systemcoupling/core/adaptor/api_25_2/show_plot.py +75 -0
  100. ansys/systemcoupling/core/adaptor/api_25_2/shutdown.py +25 -0
  101. ansys/systemcoupling/core/adaptor/api_25_2/side.py +20 -0
  102. ansys/systemcoupling/core/adaptor/api_25_2/side_child.py +56 -0
  103. ansys/systemcoupling/core/adaptor/api_25_2/solution_control.py +117 -0
  104. ansys/systemcoupling/core/adaptor/api_25_2/solution_root.py +134 -0
  105. ansys/systemcoupling/core/adaptor/api_25_2/solve.py +30 -0
  106. ansys/systemcoupling/core/adaptor/api_25_2/stabilization.py +157 -0
  107. ansys/systemcoupling/core/adaptor/api_25_2/step.py +57 -0
  108. ansys/systemcoupling/core/adaptor/api_25_2/transformation.py +21 -0
  109. ansys/systemcoupling/core/adaptor/api_25_2/transformation_child.py +62 -0
  110. ansys/systemcoupling/core/adaptor/api_25_2/type.py +39 -0
  111. ansys/systemcoupling/core/adaptor/api_25_2/unmapped_value_options.py +158 -0
  112. ansys/systemcoupling/core/adaptor/api_25_2/update_control.py +43 -0
  113. ansys/systemcoupling/core/adaptor/api_25_2/update_interfaces.py +19 -0
  114. ansys/systemcoupling/core/adaptor/api_25_2/update_participant.py +61 -0
  115. ansys/systemcoupling/core/adaptor/api_25_2/variable.py +20 -0
  116. ansys/systemcoupling/core/adaptor/api_25_2/variable_child.py +231 -0
  117. ansys/systemcoupling/core/adaptor/api_25_2/write_csv_chart_files.py +21 -0
  118. ansys/systemcoupling/core/adaptor/api_25_2/write_ensight.py +46 -0
  119. ansys/systemcoupling/core/adaptor/api_25_2/write_target_data.py +32 -0
  120. ansys/systemcoupling/core/adaptor/impl/get_status_messages.py +1 -1
  121. ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +1 -1
  122. ansys/systemcoupling/core/adaptor/impl/injected_commands.py +5 -4
  123. ansys/systemcoupling/core/adaptor/impl/root_source.py +1 -1
  124. ansys/systemcoupling/core/adaptor/impl/static_info.py +13 -6
  125. ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +1 -1
  126. ansys/systemcoupling/core/adaptor/impl/syc_proxy_interface.py +1 -1
  127. ansys/systemcoupling/core/adaptor/impl/types.py +1 -1
  128. ansys/systemcoupling/core/charts/chart_datatypes.py +1 -1
  129. ansys/systemcoupling/core/charts/csv_chartdata.py +18 -4
  130. ansys/systemcoupling/core/charts/live_csv_datasource.py +1 -1
  131. ansys/systemcoupling/core/charts/message_dispatcher.py +1 -1
  132. ansys/systemcoupling/core/charts/plot_functions.py +1 -1
  133. ansys/systemcoupling/core/charts/plotdefinition_manager.py +1 -1
  134. ansys/systemcoupling/core/charts/plotter.py +1 -1
  135. ansys/systemcoupling/core/client/grpc_client.py +13 -4
  136. ansys/systemcoupling/core/client/services/command_query.py +4 -13
  137. ansys/systemcoupling/core/client/services/handle_rpc_error.py +64 -0
  138. ansys/systemcoupling/core/client/services/output_stream.py +1 -1
  139. ansys/systemcoupling/core/client/services/process.py +1 -1
  140. ansys/systemcoupling/core/client/services/solution.py +4 -13
  141. ansys/systemcoupling/core/client/syc_container.py +4 -1
  142. ansys/systemcoupling/core/client/syc_process.py +5 -1
  143. ansys/systemcoupling/core/client/variant.py +1 -1
  144. ansys/systemcoupling/core/examples/__init__.py +1 -1
  145. ansys/systemcoupling/core/examples/downloads.py +1 -1
  146. ansys/systemcoupling/core/native_api/__init__.py +1 -1
  147. ansys/systemcoupling/core/native_api/command_metadata.py +1 -1
  148. ansys/systemcoupling/core/native_api/datamodel_metadata.py +1 -1
  149. ansys/systemcoupling/core/native_api/meta_wrapper.py +1 -1
  150. ansys/systemcoupling/core/native_api/native_api.py +1 -1
  151. ansys/systemcoupling/core/native_api/object_path.py +1 -1
  152. ansys/systemcoupling/core/participant/manager.py +1 -1
  153. ansys/systemcoupling/core/participant/mapdl.py +1 -1
  154. ansys/systemcoupling/core/participant/protocol.py +1 -1
  155. ansys/systemcoupling/core/session.py +10 -3
  156. ansys/systemcoupling/core/syc_version.py +3 -3
  157. ansys/systemcoupling/core/util/file_transfer.py +22 -5
  158. ansys/systemcoupling/core/util/logging.py +1 -1
  159. ansys/systemcoupling/core/util/name_util.py +1 -1
  160. ansys/systemcoupling/core/util/pathstr.py +1 -1
  161. ansys/systemcoupling/core/util/state_keys.py +1 -1
  162. ansys/systemcoupling/core/util/yaml_helper.py +1 -1
  163. {ansys_systemcoupling_core-0.7.0.dist-info → ansys_systemcoupling_core-0.9.0.dist-info}/METADATA +35 -21
  164. {ansys_systemcoupling_core-0.7.0.dist-info → ansys_systemcoupling_core-0.9.0.dist-info}/RECORD +166 -53
  165. {ansys_systemcoupling_core-0.7.0.dist-info → ansys_systemcoupling_core-0.9.0.dist-info}/WHEEL +1 -1
  166. {ansys_systemcoupling_core-0.7.0.dist-info → ansys_systemcoupling_core-0.9.0.dist-info/licenses}/LICENSE +7 -7
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -72,7 +72,7 @@ def launch(
72
72
  (The forms ``"24.1"`` and ``"24_1"`` are also acceptable.)
73
73
  The version will be sought in the standard installation location. The
74
74
  default is ``None``, which is equivalent to specifying
75
- ``"242"`` ("2024 R2" release), unless either of the environment
75
+ ``"251"`` ("2025 R1" release), unless either of the environment
76
76
  variables ``SYSC_ROOT`` or ``AWP_ROOT`` has been set. It is considered
77
77
  to be an error if either these is set *and* ``version`` is provided.
78
78
  start_output: bool, optional
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -13,6 +13,8 @@ class instancing(NamedContainer[instancing_child]):
13
13
 
14
14
  Available when cylindrical geometry instancing has been added to
15
15
  the data model.
16
+
17
+ ``RotationAxis`` controls how the axis of rotation is defined.
16
18
  """
17
19
 
18
20
  syc_name = "Instancing"
@@ -11,27 +11,31 @@ class instancing_child(Container):
11
11
 
12
12
  Available when cylindrical geometry instancing has been added to
13
13
  the data model.
14
+
15
+ ``RotationAxis`` controls how the axis of rotation is defined.
14
16
  """
15
17
 
16
18
  syc_name = "child_object_type"
17
19
 
18
20
  property_names_types = [
19
- ("reference_frame", "ReferenceFrame", "str"),
21
+ ("rotation_axis", "RotationAxis", "str"),
20
22
  ("instances_in_full_circle", "InstancesInFullCircle", "int"),
21
23
  ("instances_for_mapping", "InstancesForMapping", "int"),
24
+ ("reference_frame", "ReferenceFrame", "str"),
25
+ ("axis", "Axis", "str"),
26
+ ("axis_from", "AxisFrom", "RealVectorType"),
27
+ ("axis_to", "AxisTo", "RealVectorType"),
28
+ ("rotational_offset", "RotationalOffset", "RealType"),
22
29
  ]
23
30
 
24
31
  @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")
32
+ def rotation_axis(self) -> str:
33
+ """UNDOCUMENTED"""
34
+ return self.get_property_state("rotation_axis")
31
35
 
32
- @reference_frame.setter
33
- def reference_frame(self, value: str):
34
- self.set_property_state("reference_frame", value)
36
+ @rotation_axis.setter
37
+ def rotation_axis(self, value: str):
38
+ self.set_property_state("rotation_axis", value)
35
39
 
36
40
  @property
37
41
  def instances_in_full_circle(self) -> int:
@@ -60,3 +64,51 @@ class instancing_child(Container):
60
64
  @instances_for_mapping.setter
61
65
  def instances_for_mapping(self, value: int):
62
66
  self.set_property_state("instances_for_mapping", value)
67
+
68
+ @property
69
+ def reference_frame(self) -> str:
70
+ """Reference frame that defines the orientation of the instancing.
71
+
72
+ Rotation will be around the z-axis of the reference frame,
73
+ following the right-hand rule."""
74
+ return self.get_property_state("reference_frame")
75
+
76
+ @reference_frame.setter
77
+ def reference_frame(self, value: str):
78
+ self.set_property_state("reference_frame", value)
79
+
80
+ @property
81
+ def axis(self) -> str:
82
+ """Principal axis of rotation for instancing"""
83
+ return self.get_property_state("axis")
84
+
85
+ @axis.setter
86
+ def axis(self, value: str):
87
+ self.set_property_state("axis", value)
88
+
89
+ @property
90
+ def axis_from(self) -> RealVectorType:
91
+ """Define the starting point of a user-defined axis."""
92
+ return self.get_property_state("axis_from")
93
+
94
+ @axis_from.setter
95
+ def axis_from(self, value: RealVectorType):
96
+ self.set_property_state("axis_from", value)
97
+
98
+ @property
99
+ def axis_to(self) -> RealVectorType:
100
+ """Define the end point of a user-defined axis."""
101
+ return self.get_property_state("axis_to")
102
+
103
+ @axis_to.setter
104
+ def axis_to(self, value: RealVectorType):
105
+ self.set_property_state("axis_to", value)
106
+
107
+ @property
108
+ def rotational_offset(self) -> RealType:
109
+ """Offset (in radians) about the rotation axis for the first instance"""
110
+ return self.get_property_state("rotational_offset")
111
+
112
+ @rotational_offset.setter
113
+ def rotational_offset(self, value: RealType):
114
+ self.set_property_state("rotational_offset", value)
@@ -42,6 +42,8 @@ class mapping_control(Container):
42
42
  ("rbf_shape_parameter", "RBFShapeParameter", "RealType"),
43
43
  ("rbf_linear_correction", "RBFLinearCorrection", "bool"),
44
44
  ("rbf_clipping_scale", "RBFClippingScale", "RealType"),
45
+ ("rbf_taper_init_factor", "RBFTaperInitFactor", "RealType"),
46
+ ("rbf_max_extrapolation_factor", "RBFMaxExtrapolationFactor", "RealType"),
45
47
  ("clipping", "Clipping", "bool"),
46
48
  ]
47
49
 
@@ -229,6 +231,24 @@ class mapping_control(Container):
229
231
  def rbf_clipping_scale(self, value: RealType):
230
232
  self.set_property_state("rbf_clipping_scale", value)
231
233
 
234
+ @property
235
+ def rbf_taper_init_factor(self) -> RealType:
236
+ """Length scale factor at which to start tapering the extrapolative effect for profile-preserving mapping."""
237
+ return self.get_property_state("rbf_taper_init_factor")
238
+
239
+ @rbf_taper_init_factor.setter
240
+ def rbf_taper_init_factor(self, value: RealType):
241
+ self.set_property_state("rbf_taper_init_factor", value)
242
+
243
+ @property
244
+ def rbf_max_extrapolation_factor(self) -> RealType:
245
+ """Maximum factor allowed to extrapolate for profile-preserving mapping."""
246
+ return self.get_property_state("rbf_max_extrapolation_factor")
247
+
248
+ @rbf_max_extrapolation_factor.setter
249
+ def rbf_max_extrapolation_factor(self, value: RealType):
250
+ self.set_property_state("rbf_max_extrapolation_factor", value)
251
+
232
252
  @property
233
253
  def clipping(self) -> bool:
234
254
  """Controls whether to clip target values to the min/max of the local source values for profile-preserving transfers."""
@@ -2,7 +2,7 @@
2
2
  # This is an auto-generated file. DO NOT EDIT!
3
3
  #
4
4
 
5
- SHASH = "6df721e79bf47d4600bcf0c989e98ae4f519fdb935ad1b104d4eb853d73a9ec6"
5
+ SHASH = "b2cdc470c64043e9f6c2aed2ca2c63cf2ada211ba396b1c9aa4ebadb357d3b91"
6
6
 
7
7
  from ansys.systemcoupling.core.adaptor.impl.types import *
8
8
 
@@ -7,19 +7,21 @@ from ansys.systemcoupling.core.adaptor.impl.types import *
7
7
 
8
8
  class update_participant(Command):
9
9
  """
10
- Given the name of a server participant, updates the state of the participant.
10
+ Given the name of a participant, updates the state of the participant.
11
11
 
12
- Available for server participants. Currently, only DEFAULT-SRV,
13
- CFD-SRV, MECH-SRV, and SCDT-SRV participants may be updated.
12
+ Available for DEFAULT-SRV, CFD-SRV, MECH-SRV, and SCDT-SRV and
13
+ AEDT participants.
14
14
 
15
- As part of the update, System Coupling updates all regions and
16
- variables defined in the participant, including all variable
17
- attributes. Variables and regions may be added to the participant but
18
- may not be removed.
15
+ As part of the update, System Coupling updates all regions, variables,
16
+ and parameters defined in the participant, including all variable
17
+ attributes. Regions, variables, and parameters may be added to the
18
+ participant but may not be removed.
19
19
 
20
20
  You may specify an input file using an optional argument. If an input
21
21
  file is not provided, then the original input file will be reimported.
22
22
 
23
+ Note: AEDT participants must be updated using an scp file.
24
+
23
25
  If the update process fails, System Coupling displays an error. In this
24
26
  case, you can either update the setup in the participant application to
25
27
  remove any issues with the update process or delete the participant
@@ -29,12 +31,11 @@ class update_participant(Command):
29
31
  ----------
30
32
  participant_name : str
31
33
  Participant name. Must be the name of an existing participant.
32
- Participant type can be either DEFAULT-SRV, CFD-SRV, MECH-SRV, or SCDT-SRV.
33
34
  input_file : str, optional
34
35
  Name of the input file for the participant to be added.
35
- Currently supported formats are SCP files, Forte input (FTSIM)
36
- files, mechanical server (\*.rst) files, cfd server (\*.csv) files,
37
- FMU (\*.fmu) files (Beta), and system coupling data server (\*.scdt/axdt/csv) files.
36
+ Currently supported formats are SCP files, mechanical server
37
+ (\*.rst) files, cfd server (\*.csv) files, and system coupling
38
+ data server (\*.scdt/axdt/csv) files.
38
39
 
39
40
  """
40
41
 
@@ -45,7 +46,6 @@ class update_participant(Command):
45
46
  class participant_name(String):
46
47
  """
47
48
  Participant name. Must be the name of an existing participant.
48
- Participant type can be either DEFAULT-SRV, CFD-SRV, MECH-SRV, or SCDT-SRV.
49
49
  """
50
50
 
51
51
  syc_name = "ParticipantName"
@@ -53,9 +53,9 @@ class update_participant(Command):
53
53
  class input_file(String):
54
54
  """
55
55
  Name of the input file for the participant to be added.
56
- Currently supported formats are SCP files, Forte input (FTSIM)
57
- files, mechanical server (\*.rst) files, cfd server (\*.csv) files,
58
- FMU (\*.fmu) files (Beta), and system coupling data server (\*.scdt/axdt/csv) files.
56
+ Currently supported formats are SCP files, mechanical server
57
+ (\*.rst) files, cfd server (\*.csv) files, and system coupling
58
+ data server (\*.scdt/axdt/csv) files.
59
59
  """
60
60
 
61
61
  syc_name = "InputFile"
@@ -0,0 +1,80 @@
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 _add_participant(Command):
9
+ """
10
+ For internal use only.
11
+
12
+ Parameters
13
+ ----------
14
+ participant_type : str, optional
15
+ ...
16
+ input_file : str, optional
17
+ ...
18
+ executable : str, optional
19
+ ...
20
+ additional_arguments : str, optional
21
+ ...
22
+ working_directory : str, optional
23
+ ...
24
+ python_script : str, optional
25
+ ...
26
+
27
+ """
28
+
29
+ syc_name = "AddParticipant"
30
+
31
+ argument_names = [
32
+ "participant_type",
33
+ "input_file",
34
+ "executable",
35
+ "additional_arguments",
36
+ "working_directory",
37
+ "python_script",
38
+ ]
39
+
40
+ class participant_type(String):
41
+ """
42
+ ...
43
+ """
44
+
45
+ syc_name = "ParticipantType"
46
+
47
+ class input_file(String):
48
+ """
49
+ ...
50
+ """
51
+
52
+ syc_name = "InputFile"
53
+
54
+ class executable(String):
55
+ """
56
+ ...
57
+ """
58
+
59
+ syc_name = "Executable"
60
+
61
+ class additional_arguments(String):
62
+ """
63
+ ...
64
+ """
65
+
66
+ syc_name = "AdditionalArguments"
67
+
68
+ class working_directory(String):
69
+ """
70
+ ...
71
+ """
72
+
73
+ syc_name = "WorkingDirectory"
74
+
75
+ class python_script(String):
76
+ """
77
+ ...
78
+ """
79
+
80
+ syc_name = "PythonScript"
@@ -0,0 +1,13 @@
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
+ For internal use only.
11
+ """
12
+
13
+ syc_name = "ClearState"
@@ -0,0 +1,13 @@
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(Command):
9
+ """
10
+ For internal use only.
11
+ """
12
+
13
+ syc_name = "Solve"
@@ -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 abort(InjectedCommand):
9
+ """
10
+ Aborts a solve in progress.
11
+
12
+ See also ``interrupt``. In contrast to an interrupted solve,
13
+ an aborted solve cannot be resumed.
14
+
15
+ Parameters
16
+ ----------
17
+ reason_msg : str, optional
18
+ Text to describe the reason for the abort.
19
+
20
+ This might be used for such purposes as providing
21
+ additional annotation in transcript output.
22
+
23
+ """
24
+
25
+ syc_name = "abort"
26
+
27
+ cmd_name = "abort"
28
+
29
+ argument_names = ["reason_msg"]
30
+
31
+ class reason_msg(String):
32
+ """
33
+ Text to describe the reason for the abort.
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,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 activate_hidden(Container):
9
+ """
10
+ Contains settings to control exposure of hidden features.
11
+ """
12
+
13
+ syc_name = "ActivateHidden"
14
+
15
+ property_names_types = [
16
+ ("beta_features", "BetaFeatures", "bool"),
17
+ ("alpha_features", "AlphaFeatures", "bool"),
18
+ ("lenient_validation", "LenientValidation", "bool"),
19
+ ]
20
+
21
+ @property
22
+ def beta_features(self) -> bool:
23
+ """Turn on exposure of Beta features."""
24
+ return self.get_property_state("beta_features")
25
+
26
+ @beta_features.setter
27
+ def beta_features(self, value: bool):
28
+ self.set_property_state("beta_features", value)
29
+
30
+ @property
31
+ def alpha_features(self) -> bool:
32
+ """Turn on exposure of Alpha features. (Beta features must be turned on first)"""
33
+ return self.get_property_state("alpha_features")
34
+
35
+ @alpha_features.setter
36
+ def alpha_features(self, value: bool):
37
+ self.set_property_state("alpha_features", value)
38
+
39
+ @property
40
+ def lenient_validation(self) -> bool:
41
+ """Allow a case with zero participants and zero coupling interfaces to be set up."""
42
+ return self.get_property_state("lenient_validation")
43
+
44
+ @lenient_validation.setter
45
+ def lenient_validation(self, value: bool):
46
+ self.set_property_state("lenient_validation", value)
@@ -0,0 +1,43 @@
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 add_aerodamping_data_transfers(Command):
9
+ """
10
+ Adds data transfer for each specified mode shape.
11
+
12
+ Returns the name of the Data Transfers created.
13
+
14
+ Parameters
15
+ ----------
16
+ interface : str
17
+ String indicating the name of the interface on which the data transfer
18
+ is to be created.
19
+ mode_shapes : List, optional
20
+ List of mode shapes to transfer. If not provided, a
21
+ data transfer is created for each available modeshape.
22
+
23
+ """
24
+
25
+ syc_name = "AddAerodampingDataTransfers"
26
+
27
+ argument_names = ["interface", "mode_shapes"]
28
+
29
+ class interface(String):
30
+ """
31
+ String indicating the name of the interface on which the data transfer
32
+ is to be created.
33
+ """
34
+
35
+ syc_name = "Interface"
36
+
37
+ class mode_shapes(StringList):
38
+ """
39
+ List of mode shapes to transfer. If not provided, a
40
+ data transfer is created for each available modeshape.
41
+ """
42
+
43
+ syc_name = "ModeShapes"
@@ -0,0 +1,190 @@
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 add_data_transfer(Command):
9
+ """
10
+ Adds data transfer based on arguments that specify the interface, target
11
+ side, and variables to be associated with each side of the interface.
12
+ The command requires that you specify variables using their names (see
13
+ parameter descriptions for details). Either a variable-based or
14
+ expression-based data transfer may be created with this command based on
15
+ the arguments provided. If a variable-based data transfer argument
16
+ is given, then no expression-based data transfer arguments can be used. If
17
+ an expression-based data transfer argument is given, then no variable-based
18
+ data transfer arguments can be used.
19
+
20
+ Cannot be run after participants have been started.
21
+
22
+ Returns the name of the Data Transfer created.
23
+
24
+ Parameters
25
+ ----------
26
+ interface : str
27
+ String indicating the name of the interface on which the data transfer
28
+ is to be created.
29
+ target_side : str
30
+ String indicating the side of the interface to receive the data
31
+ transfer variable. Possible values are \"One\" or \"Two\".
32
+ source_variable : str, optional
33
+ String specifying the name of the variable on the source side of
34
+ the data transfer. Used when creating a variable-based data transfer.
35
+ Must be combined with ``target_variable``.
36
+ target_variable : str, optional
37
+ String specifying the name of the variable on the target side of
38
+ the data transfer. Must be combined with either ``source_variable`` (when
39
+ creating a variable-based data transfer) or with ``value`` (or
40
+ ``value_{x|y|z}`` (when creating an expression-based data transfer).
41
+ value : str, optional
42
+ String specifying the expression to use on the source side of the data
43
+ transfer. Used when creating an expression-based data transfer. If the
44
+ ``target_variable`` is a vector, a vector-valued expression must be provided.
45
+ Alternatively, ``value_x``, ``value_y``, ``value_z`` may be used to specify the
46
+ individual components of the vector expression.
47
+ value_x : str, optional
48
+ String specifying the X component of the expression to use on the
49
+ source side of the data transfer. This may optionally be used when creating
50
+ an expression-based data transfer if the ``target_variable`` is a vector as an
51
+ alternative to specifying a vector-valued expression in ``value`. ``value_y`` and
52
+ ``value_z`` are also required if ``value_x`` is used.
53
+ value_y : str, optional
54
+ String specifying the Y component of the expression to use on the
55
+ source side of the data transfer. This may optionally be used when creating
56
+ an expression-based data transfer if the ``target_variable`` is a vector as an
57
+ alternative to specifying a vector-valued expression in ``value``. ``value_x`` and
58
+ ``value_z`` are also required if ``value_y`` is used.
59
+ value_z : str, optional
60
+ String specifying the Z component of the expression to use on the
61
+ source side of the data transfer. This may optionally be used when creating
62
+ an expression-based data transfer if the ``target_variable`` is a vector as an
63
+ alternative to specifying a vector-valued expression in ``value``. ``value_x`` and
64
+ ``value_y`` are also required if ``value_z`` is used.
65
+ side_one_variable : str, optional
66
+ String specifying the name of the variable associated with side1
67
+ of the interface. Must be combined with ``side_two_variable``. Used only
68
+ when creating variable-based data transfers. Consider using
69
+ ``source_variable``/``target_variable`` parameters instead.
70
+ side_two_variable : str, optional
71
+ String specifying the name of the variable associated with side2
72
+ of the interface. Must be combined with ``side_two_variable``. Used only
73
+ when creating variable-based data transfers. Consider using
74
+ ``source_variable``/``target_variable`` parameters instead.
75
+
76
+ """
77
+
78
+ syc_name = "AddDataTransfer"
79
+
80
+ argument_names = [
81
+ "interface",
82
+ "target_side",
83
+ "source_variable",
84
+ "target_variable",
85
+ "value",
86
+ "value_x",
87
+ "value_y",
88
+ "value_z",
89
+ "side_one_variable",
90
+ "side_two_variable",
91
+ ]
92
+
93
+ class interface(String):
94
+ """
95
+ String indicating the name of the interface on which the data transfer
96
+ is to be created.
97
+ """
98
+
99
+ syc_name = "Interface"
100
+
101
+ class target_side(String):
102
+ """
103
+ String indicating the side of the interface to receive the data
104
+ transfer variable. Possible values are \"One\" or \"Two\".
105
+ """
106
+
107
+ syc_name = "TargetSide"
108
+
109
+ class source_variable(String):
110
+ """
111
+ String specifying the name of the variable on the source side of
112
+ the data transfer. Used when creating a variable-based data transfer.
113
+ Must be combined with ``target_variable``.
114
+ """
115
+
116
+ syc_name = "SourceVariable"
117
+
118
+ class target_variable(String):
119
+ """
120
+ String specifying the name of the variable on the target side of
121
+ the data transfer. Must be combined with either ``source_variable`` (when
122
+ creating a variable-based data transfer) or with ``value`` (or
123
+ ``value_{x|y|z}`` (when creating an expression-based data transfer).
124
+ """
125
+
126
+ syc_name = "TargetVariable"
127
+
128
+ class value(String):
129
+ """
130
+ String specifying the expression to use on the source side of the data
131
+ transfer. Used when creating an expression-based data transfer. If the
132
+ ``target_variable`` is a vector, a vector-valued expression must be provided.
133
+ Alternatively, ``value_x``, ``value_y``, ``value_z`` may be used to specify the
134
+ individual components of the vector expression.
135
+ """
136
+
137
+ syc_name = "Value"
138
+
139
+ class value_x(String):
140
+ """
141
+ String specifying the X component of the expression to use on the
142
+ source side of the data transfer. This may optionally be used when creating
143
+ an expression-based data transfer if the ``target_variable`` is a vector as an
144
+ alternative to specifying a vector-valued expression in ``value`. ``value_y`` and
145
+ ``value_z`` are also required if ``value_x`` is used.
146
+ """
147
+
148
+ syc_name = "ValueX"
149
+
150
+ class value_y(String):
151
+ """
152
+ String specifying the Y component of the expression to use on the
153
+ source side of the data transfer. This may optionally be used when creating
154
+ an expression-based data transfer if the ``target_variable`` is a vector as an
155
+ alternative to specifying a vector-valued expression in ``value``. ``value_x`` and
156
+ ``value_z`` are also required if ``value_y`` is used.
157
+ """
158
+
159
+ syc_name = "ValueY"
160
+
161
+ class value_z(String):
162
+ """
163
+ String specifying the Z component of the expression to use on the
164
+ source side of the data transfer. This may optionally be used when creating
165
+ an expression-based data transfer if the ``target_variable`` is a vector as an
166
+ alternative to specifying a vector-valued expression in ``value``. ``value_x`` and
167
+ ``value_y`` are also required if ``value_z`` is used.
168
+ """
169
+
170
+ syc_name = "ValueZ"
171
+
172
+ class side_one_variable(String):
173
+ """
174
+ String specifying the name of the variable associated with side1
175
+ of the interface. Must be combined with ``side_two_variable``. Used only
176
+ when creating variable-based data transfers. Consider using
177
+ ``source_variable``/``target_variable`` parameters instead.
178
+ """
179
+
180
+ syc_name = "SideOneVariable"
181
+
182
+ class side_two_variable(String):
183
+ """
184
+ String specifying the name of the variable associated with side2
185
+ of the interface. Must be combined with ``side_two_variable``. Used only
186
+ when creating variable-based data transfers. Consider using
187
+ ``source_variable``/``target_variable`` parameters instead.
188
+ """
189
+
190
+ syc_name = "SideTwoVariable"