ansys-systemcoupling-core 0.2.0__py3-none-any.whl → 0.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ansys-systemcoupling-core might be problematic. Click here for more details.

Files changed (121) hide show
  1. ansys/systemcoupling/core/__init__.py +2 -4
  2. ansys/systemcoupling/core/adaptor/api_23_2/_add_participant.py +70 -0
  3. ansys/systemcoupling/core/adaptor/api_23_2/_solve.py +13 -0
  4. ansys/systemcoupling/core/adaptor/api_23_2/add_participant.py +38 -2
  5. ansys/systemcoupling/core/adaptor/api_23_2/case_root.py +13 -13
  6. ansys/systemcoupling/core/adaptor/api_23_2/setup_root.py +55 -49
  7. ansys/systemcoupling/core/adaptor/api_23_2/solution_root.py +42 -36
  8. ansys/systemcoupling/core/adaptor/api_23_2/solve.py +1 -1
  9. ansys/systemcoupling/core/adaptor/api_24_1/_add_participant.py +70 -0
  10. ansys/systemcoupling/core/adaptor/api_24_1/_solve.py +13 -0
  11. ansys/systemcoupling/core/adaptor/api_24_1/abort.py +39 -0
  12. ansys/systemcoupling/core/adaptor/api_24_1/activate_hidden.py +46 -0
  13. ansys/systemcoupling/core/adaptor/api_24_1/add_data_transfer.py +190 -0
  14. ansys/systemcoupling/core/adaptor/api_24_1/add_data_transfer_by_display_names.py +191 -0
  15. ansys/systemcoupling/core/adaptor/api_24_1/add_expression_function.py +61 -0
  16. ansys/systemcoupling/core/adaptor/api_24_1/add_interface.py +77 -0
  17. ansys/systemcoupling/core/adaptor/api_24_1/add_interface_by_display_names.py +78 -0
  18. ansys/systemcoupling/core/adaptor/api_24_1/add_named_expression.py +42 -0
  19. ansys/systemcoupling/core/adaptor/api_24_1/add_participant.py +140 -0
  20. ansys/systemcoupling/core/adaptor/api_24_1/add_reference_frame.py +40 -0
  21. ansys/systemcoupling/core/adaptor/api_24_1/add_transformation.py +102 -0
  22. ansys/systemcoupling/core/adaptor/api_24_1/analysis_control.py +249 -0
  23. ansys/systemcoupling/core/adaptor/api_24_1/apip.py +33 -0
  24. ansys/systemcoupling/core/adaptor/api_24_1/ascii_output.py +44 -0
  25. ansys/systemcoupling/core/adaptor/api_24_1/attribute.py +20 -0
  26. ansys/systemcoupling/core/adaptor/api_24_1/attribute_child.py +54 -0
  27. ansys/systemcoupling/core/adaptor/api_24_1/automatic_alignment_options.py +46 -0
  28. ansys/systemcoupling/core/adaptor/api_24_1/available_ports.py +40 -0
  29. ansys/systemcoupling/core/adaptor/api_24_1/avoid_data_reconstruction.py +46 -0
  30. ansys/systemcoupling/core/adaptor/api_24_1/case_root.py +62 -0
  31. ansys/systemcoupling/core/adaptor/api_24_1/clear_state.py +16 -0
  32. ansys/systemcoupling/core/adaptor/api_24_1/coupling_interface.py +20 -0
  33. ansys/systemcoupling/core/adaptor/api_24_1/coupling_interface_child.py +42 -0
  34. ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant.py +23 -0
  35. ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant_child.py +230 -0
  36. ansys/systemcoupling/core/adaptor/api_24_1/create_restart_point.py +29 -0
  37. ansys/systemcoupling/core/adaptor/api_24_1/data_transfer.py +20 -0
  38. ansys/systemcoupling/core/adaptor/api_24_1/data_transfer_child.py +187 -0
  39. ansys/systemcoupling/core/adaptor/api_24_1/delete_snapshot.py +28 -0
  40. ansys/systemcoupling/core/adaptor/api_24_1/delete_transformation.py +42 -0
  41. ansys/systemcoupling/core/adaptor/api_24_1/dimensionality.py +96 -0
  42. ansys/systemcoupling/core/adaptor/api_24_1/execution_control.py +186 -0
  43. ansys/systemcoupling/core/adaptor/api_24_1/expression.py +20 -0
  44. ansys/systemcoupling/core/adaptor/api_24_1/expression_child.py +36 -0
  45. ansys/systemcoupling/core/adaptor/api_24_1/expression_function.py +20 -0
  46. ansys/systemcoupling/core/adaptor/api_24_1/expression_function_child.py +46 -0
  47. ansys/systemcoupling/core/adaptor/api_24_1/external_data_file.py +24 -0
  48. ansys/systemcoupling/core/adaptor/api_24_1/fluent_input.py +67 -0
  49. ansys/systemcoupling/core/adaptor/api_24_1/fmu_parameter.py +20 -0
  50. ansys/systemcoupling/core/adaptor/api_24_1/fmu_parameter_child.py +156 -0
  51. ansys/systemcoupling/core/adaptor/api_24_1/generate_input_file.py +41 -0
  52. ansys/systemcoupling/core/adaptor/api_24_1/get_execution_command.py +30 -0
  53. ansys/systemcoupling/core/adaptor/api_24_1/get_machines.py +13 -0
  54. ansys/systemcoupling/core/adaptor/api_24_1/get_region_names_for_participant.py +31 -0
  55. ansys/systemcoupling/core/adaptor/api_24_1/get_setup_summary.py +25 -0
  56. ansys/systemcoupling/core/adaptor/api_24_1/get_snapshots.py +14 -0
  57. ansys/systemcoupling/core/adaptor/api_24_1/get_status_messages.py +52 -0
  58. ansys/systemcoupling/core/adaptor/api_24_1/get_transformation.py +43 -0
  59. ansys/systemcoupling/core/adaptor/api_24_1/global_stabilization.py +143 -0
  60. ansys/systemcoupling/core/adaptor/api_24_1/has_input_file_changed.py +36 -0
  61. ansys/systemcoupling/core/adaptor/api_24_1/import_system_coupling_input_file.py +36 -0
  62. ansys/systemcoupling/core/adaptor/api_24_1/initialize.py +27 -0
  63. ansys/systemcoupling/core/adaptor/api_24_1/instancing.py +23 -0
  64. ansys/systemcoupling/core/adaptor/api_24_1/instancing_child.py +62 -0
  65. ansys/systemcoupling/core/adaptor/api_24_1/interrupt.py +39 -0
  66. ansys/systemcoupling/core/adaptor/api_24_1/library.py +37 -0
  67. ansys/systemcoupling/core/adaptor/api_24_1/live_visualization.py +20 -0
  68. ansys/systemcoupling/core/adaptor/api_24_1/live_visualization_child.py +72 -0
  69. ansys/systemcoupling/core/adaptor/api_24_1/mapping_control.py +229 -0
  70. ansys/systemcoupling/core/adaptor/api_24_1/open.py +102 -0
  71. ansys/systemcoupling/core/adaptor/api_24_1/open_results_in_en_sight.py +56 -0
  72. ansys/systemcoupling/core/adaptor/api_24_1/open_snapshot.py +37 -0
  73. ansys/systemcoupling/core/adaptor/api_24_1/output_control.py +134 -0
  74. ansys/systemcoupling/core/adaptor/api_24_1/parameter.py +20 -0
  75. ansys/systemcoupling/core/adaptor/api_24_1/parameter_child.py +64 -0
  76. ansys/systemcoupling/core/adaptor/api_24_1/partition_participants.py +138 -0
  77. ansys/systemcoupling/core/adaptor/api_24_1/reference_frame.py +20 -0
  78. ansys/systemcoupling/core/adaptor/api_24_1/reference_frame_child.py +71 -0
  79. ansys/systemcoupling/core/adaptor/api_24_1/region.py +20 -0
  80. ansys/systemcoupling/core/adaptor/api_24_1/region_child.py +72 -0
  81. ansys/systemcoupling/core/adaptor/api_24_1/reload_expression_function_modules.py +14 -0
  82. ansys/systemcoupling/core/adaptor/api_24_1/results.py +89 -0
  83. ansys/systemcoupling/core/adaptor/api_24_1/save.py +51 -0
  84. ansys/systemcoupling/core/adaptor/api_24_1/save_snapshot.py +54 -0
  85. ansys/systemcoupling/core/adaptor/api_24_1/setup_root.py +195 -0
  86. ansys/systemcoupling/core/adaptor/api_24_1/shutdown.py +25 -0
  87. ansys/systemcoupling/core/adaptor/api_24_1/side.py +20 -0
  88. ansys/systemcoupling/core/adaptor/api_24_1/side_child.py +56 -0
  89. ansys/systemcoupling/core/adaptor/api_24_1/solution_control.py +103 -0
  90. ansys/systemcoupling/core/adaptor/api_24_1/solution_root.py +110 -0
  91. ansys/systemcoupling/core/adaptor/api_24_1/solve.py +30 -0
  92. ansys/systemcoupling/core/adaptor/api_24_1/stabilization.py +157 -0
  93. ansys/systemcoupling/core/adaptor/api_24_1/start_participants.py +47 -0
  94. ansys/systemcoupling/core/adaptor/api_24_1/step.py +57 -0
  95. ansys/systemcoupling/core/adaptor/api_24_1/transformation.py +21 -0
  96. ansys/systemcoupling/core/adaptor/api_24_1/transformation_child.py +62 -0
  97. ansys/systemcoupling/core/adaptor/api_24_1/type.py +38 -0
  98. ansys/systemcoupling/core/adaptor/api_24_1/unmapped_value_options.py +158 -0
  99. ansys/systemcoupling/core/adaptor/api_24_1/update_control.py +44 -0
  100. ansys/systemcoupling/core/adaptor/api_24_1/update_participant.py +61 -0
  101. ansys/systemcoupling/core/adaptor/api_24_1/variable.py +20 -0
  102. ansys/systemcoupling/core/adaptor/api_24_1/variable_child.py +232 -0
  103. ansys/systemcoupling/core/adaptor/api_24_1/write_csv_chart_files.py +21 -0
  104. ansys/systemcoupling/core/adaptor/api_24_1/write_ensight.py +46 -0
  105. ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +35 -0
  106. ansys/systemcoupling/core/adaptor/impl/injected_commands.py +97 -5
  107. ansys/systemcoupling/core/adaptor/impl/root_source.py +2 -0
  108. ansys/systemcoupling/core/adaptor/impl/static_info.py +69 -41
  109. ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +1 -1
  110. ansys/systemcoupling/core/adaptor/impl/types.py +12 -0
  111. ansys/systemcoupling/core/client/syc_container.py +2 -0
  112. ansys/systemcoupling/core/participant/manager.py +198 -0
  113. ansys/systemcoupling/core/participant/protocol.py +51 -0
  114. ansys/systemcoupling/core/session.py +7 -1
  115. ansys/systemcoupling/core/syc_version.py +26 -2
  116. {ansys_systemcoupling_core-0.2.0.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/METADATA +9 -9
  117. ansys_systemcoupling_core-0.3.0.dist-info/RECORD +230 -0
  118. ansys_systemcoupling_core-0.2.0.dist-info/RECORD +0 -129
  119. /ansys/systemcoupling/core/adaptor/{api_23_2 → api_24_1}/open_results_in_ensight.py +0 -0
  120. {ansys_systemcoupling_core-0.2.0.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/LICENSE +0 -0
  121. {ansys_systemcoupling_core-0.2.0.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/WHEEL +0 -0
@@ -0,0 +1,89 @@
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 .type import type
8
+
9
+
10
+ class results(Container):
11
+ """
12
+ Configures output of postprocessing results data.
13
+ """
14
+
15
+ syc_name = "Results"
16
+
17
+ child_names = ["type"]
18
+
19
+ type: type = type
20
+ """
21
+ type child of results.
22
+ """
23
+ property_names_types = [
24
+ ("option", "Option", "str"),
25
+ ("include_instances", "IncludeInstances", "str"),
26
+ ("output_frequency", "OutputFrequency", "int"),
27
+ ]
28
+
29
+ @property
30
+ def option(self) -> str:
31
+ """Specifies whether and when results files are generated.
32
+
33
+ Allowed values:
34
+
35
+ - \"ProgramControlled\" - Generate postprocessing results at the same
36
+ frequency as restart points, as defined by the output control option
37
+ setting. If no restart frequency is defined, then results are
38
+ generated at the end of the last coupling step.
39
+
40
+ - \"Off\" - Generation of postprocessing results is disabled.
41
+
42
+ Allowed values for step-based analyses:
43
+
44
+ - \"LastStep\" - Generate results only for the last coupling step completed.
45
+
46
+ - \"EveryStep\" - Generate results at the end of every coupling step.
47
+
48
+ - \"StepInterval\" - Generate results at the end of coupling steps at
49
+ the interval specified by the output frequency setting.
50
+
51
+ Allowed values for iteration-based analyses:
52
+
53
+ - \"LastIteration\" - Generate results only for the last coupling
54
+ iteration completed.
55
+
56
+ - \"EveryIteration\" - Generate results at the end of every coupling
57
+ iteration.
58
+
59
+ - \"IterationInterval\" - Generate results at the end of coupling
60
+ iterations at the interval specified by the output frequency setting."""
61
+ return self.get_property_state("option")
62
+
63
+ @option.setter
64
+ def option(self, value: str):
65
+ self.set_property_state("option", value)
66
+
67
+ @property
68
+ def include_instances(self) -> str:
69
+ """Control whether instances are output.
70
+
71
+ Allowed values:
72
+
73
+ - \"ProgramControlled\"
74
+ - \"ReferenceOnly\"
75
+ - \"All\" """
76
+ return self.get_property_state("include_instances")
77
+
78
+ @include_instances.setter
79
+ def include_instances(self, value: str):
80
+ self.set_property_state("include_instances", value)
81
+
82
+ @property
83
+ def output_frequency(self) -> int:
84
+ """Specify output frequency."""
85
+ return self.get_property_state("output_frequency")
86
+
87
+ @output_frequency.setter
88
+ def output_frequency(self, value: int):
89
+ self.set_property_state("output_frequency", value)
@@ -0,0 +1,51 @@
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 save(Command):
9
+ """
10
+ Saves the state of the coupled analysis data model.
11
+
12
+ - Analysis settings are written to a single Settings.h5 file which
13
+ can be used to reload analysis settings.
14
+
15
+ - Restart files for all restart points in the current co-simulation will
16
+ be written when this command is called. Existing restart files from
17
+ previous System Coupling versions will be renamed to conform to the new
18
+ naming scheme.
19
+
20
+ - Restart files are named according to the convention
21
+ ``Restart_step#.h5`` or ``Restart_iter#.h5``, where ``#`` is the index of
22
+ the corresponding coupling step or iteration.
23
+
24
+ Returns a Boolean value of ``True`` if the files were saved successfully;
25
+ otherwise, returns a value of ``False``.
26
+
27
+ Note that this command will raise an exception if another instance of
28
+ System Coupling is solving in the current working directory.
29
+
30
+ By default, writes to the ``SyC`` sub-directory of the current working
31
+ directory. This behavior may be modified by providing ``file_path``.
32
+
33
+ Parameters
34
+ ----------
35
+ file_path : str, optional
36
+ Writeable directory to which the SyC directory is added. (Settings and
37
+ results .h5 files will be written to the SyC directory.)
38
+
39
+ """
40
+
41
+ syc_name = "Save"
42
+
43
+ argument_names = ["file_path"]
44
+
45
+ class file_path(String):
46
+ """
47
+ Writeable directory to which the SyC directory is added. (Settings and
48
+ results .h5 files will be written to the SyC directory.)
49
+ """
50
+
51
+ syc_name = "FilePath"
@@ -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
+
8
+ class save_snapshot(Command):
9
+ """
10
+ Saves a snapshot of the current state of the simulation. Snapshot will
11
+ contain all files and directories within the working directory that are
12
+ tracked by System Coupling: the SyC directory and the working directories
13
+ of all loaded participants. Before saving the snapshot, the current
14
+ datamodel will be saved.
15
+
16
+ Note: Snapshot cannot be saved if participants have been started.
17
+
18
+ Note: If files required for cosimulation are not stored within the working
19
+ directory, then they will not be included in the snapshot.
20
+
21
+ Parameters
22
+ ----------
23
+ snapshot_name : str
24
+ Name of the snapshot to be saved.
25
+ overwrite_existing : bool, optional
26
+ Boolean argument controlling whether an existing snapshot should be
27
+ overwritten. If ``True``, then an existing snapshot named ``snapshot_name`` will
28
+ be overwritten if it exists. If ``False`` (default), then if ``snapshot_name`` is
29
+ shared with an existing snapshot, a warning will be written and the
30
+ command will return without saving the snapshot.
31
+
32
+ """
33
+
34
+ syc_name = "SaveSnapshot"
35
+
36
+ argument_names = ["snapshot_name", "overwrite_existing"]
37
+
38
+ class snapshot_name(String):
39
+ """
40
+ Name of the snapshot to be saved.
41
+ """
42
+
43
+ syc_name = "SnapshotName"
44
+
45
+ class overwrite_existing(Boolean):
46
+ """
47
+ Boolean argument controlling whether an existing snapshot should be
48
+ overwritten. If ``True``, then an existing snapshot named ``snapshot_name`` will
49
+ be overwritten if it exists. If ``False`` (default), then if ``snapshot_name`` is
50
+ shared with an existing snapshot, a warning will be written and the
51
+ command will return without saving the snapshot.
52
+ """
53
+
54
+ syc_name = "OverwriteExisting"
@@ -0,0 +1,195 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ SHASH = "add18659c90558849a12bc4820dc48069961268d3b1790256ae8a6fe59db8067"
6
+
7
+ from ansys.systemcoupling.core.adaptor.impl.types import *
8
+
9
+ from ._add_participant import _add_participant
10
+ from .activate_hidden import activate_hidden
11
+ from .add_data_transfer import add_data_transfer
12
+ from .add_data_transfer_by_display_names import add_data_transfer_by_display_names
13
+ from .add_expression_function import add_expression_function
14
+ from .add_interface import add_interface
15
+ from .add_interface_by_display_names import add_interface_by_display_names
16
+ from .add_named_expression import add_named_expression
17
+ from .add_participant import add_participant
18
+ from .add_reference_frame import add_reference_frame
19
+ from .add_transformation import add_transformation
20
+ from .analysis_control import analysis_control
21
+ from .coupling_interface import coupling_interface
22
+ from .coupling_participant import coupling_participant
23
+ from .delete_transformation import delete_transformation
24
+ from .generate_input_file import generate_input_file
25
+ from .get_execution_command import get_execution_command
26
+ from .get_region_names_for_participant import get_region_names_for_participant
27
+ from .get_setup_summary import get_setup_summary
28
+ from .get_status_messages import get_status_messages
29
+ from .has_input_file_changed import has_input_file_changed
30
+ from .import_system_coupling_input_file import import_system_coupling_input_file
31
+ from .library import library
32
+ from .output_control import output_control
33
+ from .reload_expression_function_modules import reload_expression_function_modules
34
+ from .solution_control import solution_control
35
+ from .update_participant import update_participant
36
+
37
+
38
+ class setup_root(Container):
39
+ """
40
+ 'root' object
41
+ """
42
+
43
+ syc_name = "SystemCoupling"
44
+
45
+ child_names = [
46
+ "activate_hidden",
47
+ "library",
48
+ "coupling_participant",
49
+ "analysis_control",
50
+ "coupling_interface",
51
+ "solution_control",
52
+ "output_control",
53
+ ]
54
+
55
+ activate_hidden: activate_hidden = activate_hidden
56
+ """
57
+ activate_hidden child of setup_root.
58
+ """
59
+ library: library = library
60
+ """
61
+ library child of setup_root.
62
+ """
63
+ coupling_participant: coupling_participant = coupling_participant
64
+ """
65
+ coupling_participant child of setup_root.
66
+ """
67
+ analysis_control: analysis_control = analysis_control
68
+ """
69
+ analysis_control child of setup_root.
70
+ """
71
+ coupling_interface: coupling_interface = coupling_interface
72
+ """
73
+ coupling_interface child of setup_root.
74
+ """
75
+ solution_control: solution_control = solution_control
76
+ """
77
+ solution_control child of setup_root.
78
+ """
79
+ output_control: output_control = output_control
80
+ """
81
+ output_control child of setup_root.
82
+ """
83
+ command_names = [
84
+ "_add_participant",
85
+ "add_data_transfer",
86
+ "add_data_transfer_by_display_names",
87
+ "add_expression_function",
88
+ "add_interface",
89
+ "add_interface_by_display_names",
90
+ "add_named_expression",
91
+ "add_participant",
92
+ "add_reference_frame",
93
+ "add_transformation",
94
+ "delete_transformation",
95
+ "generate_input_file",
96
+ "get_execution_command",
97
+ "get_region_names_for_participant",
98
+ "get_setup_summary",
99
+ "get_status_messages",
100
+ "has_input_file_changed",
101
+ "import_system_coupling_input_file",
102
+ "reload_expression_function_modules",
103
+ "update_participant",
104
+ ]
105
+
106
+ _add_participant: _add_participant = _add_participant
107
+ """
108
+ _add_participant command of setup_root.
109
+ """
110
+ add_data_transfer: add_data_transfer = add_data_transfer
111
+ """
112
+ add_data_transfer command of setup_root.
113
+ """
114
+ add_data_transfer_by_display_names: add_data_transfer_by_display_names = (
115
+ add_data_transfer_by_display_names
116
+ )
117
+ """
118
+ add_data_transfer_by_display_names command of setup_root.
119
+ """
120
+ add_expression_function: add_expression_function = add_expression_function
121
+ """
122
+ add_expression_function command of setup_root.
123
+ """
124
+ add_interface: add_interface = add_interface
125
+ """
126
+ add_interface command of setup_root.
127
+ """
128
+ add_interface_by_display_names: add_interface_by_display_names = (
129
+ add_interface_by_display_names
130
+ )
131
+ """
132
+ add_interface_by_display_names command of setup_root.
133
+ """
134
+ add_named_expression: add_named_expression = add_named_expression
135
+ """
136
+ add_named_expression command of setup_root.
137
+ """
138
+ add_participant: add_participant = add_participant
139
+ """
140
+ add_participant command of setup_root.
141
+ """
142
+ add_reference_frame: add_reference_frame = add_reference_frame
143
+ """
144
+ add_reference_frame command of setup_root.
145
+ """
146
+ add_transformation: add_transformation = add_transformation
147
+ """
148
+ add_transformation command of setup_root.
149
+ """
150
+ delete_transformation: delete_transformation = delete_transformation
151
+ """
152
+ delete_transformation command of setup_root.
153
+ """
154
+ generate_input_file: generate_input_file = generate_input_file
155
+ """
156
+ generate_input_file command of setup_root.
157
+ """
158
+ get_execution_command: get_execution_command = get_execution_command
159
+ """
160
+ get_execution_command command of setup_root.
161
+ """
162
+ get_region_names_for_participant: get_region_names_for_participant = (
163
+ get_region_names_for_participant
164
+ )
165
+ """
166
+ get_region_names_for_participant command of setup_root.
167
+ """
168
+ get_setup_summary: get_setup_summary = get_setup_summary
169
+ """
170
+ get_setup_summary command of setup_root.
171
+ """
172
+ get_status_messages: get_status_messages = get_status_messages
173
+ """
174
+ get_status_messages command of setup_root.
175
+ """
176
+ has_input_file_changed: has_input_file_changed = has_input_file_changed
177
+ """
178
+ has_input_file_changed command of setup_root.
179
+ """
180
+ import_system_coupling_input_file: import_system_coupling_input_file = (
181
+ import_system_coupling_input_file
182
+ )
183
+ """
184
+ import_system_coupling_input_file command of setup_root.
185
+ """
186
+ reload_expression_function_modules: reload_expression_function_modules = (
187
+ reload_expression_function_modules
188
+ )
189
+ """
190
+ reload_expression_function_modules command of setup_root.
191
+ """
192
+ update_participant: update_participant = update_participant
193
+ """
194
+ update_participant command of setup_root.
195
+ """
@@ -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 shutdown(Command):
9
+ """
10
+ Interactive command that shuts down a coupled analysis.
11
+
12
+ ``shutdown`` includes ending the coupling run and signaling participants
13
+ to end the run. This produces a clean shutdown, generating the final
14
+ restart point and corresponding results file before disconnecting
15
+ from participants.
16
+
17
+ After participants are disconnected, the coupling service writes
18
+ timing details to the transcript. If participants were started
19
+ automatically, it ends participant processes.
20
+
21
+ When System Coupling disconnects from the analysis and shuts down, the GUI
22
+ Server file is removed from the working directory.
23
+ """
24
+
25
+ syc_name = "Shutdown"
@@ -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 .side_child import side_child
8
+
9
+
10
+ class side(NamedContainer[side_child]):
11
+ """
12
+ Configure one side of a coupling interface.
13
+ """
14
+
15
+ syc_name = "Side"
16
+
17
+ child_object_type: side_child = side_child
18
+ """
19
+ child_object_type of side.
20
+ """
@@ -0,0 +1,56 @@
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 side_child(Container):
9
+ """
10
+ Configure one side of a coupling interface.
11
+ """
12
+
13
+ syc_name = "child_object_type"
14
+
15
+ property_names_types = [
16
+ ("coupling_participant", "CouplingParticipant", "str"),
17
+ ("region_list", "RegionList", "StringListType"),
18
+ ("reference_frame", "ReferenceFrame", "str"),
19
+ ("instancing", "Instancing", "str"),
20
+ ]
21
+
22
+ @property
23
+ def coupling_participant(self) -> str:
24
+ """Name of the participant on this interface side."""
25
+ return self.get_property_state("coupling_participant")
26
+
27
+ @coupling_participant.setter
28
+ def coupling_participant(self, value: str):
29
+ self.set_property_state("coupling_participant", value)
30
+
31
+ @property
32
+ def region_list(self) -> StringListType:
33
+ """List of participant regions involved in this interface side."""
34
+ return self.get_property_state("region_list")
35
+
36
+ @region_list.setter
37
+ def region_list(self, value: StringListType):
38
+ self.set_property_state("region_list", value)
39
+
40
+ @property
41
+ def reference_frame(self) -> str:
42
+ """Reference frame of this side."""
43
+ return self.get_property_state("reference_frame")
44
+
45
+ @reference_frame.setter
46
+ def reference_frame(self, value: str):
47
+ self.set_property_state("reference_frame", value)
48
+
49
+ @property
50
+ def instancing(self) -> str:
51
+ """Instancing name for this side (leave unset if not required)."""
52
+ return self.get_property_state("instancing")
53
+
54
+ @instancing.setter
55
+ def instancing(self, value: str):
56
+ self.set_property_state("instancing", value)
@@ -0,0 +1,103 @@
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 .available_ports import available_ports
8
+
9
+
10
+ class solution_control(Container):
11
+ """
12
+ Configure solution controls.
13
+ """
14
+
15
+ syc_name = "SolutionControl"
16
+
17
+ child_names = ["available_ports"]
18
+
19
+ available_ports: available_ports = available_ports
20
+ """
21
+ available_ports child of solution_control.
22
+ """
23
+ property_names_types = [
24
+ ("duration_option", "DurationOption", "str"),
25
+ ("end_time", "EndTime", "RealType"),
26
+ ("number_of_steps", "NumberOfSteps", "int"),
27
+ ("time_step_size", "TimeStepSize", "RealType"),
28
+ ("minimum_iterations", "MinimumIterations", "int"),
29
+ ("maximum_iterations", "MaximumIterations", "int"),
30
+ ("use_ip_address_when_possible", "UseIPAddressWhenPossible", "bool"),
31
+ ]
32
+
33
+ @property
34
+ def duration_option(self) -> str:
35
+ """Determine how the analysis duration is specified.
36
+
37
+ Allowed values:
38
+
39
+ - \"EndTime\" - Available for transient analyses. Execute coupling
40
+ steps until the analysis reaches the specified end time.
41
+ - \"NumberOfSteps\" - Perform coupling steps until the specified
42
+ number of steps is reached."""
43
+ return self.get_property_state("duration_option")
44
+
45
+ @duration_option.setter
46
+ def duration_option(self, value: str):
47
+ self.set_property_state("duration_option", value)
48
+
49
+ @property
50
+ def end_time(self) -> RealType:
51
+ """Set co-simulation end time."""
52
+ return self.get_property_state("end_time")
53
+
54
+ @end_time.setter
55
+ def end_time(self, value: RealType):
56
+ self.set_property_state("end_time", value)
57
+
58
+ @property
59
+ def number_of_steps(self) -> int:
60
+ """Set number of coupling steps."""
61
+ return self.get_property_state("number_of_steps")
62
+
63
+ @number_of_steps.setter
64
+ def number_of_steps(self, value: int):
65
+ self.set_property_state("number_of_steps", value)
66
+
67
+ @property
68
+ def time_step_size(self) -> RealType:
69
+ """Set coupling time step size."""
70
+ return self.get_property_state("time_step_size")
71
+
72
+ @time_step_size.setter
73
+ def time_step_size(self, value: RealType):
74
+ self.set_property_state("time_step_size", value)
75
+
76
+ @property
77
+ def minimum_iterations(self) -> int:
78
+ """Set minimum iterations within coupling step."""
79
+ return self.get_property_state("minimum_iterations")
80
+
81
+ @minimum_iterations.setter
82
+ def minimum_iterations(self, value: int):
83
+ self.set_property_state("minimum_iterations", value)
84
+
85
+ @property
86
+ def maximum_iterations(self) -> int:
87
+ """Set maximum iterations within coupling step."""
88
+ return self.get_property_state("maximum_iterations")
89
+
90
+ @maximum_iterations.setter
91
+ def maximum_iterations(self, value: int):
92
+ self.set_property_state("maximum_iterations", value)
93
+
94
+ @property
95
+ def use_ip_address_when_possible(self) -> bool:
96
+ """If True (the default), prefer to use IPv4 address rather than hostname for
97
+ participant server connections. There is no guarantee that this request
98
+ can be satisfied for all participants."""
99
+ return self.get_property_state("use_ip_address_when_possible")
100
+
101
+ @use_ip_address_when_possible.setter
102
+ def use_ip_address_when_possible(self, value: bool):
103
+ self.set_property_state("use_ip_address_when_possible", value)