ansys-systemcoupling-core 0.9.1__py3-none-any.whl → 0.10.1__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/__init__.py +1 -1
- ansys/systemcoupling/core/adaptor/api_25_2/_add_participant.py +80 -0
- ansys/systemcoupling/core/adaptor/api_25_2/_clear_state.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_2/_solve.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_2/abort.py +39 -0
- ansys/systemcoupling/core/adaptor/api_25_2/activate_hidden.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_aerodamping_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_data_transfer.py +190 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_expression_function.py +61 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_flow_boundary_data_transfers.py +32 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_fsi_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_interface.py +77 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_named_expression.py +42 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_ordered_data_transfers.py +41 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_participant.py +177 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_reference_frame.py +40 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_thermal_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_transformation.py +102 -0
- ansys/systemcoupling/core/adaptor/api_25_2/analysis_control.py +333 -0
- ansys/systemcoupling/core/adaptor/api_25_2/apip.py +33 -0
- ansys/systemcoupling/core/adaptor/api_25_2/ascii_output.py +44 -0
- ansys/systemcoupling/core/adaptor/api_25_2/attribute.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/attribute_child.py +74 -0
- ansys/systemcoupling/core/adaptor/api_25_2/automatic_alignment_options.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_2/available_ports.py +40 -0
- ansys/systemcoupling/core/adaptor/api_25_2/avoid_data_reconstruction.py +56 -0
- ansys/systemcoupling/core/adaptor/api_25_2/case_root.py +62 -0
- ansys/systemcoupling/core/adaptor/api_25_2/clear_state.py +18 -0
- ansys/systemcoupling/core/adaptor/api_25_2/connect_ensight_dvs.py +41 -0
- ansys/systemcoupling/core/adaptor/api_25_2/coupling_interface.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/coupling_interface_child.py +42 -0
- ansys/systemcoupling/core/adaptor/api_25_2/coupling_participant.py +23 -0
- ansys/systemcoupling/core/adaptor/api_25_2/coupling_participant_child.py +272 -0
- ansys/systemcoupling/core/adaptor/api_25_2/create_restart_point.py +28 -0
- ansys/systemcoupling/core/adaptor/api_25_2/data_transfer.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/data_transfer_child.py +195 -0
- ansys/systemcoupling/core/adaptor/api_25_2/delete_snapshot.py +30 -0
- ansys/systemcoupling/core/adaptor/api_25_2/delete_transformation.py +42 -0
- ansys/systemcoupling/core/adaptor/api_25_2/dimensionality.py +96 -0
- ansys/systemcoupling/core/adaptor/api_25_2/execution_control.py +266 -0
- ansys/systemcoupling/core/adaptor/api_25_2/execution_control_1.py +24 -0
- ansys/systemcoupling/core/adaptor/api_25_2/expression.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/expression_child.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_2/expression_function.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/expression_function_child.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_2/external_data_file.py +24 -0
- ansys/systemcoupling/core/adaptor/api_25_2/fluent_input.py +77 -0
- ansys/systemcoupling/core/adaptor/api_25_2/fmu_parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/fmu_parameter_child.py +164 -0
- ansys/systemcoupling/core/adaptor/api_25_2/generate_input_file.py +53 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_add_data_transfer_group_commands.py +29 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_execution_command.py +30 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_machines.py +34 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_mode_shape_variables.py +29 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_region_names_for_participant.py +32 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_setup_summary.py +25 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_status_messages.py +52 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_supported_participant_types.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_thermal_data_transfer_options.py +32 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_transformation.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_2/global_stabilization.py +155 -0
- ansys/systemcoupling/core/adaptor/api_25_2/has_input_file_changed.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_2/import_system_coupling_input_file.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_2/initialize.py +27 -0
- ansys/systemcoupling/core/adaptor/api_25_2/instancing.py +25 -0
- ansys/systemcoupling/core/adaptor/api_25_2/instancing_child.py +114 -0
- ansys/systemcoupling/core/adaptor/api_25_2/interrupt.py +39 -0
- ansys/systemcoupling/core/adaptor/api_25_2/library.py +37 -0
- ansys/systemcoupling/core/adaptor/api_25_2/live_visualization.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/live_visualization_child.py +100 -0
- ansys/systemcoupling/core/adaptor/api_25_2/map.py +19 -0
- ansys/systemcoupling/core/adaptor/api_25_2/mapping_control.py +273 -0
- ansys/systemcoupling/core/adaptor/api_25_2/open.py +107 -0
- ansys/systemcoupling/core/adaptor/api_25_2/open_results_in_ensight.py +56 -0
- ansys/systemcoupling/core/adaptor/api_25_2/open_snapshot.py +37 -0
- ansys/systemcoupling/core/adaptor/api_25_2/output_control.py +134 -0
- ansys/systemcoupling/core/adaptor/api_25_2/parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/parameter_child.py +60 -0
- ansys/systemcoupling/core/adaptor/api_25_2/partition_participants.py +148 -0
- ansys/systemcoupling/core/adaptor/api_25_2/properties.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_2/record_interactions.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_2/reference_frame.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/reference_frame_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_25_2/region.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/region_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_25_2/reload_expression_function_modules.py +14 -0
- ansys/systemcoupling/core/adaptor/api_25_2/results.py +89 -0
- ansys/systemcoupling/core/adaptor/api_25_2/save.py +53 -0
- ansys/systemcoupling/core/adaptor/api_25_2/save_snapshot.py +54 -0
- ansys/systemcoupling/core/adaptor/api_25_2/setup_root.py +243 -0
- ansys/systemcoupling/core/adaptor/api_25_2/show_plot.py +75 -0
- ansys/systemcoupling/core/adaptor/api_25_2/shutdown.py +25 -0
- ansys/systemcoupling/core/adaptor/api_25_2/side.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/side_child.py +56 -0
- ansys/systemcoupling/core/adaptor/api_25_2/solution_control.py +127 -0
- ansys/systemcoupling/core/adaptor/api_25_2/solution_root.py +134 -0
- ansys/systemcoupling/core/adaptor/api_25_2/solve.py +30 -0
- ansys/systemcoupling/core/adaptor/api_25_2/stabilization.py +157 -0
- ansys/systemcoupling/core/adaptor/api_25_2/step.py +57 -0
- ansys/systemcoupling/core/adaptor/api_25_2/transformation.py +21 -0
- ansys/systemcoupling/core/adaptor/api_25_2/transformation_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_25_2/type.py +39 -0
- ansys/systemcoupling/core/adaptor/api_25_2/unmapped_value_options.py +158 -0
- ansys/systemcoupling/core/adaptor/api_25_2/update_control.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_2/update_interfaces.py +19 -0
- ansys/systemcoupling/core/adaptor/api_25_2/update_participant.py +61 -0
- ansys/systemcoupling/core/adaptor/api_25_2/variable.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/variable_child.py +231 -0
- ansys/systemcoupling/core/adaptor/api_25_2/write_csv_chart_files.py +21 -0
- ansys/systemcoupling/core/adaptor/api_25_2/write_ensight.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_2/write_target_data.py +32 -0
- ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +4 -1
- ansys/systemcoupling/core/adaptor/impl/injected_commands.py +3 -1
- ansys/systemcoupling/core/charts/csv_chartdata.py +4 -3
- ansys/systemcoupling/core/charts/plot_functions.py +12 -4
- ansys/systemcoupling/core/charts/plotter.py +3 -2
- ansys/systemcoupling/core/client/grpc_client.py +11 -2
- ansys/systemcoupling/core/client/syc_container.py +40 -35
- ansys/systemcoupling/core/client/syc_process.py +5 -2
- ansys/systemcoupling/core/native_api/datamodel_metadata.py +3 -2
- ansys/systemcoupling/core/native_api/object_path.py +2 -1
- ansys/systemcoupling/core/syc_version.py +1 -1
- ansys/systemcoupling/core/util/assertion.py +38 -0
- ansys/systemcoupling/core/util/file_transfer.py +2 -1
- ansys/systemcoupling/core/util/yaml_helper.py +5 -5
- {ansys_systemcoupling_core-0.9.1.dist-info → ansys_systemcoupling_core-0.10.1.dist-info}/METADATA +16 -10
- {ansys_systemcoupling_core-0.9.1.dist-info → ansys_systemcoupling_core-0.10.1.dist-info}/RECORD +129 -18
- {ansys_systemcoupling_core-0.9.1.dist-info → ansys_systemcoupling_core-0.10.1.dist-info}/WHEEL +0 -0
- {ansys_systemcoupling_core-0.9.1.dist-info → ansys_systemcoupling_core-0.10.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
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 get_supported_participant_types(Command):
|
|
9
|
+
"""
|
|
10
|
+
Returns a list of participant types that are supported by System Coupling.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "GetSupportedParticipantTypes"
|
|
@@ -0,0 +1,32 @@
|
|
|
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 get_thermal_data_transfer_options(Command):
|
|
9
|
+
"""
|
|
10
|
+
Given an interface name, returns a list of available possible options for
|
|
11
|
+
``add_thermal_data_transfers`` given the context, and whether those
|
|
12
|
+
data transfers are actually available. When only one option is conceptually
|
|
13
|
+
possible (e.g., not a surface-surface transfer), the returned dictionary is
|
|
14
|
+
empty.
|
|
15
|
+
|
|
16
|
+
Parameters
|
|
17
|
+
----------
|
|
18
|
+
interface : str
|
|
19
|
+
String indicating the name of the interface.
|
|
20
|
+
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
syc_name = "GetThermalDataTransferOptions"
|
|
24
|
+
|
|
25
|
+
argument_names = ["interface"]
|
|
26
|
+
|
|
27
|
+
class interface(String):
|
|
28
|
+
"""
|
|
29
|
+
String indicating the name of the interface.
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
syc_name = "Interface"
|
|
@@ -0,0 +1,43 @@
|
|
|
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 get_transformation(Command):
|
|
9
|
+
"""
|
|
10
|
+
Given an interface and side, returns the resultant transformation, in
|
|
11
|
+
the form of a Python dictionary and formatted as a DataModel
|
|
12
|
+
reference_frame object. If multiple transformations are applied to the
|
|
13
|
+
interface side, the composite transformation is returned.
|
|
14
|
+
|
|
15
|
+
This command can only be invoked after the analysis
|
|
16
|
+
is initialized.
|
|
17
|
+
|
|
18
|
+
Parameters
|
|
19
|
+
----------
|
|
20
|
+
interface_name : str
|
|
21
|
+
Name of the interface
|
|
22
|
+
side : str
|
|
23
|
+
Interface side. Can be "One" or "Two".
|
|
24
|
+
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
syc_name = "GetTransformation"
|
|
28
|
+
|
|
29
|
+
argument_names = ["interface_name", "side"]
|
|
30
|
+
|
|
31
|
+
class interface_name(String):
|
|
32
|
+
"""
|
|
33
|
+
Name of the interface
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
syc_name = "InterfaceName"
|
|
37
|
+
|
|
38
|
+
class side(String):
|
|
39
|
+
"""
|
|
40
|
+
Interface side. Can be "One" or "Two".
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
syc_name = "Side"
|
|
@@ -0,0 +1,155 @@
|
|
|
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 global_stabilization(Container):
|
|
9
|
+
"""
|
|
10
|
+
Global stabilization settings.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "GlobalStabilization"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("option", "Option", "str"),
|
|
17
|
+
("initial_iterations", "InitialIterations", "int"),
|
|
18
|
+
("initial_relaxation_factor", "InitialRelaxationFactor", "RealType"),
|
|
19
|
+
("maximum_retained_time_steps", "MaximumRetainedTimeSteps", "int"),
|
|
20
|
+
("maximum_retained_iterations", "MaximumRetainedIterations", "int"),
|
|
21
|
+
("diagnostics_level", "DiagnosticsLevel", "int"),
|
|
22
|
+
("weight_option", "WeightOption", "str"),
|
|
23
|
+
("qr_tol_this_step", "QRTolThisStep", "RealType"),
|
|
24
|
+
("qr_tol_old_steps", "QRTolOldSteps", "RealType"),
|
|
25
|
+
("svd_sing_tol", "SVDSingTol", "RealType"),
|
|
26
|
+
("qr_solver", "QRSolver", "str"),
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
@property
|
|
30
|
+
def option(self) -> str:
|
|
31
|
+
"""Stabilization type.
|
|
32
|
+
|
|
33
|
+
Allowed values:
|
|
34
|
+
|
|
35
|
+
- \"None\"
|
|
36
|
+
- \"Quasi-Newton\" """
|
|
37
|
+
return self.get_property_state("option")
|
|
38
|
+
|
|
39
|
+
@option.setter
|
|
40
|
+
def option(self, value: str):
|
|
41
|
+
self.set_property_state("option", value)
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
def initial_iterations(self) -> int:
|
|
45
|
+
"""Number of pre-stabilization iterations to perform."""
|
|
46
|
+
return self.get_property_state("initial_iterations")
|
|
47
|
+
|
|
48
|
+
@initial_iterations.setter
|
|
49
|
+
def initial_iterations(self, value: int):
|
|
50
|
+
self.set_property_state("initial_iterations", value)
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
def initial_relaxation_factor(self) -> RealType:
|
|
54
|
+
"""Relaxation factor applied for pre-stabilization iterations."""
|
|
55
|
+
return self.get_property_state("initial_relaxation_factor")
|
|
56
|
+
|
|
57
|
+
@initial_relaxation_factor.setter
|
|
58
|
+
def initial_relaxation_factor(self, value: RealType):
|
|
59
|
+
self.set_property_state("initial_relaxation_factor", value)
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
def maximum_retained_time_steps(self) -> int:
|
|
63
|
+
"""Controls the maximum number of timesteps to retain."""
|
|
64
|
+
return self.get_property_state("maximum_retained_time_steps")
|
|
65
|
+
|
|
66
|
+
@maximum_retained_time_steps.setter
|
|
67
|
+
def maximum_retained_time_steps(self, value: int):
|
|
68
|
+
self.set_property_state("maximum_retained_time_steps", value)
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def maximum_retained_iterations(self) -> int:
|
|
72
|
+
"""Controls the maximum number of iterations to retain."""
|
|
73
|
+
return self.get_property_state("maximum_retained_iterations")
|
|
74
|
+
|
|
75
|
+
@maximum_retained_iterations.setter
|
|
76
|
+
def maximum_retained_iterations(self, value: int):
|
|
77
|
+
self.set_property_state("maximum_retained_iterations", value)
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def diagnostics_level(self) -> int:
|
|
81
|
+
"""Controls the maximum number of timesteps to retain.
|
|
82
|
+
|
|
83
|
+
Values are interpreted as:
|
|
84
|
+
|
|
85
|
+
- 0 : none
|
|
86
|
+
- 1 : basic
|
|
87
|
+
- 2 : advanced
|
|
88
|
+
- 3 : write matrix files"""
|
|
89
|
+
return self.get_property_state("diagnostics_level")
|
|
90
|
+
|
|
91
|
+
@diagnostics_level.setter
|
|
92
|
+
def diagnostics_level(self, value: int):
|
|
93
|
+
self.set_property_state("diagnostics_level", value)
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def weight_option(self) -> str:
|
|
97
|
+
"""Weight factor when multiple transfers are stabilized.
|
|
98
|
+
|
|
99
|
+
Allowed values:
|
|
100
|
+
|
|
101
|
+
- \"Constant\"
|
|
102
|
+
- \"Value\"
|
|
103
|
+
- \"Residual\"
|
|
104
|
+
- \"ResidualSum\"
|
|
105
|
+
- \"InverseResidual\"
|
|
106
|
+
- \"InverseResidualSum\" """
|
|
107
|
+
return self.get_property_state("weight_option")
|
|
108
|
+
|
|
109
|
+
@weight_option.setter
|
|
110
|
+
def weight_option(self, value: str):
|
|
111
|
+
self.set_property_state("weight_option", value)
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def qr_tol_this_step(self) -> RealType:
|
|
115
|
+
"""QR filter tolerance for current step."""
|
|
116
|
+
return self.get_property_state("qr_tol_this_step")
|
|
117
|
+
|
|
118
|
+
@qr_tol_this_step.setter
|
|
119
|
+
def qr_tol_this_step(self, value: RealType):
|
|
120
|
+
self.set_property_state("qr_tol_this_step", value)
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
def qr_tol_old_steps(self) -> RealType:
|
|
124
|
+
"""QR filter tolerance for old steps."""
|
|
125
|
+
return self.get_property_state("qr_tol_old_steps")
|
|
126
|
+
|
|
127
|
+
@qr_tol_old_steps.setter
|
|
128
|
+
def qr_tol_old_steps(self, value: RealType):
|
|
129
|
+
self.set_property_state("qr_tol_old_steps", value)
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
def svd_sing_tol(self) -> RealType:
|
|
133
|
+
"""SVD singular value tolerance for rank-deficiency"""
|
|
134
|
+
return self.get_property_state("svd_sing_tol")
|
|
135
|
+
|
|
136
|
+
@svd_sing_tol.setter
|
|
137
|
+
def svd_sing_tol(self, value: RealType):
|
|
138
|
+
self.set_property_state("svd_sing_tol", value)
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
def qr_solver(self) -> str:
|
|
142
|
+
"""QR solver options.
|
|
143
|
+
|
|
144
|
+
Allowed values:
|
|
145
|
+
|
|
146
|
+
- \"QR_MGS\"
|
|
147
|
+
- \"QR_augmentedMGS\" (default)
|
|
148
|
+
- \"QR_pivot\"
|
|
149
|
+
- \"SVD\"
|
|
150
|
+
- \"SVD_augmented\" """
|
|
151
|
+
return self.get_property_state("qr_solver")
|
|
152
|
+
|
|
153
|
+
@qr_solver.setter
|
|
154
|
+
def qr_solver(self, value: str):
|
|
155
|
+
self.set_property_state("qr_solver", value)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class has_input_file_changed(Command):
|
|
9
|
+
"""
|
|
10
|
+
Given the name of a participant, checks whether the input file has changed.
|
|
11
|
+
|
|
12
|
+
Available for server participants. Currently, only input files for
|
|
13
|
+
DEFAULT-SRV, CFD-SRV, MECH-SRV, and SCDT-SRV participants are tracked by
|
|
14
|
+
System Coupling.
|
|
15
|
+
|
|
16
|
+
If a participant's input files are not tracked by System Coupling, this
|
|
17
|
+
command will return False in all cases, even if changes have been made
|
|
18
|
+
to the participant input file.
|
|
19
|
+
|
|
20
|
+
Parameters
|
|
21
|
+
----------
|
|
22
|
+
participant_name : str
|
|
23
|
+
Name of the participant
|
|
24
|
+
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
syc_name = "HasInputFileChanged"
|
|
28
|
+
|
|
29
|
+
argument_names = ["participant_name"]
|
|
30
|
+
|
|
31
|
+
class participant_name(String):
|
|
32
|
+
"""
|
|
33
|
+
Name of the participant
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
syc_name = "ParticipantName"
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class import_system_coupling_input_file(Command):
|
|
9
|
+
"""
|
|
10
|
+
Reads the specified System Coupling SCI file and pushes its information
|
|
11
|
+
into the data model. The SCI file is the required System Coupling input
|
|
12
|
+
format for the initial run of a coupled analysis set up in Workbench.
|
|
13
|
+
|
|
14
|
+
After the initial run based on an imported SCI file, a reissue
|
|
15
|
+
of the ``import_system_coupling_input_file`` command is unnecessary and is
|
|
16
|
+
not recommended unless the setup has changed.
|
|
17
|
+
|
|
18
|
+
Cannot be run after participants have been started.
|
|
19
|
+
|
|
20
|
+
Parameters
|
|
21
|
+
----------
|
|
22
|
+
file_path : str
|
|
23
|
+
Path and file name for the SCI file to be read.
|
|
24
|
+
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
syc_name = "ImportSystemCouplingInputFile"
|
|
28
|
+
|
|
29
|
+
argument_names = ["file_path"]
|
|
30
|
+
|
|
31
|
+
class file_path(String):
|
|
32
|
+
"""
|
|
33
|
+
Path and file name for the SCI file to be read.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
syc_name = "FilePath"
|
|
@@ -0,0 +1,27 @@
|
|
|
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 initialize(Command):
|
|
9
|
+
"""
|
|
10
|
+
Interactive command that initializes a coupled analysis.
|
|
11
|
+
|
|
12
|
+
Initialization includes preparing System Coupling, making connections
|
|
13
|
+
between System Coupling and all participants, starting participants (if
|
|
14
|
+
necessary), and writing participant build information to the Transcript
|
|
15
|
+
and Log.
|
|
16
|
+
|
|
17
|
+
Note that if the ``execution_control`` ``option`` for a participant is set to
|
|
18
|
+
\"ExternallyManaged\", then System Coupling will not start the participant
|
|
19
|
+
using either this command or any of the other commands that automatically
|
|
20
|
+
start participants. The user is expected to manually start the participant.
|
|
21
|
+
This function will not return until all participants have been connected.
|
|
22
|
+
|
|
23
|
+
Note that this command will raise an exception if another instance of
|
|
24
|
+
System Coupling is solving in the current working directory.
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
syc_name = "Initialize"
|
|
@@ -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
|
+
from .instancing_child import instancing_child
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class instancing(NamedContainer[instancing_child]):
|
|
11
|
+
"""
|
|
12
|
+
Define instancing for an interface side.
|
|
13
|
+
|
|
14
|
+
Available when cylindrical geometry instancing has been added to
|
|
15
|
+
the data model.
|
|
16
|
+
|
|
17
|
+
``RotationAxis`` controls how the axis of rotation is defined.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
syc_name = "Instancing"
|
|
21
|
+
|
|
22
|
+
child_object_type: instancing_child = instancing_child
|
|
23
|
+
"""
|
|
24
|
+
child_object_type of instancing.
|
|
25
|
+
"""
|
|
@@ -0,0 +1,114 @@
|
|
|
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 instancing_child(Container):
|
|
9
|
+
"""
|
|
10
|
+
Define instancing for an interface side.
|
|
11
|
+
|
|
12
|
+
Available when cylindrical geometry instancing has been added to
|
|
13
|
+
the data model.
|
|
14
|
+
|
|
15
|
+
``RotationAxis`` controls how the axis of rotation is defined.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
syc_name = "child_object_type"
|
|
19
|
+
|
|
20
|
+
property_names_types = [
|
|
21
|
+
("rotation_axis", "RotationAxis", "str"),
|
|
22
|
+
("instances_in_full_circle", "InstancesInFullCircle", "int"),
|
|
23
|
+
("instances_for_mapping", "InstancesForMapping", "int"),
|
|
24
|
+
("reference_frame", "ReferenceFrame", "str"),
|
|
25
|
+
("axis", "Axis", "str"),
|
|
26
|
+
("axis_from", "AxisFrom", "RealVectorType"),
|
|
27
|
+
("axis_to", "AxisTo", "RealVectorType"),
|
|
28
|
+
("rotational_offset", "RotationalOffset", "RealType"),
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
@property
|
|
32
|
+
def rotation_axis(self) -> str:
|
|
33
|
+
"""UNDOCUMENTED"""
|
|
34
|
+
return self.get_property_state("rotation_axis")
|
|
35
|
+
|
|
36
|
+
@rotation_axis.setter
|
|
37
|
+
def rotation_axis(self, value: str):
|
|
38
|
+
self.set_property_state("rotation_axis", value)
|
|
39
|
+
|
|
40
|
+
@property
|
|
41
|
+
def instances_in_full_circle(self) -> int:
|
|
42
|
+
"""Total number of instances (including the first instance) in
|
|
43
|
+
a full 360 degree rotation of the participant mesh. This value
|
|
44
|
+
includes the reference instance (with the participant mesh).
|
|
45
|
+
All instances defined for the instancing object have identical
|
|
46
|
+
angles."""
|
|
47
|
+
return self.get_property_state("instances_in_full_circle")
|
|
48
|
+
|
|
49
|
+
@instances_in_full_circle.setter
|
|
50
|
+
def instances_in_full_circle(self, value: int):
|
|
51
|
+
self.set_property_state("instances_in_full_circle", value)
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
def instances_for_mapping(self) -> int:
|
|
55
|
+
"""Number of instances to be included in the mapping when instancing
|
|
56
|
+
is applied.
|
|
57
|
+
|
|
58
|
+
Required when the number of instances to be used for mapping does
|
|
59
|
+
not match the number of instances in a full circle. Default
|
|
60
|
+
assumes a 360 degree rotation of the participant mesh. This value
|
|
61
|
+
includes the reference instance (with the participant mesh)."""
|
|
62
|
+
return self.get_property_state("instances_for_mapping")
|
|
63
|
+
|
|
64
|
+
@instances_for_mapping.setter
|
|
65
|
+
def instances_for_mapping(self, value: int):
|
|
66
|
+
self.set_property_state("instances_for_mapping", value)
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
def reference_frame(self) -> str:
|
|
70
|
+
"""Reference frame that defines the orientation of the instancing.
|
|
71
|
+
|
|
72
|
+
Rotation will be around the z-axis of the reference frame,
|
|
73
|
+
following the right-hand rule."""
|
|
74
|
+
return self.get_property_state("reference_frame")
|
|
75
|
+
|
|
76
|
+
@reference_frame.setter
|
|
77
|
+
def reference_frame(self, value: str):
|
|
78
|
+
self.set_property_state("reference_frame", value)
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def axis(self) -> str:
|
|
82
|
+
"""Principal axis of rotation for instancing"""
|
|
83
|
+
return self.get_property_state("axis")
|
|
84
|
+
|
|
85
|
+
@axis.setter
|
|
86
|
+
def axis(self, value: str):
|
|
87
|
+
self.set_property_state("axis", value)
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def axis_from(self) -> RealVectorType:
|
|
91
|
+
"""Define the starting point of a user-defined axis."""
|
|
92
|
+
return self.get_property_state("axis_from")
|
|
93
|
+
|
|
94
|
+
@axis_from.setter
|
|
95
|
+
def axis_from(self, value: RealVectorType):
|
|
96
|
+
self.set_property_state("axis_from", value)
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def axis_to(self) -> RealVectorType:
|
|
100
|
+
"""Define the end point of a user-defined axis."""
|
|
101
|
+
return self.get_property_state("axis_to")
|
|
102
|
+
|
|
103
|
+
@axis_to.setter
|
|
104
|
+
def axis_to(self, value: RealVectorType):
|
|
105
|
+
self.set_property_state("axis_to", value)
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def rotational_offset(self) -> RealType:
|
|
109
|
+
"""Offset (in radians) about the rotation axis for the first instance"""
|
|
110
|
+
return self.get_property_state("rotational_offset")
|
|
111
|
+
|
|
112
|
+
@rotational_offset.setter
|
|
113
|
+
def rotational_offset(self, value: RealType):
|
|
114
|
+
self.set_property_state("rotational_offset", value)
|
|
@@ -0,0 +1,39 @@
|
|
|
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 interrupt(InjectedCommand):
|
|
9
|
+
"""
|
|
10
|
+
Interrupts a solve in progress.
|
|
11
|
+
|
|
12
|
+
See also ``abort``. The difference between an interrupted and
|
|
13
|
+
aborted solve is that an interrupted solve can be resumed.
|
|
14
|
+
|
|
15
|
+
Parameters
|
|
16
|
+
----------
|
|
17
|
+
reason_msg : str, optional
|
|
18
|
+
Text to describe the reason for the interrupt.
|
|
19
|
+
|
|
20
|
+
This might be used for such purposes as providing
|
|
21
|
+
additional annotation in transcript output.
|
|
22
|
+
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
syc_name = "interrupt"
|
|
26
|
+
|
|
27
|
+
cmd_name = "interrupt"
|
|
28
|
+
|
|
29
|
+
argument_names = ["reason_msg"]
|
|
30
|
+
|
|
31
|
+
class reason_msg(String):
|
|
32
|
+
"""
|
|
33
|
+
Text to describe the reason for the interrupt.
|
|
34
|
+
|
|
35
|
+
This might be used for such purposes as providing
|
|
36
|
+
additional annotation in transcript output.
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
syc_name = "reason_msg"
|
|
@@ -0,0 +1,37 @@
|
|
|
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 .expression import expression
|
|
8
|
+
from .expression_function import expression_function
|
|
9
|
+
from .instancing import instancing
|
|
10
|
+
from .reference_frame import reference_frame
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class library(Container):
|
|
14
|
+
"""
|
|
15
|
+
Contains objects that can be referenced from elsewhere in the data model.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
syc_name = "Library"
|
|
19
|
+
|
|
20
|
+
child_names = ["expression", "expression_function", "reference_frame", "instancing"]
|
|
21
|
+
|
|
22
|
+
expression: expression = expression
|
|
23
|
+
"""
|
|
24
|
+
expression child of library.
|
|
25
|
+
"""
|
|
26
|
+
expression_function: expression_function = expression_function
|
|
27
|
+
"""
|
|
28
|
+
expression_function child of library.
|
|
29
|
+
"""
|
|
30
|
+
reference_frame: reference_frame = reference_frame
|
|
31
|
+
"""
|
|
32
|
+
reference_frame child of library.
|
|
33
|
+
"""
|
|
34
|
+
instancing: instancing = instancing
|
|
35
|
+
"""
|
|
36
|
+
instancing child of library.
|
|
37
|
+
"""
|
|
@@ -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 .live_visualization_child import live_visualization_child
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class live_visualization(NamedContainer[live_visualization_child]):
|
|
11
|
+
"""
|
|
12
|
+
Configures live visualization via EnSight DVS.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
syc_name = "LiveVisualization"
|
|
16
|
+
|
|
17
|
+
child_object_type: live_visualization_child = live_visualization_child
|
|
18
|
+
"""
|
|
19
|
+
child_object_type of live_visualization.
|
|
20
|
+
"""
|
|
@@ -0,0 +1,100 @@
|
|
|
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_1 import execution_control
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class live_visualization_child(Container):
|
|
11
|
+
"""
|
|
12
|
+
Configures live visualization via EnSight DVS.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
syc_name = "child_object_type"
|
|
16
|
+
|
|
17
|
+
child_names = ["execution_control"]
|
|
18
|
+
|
|
19
|
+
execution_control: execution_control = execution_control
|
|
20
|
+
"""
|
|
21
|
+
execution_control child of live_visualization_child.
|
|
22
|
+
"""
|
|
23
|
+
property_names_types = [
|
|
24
|
+
("option", "Option", "str"),
|
|
25
|
+
("write_results", "WriteResults", "bool"),
|
|
26
|
+
("show_viewer", "ShowViewer", "bool"),
|
|
27
|
+
("hide_ensight_gui", "HideEnsightGUI", "bool"),
|
|
28
|
+
("output_frequency", "OutputFrequency", "int"),
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
@property
|
|
32
|
+
def option(self) -> str:
|
|
33
|
+
"""Specifies live visualization working process
|
|
34
|
+
|
|
35
|
+
Allowed values:
|
|
36
|
+
|
|
37
|
+
- \"ProgramControlled\" - Generation of postprocessing results is disabled for now.
|
|
38
|
+
|
|
39
|
+
- \"Off\" - Generation of postprocessing results is disabled.
|
|
40
|
+
|
|
41
|
+
Allowed values for step-based analyses:
|
|
42
|
+
|
|
43
|
+
- \"LastStep\" - Generate results only for the last coupling step completed.
|
|
44
|
+
|
|
45
|
+
- \"EveryStep\" - Generate results at the end of every coupling step.
|
|
46
|
+
|
|
47
|
+
- \"StepInterval\" - Generate results at the end of coupling steps at
|
|
48
|
+
the interval specified by the output frequency setting.
|
|
49
|
+
|
|
50
|
+
Allowed values for iteration-based analyses:
|
|
51
|
+
|
|
52
|
+
- \"LastIteration\" - Generate results only for the last coupling
|
|
53
|
+
iteration completed.
|
|
54
|
+
|
|
55
|
+
- \"EveryIteration\" - Generate results at the end of every coupling
|
|
56
|
+
iteration.
|
|
57
|
+
|
|
58
|
+
- \"IterationInterval\" - Generate results at the end of coupling
|
|
59
|
+
iterations at the interval specified by the output frequency setting."""
|
|
60
|
+
return self.get_property_state("option")
|
|
61
|
+
|
|
62
|
+
@option.setter
|
|
63
|
+
def option(self, value: str):
|
|
64
|
+
self.set_property_state("option", value)
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
def write_results(self) -> bool:
|
|
68
|
+
"""Write results to files when conducting live visualization."""
|
|
69
|
+
return self.get_property_state("write_results")
|
|
70
|
+
|
|
71
|
+
@write_results.setter
|
|
72
|
+
def write_results(self, value: bool):
|
|
73
|
+
self.set_property_state("write_results", value)
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
def show_viewer(self) -> bool:
|
|
77
|
+
"""Request that the EnSight client is started with a gRPC server running."""
|
|
78
|
+
return self.get_property_state("show_viewer")
|
|
79
|
+
|
|
80
|
+
@show_viewer.setter
|
|
81
|
+
def show_viewer(self, value: bool):
|
|
82
|
+
self.set_property_state("show_viewer", value)
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def hide_ensight_gui(self) -> bool:
|
|
86
|
+
"""Request that the EnSight client is started hidden (in batch mode)."""
|
|
87
|
+
return self.get_property_state("hide_ensight_gui")
|
|
88
|
+
|
|
89
|
+
@hide_ensight_gui.setter
|
|
90
|
+
def hide_ensight_gui(self, value: bool):
|
|
91
|
+
self.set_property_state("hide_ensight_gui", value)
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
def output_frequency(self) -> int:
|
|
95
|
+
"""Specify output frequency."""
|
|
96
|
+
return self.get_property_state("output_frequency")
|
|
97
|
+
|
|
98
|
+
@output_frequency.setter
|
|
99
|
+
def output_frequency(self, value: int):
|
|
100
|
+
self.set_property_state("output_frequency", value)
|