ansys-systemcoupling-core 0.3.0__py3-none-any.whl → 0.4.dev0__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 (149) hide show
  1. ansys/systemcoupling/core/__init__.py +23 -1
  2. ansys/systemcoupling/core/_version.py +22 -0
  3. ansys/systemcoupling/core/adaptor/api_23_1/_add_participant.py +70 -0
  4. ansys/systemcoupling/core/adaptor/api_23_1/_solve.py +13 -0
  5. ansys/systemcoupling/core/adaptor/api_23_1/abort.py +39 -0
  6. ansys/systemcoupling/core/adaptor/api_23_1/activate_hidden.py +46 -0
  7. ansys/systemcoupling/core/adaptor/api_23_1/add_data_transfer.py +190 -0
  8. ansys/systemcoupling/core/adaptor/api_23_1/add_data_transfer_by_display_names.py +188 -0
  9. ansys/systemcoupling/core/adaptor/api_23_1/add_expression_function.py +61 -0
  10. ansys/systemcoupling/core/adaptor/api_23_1/add_interface.py +75 -0
  11. ansys/systemcoupling/core/adaptor/api_23_1/add_interface_by_display_names.py +75 -0
  12. ansys/systemcoupling/core/adaptor/api_23_1/add_named_expression.py +42 -0
  13. ansys/systemcoupling/core/adaptor/api_23_1/add_participant.py +160 -0
  14. ansys/systemcoupling/core/adaptor/api_23_1/add_reference_frame.py +40 -0
  15. ansys/systemcoupling/core/adaptor/api_23_1/add_transformation.py +102 -0
  16. ansys/systemcoupling/core/adaptor/api_23_1/analysis_control.py +241 -0
  17. ansys/systemcoupling/core/adaptor/api_23_1/apip.py +33 -0
  18. ansys/systemcoupling/core/adaptor/api_23_1/ascii_output.py +44 -0
  19. ansys/systemcoupling/core/adaptor/api_23_1/attribute.py +20 -0
  20. ansys/systemcoupling/core/adaptor/api_23_1/attribute_child.py +54 -0
  21. ansys/systemcoupling/core/adaptor/api_23_1/available_ports.py +40 -0
  22. ansys/systemcoupling/core/adaptor/api_23_1/avoid_data_reconstruction.py +36 -0
  23. ansys/systemcoupling/core/adaptor/api_23_1/case_root.py +62 -0
  24. ansys/systemcoupling/core/adaptor/api_23_1/clear_state.py +16 -0
  25. ansys/systemcoupling/core/adaptor/api_23_1/coupling_interface.py +20 -0
  26. ansys/systemcoupling/core/adaptor/api_23_1/coupling_interface_child.py +42 -0
  27. ansys/systemcoupling/core/adaptor/api_23_1/coupling_participant.py +23 -0
  28. ansys/systemcoupling/core/adaptor/api_23_1/coupling_participant_child.py +173 -0
  29. ansys/systemcoupling/core/adaptor/api_23_1/create_restart_point.py +29 -0
  30. ansys/systemcoupling/core/adaptor/api_23_1/data_transfer.py +20 -0
  31. ansys/systemcoupling/core/adaptor/api_23_1/data_transfer_child.py +187 -0
  32. ansys/systemcoupling/core/adaptor/api_23_1/delete_snapshot.py +28 -0
  33. ansys/systemcoupling/core/adaptor/api_23_1/delete_transformation.py +42 -0
  34. ansys/systemcoupling/core/adaptor/api_23_1/dimensionality.py +96 -0
  35. ansys/systemcoupling/core/adaptor/api_23_1/execution_control.py +186 -0
  36. ansys/systemcoupling/core/adaptor/api_23_1/expression.py +20 -0
  37. ansys/systemcoupling/core/adaptor/api_23_1/expression_child.py +36 -0
  38. ansys/systemcoupling/core/adaptor/api_23_1/expression_function.py +20 -0
  39. ansys/systemcoupling/core/adaptor/api_23_1/expression_function_child.py +46 -0
  40. ansys/systemcoupling/core/adaptor/api_23_1/external_data_file.py +24 -0
  41. ansys/systemcoupling/core/adaptor/api_23_1/fluent_input.py +67 -0
  42. ansys/systemcoupling/core/adaptor/api_23_1/fmu_parameter.py +20 -0
  43. ansys/systemcoupling/core/adaptor/api_23_1/fmu_parameter_child.py +126 -0
  44. ansys/systemcoupling/core/adaptor/api_23_1/generate_input_file.py +41 -0
  45. ansys/systemcoupling/core/adaptor/api_23_1/get_execution_command.py +30 -0
  46. ansys/systemcoupling/core/adaptor/api_23_1/get_machines.py +13 -0
  47. ansys/systemcoupling/core/adaptor/api_23_1/get_region_names_for_participant.py +31 -0
  48. ansys/systemcoupling/core/adaptor/api_23_1/get_setup_summary.py +25 -0
  49. ansys/systemcoupling/core/adaptor/api_23_1/get_status_messages.py +52 -0
  50. ansys/systemcoupling/core/adaptor/api_23_1/global_stabilization.py +143 -0
  51. ansys/systemcoupling/core/adaptor/api_23_1/has_input_file_changed.py +36 -0
  52. ansys/systemcoupling/core/adaptor/api_23_1/import_system_coupling_input_file.py +36 -0
  53. ansys/systemcoupling/core/adaptor/api_23_1/initialize.py +27 -0
  54. ansys/systemcoupling/core/adaptor/api_23_1/instancing.py +23 -0
  55. ansys/systemcoupling/core/adaptor/api_23_1/instancing_child.py +62 -0
  56. ansys/systemcoupling/core/adaptor/api_23_1/interrupt.py +39 -0
  57. ansys/systemcoupling/core/adaptor/api_23_1/library.py +37 -0
  58. ansys/systemcoupling/core/adaptor/api_23_1/mapping_control.py +229 -0
  59. ansys/systemcoupling/core/adaptor/api_23_1/open.py +102 -0
  60. ansys/systemcoupling/core/adaptor/{api_24_1/open_results_in_en_sight.py → api_23_1/open_results_in_ensight.py} +1 -29
  61. ansys/systemcoupling/core/adaptor/api_23_1/open_snapshot.py +37 -0
  62. ansys/systemcoupling/core/adaptor/api_23_1/output_control.py +129 -0
  63. ansys/systemcoupling/core/adaptor/api_23_1/partition_participants.py +138 -0
  64. ansys/systemcoupling/core/adaptor/api_23_1/reference_frame.py +20 -0
  65. ansys/systemcoupling/core/adaptor/api_23_1/reference_frame_child.py +71 -0
  66. ansys/systemcoupling/core/adaptor/api_23_1/region.py +20 -0
  67. ansys/systemcoupling/core/adaptor/api_23_1/region_child.py +72 -0
  68. ansys/systemcoupling/core/adaptor/api_23_1/reload_expression_function_modules.py +14 -0
  69. ansys/systemcoupling/core/adaptor/api_23_1/results.py +89 -0
  70. ansys/systemcoupling/core/adaptor/api_23_1/save.py +51 -0
  71. ansys/systemcoupling/core/adaptor/api_23_1/save_snapshot.py +54 -0
  72. ansys/systemcoupling/core/adaptor/api_23_1/setup_root.py +195 -0
  73. ansys/systemcoupling/core/adaptor/api_23_1/shutdown.py +25 -0
  74. ansys/systemcoupling/core/adaptor/api_23_1/side.py +20 -0
  75. ansys/systemcoupling/core/adaptor/api_23_1/side_child.py +56 -0
  76. ansys/systemcoupling/core/adaptor/api_23_1/solution_control.py +91 -0
  77. ansys/systemcoupling/core/adaptor/api_23_1/solution_root.py +104 -0
  78. ansys/systemcoupling/core/adaptor/api_23_1/solve.py +30 -0
  79. ansys/systemcoupling/core/adaptor/api_23_1/stabilization.py +157 -0
  80. ansys/systemcoupling/core/adaptor/api_23_1/start_participants.py +47 -0
  81. ansys/systemcoupling/core/adaptor/api_23_1/step.py +57 -0
  82. ansys/systemcoupling/core/adaptor/api_23_1/transformation.py +21 -0
  83. ansys/systemcoupling/core/adaptor/api_23_1/transformation_child.py +62 -0
  84. ansys/systemcoupling/core/adaptor/api_23_1/type.py +38 -0
  85. ansys/systemcoupling/core/adaptor/api_23_1/unmapped_value_options.py +158 -0
  86. ansys/systemcoupling/core/adaptor/api_23_1/update_control.py +44 -0
  87. ansys/systemcoupling/core/adaptor/api_23_1/update_participant.py +61 -0
  88. ansys/systemcoupling/core/adaptor/api_23_1/variable.py +20 -0
  89. ansys/systemcoupling/core/adaptor/api_23_1/variable_child.py +201 -0
  90. ansys/systemcoupling/core/adaptor/api_23_1/write_csv_chart_files.py +21 -0
  91. ansys/systemcoupling/core/adaptor/api_23_1/write_ensight.py +46 -0
  92. ansys/systemcoupling/core/adaptor/api_24_1/add_aerodamping_data_transfers.py +43 -0
  93. ansys/systemcoupling/core/adaptor/api_24_1/add_fsi_data_transfers.py +32 -0
  94. ansys/systemcoupling/core/adaptor/api_24_1/add_ordered_data_transfers.py +32 -0
  95. ansys/systemcoupling/core/adaptor/api_24_1/add_thermal_data_transfers.py +43 -0
  96. ansys/systemcoupling/core/adaptor/api_24_1/analysis_control.py +34 -0
  97. ansys/systemcoupling/core/adaptor/api_24_1/case_root.py +1 -7
  98. ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant_child.py +26 -0
  99. ansys/systemcoupling/core/adaptor/api_24_1/execution_control.py +11 -1
  100. ansys/systemcoupling/core/adaptor/api_24_1/get_add_data_transfer_group_commands.py +29 -0
  101. ansys/systemcoupling/core/adaptor/api_24_1/get_mode_shape_variables.py +29 -0
  102. ansys/systemcoupling/core/adaptor/api_24_1/get_thermal_data_transfer_options.py +32 -0
  103. ansys/systemcoupling/core/adaptor/api_24_1/mapping_control.py +10 -0
  104. ansys/systemcoupling/core/adaptor/api_24_1/open_results_in_ensight.py +28 -0
  105. ansys/systemcoupling/core/adaptor/api_24_1/parameter_child.py +0 -8
  106. ansys/systemcoupling/core/adaptor/api_24_1/record_interactions.py +36 -0
  107. ansys/systemcoupling/core/adaptor/api_24_1/setup_root.py +49 -1
  108. ansys/systemcoupling/core/adaptor/api_24_1/solution_control.py +12 -0
  109. ansys/systemcoupling/core/adaptor/api_24_1/solution_root.py +5 -5
  110. ansys/systemcoupling/core/adaptor/api_24_1/variable_child.py +1 -2
  111. ansys/systemcoupling/core/adaptor/impl/get_status_messages.py +22 -0
  112. ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +26 -2
  113. ansys/systemcoupling/core/adaptor/impl/injected_commands.py +29 -0
  114. ansys/systemcoupling/core/adaptor/impl/root_source.py +22 -1
  115. ansys/systemcoupling/core/adaptor/impl/static_info.py +22 -0
  116. ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +22 -0
  117. ansys/systemcoupling/core/adaptor/impl/syc_proxy_interface.py +22 -0
  118. ansys/systemcoupling/core/adaptor/impl/types.py +23 -0
  119. ansys/systemcoupling/core/client/grpc_client.py +22 -0
  120. ansys/systemcoupling/core/client/services/command_query.py +22 -0
  121. ansys/systemcoupling/core/client/services/output_stream.py +22 -0
  122. ansys/systemcoupling/core/client/services/process.py +22 -0
  123. ansys/systemcoupling/core/client/services/solution.py +22 -0
  124. ansys/systemcoupling/core/client/syc_container.py +22 -0
  125. ansys/systemcoupling/core/client/syc_process.py +22 -0
  126. ansys/systemcoupling/core/client/variant.py +22 -0
  127. ansys/systemcoupling/core/examples/__init__.py +22 -0
  128. ansys/systemcoupling/core/examples/downloads.py +23 -0
  129. ansys/systemcoupling/core/native_api/__init__.py +22 -0
  130. ansys/systemcoupling/core/native_api/command_metadata.py +23 -0
  131. ansys/systemcoupling/core/native_api/datamodel_metadata.py +22 -0
  132. ansys/systemcoupling/core/native_api/meta_wrapper.py +23 -0
  133. ansys/systemcoupling/core/native_api/native_api.py +22 -0
  134. ansys/systemcoupling/core/native_api/object_path.py +22 -0
  135. ansys/systemcoupling/core/participant/manager.py +22 -0
  136. ansys/systemcoupling/core/participant/mapdl.py +298 -0
  137. ansys/systemcoupling/core/participant/protocol.py +22 -0
  138. ansys/systemcoupling/core/session.py +22 -0
  139. ansys/systemcoupling/core/syc_version.py +22 -0
  140. ansys/systemcoupling/core/util/logging.py +22 -0
  141. ansys/systemcoupling/core/util/name_util.py +22 -0
  142. ansys/systemcoupling/core/util/pathstr.py +23 -1
  143. ansys/systemcoupling/core/util/state_keys.py +22 -0
  144. ansys/systemcoupling/core/util/yaml_helper.py +22 -0
  145. {ansys_systemcoupling_core-0.3.0.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/METADATA +19 -18
  146. {ansys_systemcoupling_core-0.3.0.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/RECORD +149 -52
  147. /ansys/systemcoupling/core/adaptor/{api_24_1 → api_23_1}/get_snapshots.py +0 -0
  148. {ansys_systemcoupling_core-0.3.0.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/LICENSE +0 -0
  149. {ansys_systemcoupling_core-0.3.0.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/WHEEL +0 -0
@@ -0,0 +1,25 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ from ansys.systemcoupling.core.adaptor.impl.types import *
6
+
7
+
8
+ class get_setup_summary(InjectedCommand):
9
+ """
10
+ Returns a string containing a formatted summary of the
11
+ coupled analysis setup.
12
+
13
+ This summary is printed in the System Coupling transcript
14
+ output at the beginning of a solve. However, it is sometimes
15
+ useful to see the summary before starting the solve.
16
+
17
+ The summary output is generated by System Coupling and is not
18
+ modified for PySystemCoupling purposes. Any ``datamodel`` type names
19
+ that are referenced in the summary therefore might not
20
+ be fully consistent with PySystemCoupling conventions.
21
+ """
22
+
23
+ syc_name = "GetSetupSummary"
24
+
25
+ cmd_name = "get_setup_summary"
@@ -0,0 +1,52 @@
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 get_status_messages(InjectedCommand):
9
+ """
10
+ Provides information relating to the current state of the analysis setup.
11
+
12
+ The return value is a list of dictionaries. Each dictionary holds a
13
+ single message about the setup status, along with some associated information.
14
+ The dictionary has string-valued fields: ``"message"``, ``"level"``,
15
+ and ``"path"``.
16
+
17
+ The ``"message"`` field is the actual text of the message.
18
+
19
+ .. note::
20
+ In the current release, generated messages have not been adapted to
21
+ the PySystemCoupling environment and may use naming and terminology that
22
+ is native to the System Coupling application and its own command line
23
+ interface.
24
+
25
+ Because there is generally a straightforward mapping to the PySystemCoupling
26
+ exposure of settings and so on, the messages should not be difficult
27
+ to interpret. Nevertheless, the ``get_status_messages`` method should
28
+ be regarded as *beta* functionality in the current release.
29
+
30
+ The ``"level"`` field provides information about the severity or nature of the
31
+ message. Possible values are ``"Error"``, ``"Warning"``, ``"Information"``,
32
+ ``"Alpha"``, and ``"Beta"``. ``"Alpha"`` and ``"Beta"`` indicate settings related
33
+ to activated alpha or beta features.
34
+
35
+ It is not possible to solve an analysis that has any issues at the ``"Error"``
36
+ severity level. An attempt to invoke the ``solve`` command while there are
37
+ any errors results in an immediate failure.
38
+
39
+ If the ``"path"`` field is set, it contains a string representation of the path
40
+ to the setting to which the message pertains. This is given in the form of
41
+ chained Python attribute accesses starting from the ``setup`` attribute.
42
+
43
+ Thus, if an issue were detected that is specific to the ``absolute_gap_tolerance``
44
+ setting in a particular coupling interface, a ``"path"`` such as the following would
45
+ be provided:
46
+
47
+ ``'coupling_interface["Interface-1"].mapping_control.absolute_gap_tolerance'``
48
+ """
49
+
50
+ syc_name = "GetErrors"
51
+
52
+ cmd_name = "get_status_messages"
@@ -0,0 +1,143 @@
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 global_stabilization(Container):
9
+ """
10
+ Global stabilization settings.
11
+ """
12
+
13
+ syc_name = "GlobalStabilization"
14
+
15
+ property_names_types = [
16
+ ("option", "Option", "str"),
17
+ ("initial_iterations", "InitialIterations", "int"),
18
+ ("initial_relaxation_factor", "InitialRelaxationFactor", "RealType"),
19
+ ("maximum_retained_time_steps", "MaximumRetainedTimeSteps", "int"),
20
+ ("maximum_retained_iterations", "MaximumRetainedIterations", "int"),
21
+ ("diagnostics_level", "DiagnosticsLevel", "int"),
22
+ ("weight_option", "WeightOption", "str"),
23
+ ("qr_tol_this_step", "QRTolThisStep", "RealType"),
24
+ ("qr_tol_old_steps", "QRTolOldSteps", "RealType"),
25
+ ("qr_solver", "QRSolver", "str"),
26
+ ]
27
+
28
+ @property
29
+ def option(self) -> str:
30
+ """Stabilization type.
31
+
32
+ Allowed values:
33
+
34
+ - \"None\"
35
+ - \"Quasi-Newton\" """
36
+ return self.get_property_state("option")
37
+
38
+ @option.setter
39
+ def option(self, value: str):
40
+ self.set_property_state("option", value)
41
+
42
+ @property
43
+ def initial_iterations(self) -> int:
44
+ """Number of pre-stabilization iterations to perform."""
45
+ return self.get_property_state("initial_iterations")
46
+
47
+ @initial_iterations.setter
48
+ def initial_iterations(self, value: int):
49
+ self.set_property_state("initial_iterations", value)
50
+
51
+ @property
52
+ def initial_relaxation_factor(self) -> RealType:
53
+ """Relaxation factor applied for pre-stabilization iterations."""
54
+ return self.get_property_state("initial_relaxation_factor")
55
+
56
+ @initial_relaxation_factor.setter
57
+ def initial_relaxation_factor(self, value: RealType):
58
+ self.set_property_state("initial_relaxation_factor", value)
59
+
60
+ @property
61
+ def maximum_retained_time_steps(self) -> int:
62
+ """Controls the maximum number of timesteps to retain."""
63
+ return self.get_property_state("maximum_retained_time_steps")
64
+
65
+ @maximum_retained_time_steps.setter
66
+ def maximum_retained_time_steps(self, value: int):
67
+ self.set_property_state("maximum_retained_time_steps", value)
68
+
69
+ @property
70
+ def maximum_retained_iterations(self) -> int:
71
+ """Controls the maximum number of iterations to retain."""
72
+ return self.get_property_state("maximum_retained_iterations")
73
+
74
+ @maximum_retained_iterations.setter
75
+ def maximum_retained_iterations(self, value: int):
76
+ self.set_property_state("maximum_retained_iterations", value)
77
+
78
+ @property
79
+ def diagnostics_level(self) -> int:
80
+ """Controls the maximum number of timesteps to retain.
81
+
82
+ Values are interpreted as:
83
+
84
+ - 0 : none
85
+ - 1 : basic
86
+ - 2 : advanced
87
+ - 3 : write matrix files"""
88
+ return self.get_property_state("diagnostics_level")
89
+
90
+ @diagnostics_level.setter
91
+ def diagnostics_level(self, value: int):
92
+ self.set_property_state("diagnostics_level", value)
93
+
94
+ @property
95
+ def weight_option(self) -> str:
96
+ """Weight factor when multiple transfers are stabilized.
97
+
98
+ Allowed values:
99
+
100
+ - \"Constant\"
101
+ - \"Value\"
102
+ - \"Residual\"
103
+ - \"ResidualSum\"
104
+ - \"InverseResidual\"
105
+ - \"InverseResidualSum\" """
106
+ return self.get_property_state("weight_option")
107
+
108
+ @weight_option.setter
109
+ def weight_option(self, value: str):
110
+ self.set_property_state("weight_option", value)
111
+
112
+ @property
113
+ def qr_tol_this_step(self) -> RealType:
114
+ """QR filter tolerance for current step."""
115
+ return self.get_property_state("qr_tol_this_step")
116
+
117
+ @qr_tol_this_step.setter
118
+ def qr_tol_this_step(self, value: RealType):
119
+ self.set_property_state("qr_tol_this_step", value)
120
+
121
+ @property
122
+ def qr_tol_old_steps(self) -> RealType:
123
+ """QR filter tolerance for old steps."""
124
+ return self.get_property_state("qr_tol_old_steps")
125
+
126
+ @qr_tol_old_steps.setter
127
+ def qr_tol_old_steps(self, value: RealType):
128
+ self.set_property_state("qr_tol_old_steps", value)
129
+
130
+ @property
131
+ def qr_solver(self) -> str:
132
+ """QR solver options.
133
+
134
+ Allowed values:
135
+
136
+ - \"QR_MGS\"
137
+ - \"QR_augmentedMGS\" (default)
138
+ - \"QR_pivot\" """
139
+ return self.get_property_state("qr_solver")
140
+
141
+ @qr_solver.setter
142
+ def qr_solver(self, value: str):
143
+ self.set_property_state("qr_solver", value)
@@ -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 has_input_file_changed(Command):
9
+ """
10
+ Given the name of a participant, checks whether the input file has changed.
11
+
12
+ Available for server participants. Currently, only input files for
13
+ DEFAULT-SRV, CFD-SRV, and MECH-SRV participants are tracked by
14
+ System Coupling.
15
+
16
+ If a participant's input files are not tracked by System Coupling, this
17
+ command will return ``False`` in all cases, even if changes have been made
18
+ to the participant input file.
19
+
20
+ Parameters
21
+ ----------
22
+ participant_name : str
23
+ Name of the participant
24
+
25
+ """
26
+
27
+ syc_name = "HasInputFileChanged"
28
+
29
+ argument_names = ["participant_name"]
30
+
31
+ class participant_name(String):
32
+ """
33
+ Name of the participant
34
+ """
35
+
36
+ syc_name = "ParticipantName"
@@ -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
+ """