ansys-systemcoupling-core 0.9.1__py3-none-any.whl → 0.10.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 (129) hide show
  1. ansys/systemcoupling/core/__init__.py +1 -1
  2. ansys/systemcoupling/core/adaptor/api_25_2/_add_participant.py +80 -0
  3. ansys/systemcoupling/core/adaptor/api_25_2/_clear_state.py +13 -0
  4. ansys/systemcoupling/core/adaptor/api_25_2/_solve.py +13 -0
  5. ansys/systemcoupling/core/adaptor/api_25_2/abort.py +39 -0
  6. ansys/systemcoupling/core/adaptor/api_25_2/activate_hidden.py +46 -0
  7. ansys/systemcoupling/core/adaptor/api_25_2/add_aerodamping_data_transfers.py +43 -0
  8. ansys/systemcoupling/core/adaptor/api_25_2/add_data_transfer.py +190 -0
  9. ansys/systemcoupling/core/adaptor/api_25_2/add_expression_function.py +61 -0
  10. ansys/systemcoupling/core/adaptor/api_25_2/add_flow_boundary_data_transfers.py +32 -0
  11. ansys/systemcoupling/core/adaptor/api_25_2/add_fsi_data_transfers.py +43 -0
  12. ansys/systemcoupling/core/adaptor/api_25_2/add_interface.py +77 -0
  13. ansys/systemcoupling/core/adaptor/api_25_2/add_named_expression.py +42 -0
  14. ansys/systemcoupling/core/adaptor/api_25_2/add_ordered_data_transfers.py +41 -0
  15. ansys/systemcoupling/core/adaptor/api_25_2/add_participant.py +177 -0
  16. ansys/systemcoupling/core/adaptor/api_25_2/add_reference_frame.py +40 -0
  17. ansys/systemcoupling/core/adaptor/api_25_2/add_thermal_data_transfers.py +43 -0
  18. ansys/systemcoupling/core/adaptor/api_25_2/add_transformation.py +102 -0
  19. ansys/systemcoupling/core/adaptor/api_25_2/analysis_control.py +333 -0
  20. ansys/systemcoupling/core/adaptor/api_25_2/apip.py +33 -0
  21. ansys/systemcoupling/core/adaptor/api_25_2/ascii_output.py +44 -0
  22. ansys/systemcoupling/core/adaptor/api_25_2/attribute.py +20 -0
  23. ansys/systemcoupling/core/adaptor/api_25_2/attribute_child.py +74 -0
  24. ansys/systemcoupling/core/adaptor/api_25_2/automatic_alignment_options.py +46 -0
  25. ansys/systemcoupling/core/adaptor/api_25_2/available_ports.py +40 -0
  26. ansys/systemcoupling/core/adaptor/api_25_2/avoid_data_reconstruction.py +56 -0
  27. ansys/systemcoupling/core/adaptor/api_25_2/case_root.py +62 -0
  28. ansys/systemcoupling/core/adaptor/api_25_2/clear_state.py +18 -0
  29. ansys/systemcoupling/core/adaptor/api_25_2/connect_ensight_dvs.py +41 -0
  30. ansys/systemcoupling/core/adaptor/api_25_2/coupling_interface.py +20 -0
  31. ansys/systemcoupling/core/adaptor/api_25_2/coupling_interface_child.py +42 -0
  32. ansys/systemcoupling/core/adaptor/api_25_2/coupling_participant.py +23 -0
  33. ansys/systemcoupling/core/adaptor/api_25_2/coupling_participant_child.py +272 -0
  34. ansys/systemcoupling/core/adaptor/api_25_2/create_restart_point.py +28 -0
  35. ansys/systemcoupling/core/adaptor/api_25_2/data_transfer.py +20 -0
  36. ansys/systemcoupling/core/adaptor/api_25_2/data_transfer_child.py +195 -0
  37. ansys/systemcoupling/core/adaptor/api_25_2/delete_snapshot.py +30 -0
  38. ansys/systemcoupling/core/adaptor/api_25_2/delete_transformation.py +42 -0
  39. ansys/systemcoupling/core/adaptor/api_25_2/dimensionality.py +96 -0
  40. ansys/systemcoupling/core/adaptor/api_25_2/execution_control.py +266 -0
  41. ansys/systemcoupling/core/adaptor/api_25_2/execution_control_1.py +24 -0
  42. ansys/systemcoupling/core/adaptor/api_25_2/expression.py +20 -0
  43. ansys/systemcoupling/core/adaptor/api_25_2/expression_child.py +36 -0
  44. ansys/systemcoupling/core/adaptor/api_25_2/expression_function.py +20 -0
  45. ansys/systemcoupling/core/adaptor/api_25_2/expression_function_child.py +46 -0
  46. ansys/systemcoupling/core/adaptor/api_25_2/external_data_file.py +24 -0
  47. ansys/systemcoupling/core/adaptor/api_25_2/fluent_input.py +77 -0
  48. ansys/systemcoupling/core/adaptor/api_25_2/fmu_parameter.py +20 -0
  49. ansys/systemcoupling/core/adaptor/api_25_2/fmu_parameter_child.py +164 -0
  50. ansys/systemcoupling/core/adaptor/api_25_2/generate_input_file.py +53 -0
  51. ansys/systemcoupling/core/adaptor/api_25_2/get_add_data_transfer_group_commands.py +29 -0
  52. ansys/systemcoupling/core/adaptor/api_25_2/get_execution_command.py +30 -0
  53. ansys/systemcoupling/core/adaptor/api_25_2/get_machines.py +34 -0
  54. ansys/systemcoupling/core/adaptor/api_25_2/get_mode_shape_variables.py +29 -0
  55. ansys/systemcoupling/core/adaptor/api_25_2/get_region_names_for_participant.py +32 -0
  56. ansys/systemcoupling/core/adaptor/api_25_2/get_setup_summary.py +25 -0
  57. ansys/systemcoupling/core/adaptor/api_25_2/get_status_messages.py +52 -0
  58. ansys/systemcoupling/core/adaptor/api_25_2/get_supported_participant_types.py +13 -0
  59. ansys/systemcoupling/core/adaptor/api_25_2/get_thermal_data_transfer_options.py +32 -0
  60. ansys/systemcoupling/core/adaptor/api_25_2/get_transformation.py +43 -0
  61. ansys/systemcoupling/core/adaptor/api_25_2/global_stabilization.py +155 -0
  62. ansys/systemcoupling/core/adaptor/api_25_2/has_input_file_changed.py +36 -0
  63. ansys/systemcoupling/core/adaptor/api_25_2/import_system_coupling_input_file.py +36 -0
  64. ansys/systemcoupling/core/adaptor/api_25_2/initialize.py +27 -0
  65. ansys/systemcoupling/core/adaptor/api_25_2/instancing.py +25 -0
  66. ansys/systemcoupling/core/adaptor/api_25_2/instancing_child.py +114 -0
  67. ansys/systemcoupling/core/adaptor/api_25_2/interrupt.py +39 -0
  68. ansys/systemcoupling/core/adaptor/api_25_2/library.py +37 -0
  69. ansys/systemcoupling/core/adaptor/api_25_2/live_visualization.py +20 -0
  70. ansys/systemcoupling/core/adaptor/api_25_2/live_visualization_child.py +100 -0
  71. ansys/systemcoupling/core/adaptor/api_25_2/map.py +19 -0
  72. ansys/systemcoupling/core/adaptor/api_25_2/mapping_control.py +273 -0
  73. ansys/systemcoupling/core/adaptor/api_25_2/open.py +107 -0
  74. ansys/systemcoupling/core/adaptor/api_25_2/open_results_in_ensight.py +56 -0
  75. ansys/systemcoupling/core/adaptor/api_25_2/open_snapshot.py +37 -0
  76. ansys/systemcoupling/core/adaptor/api_25_2/output_control.py +134 -0
  77. ansys/systemcoupling/core/adaptor/api_25_2/parameter.py +20 -0
  78. ansys/systemcoupling/core/adaptor/api_25_2/parameter_child.py +60 -0
  79. ansys/systemcoupling/core/adaptor/api_25_2/partition_participants.py +148 -0
  80. ansys/systemcoupling/core/adaptor/api_25_2/properties.py +36 -0
  81. ansys/systemcoupling/core/adaptor/api_25_2/record_interactions.py +46 -0
  82. ansys/systemcoupling/core/adaptor/api_25_2/reference_frame.py +20 -0
  83. ansys/systemcoupling/core/adaptor/api_25_2/reference_frame_child.py +71 -0
  84. ansys/systemcoupling/core/adaptor/api_25_2/region.py +20 -0
  85. ansys/systemcoupling/core/adaptor/api_25_2/region_child.py +71 -0
  86. ansys/systemcoupling/core/adaptor/api_25_2/reload_expression_function_modules.py +14 -0
  87. ansys/systemcoupling/core/adaptor/api_25_2/results.py +89 -0
  88. ansys/systemcoupling/core/adaptor/api_25_2/save.py +53 -0
  89. ansys/systemcoupling/core/adaptor/api_25_2/save_snapshot.py +54 -0
  90. ansys/systemcoupling/core/adaptor/api_25_2/setup_root.py +243 -0
  91. ansys/systemcoupling/core/adaptor/api_25_2/show_plot.py +75 -0
  92. ansys/systemcoupling/core/adaptor/api_25_2/shutdown.py +25 -0
  93. ansys/systemcoupling/core/adaptor/api_25_2/side.py +20 -0
  94. ansys/systemcoupling/core/adaptor/api_25_2/side_child.py +56 -0
  95. ansys/systemcoupling/core/adaptor/api_25_2/solution_control.py +127 -0
  96. ansys/systemcoupling/core/adaptor/api_25_2/solution_root.py +134 -0
  97. ansys/systemcoupling/core/adaptor/api_25_2/solve.py +30 -0
  98. ansys/systemcoupling/core/adaptor/api_25_2/stabilization.py +157 -0
  99. ansys/systemcoupling/core/adaptor/api_25_2/step.py +57 -0
  100. ansys/systemcoupling/core/adaptor/api_25_2/transformation.py +21 -0
  101. ansys/systemcoupling/core/adaptor/api_25_2/transformation_child.py +62 -0
  102. ansys/systemcoupling/core/adaptor/api_25_2/type.py +39 -0
  103. ansys/systemcoupling/core/adaptor/api_25_2/unmapped_value_options.py +158 -0
  104. ansys/systemcoupling/core/adaptor/api_25_2/update_control.py +43 -0
  105. ansys/systemcoupling/core/adaptor/api_25_2/update_interfaces.py +19 -0
  106. ansys/systemcoupling/core/adaptor/api_25_2/update_participant.py +61 -0
  107. ansys/systemcoupling/core/adaptor/api_25_2/variable.py +20 -0
  108. ansys/systemcoupling/core/adaptor/api_25_2/variable_child.py +231 -0
  109. ansys/systemcoupling/core/adaptor/api_25_2/write_csv_chart_files.py +21 -0
  110. ansys/systemcoupling/core/adaptor/api_25_2/write_ensight.py +46 -0
  111. ansys/systemcoupling/core/adaptor/api_25_2/write_target_data.py +32 -0
  112. ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +4 -1
  113. ansys/systemcoupling/core/adaptor/impl/injected_commands.py +3 -1
  114. ansys/systemcoupling/core/charts/csv_chartdata.py +4 -3
  115. ansys/systemcoupling/core/charts/plot_functions.py +12 -4
  116. ansys/systemcoupling/core/charts/plotter.py +3 -2
  117. ansys/systemcoupling/core/client/grpc_client.py +11 -2
  118. ansys/systemcoupling/core/client/syc_container.py +40 -35
  119. ansys/systemcoupling/core/client/syc_process.py +5 -2
  120. ansys/systemcoupling/core/native_api/datamodel_metadata.py +3 -2
  121. ansys/systemcoupling/core/native_api/object_path.py +2 -1
  122. ansys/systemcoupling/core/syc_version.py +1 -1
  123. ansys/systemcoupling/core/util/assertion.py +38 -0
  124. ansys/systemcoupling/core/util/file_transfer.py +2 -1
  125. ansys/systemcoupling/core/util/yaml_helper.py +5 -5
  126. {ansys_systemcoupling_core-0.9.1.dist-info → ansys_systemcoupling_core-0.10.0.dist-info}/METADATA +14 -8
  127. {ansys_systemcoupling_core-0.9.1.dist-info → ansys_systemcoupling_core-0.10.0.dist-info}/RECORD +129 -18
  128. {ansys_systemcoupling_core-0.9.1.dist-info → ansys_systemcoupling_core-0.10.0.dist-info}/WHEEL +0 -0
  129. {ansys_systemcoupling_core-0.9.1.dist-info → ansys_systemcoupling_core-0.10.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,62 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ SHASH = "959d876aeac97f5477abdc73030965f3b5cf57f93648d88535c634374191caa8"
6
+
7
+ from ansys.systemcoupling.core.adaptor.impl.types import *
8
+
9
+ from ._clear_state import _clear_state
10
+ from .clear_state import clear_state
11
+ from .delete_snapshot import delete_snapshot
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
+ "clear_state",
28
+ "delete_snapshot",
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
+ clear_state: clear_state = clear_state
40
+ """
41
+ clear_state command of case_root.
42
+ """
43
+ delete_snapshot: delete_snapshot = delete_snapshot
44
+ """
45
+ delete_snapshot 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,18 @@
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(InjectedCommand):
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 = "clear_state"
17
+
18
+ cmd_name = "clear_state"
@@ -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 connect_ensight_dvs(Command):
9
+ """
10
+ Allow System Coupling to create DVS clients and connect these clients to
11
+ the DVS server that is already launched in another process/thread remotely.
12
+
13
+ When this command is issued, System Coupling is connected to remote EnSight
14
+ and the in-situ data streaming from system coupling to EnSight is ready.
15
+
16
+ Parameters
17
+ ----------
18
+ port : int, optional
19
+ DVS Server port that System Coupling would connect to. Default value is 50055.
20
+ host_name : str, optional
21
+ DVS Server host name that System Coupling would connect to. Default value is "127.0.0.1".
22
+
23
+ """
24
+
25
+ syc_name = "ConnectEnSightDVS"
26
+
27
+ argument_names = ["port", "host_name"]
28
+
29
+ class port(Integer):
30
+ """
31
+ DVS Server port that System Coupling would connect to. Default value is 50055.
32
+ """
33
+
34
+ syc_name = "Port"
35
+
36
+ class host_name(String):
37
+ """
38
+ DVS Server host name that System Coupling would connect to. Default value is "127.0.0.1".
39
+ """
40
+
41
+ syc_name = "HostName"
@@ -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
+ """
@@ -0,0 +1,272 @@
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 import attribute
8
+ from .execution_control import execution_control
9
+ from .external_data_file import external_data_file
10
+ from .fmu_parameter import fmu_parameter
11
+ from .parameter import parameter
12
+ from .properties import properties
13
+ from .record_interactions import record_interactions
14
+ from .region import region
15
+ from .update_control import update_control
16
+ from .variable import variable
17
+
18
+
19
+ class coupling_participant_child(Container):
20
+ """
21
+ Configure a coupling participant.
22
+
23
+ These settings are typically populated by using the ``add_participant``
24
+ command.
25
+ """
26
+
27
+ syc_name = "child_object_type"
28
+
29
+ child_names = [
30
+ "variable",
31
+ "parameter",
32
+ "attribute",
33
+ "region",
34
+ "properties",
35
+ "update_control",
36
+ "fmu_parameter",
37
+ "execution_control",
38
+ "external_data_file",
39
+ "record_interactions",
40
+ ]
41
+
42
+ variable: variable = variable
43
+ """
44
+ variable child of coupling_participant_child.
45
+ """
46
+ parameter: parameter = parameter
47
+ """
48
+ parameter child of coupling_participant_child.
49
+ """
50
+ attribute: attribute = attribute
51
+ """
52
+ attribute child of coupling_participant_child.
53
+ """
54
+ region: region = region
55
+ """
56
+ region child of coupling_participant_child.
57
+ """
58
+ properties: properties = properties
59
+ """
60
+ properties child of coupling_participant_child.
61
+ """
62
+ update_control: update_control = update_control
63
+ """
64
+ update_control child of coupling_participant_child.
65
+ """
66
+ fmu_parameter: fmu_parameter = fmu_parameter
67
+ """
68
+ fmu_parameter child of coupling_participant_child.
69
+ """
70
+ execution_control: execution_control = execution_control
71
+ """
72
+ execution_control child of coupling_participant_child.
73
+ """
74
+ external_data_file: external_data_file = external_data_file
75
+ """
76
+ external_data_file child of coupling_participant_child.
77
+ """
78
+ record_interactions: record_interactions = record_interactions
79
+ """
80
+ record_interactions child of coupling_participant_child.
81
+ """
82
+ property_names_types = [
83
+ ("participant_type", "ParticipantType", "str"),
84
+ ("participant_display_name", "ParticipantDisplayName", "str"),
85
+ ("display_name", "DisplayName", "str"),
86
+ ("dimension", "Dimension", "str"),
87
+ ("input_variables", "InputVariables", "StringListType"),
88
+ ("output_variables", "OutputVariables", "StringListType"),
89
+ ("input_parameters", "InputParameters", "StringListType"),
90
+ ("output_parameters", "OutputParameters", "StringListType"),
91
+ ("participant_file_loaded", "ParticipantFileLoaded", "str"),
92
+ ("logging_on", "LoggingOn", "bool"),
93
+ ("participant_analysis_type", "ParticipantAnalysisType", "str"),
94
+ ("use_new_apis", "UseNewAPIs", "bool"),
95
+ ("restarts_supported", "RestartsSupported", "bool"),
96
+ ("can_serialize_fmu_state", "CanSerializeFmuState", "bool"),
97
+ ("can_get_and_set_fmu_state", "CanGetAndSetFmuState", "bool"),
98
+ ("free_fmu_state", "FreeFmuState", "bool"),
99
+ ("instancing", "Instancing", "str"),
100
+ ]
101
+
102
+ @property
103
+ def participant_type(self) -> str:
104
+ """Coupling participant type.
105
+
106
+ Allowed values:
107
+ - \"DEFAULT\"
108
+ - \"CFX\"
109
+ - \"FLUENT\"
110
+ - \"MAPDL\"
111
+ - \"AEDT\"
112
+ - \"FMU\"
113
+ - \"FMU-PROXY\"
114
+ - \"EXTERNALDATA\"
115
+ - \"FORTE\"
116
+ - \"DEFAULT-SRV\"
117
+ - \"MECH-SRV\"
118
+ - \"CFD-SRV\"
119
+ - \"SCDT-SRV\"
120
+ - \"THERMAL-DESKTOP\"
121
+ - \"LS-DYNA\"
122
+ - \"ROCKY\" """
123
+ return self.get_property_state("participant_type")
124
+
125
+ @participant_type.setter
126
+ def participant_type(self, value: str):
127
+ self.set_property_state("participant_type", value)
128
+
129
+ @property
130
+ def participant_display_name(self) -> str:
131
+ """Participant's display name as defined by the participant solver (as
132
+ opposed to System Coupling's ``display_name`` for the participant)."""
133
+ return self.get_property_state("participant_display_name")
134
+
135
+ @participant_display_name.setter
136
+ def participant_display_name(self, value: str):
137
+ self.set_property_state("participant_display_name", value)
138
+
139
+ @property
140
+ def display_name(self) -> str:
141
+ """Participant's display name as defined in System Coupling."""
142
+ return self.get_property_state("display_name")
143
+
144
+ @display_name.setter
145
+ def display_name(self, value: str):
146
+ self.set_property_state("display_name", value)
147
+
148
+ @property
149
+ def dimension(self) -> str:
150
+ """Dimension of the participant (\"2D\" or \"3D\")."""
151
+ return self.get_property_state("dimension")
152
+
153
+ @dimension.setter
154
+ def dimension(self, value: str):
155
+ self.set_property_state("dimension", value)
156
+
157
+ @property
158
+ def input_variables(self) -> StringListType:
159
+ """Input variables for the region or FMU."""
160
+ return self.get_property_state("input_variables")
161
+
162
+ @input_variables.setter
163
+ def input_variables(self, value: StringListType):
164
+ self.set_property_state("input_variables", value)
165
+
166
+ @property
167
+ def output_variables(self) -> StringListType:
168
+ """Output variables for the region or FMU."""
169
+ return self.get_property_state("output_variables")
170
+
171
+ @output_variables.setter
172
+ def output_variables(self, value: StringListType):
173
+ self.set_property_state("output_variables", value)
174
+
175
+ @property
176
+ def input_parameters(self) -> StringListType:
177
+ """Input parameters for the solver."""
178
+ return self.get_property_state("input_parameters")
179
+
180
+ @input_parameters.setter
181
+ def input_parameters(self, value: StringListType):
182
+ self.set_property_state("input_parameters", value)
183
+
184
+ @property
185
+ def output_parameters(self) -> StringListType:
186
+ """Output parameters for the solver."""
187
+ return self.get_property_state("output_parameters")
188
+
189
+ @output_parameters.setter
190
+ def output_parameters(self, value: StringListType):
191
+ self.set_property_state("output_parameters", value)
192
+
193
+ @property
194
+ def participant_file_loaded(self) -> str:
195
+ """File used to generate the participant."""
196
+ return self.get_property_state("participant_file_loaded")
197
+
198
+ @participant_file_loaded.setter
199
+ def participant_file_loaded(self, value: str):
200
+ self.set_property_state("participant_file_loaded", value)
201
+
202
+ @property
203
+ def logging_on(self) -> bool:
204
+ """Specifies whether logging is activated for the participant."""
205
+ return self.get_property_state("logging_on")
206
+
207
+ @logging_on.setter
208
+ def logging_on(self, value: bool):
209
+ self.set_property_state("logging_on", value)
210
+
211
+ @property
212
+ def participant_analysis_type(self) -> str:
213
+ """Coupling participant analysis type (\"Steady\" or \"Transient\")."""
214
+ return self.get_property_state("participant_analysis_type")
215
+
216
+ @participant_analysis_type.setter
217
+ def participant_analysis_type(self, value: str):
218
+ self.set_property_state("participant_analysis_type", value)
219
+
220
+ @property
221
+ def use_new_apis(self) -> bool:
222
+ """Controls whether Fluent/MAPDL/AEDT/CFX participant should communicate using new APIs."""
223
+ return self.get_property_state("use_new_apis")
224
+
225
+ @use_new_apis.setter
226
+ def use_new_apis(self, value: bool):
227
+ self.set_property_state("use_new_apis", value)
228
+
229
+ @property
230
+ def restarts_supported(self) -> bool:
231
+ """Indicates whether the participant supports restarts."""
232
+ return self.get_property_state("restarts_supported")
233
+
234
+ @restarts_supported.setter
235
+ def restarts_supported(self, value: bool):
236
+ self.set_property_state("restarts_supported", value)
237
+
238
+ @property
239
+ def can_serialize_fmu_state(self) -> bool:
240
+ """Indicates whether the FMU can state can be serialized."""
241
+ return self.get_property_state("can_serialize_fmu_state")
242
+
243
+ @can_serialize_fmu_state.setter
244
+ def can_serialize_fmu_state(self, value: bool):
245
+ self.set_property_state("can_serialize_fmu_state", value)
246
+
247
+ @property
248
+ def can_get_and_set_fmu_state(self) -> bool:
249
+ """Indicates whether the FMU can get and set its state."""
250
+ return self.get_property_state("can_get_and_set_fmu_state")
251
+
252
+ @can_get_and_set_fmu_state.setter
253
+ def can_get_and_set_fmu_state(self, value: bool):
254
+ self.set_property_state("can_get_and_set_fmu_state", value)
255
+
256
+ @property
257
+ def free_fmu_state(self) -> bool:
258
+ """Optionally Frees the FMU state prior to calling CanGetAndSetFmuState"""
259
+ return self.get_property_state("free_fmu_state")
260
+
261
+ @free_fmu_state.setter
262
+ def free_fmu_state(self, value: bool):
263
+ self.set_property_state("free_fmu_state", value)
264
+
265
+ @property
266
+ def instancing(self) -> str:
267
+ """Set instancing on the participant."""
268
+ return self.get_property_state("instancing")
269
+
270
+ @instancing.setter
271
+ def instancing(self, value: str):
272
+ self.set_property_state("instancing", value)
@@ -0,0 +1,28 @@
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 create_restart_point(Command):
9
+ """
10
+ Interactive command that creates a restart point at the end of the
11
+ last completed coupling step.
12
+
13
+ Signals the System Coupling service and all coupling participants that a
14
+ restart point should be created before the next coupling step begins. The
15
+ restart point is created in addition to restart points created by the
16
+ '``output_control`` setting in the data model.
17
+
18
+ Note that some participants write their restart files only when the
19
+ coupling run resumes, so their files will not be available immediately
20
+ after the command is issued.
21
+
22
+ Results information for the coupling step is written to a file named
23
+ according to the convention ``Results_step<#>|iter<#>.h5``, where ``#`` is the number of
24
+ the coupling step or iteration. The restart files are written to the "SyC"
25
+ directory, which is automatically created by System Coupling.
26
+ """
27
+
28
+ syc_name = "CreateRestartPoint"
@@ -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 .data_transfer_child import data_transfer_child
8
+
9
+
10
+ class data_transfer(NamedContainer[data_transfer_child]):
11
+ """
12
+ Configure data transfers for a coupling interface.
13
+ """
14
+
15
+ syc_name = "DataTransfer"
16
+
17
+ child_object_type: data_transfer_child = data_transfer_child
18
+ """
19
+ child_object_type of data_transfer.
20
+ """