ansys-systemcoupling-core 0.4.1__py3-none-any.whl → 0.5.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 (123) hide show
  1. ansys/systemcoupling/core/adaptor/api_23_1/_clear_state.py +13 -0
  2. ansys/systemcoupling/core/adaptor/api_23_1/case_root.py +7 -1
  3. ansys/systemcoupling/core/adaptor/api_23_1/clear_state.py +4 -2
  4. ansys/systemcoupling/core/adaptor/api_23_2/_clear_state.py +13 -0
  5. ansys/systemcoupling/core/adaptor/api_23_2/case_root.py +7 -1
  6. ansys/systemcoupling/core/adaptor/api_23_2/clear_state.py +4 -2
  7. ansys/systemcoupling/core/adaptor/api_24_1/_clear_state.py +13 -0
  8. ansys/systemcoupling/core/adaptor/api_24_1/case_root.py +7 -1
  9. ansys/systemcoupling/core/adaptor/api_24_1/clear_state.py +4 -2
  10. ansys/systemcoupling/core/adaptor/api_24_2/_add_participant.py +80 -0
  11. ansys/systemcoupling/core/adaptor/api_24_2/_clear_state.py +13 -0
  12. ansys/systemcoupling/core/adaptor/api_24_2/_solve.py +13 -0
  13. ansys/systemcoupling/core/adaptor/api_24_2/abort.py +39 -0
  14. ansys/systemcoupling/core/adaptor/api_24_2/activate_hidden.py +46 -0
  15. ansys/systemcoupling/core/adaptor/api_24_2/add_aerodamping_data_transfers.py +43 -0
  16. ansys/systemcoupling/core/adaptor/api_24_2/add_data_transfer.py +190 -0
  17. ansys/systemcoupling/core/adaptor/api_24_2/add_data_transfer_by_display_names.py +191 -0
  18. ansys/systemcoupling/core/adaptor/api_24_2/add_expression_function.py +61 -0
  19. ansys/systemcoupling/core/adaptor/api_24_2/add_fsi_data_transfers.py +43 -0
  20. ansys/systemcoupling/core/adaptor/api_24_2/add_interface.py +77 -0
  21. ansys/systemcoupling/core/adaptor/api_24_2/add_interface_by_display_names.py +78 -0
  22. ansys/systemcoupling/core/adaptor/api_24_2/add_named_expression.py +42 -0
  23. ansys/systemcoupling/core/adaptor/api_24_2/add_ordered_data_transfers.py +32 -0
  24. ansys/systemcoupling/core/adaptor/api_24_2/add_participant.py +162 -0
  25. ansys/systemcoupling/core/adaptor/api_24_2/add_reference_frame.py +40 -0
  26. ansys/systemcoupling/core/adaptor/api_24_2/add_thermal_data_transfers.py +43 -0
  27. ansys/systemcoupling/core/adaptor/api_24_2/add_transformation.py +102 -0
  28. ansys/systemcoupling/core/adaptor/api_24_2/analysis_control.py +283 -0
  29. ansys/systemcoupling/core/adaptor/api_24_2/apip.py +33 -0
  30. ansys/systemcoupling/core/adaptor/api_24_2/ascii_output.py +44 -0
  31. ansys/systemcoupling/core/adaptor/api_24_2/attribute.py +20 -0
  32. ansys/systemcoupling/core/adaptor/api_24_2/attribute_child.py +54 -0
  33. ansys/systemcoupling/core/adaptor/api_24_2/automatic_alignment_options.py +46 -0
  34. ansys/systemcoupling/core/adaptor/api_24_2/available_ports.py +40 -0
  35. ansys/systemcoupling/core/adaptor/api_24_2/avoid_data_reconstruction.py +46 -0
  36. ansys/systemcoupling/core/adaptor/api_24_2/case_root.py +62 -0
  37. ansys/systemcoupling/core/adaptor/api_24_2/clear_state.py +18 -0
  38. ansys/systemcoupling/core/adaptor/api_24_2/connect_ensight_dvs.py +41 -0
  39. ansys/systemcoupling/core/adaptor/api_24_2/coupling_interface.py +20 -0
  40. ansys/systemcoupling/core/adaptor/api_24_2/coupling_interface_child.py +42 -0
  41. ansys/systemcoupling/core/adaptor/api_24_2/coupling_participant.py +23 -0
  42. ansys/systemcoupling/core/adaptor/api_24_2/coupling_participant_child.py +265 -0
  43. ansys/systemcoupling/core/adaptor/api_24_2/create_restart_point.py +29 -0
  44. ansys/systemcoupling/core/adaptor/api_24_2/data_transfer.py +20 -0
  45. ansys/systemcoupling/core/adaptor/api_24_2/data_transfer_child.py +187 -0
  46. ansys/systemcoupling/core/adaptor/api_24_2/delete_snapshot.py +28 -0
  47. ansys/systemcoupling/core/adaptor/api_24_2/delete_transformation.py +42 -0
  48. ansys/systemcoupling/core/adaptor/api_24_2/dimensionality.py +96 -0
  49. ansys/systemcoupling/core/adaptor/api_24_2/execution_control.py +246 -0
  50. ansys/systemcoupling/core/adaptor/api_24_2/execution_control_1.py +24 -0
  51. ansys/systemcoupling/core/adaptor/api_24_2/expression.py +20 -0
  52. ansys/systemcoupling/core/adaptor/api_24_2/expression_child.py +36 -0
  53. ansys/systemcoupling/core/adaptor/api_24_2/expression_function.py +20 -0
  54. ansys/systemcoupling/core/adaptor/api_24_2/expression_function_child.py +46 -0
  55. ansys/systemcoupling/core/adaptor/api_24_2/external_data_file.py +24 -0
  56. ansys/systemcoupling/core/adaptor/api_24_2/fluent_input.py +77 -0
  57. ansys/systemcoupling/core/adaptor/api_24_2/fmu_parameter.py +20 -0
  58. ansys/systemcoupling/core/adaptor/api_24_2/fmu_parameter_child.py +156 -0
  59. ansys/systemcoupling/core/adaptor/api_24_2/generate_input_file.py +41 -0
  60. ansys/systemcoupling/core/adaptor/api_24_2/get_add_data_transfer_group_commands.py +29 -0
  61. ansys/systemcoupling/core/adaptor/api_24_2/get_execution_command.py +30 -0
  62. ansys/systemcoupling/core/adaptor/api_24_2/get_machines.py +13 -0
  63. ansys/systemcoupling/core/adaptor/api_24_2/get_mode_shape_variables.py +29 -0
  64. ansys/systemcoupling/core/adaptor/api_24_2/get_region_names_for_participant.py +31 -0
  65. ansys/systemcoupling/core/adaptor/api_24_2/get_setup_summary.py +25 -0
  66. ansys/systemcoupling/core/adaptor/api_24_2/get_status_messages.py +52 -0
  67. ansys/systemcoupling/core/adaptor/api_24_2/get_supported_participant_types.py +13 -0
  68. ansys/systemcoupling/core/adaptor/api_24_2/get_thermal_data_transfer_options.py +32 -0
  69. ansys/systemcoupling/core/adaptor/api_24_2/get_transformation.py +43 -0
  70. ansys/systemcoupling/core/adaptor/api_24_2/global_stabilization.py +143 -0
  71. ansys/systemcoupling/core/adaptor/api_24_2/has_input_file_changed.py +36 -0
  72. ansys/systemcoupling/core/adaptor/api_24_2/import_system_coupling_input_file.py +36 -0
  73. ansys/systemcoupling/core/adaptor/api_24_2/initialize.py +27 -0
  74. ansys/systemcoupling/core/adaptor/api_24_2/instancing.py +23 -0
  75. ansys/systemcoupling/core/adaptor/api_24_2/instancing_child.py +62 -0
  76. ansys/systemcoupling/core/adaptor/api_24_2/interrupt.py +39 -0
  77. ansys/systemcoupling/core/adaptor/api_24_2/library.py +37 -0
  78. ansys/systemcoupling/core/adaptor/api_24_2/live_visualization.py +20 -0
  79. ansys/systemcoupling/core/adaptor/api_24_2/live_visualization_child.py +100 -0
  80. ansys/systemcoupling/core/adaptor/api_24_2/mapping_control.py +239 -0
  81. ansys/systemcoupling/core/adaptor/api_24_2/open.py +102 -0
  82. ansys/systemcoupling/core/adaptor/api_24_2/open_results_in_ensight.py +56 -0
  83. ansys/systemcoupling/core/adaptor/api_24_2/open_snapshot.py +37 -0
  84. ansys/systemcoupling/core/adaptor/api_24_2/output_control.py +134 -0
  85. ansys/systemcoupling/core/adaptor/api_24_2/parameter.py +20 -0
  86. ansys/systemcoupling/core/adaptor/api_24_2/parameter_child.py +56 -0
  87. ansys/systemcoupling/core/adaptor/api_24_2/partition_participants.py +138 -0
  88. ansys/systemcoupling/core/adaptor/api_24_2/properties.py +36 -0
  89. ansys/systemcoupling/core/adaptor/api_24_2/record_interactions.py +46 -0
  90. ansys/systemcoupling/core/adaptor/api_24_2/reference_frame.py +20 -0
  91. ansys/systemcoupling/core/adaptor/api_24_2/reference_frame_child.py +71 -0
  92. ansys/systemcoupling/core/adaptor/api_24_2/region.py +20 -0
  93. ansys/systemcoupling/core/adaptor/api_24_2/region_child.py +71 -0
  94. ansys/systemcoupling/core/adaptor/api_24_2/reload_expression_function_modules.py +14 -0
  95. ansys/systemcoupling/core/adaptor/api_24_2/results.py +89 -0
  96. ansys/systemcoupling/core/adaptor/api_24_2/save.py +51 -0
  97. ansys/systemcoupling/core/adaptor/api_24_2/save_snapshot.py +54 -0
  98. ansys/systemcoupling/core/adaptor/api_24_2/setup_root.py +251 -0
  99. ansys/systemcoupling/core/adaptor/api_24_2/shutdown.py +25 -0
  100. ansys/systemcoupling/core/adaptor/api_24_2/side.py +20 -0
  101. ansys/systemcoupling/core/adaptor/api_24_2/side_child.py +56 -0
  102. ansys/systemcoupling/core/adaptor/api_24_2/solution_control.py +115 -0
  103. ansys/systemcoupling/core/adaptor/api_24_2/solution_root.py +116 -0
  104. ansys/systemcoupling/core/adaptor/api_24_2/solve.py +30 -0
  105. ansys/systemcoupling/core/adaptor/api_24_2/stabilization.py +157 -0
  106. ansys/systemcoupling/core/adaptor/api_24_2/start_participants.py +47 -0
  107. ansys/systemcoupling/core/adaptor/api_24_2/step.py +57 -0
  108. ansys/systemcoupling/core/adaptor/api_24_2/transformation.py +21 -0
  109. ansys/systemcoupling/core/adaptor/api_24_2/transformation_child.py +62 -0
  110. ansys/systemcoupling/core/adaptor/api_24_2/type.py +38 -0
  111. ansys/systemcoupling/core/adaptor/api_24_2/unmapped_value_options.py +158 -0
  112. ansys/systemcoupling/core/adaptor/api_24_2/update_control.py +43 -0
  113. ansys/systemcoupling/core/adaptor/api_24_2/update_participant.py +61 -0
  114. ansys/systemcoupling/core/adaptor/api_24_2/variable.py +20 -0
  115. ansys/systemcoupling/core/adaptor/api_24_2/variable_child.py +231 -0
  116. ansys/systemcoupling/core/adaptor/api_24_2/write_csv_chart_files.py +21 -0
  117. ansys/systemcoupling/core/adaptor/api_24_2/write_ensight.py +46 -0
  118. ansys/systemcoupling/core/adaptor/impl/injected_commands.py +18 -0
  119. ansys/systemcoupling/core/util/logging.py +1 -1
  120. {ansys_systemcoupling_core-0.4.1.dist-info → ansys_systemcoupling_core-0.5.0.dist-info}/METADATA +10 -10
  121. {ansys_systemcoupling_core-0.4.1.dist-info → ansys_systemcoupling_core-0.5.0.dist-info}/RECORD +123 -12
  122. {ansys_systemcoupling_core-0.4.1.dist-info → ansys_systemcoupling_core-0.5.0.dist-info}/LICENSE +0 -0
  123. {ansys_systemcoupling_core-0.4.1.dist-info → ansys_systemcoupling_core-0.5.0.dist-info}/WHEEL +0 -0
