ansys-systemcoupling-core 0.6__py3-none-any.whl → 0.8.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.
- ansys/systemcoupling/core/adaptor/api_23_1/add_interface.py +2 -2
- ansys/systemcoupling/core/adaptor/api_23_1/add_interface_by_display_names.py +2 -2
- ansys/systemcoupling/core/adaptor/api_23_1/add_transformation.py +1 -1
- ansys/systemcoupling/core/adaptor/api_23_1/partition_participants.py +3 -3
- ansys/systemcoupling/core/adaptor/api_23_1/show_plot.py +1 -1
- ansys/systemcoupling/core/adaptor/api_23_1/start_participants.py +1 -1
- ansys/systemcoupling/core/adaptor/api_23_2/add_interface.py +2 -2
- ansys/systemcoupling/core/adaptor/api_23_2/add_interface_by_display_names.py +2 -2
- ansys/systemcoupling/core/adaptor/api_23_2/add_transformation.py +1 -1
- ansys/systemcoupling/core/adaptor/api_23_2/partition_participants.py +3 -3
- ansys/systemcoupling/core/adaptor/api_23_2/show_plot.py +1 -1
- ansys/systemcoupling/core/adaptor/api_23_2/start_participants.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_1/add_aerodamping_data_transfers.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_1/add_interface.py +2 -2
- ansys/systemcoupling/core/adaptor/api_24_1/add_interface_by_display_names.py +2 -2
- ansys/systemcoupling/core/adaptor/api_24_1/add_transformation.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_1/partition_participants.py +3 -3
- ansys/systemcoupling/core/adaptor/api_24_1/show_plot.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_1/start_participants.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_2/add_aerodamping_data_transfers.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_2/add_interface.py +2 -2
- ansys/systemcoupling/core/adaptor/api_24_2/add_interface_by_display_names.py +2 -2
- ansys/systemcoupling/core/adaptor/api_24_2/add_transformation.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_2/partition_participants.py +3 -3
- ansys/systemcoupling/core/adaptor/api_24_2/show_plot.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_2/start_participants.py +1 -1
- ansys/systemcoupling/core/adaptor/api_25_1/_add_participant.py +80 -0
- ansys/systemcoupling/core/adaptor/api_25_1/_clear_state.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_1/_solve.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_1/abort.py +39 -0
- ansys/systemcoupling/core/adaptor/api_25_1/activate_hidden.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_aerodamping_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_data_transfer.py +190 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_data_transfer_by_display_names.py +191 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_expression_function.py +61 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_flow_boundary_data_transfers.py +32 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_fsi_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_interface.py +77 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_interface_by_display_names.py +78 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_named_expression.py +42 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_ordered_data_transfers.py +32 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_participant.py +162 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_reference_frame.py +40 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_thermal_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_transformation.py +102 -0
- ansys/systemcoupling/core/adaptor/api_25_1/analysis_control.py +293 -0
- ansys/systemcoupling/core/adaptor/api_25_1/apip.py +33 -0
- ansys/systemcoupling/core/adaptor/api_25_1/ascii_output.py +44 -0
- ansys/systemcoupling/core/adaptor/api_25_1/attribute.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/attribute_child.py +64 -0
- ansys/systemcoupling/core/adaptor/api_25_1/automatic_alignment_options.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_1/available_ports.py +40 -0
- ansys/systemcoupling/core/adaptor/api_25_1/avoid_data_reconstruction.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_1/case_root.py +62 -0
- ansys/systemcoupling/core/adaptor/api_25_1/clear_state.py +18 -0
- ansys/systemcoupling/core/adaptor/api_25_1/connect_ensight_dvs.py +41 -0
- ansys/systemcoupling/core/adaptor/api_25_1/coupling_interface.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/coupling_interface_child.py +42 -0
- ansys/systemcoupling/core/adaptor/api_25_1/coupling_participant.py +23 -0
- ansys/systemcoupling/core/adaptor/api_25_1/coupling_participant_child.py +271 -0
- ansys/systemcoupling/core/adaptor/api_25_1/create_restart_point.py +29 -0
- ansys/systemcoupling/core/adaptor/api_25_1/data_transfer.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/data_transfer_child.py +187 -0
- ansys/systemcoupling/core/adaptor/api_25_1/delete_snapshot.py +28 -0
- ansys/systemcoupling/core/adaptor/api_25_1/delete_transformation.py +42 -0
- ansys/systemcoupling/core/adaptor/api_25_1/dimensionality.py +96 -0
- ansys/systemcoupling/core/adaptor/api_25_1/execution_control.py +246 -0
- ansys/systemcoupling/core/adaptor/api_25_1/execution_control_1.py +24 -0
- ansys/systemcoupling/core/adaptor/api_25_1/expression.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/expression_child.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_1/expression_function.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/expression_function_child.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_1/external_data_file.py +24 -0
- ansys/systemcoupling/core/adaptor/api_25_1/fluent_input.py +77 -0
- ansys/systemcoupling/core/adaptor/api_25_1/fmu_parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/fmu_parameter_child.py +164 -0
- ansys/systemcoupling/core/adaptor/api_25_1/generate_input_file.py +41 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_add_data_transfer_group_commands.py +29 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_execution_command.py +30 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_machines.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_mode_shape_variables.py +29 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_region_names_for_participant.py +31 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_setup_summary.py +25 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_status_messages.py +52 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_supported_participant_types.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_thermal_data_transfer_options.py +32 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_transformation.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_1/global_stabilization.py +155 -0
- ansys/systemcoupling/core/adaptor/api_25_1/has_input_file_changed.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_1/import_system_coupling_input_file.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_1/initialize.py +27 -0
- ansys/systemcoupling/core/adaptor/api_25_1/instancing.py +23 -0
- ansys/systemcoupling/core/adaptor/api_25_1/instancing_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_25_1/interrupt.py +39 -0
- ansys/systemcoupling/core/adaptor/api_25_1/library.py +37 -0
- ansys/systemcoupling/core/adaptor/api_25_1/live_visualization.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/live_visualization_child.py +100 -0
- ansys/systemcoupling/core/adaptor/api_25_1/mapping_control.py +239 -0
- ansys/systemcoupling/core/adaptor/api_25_1/open.py +102 -0
- ansys/systemcoupling/core/adaptor/api_25_1/open_results_in_ensight.py +56 -0
- ansys/systemcoupling/core/adaptor/api_25_1/open_snapshot.py +37 -0
- ansys/systemcoupling/core/adaptor/api_25_1/output_control.py +134 -0
- ansys/systemcoupling/core/adaptor/api_25_1/parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/parameter_child.py +60 -0
- ansys/systemcoupling/core/adaptor/api_25_1/partition_participants.py +138 -0
- ansys/systemcoupling/core/adaptor/api_25_1/properties.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_1/record_interactions.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_1/reference_frame.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/reference_frame_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_25_1/region.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/region_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_25_1/reload_expression_function_modules.py +14 -0
- ansys/systemcoupling/core/adaptor/api_25_1/results.py +89 -0
- ansys/systemcoupling/core/adaptor/api_25_1/save.py +51 -0
- ansys/systemcoupling/core/adaptor/api_25_1/save_snapshot.py +54 -0
- ansys/systemcoupling/core/adaptor/api_25_1/setup_root.py +259 -0
- ansys/systemcoupling/core/adaptor/api_25_1/show_plot.py +75 -0
- ansys/systemcoupling/core/adaptor/api_25_1/shutdown.py +25 -0
- ansys/systemcoupling/core/adaptor/api_25_1/side.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/side_child.py +56 -0
- ansys/systemcoupling/core/adaptor/api_25_1/solution_control.py +115 -0
- ansys/systemcoupling/core/adaptor/api_25_1/solution_root.py +122 -0
- ansys/systemcoupling/core/adaptor/api_25_1/solve.py +30 -0
- ansys/systemcoupling/core/adaptor/api_25_1/stabilization.py +157 -0
- ansys/systemcoupling/core/adaptor/api_25_1/start_participants.py +47 -0
- ansys/systemcoupling/core/adaptor/api_25_1/step.py +57 -0
- ansys/systemcoupling/core/adaptor/api_25_1/transformation.py +21 -0
- ansys/systemcoupling/core/adaptor/api_25_1/transformation_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_25_1/type.py +39 -0
- ansys/systemcoupling/core/adaptor/api_25_1/unmapped_value_options.py +158 -0
- ansys/systemcoupling/core/adaptor/api_25_1/update_control.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_1/update_participant.py +61 -0
- ansys/systemcoupling/core/adaptor/api_25_1/variable.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/variable_child.py +231 -0
- ansys/systemcoupling/core/adaptor/api_25_1/write_csv_chart_files.py +21 -0
- ansys/systemcoupling/core/adaptor/api_25_1/write_ensight.py +46 -0
- ansys/systemcoupling/core/adaptor/impl/injected_commands.py +4 -1
- ansys/systemcoupling/core/client/grpc_client.py +2 -2
- ansys/systemcoupling/core/client/syc_container.py +12 -0
- ansys/systemcoupling/core/examples/downloads.py +17 -26
- ansys/systemcoupling/core/session.py +28 -7
- ansys/systemcoupling/core/util/file_transfer.py +34 -7
- {ansys_systemcoupling_core-0.6.dist-info → ansys_systemcoupling_core-0.8.0.dist-info}/LICENSE +7 -7
- {ansys_systemcoupling_core-0.6.dist-info → ansys_systemcoupling_core-0.8.0.dist-info}/METADATA +17 -18
- {ansys_systemcoupling_core-0.6.dist-info → ansys_systemcoupling_core-0.8.0.dist-info}/RECORD +146 -36
- {ansys_systemcoupling_core-0.6.dist-info → ansys_systemcoupling_core-0.8.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,75 @@
|
|
|
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 show_plot(InjectedCommand):
|
|
9
|
+
"""
|
|
10
|
+
Shows plots of transfer values and convergence for data transfers
|
|
11
|
+
of a coupling interface.
|
|
12
|
+
|
|
13
|
+
Parameters
|
|
14
|
+
----------
|
|
15
|
+
interface_name : str
|
|
16
|
+
Specification of which interface to plot.
|
|
17
|
+
transfer_names : List, optional
|
|
18
|
+
Specification of which data transfers to plot. Defaults
|
|
19
|
+
to ``None``, which means plot all data transfers.
|
|
20
|
+
working_dir : str, optional
|
|
21
|
+
Working directory (defaults = ".").
|
|
22
|
+
show_convergence : bool, optional
|
|
23
|
+
Whether to show convergence plots (defaults to ``True``).
|
|
24
|
+
show_transfer_values : bool, optional
|
|
25
|
+
Whether to show transfer value plots (defaults to ``True``).
|
|
26
|
+
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
syc_name = "show_plot"
|
|
30
|
+
|
|
31
|
+
cmd_name = "show_plot"
|
|
32
|
+
|
|
33
|
+
argument_names = [
|
|
34
|
+
"interface_name",
|
|
35
|
+
"transfer_names",
|
|
36
|
+
"working_dir",
|
|
37
|
+
"show_convergence",
|
|
38
|
+
"show_transfer_values",
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
class interface_name(String):
|
|
42
|
+
"""
|
|
43
|
+
Specification of which interface to plot.
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
syc_name = "interface_name"
|
|
47
|
+
|
|
48
|
+
class transfer_names(StringList):
|
|
49
|
+
"""
|
|
50
|
+
Specification of which data transfers to plot. Defaults
|
|
51
|
+
to ``None``, which means plot all data transfers.
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
syc_name = "transfer_names"
|
|
55
|
+
|
|
56
|
+
class working_dir(String):
|
|
57
|
+
"""
|
|
58
|
+
Working directory (defaults = ".").
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
syc_name = "working_dir"
|
|
62
|
+
|
|
63
|
+
class show_convergence(Boolean):
|
|
64
|
+
"""
|
|
65
|
+
Whether to show convergence plots (defaults to ``True``).
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
syc_name = "show_convergence"
|
|
69
|
+
|
|
70
|
+
class show_transfer_values(Boolean):
|
|
71
|
+
"""
|
|
72
|
+
Whether to show transfer value plots (defaults to ``True``).
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
syc_name = "show_transfer_values"
|
|
@@ -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,115 @@
|
|
|
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
|
+
("use_local_host_when_possible", "UseLocalHostWhenPossible", "bool"),
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
@property
|
|
35
|
+
def duration_option(self) -> str:
|
|
36
|
+
"""Determine how the analysis duration is specified.
|
|
37
|
+
|
|
38
|
+
Allowed values:
|
|
39
|
+
|
|
40
|
+
- \"EndTime\" - Available for transient analyses. Execute coupling
|
|
41
|
+
steps until the analysis reaches the specified end time.
|
|
42
|
+
- \"NumberOfSteps\" - Perform coupling steps until the specified
|
|
43
|
+
number of steps is reached."""
|
|
44
|
+
return self.get_property_state("duration_option")
|
|
45
|
+
|
|
46
|
+
@duration_option.setter
|
|
47
|
+
def duration_option(self, value: str):
|
|
48
|
+
self.set_property_state("duration_option", value)
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def end_time(self) -> RealType:
|
|
52
|
+
"""Set co-simulation end time."""
|
|
53
|
+
return self.get_property_state("end_time")
|
|
54
|
+
|
|
55
|
+
@end_time.setter
|
|
56
|
+
def end_time(self, value: RealType):
|
|
57
|
+
self.set_property_state("end_time", value)
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def number_of_steps(self) -> int:
|
|
61
|
+
"""Set number of coupling steps."""
|
|
62
|
+
return self.get_property_state("number_of_steps")
|
|
63
|
+
|
|
64
|
+
@number_of_steps.setter
|
|
65
|
+
def number_of_steps(self, value: int):
|
|
66
|
+
self.set_property_state("number_of_steps", value)
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
def time_step_size(self) -> RealType:
|
|
70
|
+
"""Set coupling time step size."""
|
|
71
|
+
return self.get_property_state("time_step_size")
|
|
72
|
+
|
|
73
|
+
@time_step_size.setter
|
|
74
|
+
def time_step_size(self, value: RealType):
|
|
75
|
+
self.set_property_state("time_step_size", value)
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
def minimum_iterations(self) -> int:
|
|
79
|
+
"""Set minimum iterations within coupling step."""
|
|
80
|
+
return self.get_property_state("minimum_iterations")
|
|
81
|
+
|
|
82
|
+
@minimum_iterations.setter
|
|
83
|
+
def minimum_iterations(self, value: int):
|
|
84
|
+
self.set_property_state("minimum_iterations", value)
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def maximum_iterations(self) -> int:
|
|
88
|
+
"""Set maximum iterations within coupling step."""
|
|
89
|
+
return self.get_property_state("maximum_iterations")
|
|
90
|
+
|
|
91
|
+
@maximum_iterations.setter
|
|
92
|
+
def maximum_iterations(self, value: int):
|
|
93
|
+
self.set_property_state("maximum_iterations", value)
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def use_ip_address_when_possible(self) -> bool:
|
|
97
|
+
"""If True (the default), prefer to use IPv4 address rather than hostname for
|
|
98
|
+
participant server connections. There is no guarantee that this request
|
|
99
|
+
can be satisfied for all participants."""
|
|
100
|
+
return self.get_property_state("use_ip_address_when_possible")
|
|
101
|
+
|
|
102
|
+
@use_ip_address_when_possible.setter
|
|
103
|
+
def use_ip_address_when_possible(self, value: bool):
|
|
104
|
+
self.set_property_state("use_ip_address_when_possible", value)
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def use_local_host_when_possible(self) -> bool:
|
|
108
|
+
"""If True, prefer to use local host address rather than network address for
|
|
109
|
+
participant server connections. There is no guarantee that this request
|
|
110
|
+
can be satisfied for all participants."""
|
|
111
|
+
return self.get_property_state("use_local_host_when_possible")
|
|
112
|
+
|
|
113
|
+
@use_local_host_when_possible.setter
|
|
114
|
+
def use_local_host_when_possible(self, value: bool):
|
|
115
|
+
self.set_property_state("use_local_host_when_possible", value)
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
SHASH = "0987c9ed416b22e5d86458a81cba5c65a60eb6e6a32fb2f856bf7464f995ed36"
|
|
6
|
+
|
|
7
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
8
|
+
|
|
9
|
+
from ._solve import _solve
|
|
10
|
+
from .abort import abort
|
|
11
|
+
from .connect_ensight_dvs import connect_ensight_dvs
|
|
12
|
+
from .create_restart_point import create_restart_point
|
|
13
|
+
from .get_machines import get_machines
|
|
14
|
+
from .get_transformation import get_transformation
|
|
15
|
+
from .initialize import initialize
|
|
16
|
+
from .interrupt import interrupt
|
|
17
|
+
from .open_results_in_ensight import open_results_in_ensight
|
|
18
|
+
from .partition_participants import partition_participants
|
|
19
|
+
from .show_plot import show_plot
|
|
20
|
+
from .shutdown import shutdown
|
|
21
|
+
from .solve import solve
|
|
22
|
+
from .start_participants import start_participants
|
|
23
|
+
from .step import step
|
|
24
|
+
from .write_csv_chart_files import write_csv_chart_files
|
|
25
|
+
from .write_ensight import write_ensight
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class solution_root(Container):
|
|
29
|
+
"""
|
|
30
|
+
'root' object
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
syc_name = "SolutionCommands"
|
|
34
|
+
|
|
35
|
+
command_names = [
|
|
36
|
+
"_solve",
|
|
37
|
+
"abort",
|
|
38
|
+
"connect_ensight_dvs",
|
|
39
|
+
"create_restart_point",
|
|
40
|
+
"get_machines",
|
|
41
|
+
"get_transformation",
|
|
42
|
+
"initialize",
|
|
43
|
+
"interrupt",
|
|
44
|
+
"open_results_in_ensight",
|
|
45
|
+
"partition_participants",
|
|
46
|
+
"show_plot",
|
|
47
|
+
"shutdown",
|
|
48
|
+
"solve",
|
|
49
|
+
"start_participants",
|
|
50
|
+
"step",
|
|
51
|
+
"write_csv_chart_files",
|
|
52
|
+
"write_ensight",
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
_solve: _solve = _solve
|
|
56
|
+
"""
|
|
57
|
+
_solve command of solution_root.
|
|
58
|
+
"""
|
|
59
|
+
abort: abort = abort
|
|
60
|
+
"""
|
|
61
|
+
abort command of solution_root.
|
|
62
|
+
"""
|
|
63
|
+
connect_ensight_dvs: connect_ensight_dvs = connect_ensight_dvs
|
|
64
|
+
"""
|
|
65
|
+
connect_ensight_dvs command of solution_root.
|
|
66
|
+
"""
|
|
67
|
+
create_restart_point: create_restart_point = create_restart_point
|
|
68
|
+
"""
|
|
69
|
+
create_restart_point command of solution_root.
|
|
70
|
+
"""
|
|
71
|
+
get_machines: get_machines = get_machines
|
|
72
|
+
"""
|
|
73
|
+
get_machines command of solution_root.
|
|
74
|
+
"""
|
|
75
|
+
get_transformation: get_transformation = get_transformation
|
|
76
|
+
"""
|
|
77
|
+
get_transformation command of solution_root.
|
|
78
|
+
"""
|
|
79
|
+
initialize: initialize = initialize
|
|
80
|
+
"""
|
|
81
|
+
initialize command of solution_root.
|
|
82
|
+
"""
|
|
83
|
+
interrupt: interrupt = interrupt
|
|
84
|
+
"""
|
|
85
|
+
interrupt command of solution_root.
|
|
86
|
+
"""
|
|
87
|
+
open_results_in_ensight: open_results_in_ensight = open_results_in_ensight
|
|
88
|
+
"""
|
|
89
|
+
open_results_in_ensight command of solution_root.
|
|
90
|
+
"""
|
|
91
|
+
partition_participants: partition_participants = partition_participants
|
|
92
|
+
"""
|
|
93
|
+
partition_participants command of solution_root.
|
|
94
|
+
"""
|
|
95
|
+
show_plot: show_plot = show_plot
|
|
96
|
+
"""
|
|
97
|
+
show_plot command of solution_root.
|
|
98
|
+
"""
|
|
99
|
+
shutdown: shutdown = shutdown
|
|
100
|
+
"""
|
|
101
|
+
shutdown command of solution_root.
|
|
102
|
+
"""
|
|
103
|
+
solve: solve = solve
|
|
104
|
+
"""
|
|
105
|
+
solve command of solution_root.
|
|
106
|
+
"""
|
|
107
|
+
start_participants: start_participants = start_participants
|
|
108
|
+
"""
|
|
109
|
+
start_participants command of solution_root.
|
|
110
|
+
"""
|
|
111
|
+
step: step = step
|
|
112
|
+
"""
|
|
113
|
+
step command of solution_root.
|
|
114
|
+
"""
|
|
115
|
+
write_csv_chart_files: write_csv_chart_files = write_csv_chart_files
|
|
116
|
+
"""
|
|
117
|
+
write_csv_chart_files command of solution_root.
|
|
118
|
+
"""
|
|
119
|
+
write_ensight: write_ensight = write_ensight
|
|
120
|
+
"""
|
|
121
|
+
write_ensight command of solution_root.
|
|
122
|
+
"""
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class solve(InjectedCommand):
|
|
9
|
+
"""
|
|
10
|
+
Starts the participants (if necessary) and solves the coupled analysis. By
|
|
11
|
+
default, the solution runs straight through without pause unless stopped by
|
|
12
|
+
an scStop file.
|
|
13
|
+
|
|
14
|
+
Disabled when a solution is already in progress.
|
|
15
|
+
|
|
16
|
+
For restarts, the ``open`` command must be run before the ``solve`` command.
|
|
17
|
+
|
|
18
|
+
Note that if the ``execution_control`` option for a participant is set to
|
|
19
|
+
\"ExternallyManaged\", then System Coupling will not start the participant
|
|
20
|
+
using either this command or any of the other commands that automatically
|
|
21
|
+
start participants. The user is expected to manually start the participant.
|
|
22
|
+
This function will not return until all participants have been connected.
|
|
23
|
+
|
|
24
|
+
Note that this command will raise an exception if another instance of
|
|
25
|
+
System Coupling is solving in the current working directory.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
syc_name = "solve"
|
|
29
|
+
|
|
30
|
+
cmd_name = "solve"
|
|
@@ -0,0 +1,157 @@
|
|
|
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 stabilization(Container):
|
|
9
|
+
"""
|
|
10
|
+
Stabilization and Acceleration method.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "Stabilization"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("option", "Option", "str"),
|
|
17
|
+
("couple_with_global_stabilization", "CoupleWithGlobalStabilization", "bool"),
|
|
18
|
+
("initial_iterations", "InitialIterations", "int"),
|
|
19
|
+
("initial_relaxation_factor", "InitialRelaxationFactor", "RealType"),
|
|
20
|
+
("maximum_retained_time_steps", "MaximumRetainedTimeSteps", "int"),
|
|
21
|
+
("maximum_retained_iterations", "MaximumRetainedIterations", "int"),
|
|
22
|
+
("weight_factor", "WeightFactor", "RealType"),
|
|
23
|
+
("diagnostics_level", "DiagnosticsLevel", "int"),
|
|
24
|
+
("weight_option", "WeightOption", "str"),
|
|
25
|
+
("qr_tol_this_step", "QRTolThisStep", "RealType"),
|
|
26
|
+
("qr_tol_old_steps", "QRTolOldSteps", "RealType"),
|
|
27
|
+
("time_step_initialization_option", "TimeStepInitializationOption", "str"),
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def option(self) -> str:
|
|
32
|
+
"""Allowed values:
|
|
33
|
+
|
|
34
|
+
- \"ProgramControlled\"
|
|
35
|
+
- \"None\"
|
|
36
|
+
- \"Quasi-Newton\"
|
|
37
|
+
- \"Aitken\" (Alpha only)"""
|
|
38
|
+
return self.get_property_state("option")
|
|
39
|
+
|
|
40
|
+
@option.setter
|
|
41
|
+
def option(self, value: str):
|
|
42
|
+
self.set_property_state("option", value)
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def couple_with_global_stabilization(self) -> bool:
|
|
46
|
+
"""Controls whether the stabilization for this data transfer is coupled with the global stabilization."""
|
|
47
|
+
return self.get_property_state("couple_with_global_stabilization")
|
|
48
|
+
|
|
49
|
+
@couple_with_global_stabilization.setter
|
|
50
|
+
def couple_with_global_stabilization(self, value: bool):
|
|
51
|
+
self.set_property_state("couple_with_global_stabilization", value)
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
def initial_iterations(self) -> int:
|
|
55
|
+
"""Number of pre-stabilization iterations to perform."""
|
|
56
|
+
return self.get_property_state("initial_iterations")
|
|
57
|
+
|
|
58
|
+
@initial_iterations.setter
|
|
59
|
+
def initial_iterations(self, value: int):
|
|
60
|
+
self.set_property_state("initial_iterations", value)
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
def initial_relaxation_factor(self) -> RealType:
|
|
64
|
+
"""Relaxation factor applied for pre-stabilization iterations."""
|
|
65
|
+
return self.get_property_state("initial_relaxation_factor")
|
|
66
|
+
|
|
67
|
+
@initial_relaxation_factor.setter
|
|
68
|
+
def initial_relaxation_factor(self, value: RealType):
|
|
69
|
+
self.set_property_state("initial_relaxation_factor", value)
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
def maximum_retained_time_steps(self) -> int:
|
|
73
|
+
"""Controls the maximum number of timesteps to retain."""
|
|
74
|
+
return self.get_property_state("maximum_retained_time_steps")
|
|
75
|
+
|
|
76
|
+
@maximum_retained_time_steps.setter
|
|
77
|
+
def maximum_retained_time_steps(self, value: int):
|
|
78
|
+
self.set_property_state("maximum_retained_time_steps", value)
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def maximum_retained_iterations(self) -> int:
|
|
82
|
+
"""Controls the maximum number of iterations to retain."""
|
|
83
|
+
return self.get_property_state("maximum_retained_iterations")
|
|
84
|
+
|
|
85
|
+
@maximum_retained_iterations.setter
|
|
86
|
+
def maximum_retained_iterations(self, value: int):
|
|
87
|
+
self.set_property_state("maximum_retained_iterations", value)
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def weight_factor(self) -> RealType:
|
|
91
|
+
"""Weighting factor to use for this data transfer in IQN-ILS."""
|
|
92
|
+
return self.get_property_state("weight_factor")
|
|
93
|
+
|
|
94
|
+
@weight_factor.setter
|
|
95
|
+
def weight_factor(self, value: RealType):
|
|
96
|
+
self.set_property_state("weight_factor", value)
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def diagnostics_level(self) -> int:
|
|
100
|
+
"""Controls the maximum number of timesteps to retain.
|
|
101
|
+
|
|
102
|
+
Values are interpreted as:
|
|
103
|
+
|
|
104
|
+
- 0 : none
|
|
105
|
+
- 1 : basic
|
|
106
|
+
- 2 : advanced
|
|
107
|
+
- 3 : write matrix files"""
|
|
108
|
+
return self.get_property_state("diagnostics_level")
|
|
109
|
+
|
|
110
|
+
@diagnostics_level.setter
|
|
111
|
+
def diagnostics_level(self, value: int):
|
|
112
|
+
self.set_property_state("diagnostics_level", value)
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
def weight_option(self) -> str:
|
|
116
|
+
"""Weight factor when multiple transfers are stabilized.
|
|
117
|
+
|
|
118
|
+
Allowed values:
|
|
119
|
+
|
|
120
|
+
- \"Constant\"
|
|
121
|
+
- \"Value\"
|
|
122
|
+
- \"Residual\"
|
|
123
|
+
- \"ResidualSum\"
|
|
124
|
+
- \"InverseResidual\"
|
|
125
|
+
- \"InverseResidualSum\" """
|
|
126
|
+
return self.get_property_state("weight_option")
|
|
127
|
+
|
|
128
|
+
@weight_option.setter
|
|
129
|
+
def weight_option(self, value: str):
|
|
130
|
+
self.set_property_state("weight_option", value)
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def qr_tol_this_step(self) -> RealType:
|
|
134
|
+
"""QR filter tolerance for current step."""
|
|
135
|
+
return self.get_property_state("qr_tol_this_step")
|
|
136
|
+
|
|
137
|
+
@qr_tol_this_step.setter
|
|
138
|
+
def qr_tol_this_step(self, value: RealType):
|
|
139
|
+
self.set_property_state("qr_tol_this_step", value)
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
def qr_tol_old_steps(self) -> RealType:
|
|
143
|
+
"""QR filter tolerance for old steps."""
|
|
144
|
+
return self.get_property_state("qr_tol_old_steps")
|
|
145
|
+
|
|
146
|
+
@qr_tol_old_steps.setter
|
|
147
|
+
def qr_tol_old_steps(self, value: RealType):
|
|
148
|
+
self.set_property_state("qr_tol_old_steps", value)
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
def time_step_initialization_option(self) -> str:
|
|
152
|
+
"""Controls how Aitken relaxation factor is initialized at start of new timestep."""
|
|
153
|
+
return self.get_property_state("time_step_initialization_option")
|
|
154
|
+
|
|
155
|
+
@time_step_initialization_option.setter
|
|
156
|
+
def time_step_initialization_option(self, value: str):
|
|
157
|
+
self.set_property_state("time_step_initialization_option", value)
|
|
@@ -0,0 +1,47 @@
|
|
|
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 start_participants(Command):
|
|
9
|
+
"""
|
|
10
|
+
Important: This command is deprecated. Consider adopting workflows
|
|
11
|
+
where participants are started by another method, such as the ``initialize``,
|
|
12
|
+
``step``, or ``solve`` commands.
|
|
13
|
+
|
|
14
|
+
Interactive command that reads the participants' System Coupling
|
|
15
|
+
Participant setup files (SCP) and starts participants on separate
|
|
16
|
+
sub-processes. By default, automatically starts all participants and blocks
|
|
17
|
+
solution progress until all participants are connected.
|
|
18
|
+
|
|
19
|
+
If omitted and the ``solve``, ``initialize``, or ``step`` command is issued, then
|
|
20
|
+
participants are started automatically during the execution of the command.
|
|
21
|
+
|
|
22
|
+
Note that if the ``execution_control`` option for a participant is set to
|
|
23
|
+
ExternallyManaged, then System Coupling will not start the participant
|
|
24
|
+
using either this command or any of the other commands that automatically
|
|
25
|
+
start participants. The user is expected to manually start the participant.
|
|
26
|
+
This function will not return until all participants have been connected.
|
|
27
|
+
|
|
28
|
+
Note that this command will raise an exception if another instance of
|
|
29
|
+
System Coupling is solving in the current working directory.
|
|
30
|
+
|
|
31
|
+
Parameters
|
|
32
|
+
----------
|
|
33
|
+
participant_names : List, optional
|
|
34
|
+
This argument has been deprecated and will be removed in future releases.
|
|
35
|
+
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
syc_name = "StartParticipants"
|
|
39
|
+
|
|
40
|
+
argument_names = ["participant_names"]
|
|
41
|
+
|
|
42
|
+
class participant_names(StringList):
|
|
43
|
+
"""
|
|
44
|
+
This argument has been deprecated and will be removed in future releases.
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
syc_name = "ParticipantNames"
|