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,241 @@
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 .apip import apip
8
+ from .avoid_data_reconstruction import avoid_data_reconstruction
9
+ from .global_stabilization import global_stabilization
10
+ from .unmapped_value_options import unmapped_value_options
11
+
12
+
13
+ class analysis_control(Container):
14
+ """
15
+ Configure coupling controls.
16
+ """
17
+
18
+ syc_name = "AnalysisControl"
19
+
20
+ child_names = [
21
+ "global_stabilization",
22
+ "apip",
23
+ "avoid_data_reconstruction",
24
+ "unmapped_value_options",
25
+ ]
26
+
27
+ global_stabilization: global_stabilization = global_stabilization
28
+ """
29
+ global_stabilization child of analysis_control.
30
+ """
31
+ apip: apip = apip
32
+ """
33
+ apip child of analysis_control.
34
+ """
35
+ avoid_data_reconstruction: avoid_data_reconstruction = avoid_data_reconstruction
36
+ """
37
+ avoid_data_reconstruction child of analysis_control.
38
+ """
39
+ unmapped_value_options: unmapped_value_options = unmapped_value_options
40
+ """
41
+ unmapped_value_options child of analysis_control.
42
+ """
43
+ property_names_types = [
44
+ ("analysis_type", "AnalysisType", "str"),
45
+ ("optimize_if_one_way", "OptimizeIfOneWay", "bool"),
46
+ ("warped_face_tolerance", "WarpedFaceTolerance", "RealType"),
47
+ ("allow_simultaneous_update", "AllowSimultaneousUpdate", "bool"),
48
+ ("simultaneous_participants", "SimultaneousParticipants", "str"),
49
+ ("partitioning_algorithm", "PartitioningAlgorithm", "str"),
50
+ ("allow_iterations_only_mode", "AllowIterationsOnlyMode", "bool"),
51
+ ("target_initialization_option", "TargetInitializationOption", "str"),
52
+ ("fluent_region_update_at_step", "FluentRegionUpdateAtStep", "bool"),
53
+ ("mesh_import_on_initialization", "MeshImportOnInitialization", "bool"),
54
+ ("import_all_regions", "ImportAllRegions", "bool"),
55
+ ("bypass_fluent_adapter", "BypassFluentAdapter", "bool"),
56
+ ("variable_to_expression_transfer", "VariableToExpressionTransfer", "bool"),
57
+ ("update_mapping_weights", "UpdateMappingWeights", "str"),
58
+ (
59
+ "solve_incremental_displacement_first",
60
+ "SolveIncrementalDisplacementFirst",
61
+ "bool",
62
+ ),
63
+ ("write_scs_file", "WriteScsFile", "bool"),
64
+ ("check_for_input_files_changes", "CheckForInputFilesChanges", "str"),
65
+ ]
66
+
67
+ @property
68
+ def analysis_type(self) -> str:
69
+ """Analysis type.
70
+
71
+ Allowed values:
72
+ - \"Steady\"
73
+ - \"Transient\" """
74
+ return self.get_property_state("analysis_type")
75
+
76
+ @analysis_type.setter
77
+ def analysis_type(self, value: str):
78
+ self.set_property_state("analysis_type", value)
79
+
80
+ @property
81
+ def optimize_if_one_way(self) -> bool:
82
+ """Optimizes various controls for a one-way workflow, if the
83
+ data transfers form a unidirectional graph."""
84
+ return self.get_property_state("optimize_if_one_way")
85
+
86
+ @optimize_if_one_way.setter
87
+ def optimize_if_one_way(self, value: bool):
88
+ self.set_property_state("optimize_if_one_way", value)
89
+
90
+ @property
91
+ def warped_face_tolerance(self) -> RealType:
92
+ """Set warped face detection tolerance (1e-6 is default value, 1.0 means disabled)."""
93
+ return self.get_property_state("warped_face_tolerance")
94
+
95
+ @warped_face_tolerance.setter
96
+ def warped_face_tolerance(self, value: RealType):
97
+ self.set_property_state("warped_face_tolerance", value)
98
+
99
+ @property
100
+ def allow_simultaneous_update(self) -> bool:
101
+ """Allow simultaneous update of independent participants."""
102
+ return self.get_property_state("allow_simultaneous_update")
103
+
104
+ @allow_simultaneous_update.setter
105
+ def allow_simultaneous_update(self, value: bool):
106
+ self.set_property_state("allow_simultaneous_update", value)
107
+
108
+ @property
109
+ def simultaneous_participants(self) -> str:
110
+ """Controls which participants are updated simultaneously."""
111
+ return self.get_property_state("simultaneous_participants")
112
+
113
+ @simultaneous_participants.setter
114
+ def simultaneous_participants(self, value: str):
115
+ self.set_property_state("simultaneous_participants", value)
116
+
117
+ @property
118
+ def partitioning_algorithm(self) -> str:
119
+ """Partitioning algorithm used when participants are running in parallel.
120
+
121
+ Allowed values:
122
+
123
+ - \"SharedAllocateMachines\" - Participants share both machines and cores.
124
+
125
+ - \"SharedAllocateCores\" - Participants share machines but not cores.
126
+
127
+ - \"DistributedAllocateCores\" - Participants minimally share cores and machines. (Linux only)
128
+
129
+ - \"DistributedAllocateMachines\" - Participants never share cores or machines. (Linux only)
130
+
131
+ - \"Custom\" - Custom algorithm."""
132
+ return self.get_property_state("partitioning_algorithm")
133
+
134
+ @partitioning_algorithm.setter
135
+ def partitioning_algorithm(self, value: str):
136
+ self.set_property_state("partitioning_algorithm", value)
137
+
138
+ @property
139
+ def allow_iterations_only_mode(self) -> bool:
140
+ """Explicitly set whether iterations-only mode is allowed."""
141
+ return self.get_property_state("allow_iterations_only_mode")
142
+
143
+ @allow_iterations_only_mode.setter
144
+ def allow_iterations_only_mode(self, value: bool):
145
+ self.set_property_state("allow_iterations_only_mode", value)
146
+
147
+ @property
148
+ def target_initialization_option(self) -> str:
149
+ """Select option for target initialization."""
150
+ return self.get_property_state("target_initialization_option")
151
+
152
+ @target_initialization_option.setter
153
+ def target_initialization_option(self, value: str):
154
+ self.set_property_state("target_initialization_option", value)
155
+
156
+ @property
157
+ def fluent_region_update_at_step(self) -> bool:
158
+ """Allow update of Fluent regions at the beginning of a step."""
159
+ return self.get_property_state("fluent_region_update_at_step")
160
+
161
+ @fluent_region_update_at_step.setter
162
+ def fluent_region_update_at_step(self, value: bool):
163
+ self.set_property_state("fluent_region_update_at_step", value)
164
+
165
+ @property
166
+ def mesh_import_on_initialization(self) -> bool:
167
+ """Select whether to import the mesh during the analysis initialization."""
168
+ return self.get_property_state("mesh_import_on_initialization")
169
+
170
+ @mesh_import_on_initialization.setter
171
+ def mesh_import_on_initialization(self, value: bool):
172
+ self.set_property_state("mesh_import_on_initialization", value)
173
+
174
+ @property
175
+ def import_all_regions(self) -> bool:
176
+ """Select whether to import mesh for all defined regions."""
177
+ return self.get_property_state("import_all_regions")
178
+
179
+ @import_all_regions.setter
180
+ def import_all_regions(self, value: bool):
181
+ self.set_property_state("import_all_regions", value)
182
+
183
+ @property
184
+ def bypass_fluent_adapter(self) -> bool:
185
+ """Switch to bypass Fluent adapter."""
186
+ return self.get_property_state("bypass_fluent_adapter")
187
+
188
+ @bypass_fluent_adapter.setter
189
+ def bypass_fluent_adapter(self, value: bool):
190
+ self.set_property_state("bypass_fluent_adapter", value)
191
+
192
+ @property
193
+ def variable_to_expression_transfer(self) -> bool:
194
+ """Convert variable-based data transfers to expression transfers."""
195
+ return self.get_property_state("variable_to_expression_transfer")
196
+
197
+ @variable_to_expression_transfer.setter
198
+ def variable_to_expression_transfer(self, value: bool):
199
+ self.set_property_state("variable_to_expression_transfer", value)
200
+
201
+ @property
202
+ def update_mapping_weights(self) -> str:
203
+ """Weight factor when multiple transfers are stabilized.
204
+
205
+ Allowed values:
206
+
207
+ - \"Off\" (default)
208
+ - \"EveryStep\"
209
+ - \"EveryIteration\" """
210
+ return self.get_property_state("update_mapping_weights")
211
+
212
+ @update_mapping_weights.setter
213
+ def update_mapping_weights(self, value: str):
214
+ self.set_property_state("update_mapping_weights", value)
215
+
216
+ @property
217
+ def solve_incremental_displacement_first(self) -> bool:
218
+ """Force participants serving incremental displacement to solve first."""
219
+ return self.get_property_state("solve_incremental_displacement_first")
220
+
221
+ @solve_incremental_displacement_first.setter
222
+ def solve_incremental_displacement_first(self, value: bool):
223
+ self.set_property_state("solve_incremental_displacement_first", value)
224
+
225
+ @property
226
+ def write_scs_file(self) -> bool:
227
+ """Force writing of scs file even if participants are auto-started."""
228
+ return self.get_property_state("write_scs_file")
229
+
230
+ @write_scs_file.setter
231
+ def write_scs_file(self, value: bool):
232
+ self.set_property_state("write_scs_file", value)
233
+
234
+ @property
235
+ def check_for_input_files_changes(self) -> str:
236
+ """Controls whether System Coupling will check for changes in participant input files."""
237
+ return self.get_property_state("check_for_input_files_changes")
238
+
239
+ @check_for_input_files_changes.setter
240
+ def check_for_input_files_changes(self, value: str):
241
+ self.set_property_state("check_for_input_files_changes", value)
@@ -0,0 +1,33 @@
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 apip(Container):
9
+ """
10
+ Apip-related expert settings.
11
+ """
12
+
13
+ syc_name = "Apip"
14
+
15
+ property_names_types = [("debug", "Debug", "bool"), ("disable", "Disable", "bool")]
16
+
17
+ @property
18
+ def debug(self) -> bool:
19
+ """Debug apip data (sends to debug server, saves data locally)."""
20
+ return self.get_property_state("debug")
21
+
22
+ @debug.setter
23
+ def debug(self, value: bool):
24
+ self.set_property_state("debug", value)
25
+
26
+ @property
27
+ def disable(self) -> bool:
28
+ """Disable apip collection (regardless of user settings)."""
29
+ return self.get_property_state("disable")
30
+
31
+ @disable.setter
32
+ def disable(self, value: bool):
33
+ self.set_property_state("disable", value)
@@ -0,0 +1,44 @@
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 ascii_output(Container):
9
+ """
10
+ Output interface data as ASCII.
11
+ """
12
+
13
+ syc_name = "AsciiOutput"
14
+
15
+ property_names_types = [("option", "Option", "str"), ("format", "Format", "str")]
16
+
17
+ @property
18
+ def option(self) -> str:
19
+ """Control ASCII interface data output.
20
+
21
+ Allowed values:
22
+
23
+ - \"Off\"
24
+ - \"EveryStep\" (for step-based analyses)
25
+ - \"EveryIteration\" (for iteration-based analyses)"""
26
+ return self.get_property_state("option")
27
+
28
+ @option.setter
29
+ def option(self, value: str):
30
+ self.set_property_state("option", value)
31
+
32
+ @property
33
+ def format(self) -> str:
34
+ """ASCII output format type.
35
+
36
+ Allowed values:
37
+
38
+ - \"Axdt\"
39
+ - \"Csv\" """
40
+ return self.get_property_state("format")
41
+
42
+ @format.setter
43
+ def format(self, value: str):
44
+ self.set_property_state("format", 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 .attribute_child import attribute_child
8
+
9
+
10
+ class attribute(NamedContainer[attribute_child]):
11
+ """
12
+ Configure a variable's attributes.
13
+ """
14
+
15
+ syc_name = "Attribute"
16
+
17
+ child_object_type: attribute_child = attribute_child
18
+ """
19
+ child_object_type of attribute.
20
+ """
@@ -0,0 +1,54 @@
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 .dimensionality import dimensionality
8
+
9
+
10
+ class attribute_child(Container):
11
+ """
12
+ Configure a variable's attributes.
13
+ """
14
+
15
+ syc_name = "child_object_type"
16
+
17
+ child_names = ["dimensionality"]
18
+
19
+ dimensionality: dimensionality = dimensionality
20
+ """
21
+ dimensionality child of attribute_child.
22
+ """
23
+ property_names_types = [
24
+ ("attribute_type", "AttributeType", "str"),
25
+ ("real_value", "RealValue", "RealType"),
26
+ ("integer_value", "IntegerValue", "int"),
27
+ ]
28
+
29
+ @property
30
+ def attribute_type(self) -> str:
31
+ """The type of the attribute (\"Real\" or \"Integer\")."""
32
+ return self.get_property_state("attribute_type")
33
+
34
+ @attribute_type.setter
35
+ def attribute_type(self, value: str):
36
+ self.set_property_state("attribute_type", value)
37
+
38
+ @property
39
+ def real_value(self) -> RealType:
40
+ """Real attribute value."""
41
+ return self.get_property_state("real_value")
42
+
43
+ @real_value.setter
44
+ def real_value(self, value: RealType):
45
+ self.set_property_state("real_value", value)
46
+
47
+ @property
48
+ def integer_value(self) -> int:
49
+ """Integer attribute value."""
50
+ return self.get_property_state("integer_value")
51
+
52
+ @integer_value.setter
53
+ def integer_value(self, value: int):
54
+ self.set_property_state("integer_value", value)
@@ -0,0 +1,40 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ from ansys.systemcoupling.core.adaptor.impl.types import *
6
+
7
+
8
+ class available_ports(Container):
9
+ """
10
+ Specify ports available for co-simulation.
11
+ """
12
+
13
+ syc_name = "AvailablePorts"
14
+
15
+ property_names_types = [("option", "Option", "str"), ("range", "Range", "str")]
16
+
17
+ @property
18
+ def option(self) -> str:
19
+ """Specify how available ports are determined.
20
+
21
+ - \"ProgramControlled\" - System Coupling will find an
22
+ available port.
23
+ - \"UserDefined\" - An available port will be chosen,
24
+ if possible, from a specified range."""
25
+ return self.get_property_state("option")
26
+
27
+ @option.setter
28
+ def option(self, value: str):
29
+ self.set_property_state("option", value)
30
+
31
+ @property
32
+ def range(self) -> str:
33
+ """Port range expressed as a comma-separated list of integers and/or
34
+ integer ranges. An integer range is a pair of integers separated
35
+ with a "-" character, specify an inclusive range of port numbers."""
36
+ return self.get_property_state("range")
37
+
38
+ @range.setter
39
+ def range(self, value: str):
40
+ self.set_property_state("range", value)
@@ -0,0 +1,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 avoid_data_reconstruction(Container):
9
+ """
10
+ Control whether data reconstruction should be done for elemental intensive data.
11
+ """
12
+
13
+ syc_name = "AvoidDataReconstruction"
14
+
15
+ property_names_types = [
16
+ ("volume_mapping", "VolumeMapping", "bool"),
17
+ ("surface_mapping", "SurfaceMapping", "bool"),
18
+ ]
19
+
20
+ @property
21
+ def volume_mapping(self) -> bool:
22
+ """UNDOCUMENTED"""
23
+ return self.get_property_state("volume_mapping")
24
+
25
+ @volume_mapping.setter
26
+ def volume_mapping(self, value: bool):
27
+ self.set_property_state("volume_mapping", value)
28
+
29
+ @property
30
+ def surface_mapping(self) -> bool:
31
+ """UNDOCUMENTED"""
32
+ return self.get_property_state("surface_mapping")
33
+
34
+ @surface_mapping.setter
35
+ def surface_mapping(self, value: bool):
36
+ self.set_property_state("surface_mapping", value)
@@ -0,0 +1,62 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ SHASH = "0fbfd3e7593591d8e52193a6e92828c6174e531b26437aee17285b3d0d114664"
6
+
7
+ from ansys.systemcoupling.core.adaptor.impl.types import *
8
+
9
+ from .clear_state import clear_state
10
+ from .delete_snapshot import delete_snapshot
11
+ from .get_snapshots import get_snapshots
12
+ from .open import open
13
+ from .open_snapshot import open_snapshot
14
+ from .save import save
15
+ from .save_snapshot import save_snapshot
16
+
17
+
18
+ class case_root(Container):
19
+ """
20
+ 'root' object
21
+ """
22
+
23
+ syc_name = "CaseCommands"
24
+
25
+ command_names = [
26
+ "clear_state",
27
+ "delete_snapshot",
28
+ "get_snapshots",
29
+ "open",
30
+ "open_snapshot",
31
+ "save",
32
+ "save_snapshot",
33
+ ]
34
+
35
+ clear_state: clear_state = clear_state
36
+ """
37
+ clear_state command of case_root.
38
+ """
39
+ delete_snapshot: delete_snapshot = delete_snapshot
40
+ """
41
+ delete_snapshot command of case_root.
42
+ """
43
+ get_snapshots: get_snapshots = get_snapshots
44
+ """
45
+ get_snapshots command of case_root.
46
+ """
47
+ open: open = open
48
+ """
49
+ open command of case_root.
50
+ """
51
+ open_snapshot: open_snapshot = open_snapshot
52
+ """
53
+ open_snapshot command of case_root.
54
+ """
55
+ save: save = save
56
+ """
57
+ save command of case_root.
58
+ """
59
+ save_snapshot: save_snapshot = save_snapshot
60
+ """
61
+ save_snapshot command of case_root.
62
+ """
@@ -0,0 +1,16 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ from ansys.systemcoupling.core.adaptor.impl.types import *
6
+
7
+
8
+ class clear_state(Command):
9
+ """
10
+ Clears the state of the entire System Coupling service, removing all
11
+ data model items, parameter values, and calculated values.
12
+
13
+ Cannot be run after participants have been started.
14
+ """
15
+
16
+ syc_name = "ClearState"
@@ -0,0 +1,20 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ from ansys.systemcoupling.core.adaptor.impl.types import *
6
+
7
+ from .coupling_interface_child import coupling_interface_child
8
+
9
+
10
+ class coupling_interface(NamedContainer[coupling_interface_child]):
11
+ """
12
+ Configure a coupling interface.
13
+ """
14
+
15
+ syc_name = "CouplingInterface"
16
+
17
+ child_object_type: coupling_interface_child = coupling_interface_child
18
+ """
19
+ child_object_type of coupling_interface.
20
+ """
@@ -0,0 +1,42 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ from ansys.systemcoupling.core.adaptor.impl.types import *
6
+
7
+ from .data_transfer import data_transfer
8
+ from .mapping_control import mapping_control
9
+ from .side import side
10
+
11
+
12
+ class coupling_interface_child(Container):
13
+ """
14
+ Configure a coupling interface.
15
+ """
16
+
17
+ syc_name = "child_object_type"
18
+
19
+ child_names = ["side", "data_transfer", "mapping_control"]
20
+
21
+ side: side = side
22
+ """
23
+ side child of coupling_interface_child.
24
+ """
25
+ data_transfer: data_transfer = data_transfer
26
+ """
27
+ data_transfer child of coupling_interface_child.
28
+ """
29
+ mapping_control: mapping_control = mapping_control
30
+ """
31
+ mapping_control child of coupling_interface_child.
32
+ """
33
+ property_names_types = [("display_name", "DisplayName", "str")]
34
+
35
+ @property
36
+ def display_name(self) -> str:
37
+ """Set the display name of an object."""
38
+ return self.get_property_state("display_name")
39
+
40
+ @display_name.setter
41
+ def display_name(self, value: str):
42
+ self.set_property_state("display_name", value)
@@ -0,0 +1,23 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ from ansys.systemcoupling.core.adaptor.impl.types import *
6
+
7
+ from .coupling_participant_child import coupling_participant_child
8
+
9
+
10
+ class coupling_participant(NamedContainer[coupling_participant_child]):
11
+ """
12
+ Configure a coupling participant.
13
+
14
+ These settings are typically populated by using the ``add_participant``
15
+ command.
16
+ """
17
+
18
+ syc_name = "CouplingParticipant"
19
+
20
+ child_object_type: coupling_participant_child = coupling_participant_child
21
+ """
22
+ child_object_type of coupling_participant.
23
+ """