@@ -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,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 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
+ ("surface_volume_mapping", "SurfaceVolumeMapping", "bool"),
19
+ ]
20
+
21
+ @property
22
+ def volume_mapping(self) -> bool:
23
+ """UNDOCUMENTED"""
24
+ return self.get_property_state("volume_mapping")
25
+
26
+ @volume_mapping.setter
27
+ def volume_mapping(self, value: bool):
28
+ self.set_property_state("volume_mapping", value)
29
+
30
+ @property
31
+ def surface_mapping(self) -> bool:
32
+ """UNDOCUMENTED"""
33
+ return self.get_property_state("surface_mapping")
34
+
35
+ @surface_mapping.setter
36
+ def surface_mapping(self, value: bool):
37
+ self.set_property_state("surface_mapping", value)
38
+
39
+ @property
40
+ def surface_volume_mapping(self) -> bool:
41
+ """UNDOCUMENTED"""
42
+ return self.get_property_state("surface_volume_mapping")
43
+
44
+ @surface_volume_mapping.setter
45
+ def surface_volume_mapping(self, value: bool):
46
+ self.set_property_state("surface_volume_mapping", value)
@@ -0,0 +1,62 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ SHASH = "34d232b251e1d4a5a6b88e3deb9591863eac6afb1446228951276f9b1700da9f"
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,265 @@
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 .execution_control import execution_control
8
+ from .external_data_file import external_data_file
9
+ from .fmu_parameter import fmu_parameter
10
+ from .parameter import parameter
11
+ from .properties import properties
12
+ from .record_interactions import record_interactions
13
+ from .region import region
14
+ from .update_control import update_control
15
+ from .variable import variable
16
+
17
+
18
+ class coupling_participant_child(Container):
19
+ """
20
+ Configure a coupling participant.
21
+
22
+ These settings are typically populated by using the ``add_participant``
23
+ command.
24
+ """
25
+
26
+ syc_name = "child_object_type"
27
+
28
+ child_names = [
29
+ "variable",
30
+ "parameter",
31
+ "region",
32
+ "properties",
33
+ "update_control",
34
+ "fmu_parameter",
35
+ "execution_control",
36
+ "external_data_file",
37
+ "record_interactions",
38
+ ]
39
+
40
+ variable: variable = variable
41
+ """
42
+ variable child of coupling_participant_child.
43
+ """
44
+ parameter: parameter = parameter
45
+ """
46
+ parameter child of coupling_participant_child.
47
+ """
48
+ region: region = region
49
+ """
50
+ region child of coupling_participant_child.
51
+ """
52
+ properties: properties = properties
53
+ """
54
+ properties child of coupling_participant_child.
55
+ """
56
+ update_control: update_control = update_control
57
+ """
58
+ update_control child of coupling_participant_child.
59
+ """
60
+ fmu_parameter: fmu_parameter = fmu_parameter
61
+ """
62
+ fmu_parameter child of coupling_participant_child.
63
+ """
64
+ execution_control: execution_control = execution_control
65
+ """
66
+ execution_control child of coupling_participant_child.
67
+ """
68
+ external_data_file: external_data_file = external_data_file
69
+ """
70
+ external_data_file child of coupling_participant_child.
71
+ """
72
+ record_interactions: record_interactions = record_interactions
73
+ """
74
+ record_interactions child of coupling_participant_child.
75
+ """
76
+ property_names_types = [
77
+ ("participant_type", "ParticipantType", "str"),
78
+ ("participant_display_name", "ParticipantDisplayName", "str"),
79
+ ("display_name", "DisplayName", "str"),
80
+ ("dimension", "Dimension", "str"),
81
+ ("input_variables", "InputVariables", "StringListType"),
82
+ ("output_variables", "OutputVariables", "StringListType"),
83
+ ("input_parameters", "InputParameters", "StringListType"),
84
+ ("output_parameters", "OutputParameters", "StringListType"),
85
+ ("participant_file_loaded", "ParticipantFileLoaded", "str"),
86
+ ("logging_on", "LoggingOn", "bool"),
87
+ ("participant_analysis_type", "ParticipantAnalysisType", "str"),
88
+ ("use_new_apis", "UseNewAPIs", "bool"),
89
+ ("restarts_supported", "RestartsSupported", "bool"),
90
+ ("can_serialize_fmu_state", "CanSerializeFmuState", "bool"),
91
+ ("can_get_and_set_fmu_state", "CanGetAndSetFmuState", "bool"),
92
+ ("free_fmu_state", "FreeFmuState", "bool"),
93
+ ("instancing", "Instancing", "str"),
94
+ ]
95
+
96
+ @property
97
+ def participant_type(self) -> str:
98
+ """Coupling participant type.
99
+
100
+ Allowed values:
101
+ - \"DEFAULT\"
102
+ - \"CFX\"
103
+ - \"FLUENT\"
104
+ - \"MAPDL\"
105
+ - \"AEDT\"
106
+ - \"FMU\"
107
+ - \"FMU-PROXY\"
108
+ - \"EXTERNALDATA\"
109
+ - \"FORTE\"
110
+ - \"DEFAULT-SRV\"
111
+ - \"MECH-SRV\"
112
+ - \"CFD-SRV\"
113
+ - \"SCDT-SRV\"
114
+ - \"THERMAL-DESKTOP\"
115
+ - \"LS-DYNA\" """
116
+ return self.get_property_state("participant_type")
117
+
118
+ @participant_type.setter
119
+ def participant_type(self, value: str):
120
+ self.set_property_state("participant_type", value)
121
+
122
+ @property
123
+ def participant_display_name(self) -> str:
124
+ """Participant's display name as defined by the participant solver (as
125
+ opposed to System Coupling's ``display_name`` for the participant)."""
126
+ return self.get_property_state("participant_display_name")
127
+
128
+ @participant_display_name.setter
129
+ def participant_display_name(self, value: str):
130
+ self.set_property_state("participant_display_name", value)
131
+
132
+ @property
133
+ def display_name(self) -> str:
134
+ """Participant's display name as defined in System Coupling."""
135
+ return self.get_property_state("display_name")
136
+
137
+ @display_name.setter
138
+ def display_name(self, value: str):
139
+ self.set_property_state("display_name", value)
140
+
141
+ @property
142
+ def dimension(self) -> str:
143
+ """Dimension of the participant (\"2D\" or \"3D\")."""
144
+ return self.get_property_state("dimension")
145
+
146
+ @dimension.setter
147
+ def dimension(self, value: str):
148
+ self.set_property_state("dimension", value)
149
+
150
+ @property
151
+ def input_variables(self) -> StringListType:
152
+ """Input variables for the region or FMU."""
153
+ return self.get_property_state("input_variables")
154
+
155
+ @input_variables.setter
156
+ def input_variables(self, value: StringListType):
157
+ self.set_property_state("input_variables", value)
158
+
159
+ @property
160
+ def output_variables(self) -> StringListType:
161
+ """Output variables for the region or FMU."""
162
+ return self.get_property_state("output_variables")
163
+
164
+ @output_variables.setter
165
+ def output_variables(self, value: StringListType):
166
+ self.set_property_state("output_variables", value)
167
+
168
+ @property
169
+ def input_parameters(self) -> StringListType:
170
+ """Input parameters for the solver."""
171
+ return self.get_property_state("input_parameters")
172
+
173
+ @input_parameters.setter
174
+ def input_parameters(self, value: StringListType):
175
+ self.set_property_state("input_parameters", value)
176
+
177
+ @property
178
+ def output_parameters(self) -> StringListType:
179
+ """Output parameters for the solver."""
180
+ return self.get_property_state("output_parameters")
181
+
182
+ @output_parameters.setter
183
+ def output_parameters(self, value: StringListType):
184
+ self.set_property_state("output_parameters", value)
185
+
186
+ @property
187
+ def participant_file_loaded(self) -> str:
188
+ """File used to generate the participant."""
189
+ return self.get_property_state("participant_file_loaded")
190
+
191
+ @participant_file_loaded.setter
192
+ def participant_file_loaded(self, value: str):
193
+ self.set_property_state("participant_file_loaded", value)
194
+
195
+ @property
196
+ def logging_on(self) -> bool:
197
+ """Specifies whether logging is activated for the participant."""
198
+ return self.get_property_state("logging_on")
199
+
200
+ @logging_on.setter
201
+ def logging_on(self, value: bool):
202
+ self.set_property_state("logging_on", value)
203
+
204
+ @property
205
+ def participant_analysis_type(self) -> str:
206
+ """Coupling participant analysis type (\"Steady\" or \"Transient\")."""
207
+ return self.get_property_state("participant_analysis_type")
208
+
209
+ @participant_analysis_type.setter
210
+ def participant_analysis_type(self, value: str):
211
+ self.set_property_state("participant_analysis_type", value)
212
+
213
+ @property
214
+ def use_new_apis(self) -> bool:
215
+ """Controls whether Fluent/MAPDL/AEDT/CFX participant should communicate using new APIs."""
216
+ return self.get_property_state("use_new_apis")
217
+
218
+ @use_new_apis.setter
219
+ def use_new_apis(self, value: bool):
220
+ self.set_property_state("use_new_apis", value)
221
+
222
+ @property
223
+ def restarts_supported(self) -> bool:
224
+ """Indicates whether the participant supports restarts."""
225
+ return self.get_property_state("restarts_supported")
226
+
227
+ @restarts_supported.setter
228
+ def restarts_supported(self, value: bool):
229
+ self.set_property_state("restarts_supported", value)
230
+
231
+ @property
232
+ def can_serialize_fmu_state(self) -> bool:
233
+ """Indicates whether the FMU can state can be serialized."""
234
+ return self.get_property_state("can_serialize_fmu_state")
235
+
236
+ @can_serialize_fmu_state.setter
237
+ def can_serialize_fmu_state(self, value: bool):
238
+ self.set_property_state("can_serialize_fmu_state", value)
239
+
240
+ @property
241
+ def can_get_and_set_fmu_state(self) -> bool:
242
+ """Indicates whether the FMU can get and set its state."""
243
+ return self.get_property_state("can_get_and_set_fmu_state")
244
+
245
+ @can_get_and_set_fmu_state.setter
246
+ def can_get_and_set_fmu_state(self, value: bool):
247
+ self.set_property_state("can_get_and_set_fmu_state", value)
248
+
249
+ @property
250
+ def free_fmu_state(self) -> bool:
251
+ """Optionally Frees the FMU state prior to calling CanGetAndSetFmuState"""
252
+ return self.get_property_state("free_fmu_state")
253
+
254
+ @free_fmu_state.setter
255
+ def free_fmu_state(self, value: bool):
256
+ self.set_property_state("free_fmu_state", value)
257
+
258
+ @property
259
+ def instancing(self) -> str:
260
+ """Set instancing on the participant."""
261
+ return self.get_property_state("instancing")
262
+
263
+ @instancing.setter
264
+ def instancing(self, value: str):
265
+ self.set_property_state("instancing", value)
@@ -0,0 +1,29 @@
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_#.h5``, where ``_#`` is the number of
24
+ the coupling step. By default, the restart files are written to the ``SyC``
25
+ directory, which is automatically created by the System Coupling service
26
+ when restart points are created.
27
+ """
28
+
29
+ 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
+ """