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,186 @@
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 .fluent_input import fluent_input
8
+
9
+
10
+ class execution_control(Container):
11
+ """
12
+ Configure execution control for a coupling participant.
13
+ """
14
+
15
+ syc_name = "ExecutionControl"
16
+
17
+ child_names = ["fluent_input"]
18
+
19
+ fluent_input: fluent_input = fluent_input
20
+ """
21
+ fluent_input child of execution_control.
22
+ """
23
+ property_names_types = [
24
+ ("option", "Option", "str"),
25
+ ("working_directory", "WorkingDirectory", "str"),
26
+ ("executable", "Executable", "str"),
27
+ ("auto_distribution_settings", "AutoDistributionSettings", "bool"),
28
+ (
29
+ "include_hpc_distribution_types",
30
+ "IncludeHPCDistributionTypes",
31
+ "StringListType",
32
+ ),
33
+ ("number_of_cores_per_task", "NumberOfCoresPerTask", "int"),
34
+ ("batch_options", "BatchOptions", "str"),
35
+ ("additional_arguments", "AdditionalArguments", "str"),
36
+ ("parallel_fraction", "ParallelFraction", "RealType"),
37
+ ("initial_input", "InitialInput", "str"),
38
+ ("additional_restart_input_file", "AdditionalRestartInputFile", "str"),
39
+ ("gui_mode", "GuiMode", "bool"),
40
+ ("base_output_file_name", "BaseOutputFileName", "str"),
41
+ ("overwrite_existing_files", "OverwriteExistingFiles", "bool"),
42
+ ("mass_normalized", "MassNormalized", "bool"),
43
+ ]
44
+
45
+ @property
46
+ def option(self) -> str:
47
+ """Method used to find the solver executable file to be used to start
48
+ the participant.
49
+
50
+ - \"ProgramControlled\" - (Default) Find the executable based on the
51
+ participant type. Available whenever the participant type is not
52
+ set to \"DEFAULT\" or \"EXTERNALDATA\".
53
+ - \"UserDefined\" - User supplied settings are used to find the executable.
54
+ - \"ExternallyManaged\" - Typically used for workflows managed by
55
+ `WorkBench`."""
56
+ return self.get_property_state("option")
57
+
58
+ @option.setter
59
+ def option(self, value: str):
60
+ self.set_property_state("option", value)
61
+
62
+ @property
63
+ def working_directory(self) -> str:
64
+ """Participant working directory."""
65
+ return self.get_property_state("working_directory")
66
+
67
+ @working_directory.setter
68
+ def working_directory(self, value: str):
69
+ self.set_property_state("working_directory", value)
70
+
71
+ @property
72
+ def executable(self) -> str:
73
+ """Path to participant executable."""
74
+ return self.get_property_state("executable")
75
+
76
+ @executable.setter
77
+ def executable(self, value: str):
78
+ self.set_property_state("executable", value)
79
+
80
+ @property
81
+ def auto_distribution_settings(self) -> bool:
82
+ """Specify whether to use automatic distribution settings."""
83
+ return self.get_property_state("auto_distribution_settings")
84
+
85
+ @auto_distribution_settings.setter
86
+ def auto_distribution_settings(self, value: bool):
87
+ self.set_property_state("auto_distribution_settings", value)
88
+
89
+ @property
90
+ def include_hpc_distribution_types(self) -> StringListType:
91
+ """Include HPC distribution types for the distributed AEDT runs."""
92
+ return self.get_property_state("include_hpc_distribution_types")
93
+
94
+ @include_hpc_distribution_types.setter
95
+ def include_hpc_distribution_types(self, value: StringListType):
96
+ self.set_property_state("include_hpc_distribution_types", value)
97
+
98
+ @property
99
+ def number_of_cores_per_task(self) -> int:
100
+ """Specify number of parallel cores per task for parallel AEDT analysis."""
101
+ return self.get_property_state("number_of_cores_per_task")
102
+
103
+ @number_of_cores_per_task.setter
104
+ def number_of_cores_per_task(self, value: int):
105
+ self.set_property_state("number_of_cores_per_task", value)
106
+
107
+ @property
108
+ def batch_options(self) -> str:
109
+ """Specify batch options for AEDT participant."""
110
+ return self.get_property_state("batch_options")
111
+
112
+ @batch_options.setter
113
+ def batch_options(self, value: str):
114
+ self.set_property_state("batch_options", value)
115
+
116
+ @property
117
+ def additional_arguments(self) -> str:
118
+ """Additional command line arguments."""
119
+ return self.get_property_state("additional_arguments")
120
+
121
+ @additional_arguments.setter
122
+ def additional_arguments(self, value: str):
123
+ self.set_property_state("additional_arguments", value)
124
+
125
+ @property
126
+ def parallel_fraction(self) -> RealType:
127
+ """Fraction of available cores to use for this participant"""
128
+ return self.get_property_state("parallel_fraction")
129
+
130
+ @parallel_fraction.setter
131
+ def parallel_fraction(self, value: RealType):
132
+ self.set_property_state("parallel_fraction", value)
133
+
134
+ @property
135
+ def initial_input(self) -> str:
136
+ """Initial input."""
137
+ return self.get_property_state("initial_input")
138
+
139
+ @initial_input.setter
140
+ def initial_input(self, value: str):
141
+ self.set_property_state("initial_input", value)
142
+
143
+ @property
144
+ def additional_restart_input_file(self) -> str:
145
+ """File containing MAPDL command snippets to modify the restarted run."""
146
+ return self.get_property_state("additional_restart_input_file")
147
+
148
+ @additional_restart_input_file.setter
149
+ def additional_restart_input_file(self, value: str):
150
+ self.set_property_state("additional_restart_input_file", value)
151
+
152
+ @property
153
+ def gui_mode(self) -> bool:
154
+ """Run participant in graphical mode."""
155
+ return self.get_property_state("gui_mode")
156
+
157
+ @gui_mode.setter
158
+ def gui_mode(self, value: bool):
159
+ self.set_property_state("gui_mode", value)
160
+
161
+ @property
162
+ def base_output_file_name(self) -> str:
163
+ """Base output file name for the CFD Server."""
164
+ return self.get_property_state("base_output_file_name")
165
+
166
+ @base_output_file_name.setter
167
+ def base_output_file_name(self, value: str):
168
+ self.set_property_state("base_output_file_name", value)
169
+
170
+ @property
171
+ def overwrite_existing_files(self) -> bool:
172
+ """Flag indicating whether CFD Server should overwrite existing files."""
173
+ return self.get_property_state("overwrite_existing_files")
174
+
175
+ @overwrite_existing_files.setter
176
+ def overwrite_existing_files(self, value: bool):
177
+ self.set_property_state("overwrite_existing_files", value)
178
+
179
+ @property
180
+ def mass_normalized(self) -> bool:
181
+ """Controls whether mode shapes are mass normalized"""
182
+ return self.get_property_state("mass_normalized")
183
+
184
+ @mass_normalized.setter
185
+ def mass_normalized(self, value: bool):
186
+ self.set_property_state("mass_normalized", value)
@@ -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 .expression_child import expression_child
8
+
9
+
10
+ class expression(NamedContainer[expression_child]):
11
+ """
12
+ Define a named expression that can be referenced in other expressions.
13
+ """
14
+
15
+ syc_name = "Expression"
16
+
17
+ child_object_type: expression_child = expression_child
18
+ """
19
+ child_object_type of expression.
20
+ """
@@ -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 expression_child(Container):
9
+ """
10
+ Define a named expression that can be referenced in other expressions.
11
+ """
12
+
13
+ syc_name = "child_object_type"
14
+
15
+ property_names_types = [
16
+ ("expression_name", "ExpressionName", "str"),
17
+ ("expression_string", "ExpressionString", "str"),
18
+ ]
19
+
20
+ @property
21
+ def expression_name(self) -> str:
22
+ """Name used to reference this expression from another expression"""
23
+ return self.get_property_state("expression_name")
24
+
25
+ @expression_name.setter
26
+ def expression_name(self, value: str):
27
+ self.set_property_state("expression_name", value)
28
+
29
+ @property
30
+ def expression_string(self) -> str:
31
+ """String defining the expression."""
32
+ return self.get_property_state("expression_string")
33
+
34
+ @expression_string.setter
35
+ def expression_string(self, value: str):
36
+ self.set_property_state("expression_string", value)
@@ -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 .expression_function_child import expression_function_child
8
+
9
+
10
+ class expression_function(NamedContainer[expression_function_child]):
11
+ """
12
+ Makes an external Python function accessible from expressions.
13
+ """
14
+
15
+ syc_name = "ExpressionFunction"
16
+
17
+ child_object_type: expression_function_child = expression_function_child
18
+ """
19
+ child_object_type of expression_function.
20
+ """
@@ -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 expression_function_child(Container):
9
+ """
10
+ Makes an external Python function accessible from expressions.
11
+ """
12
+
13
+ syc_name = "child_object_type"
14
+
15
+ property_names_types = [
16
+ ("module", "Module", "str"),
17
+ ("function", "Function", "str"),
18
+ ("function_name", "FunctionName", "str"),
19
+ ]
20
+
21
+ @property
22
+ def module(self) -> str:
23
+ """Name of the Python module that exports the function."""
24
+ return self.get_property_state("module")
25
+
26
+ @module.setter
27
+ def module(self, value: str):
28
+ self.set_property_state("module", value)
29
+
30
+ @property
31
+ def function(self) -> str:
32
+ """Name of the function in the module."""
33
+ return self.get_property_state("function")
34
+
35
+ @function.setter
36
+ def function(self, value: str):
37
+ self.set_property_state("function", value)
38
+
39
+ @property
40
+ def function_name(self) -> str:
41
+ """Name to use when referencing the function in an expression."""
42
+ return self.get_property_state("function_name")
43
+
44
+ @function_name.setter
45
+ def function_name(self, value: str):
46
+ self.set_property_state("function_name", value)
@@ -0,0 +1,24 @@
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 external_data_file(Container):
9
+ """
10
+ Participant external data file settings.
11
+ """
12
+
13
+ syc_name = "ExternalDataFile"
14
+
15
+ property_names_types = [("file_path", "FilePath", "str")]
16
+
17
+ @property
18
+ def file_path(self) -> str:
19
+ """Path to file for communication with a coupling participant."""
20
+ return self.get_property_state("file_path")
21
+
22
+ @file_path.setter
23
+ def file_path(self, value: str):
24
+ self.set_property_state("file_path", value)
@@ -0,0 +1,67 @@
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 fluent_input(Container):
9
+ """
10
+ Fluent input.
11
+ """
12
+
13
+ syc_name = "FluentInput"
14
+
15
+ property_names_types = [
16
+ ("option", "Option", "str"),
17
+ ("case_file", "CaseFile", "str"),
18
+ ("data_file", "DataFile", "str"),
19
+ ("journal_file", "JournalFile", "str"),
20
+ ]
21
+
22
+ @property
23
+ def option(self) -> str:
24
+ """Type of solver input file(s) to be used for the Fluent run.
25
+
26
+ Allowed values:
27
+
28
+ - \"InitialCaseFile\" - (Default) A case file will be defined as a
29
+ solver input for the coupled analysis run.
30
+
31
+ - \"InitialCaseAndDataFile\" - A Fluent case file and data file
32
+ will be defined as solver inputs for the coupled analysis run.
33
+
34
+ - \"JournalFile\" - A journal file will be defined as the solver
35
+ input for the coupled analysis run."""
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 case_file(self) -> str:
44
+ """Set Fluent initial case file."""
45
+ return self.get_property_state("case_file")
46
+
47
+ @case_file.setter
48
+ def case_file(self, value: str):
49
+ self.set_property_state("case_file", value)
50
+
51
+ @property
52
+ def data_file(self) -> str:
53
+ """Set Fluent initial data file."""
54
+ return self.get_property_state("data_file")
55
+
56
+ @data_file.setter
57
+ def data_file(self, value: str):
58
+ self.set_property_state("data_file", value)
59
+
60
+ @property
61
+ def journal_file(self) -> str:
62
+ """Set Fluent journal file."""
63
+ return self.get_property_state("journal_file")
64
+
65
+ @journal_file.setter
66
+ def journal_file(self, value: str):
67
+ self.set_property_state("journal_file", value)
@@ -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 .fmu_parameter_child import fmu_parameter_child
8
+
9
+
10
+ class fmu_parameter(NamedContainer[fmu_parameter_child]):
11
+ """
12
+ Configure a parameter for an FMU coupling participant.
13
+ """
14
+
15
+ syc_name = "FMUParameter"
16
+
17
+ child_object_type: fmu_parameter_child = fmu_parameter_child
18
+ """
19
+ child_object_type of fmu_parameter.
20
+ """
@@ -0,0 +1,126 @@
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 fmu_parameter_child(Container):
9
+ """
10
+ Configure a parameter for an FMU coupling participant.
11
+ """
12
+
13
+ syc_name = "child_object_type"
14
+
15
+ property_names_types = [
16
+ ("data_type", "DataType", "str"),
17
+ ("participant_display_name", "ParticipantDisplayName", "str"),
18
+ ("display_name", "DisplayName", "str"),
19
+ ("real_value", "RealValue", "RealType"),
20
+ ("real_min", "RealMin", "RealType"),
21
+ ("real_max", "RealMax", "RealType"),
22
+ ("integer_value", "IntegerValue", "int"),
23
+ ("integer_min", "IntegerMin", "int"),
24
+ ("integer_max", "IntegerMax", "int"),
25
+ ("logical_value", "LogicalValue", "bool"),
26
+ ("string_value", "StringValue", "str"),
27
+ ]
28
+
29
+ @property
30
+ def data_type(self) -> str:
31
+ """UNDOCUMENTED"""
32
+ return self.get_property_state("data_type")
33
+
34
+ @data_type.setter
35
+ def data_type(self, value: str):
36
+ self.set_property_state("data_type", value)
37
+
38
+ @property
39
+ def participant_display_name(self) -> str:
40
+ """Parameter's display name as defined by the participant solver."""
41
+ return self.get_property_state("participant_display_name")
42
+
43
+ @participant_display_name.setter
44
+ def participant_display_name(self, value: str):
45
+ self.set_property_state("participant_display_name", value)
46
+
47
+ @property
48
+ def display_name(self) -> str:
49
+ """Parameter's display name as defined in System Coupling."""
50
+ return self.get_property_state("display_name")
51
+
52
+ @display_name.setter
53
+ def display_name(self, value: str):
54
+ self.set_property_state("display_name", value)
55
+
56
+ @property
57
+ def real_value(self) -> RealType:
58
+ """Real data start value."""
59
+ return self.get_property_state("real_value")
60
+
61
+ @real_value.setter
62
+ def real_value(self, value: RealType):
63
+ self.set_property_state("real_value", value)
64
+
65
+ @property
66
+ def real_min(self) -> RealType:
67
+ """Real data minimum value."""
68
+ return self.get_property_state("real_min")
69
+
70
+ @real_min.setter
71
+ def real_min(self, value: RealType):
72
+ self.set_property_state("real_min", value)
73
+
74
+ @property
75
+ def real_max(self) -> RealType:
76
+ """Real data maximum value."""
77
+ return self.get_property_state("real_max")
78
+
79
+ @real_max.setter
80
+ def real_max(self, value: RealType):
81
+ self.set_property_state("real_max", value)
82
+
83
+ @property
84
+ def integer_value(self) -> int:
85
+ """Integer data start value."""
86
+ return self.get_property_state("integer_value")
87
+
88
+ @integer_value.setter
89
+ def integer_value(self, value: int):
90
+ self.set_property_state("integer_value", value)
91
+
92
+ @property
93
+ def integer_min(self) -> int:
94
+ """Integer data minimum value."""
95
+ return self.get_property_state("integer_min")
96
+
97
+ @integer_min.setter
98
+ def integer_min(self, value: int):
99
+ self.set_property_state("integer_min", value)
100
+
101
+ @property
102
+ def integer_max(self) -> int:
103
+ """Integer data maximum value."""
104
+ return self.get_property_state("integer_max")
105
+
106
+ @integer_max.setter
107
+ def integer_max(self, value: int):
108
+ self.set_property_state("integer_max", value)
109
+
110
+ @property
111
+ def logical_value(self) -> bool:
112
+ """Logical data start value."""
113
+ return self.get_property_state("logical_value")
114
+
115
+ @logical_value.setter
116
+ def logical_value(self, value: bool):
117
+ self.set_property_state("logical_value", value)
118
+
119
+ @property
120
+ def string_value(self) -> str:
121
+ """String data start value."""
122
+ return self.get_property_state("string_value")
123
+
124
+ @string_value.setter
125
+ def string_value(self, value: str):
126
+ self.set_property_state("string_value", value)
@@ -0,0 +1,41 @@
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 generate_input_file(Command):
9
+ """
10
+ Generates the input journal file for a given Fluent participant.
11
+
12
+ Parameters
13
+ ----------
14
+ participant_name : str
15
+ Name of the participant for which the execution command will
16
+ be returned.
17
+ file_name : str
18
+ Name of the journal script to be written. Note that this name is relative
19
+ to the participant's working directory.
20
+
21
+ """
22
+
23
+ syc_name = "GenerateInputFile"
24
+
25
+ argument_names = ["participant_name", "file_name"]
26
+
27
+ class participant_name(String):
28
+ """
29
+ Name of the participant for which the execution command will
30
+ be returned.
31
+ """
32
+
33
+ syc_name = "ParticipantName"
34
+
35
+ class file_name(String):
36
+ """
37
+ Name of the journal script to be written. Note that this name is relative
38
+ to the participant's working directory.
39
+ """
40
+
41
+ syc_name = "FileName"
@@ -0,0 +1,30 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ from ansys.systemcoupling.core.adaptor.impl.types import *
6
+
7
+
8
+ class get_execution_command(Command):
9
+ """
10
+ Gets the execution command needed to start the specified participant
11
+
12
+ Parameters
13
+ ----------
14
+ participant_name : str
15
+ Name of the participant for which the execution command will
16
+ be returned.
17
+
18
+ """
19
+
20
+ syc_name = "GetExecutionCommand"
21
+
22
+ argument_names = ["participant_name"]
23
+
24
+ class participant_name(String):
25
+ """
26
+ Name of the participant for which the execution command will
27
+ be returned.
28
+ """
29
+
30
+ syc_name = "ParticipantName"
@@ -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 get_machines(Command):
9
+ """
10
+ Get currently available machines.
11
+ """
12
+
13
+ syc_name = "GetMachines"
@@ -0,0 +1,31 @@
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_region_names_for_participant(Command):
9
+ """
10
+ Gets all of the specified participant's regions.
11
+
12
+ Returns a dictionary with the regions as keys and the corresponding
13
+ display names as values.
14
+
15
+ Parameters
16
+ ----------
17
+ participant_name : str
18
+ String indicating the participant for which regions are returned.
19
+
20
+ """
21
+
22
+ syc_name = "GetRegionNamesForParticipant"
23
+
24
+ argument_names = ["participant_name"]
25
+
26
+ class participant_name(String):
27
+ """
28
+ String indicating the participant for which regions are returned.
29
+ """
30
+
31
+ syc_name = "ParticipantName"