ansys-systemcoupling-core 0.4.1__py3-none-any.whl → 0.6__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 +11 -5
- ansys/systemcoupling/core/adaptor/api_23_1/_clear_state.py +13 -0
- ansys/systemcoupling/core/adaptor/api_23_1/case_root.py +7 -1
- ansys/systemcoupling/core/adaptor/api_23_1/clear_state.py +4 -2
- ansys/systemcoupling/core/adaptor/api_23_1/show_plot.py +75 -0
- ansys/systemcoupling/core/adaptor/api_23_1/solution_root.py +7 -1
- ansys/systemcoupling/core/adaptor/api_23_2/_clear_state.py +13 -0
- ansys/systemcoupling/core/adaptor/api_23_2/case_root.py +7 -1
- ansys/systemcoupling/core/adaptor/api_23_2/clear_state.py +4 -2
- ansys/systemcoupling/core/adaptor/api_23_2/show_plot.py +75 -0
- ansys/systemcoupling/core/adaptor/api_23_2/solution_root.py +7 -1
- ansys/systemcoupling/core/adaptor/api_24_1/_clear_state.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_1/case_root.py +7 -1
- ansys/systemcoupling/core/adaptor/api_24_1/clear_state.py +4 -2
- ansys/systemcoupling/core/adaptor/api_24_1/show_plot.py +75 -0
- ansys/systemcoupling/core/adaptor/api_24_1/solution_root.py +7 -1
- ansys/systemcoupling/core/adaptor/api_24_2/_add_participant.py +80 -0
- ansys/systemcoupling/core/adaptor/api_24_2/_clear_state.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_2/_solve.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_2/abort.py +39 -0
- ansys/systemcoupling/core/adaptor/api_24_2/activate_hidden.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_aerodamping_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_data_transfer.py +190 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_data_transfer_by_display_names.py +191 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_expression_function.py +61 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_fsi_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_interface.py +77 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_interface_by_display_names.py +78 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_named_expression.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_ordered_data_transfers.py +32 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_participant.py +162 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_reference_frame.py +40 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_thermal_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_transformation.py +102 -0
- ansys/systemcoupling/core/adaptor/api_24_2/analysis_control.py +283 -0
- ansys/systemcoupling/core/adaptor/api_24_2/apip.py +33 -0
- ansys/systemcoupling/core/adaptor/api_24_2/ascii_output.py +44 -0
- ansys/systemcoupling/core/adaptor/api_24_2/attribute.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/attribute_child.py +54 -0
- ansys/systemcoupling/core/adaptor/api_24_2/automatic_alignment_options.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_2/available_ports.py +40 -0
- ansys/systemcoupling/core/adaptor/api_24_2/avoid_data_reconstruction.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_2/case_root.py +62 -0
- ansys/systemcoupling/core/adaptor/api_24_2/clear_state.py +18 -0
- ansys/systemcoupling/core/adaptor/api_24_2/connect_ensight_dvs.py +41 -0
- ansys/systemcoupling/core/adaptor/api_24_2/coupling_interface.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/coupling_interface_child.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_2/coupling_participant.py +23 -0
- ansys/systemcoupling/core/adaptor/api_24_2/coupling_participant_child.py +265 -0
- ansys/systemcoupling/core/adaptor/api_24_2/create_restart_point.py +29 -0
- ansys/systemcoupling/core/adaptor/api_24_2/data_transfer.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/data_transfer_child.py +187 -0
- ansys/systemcoupling/core/adaptor/api_24_2/delete_snapshot.py +28 -0
- ansys/systemcoupling/core/adaptor/api_24_2/delete_transformation.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_2/dimensionality.py +96 -0
- ansys/systemcoupling/core/adaptor/api_24_2/execution_control.py +246 -0
- ansys/systemcoupling/core/adaptor/api_24_2/execution_control_1.py +24 -0
- ansys/systemcoupling/core/adaptor/api_24_2/expression.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/expression_child.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_2/expression_function.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/expression_function_child.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_2/external_data_file.py +24 -0
- ansys/systemcoupling/core/adaptor/api_24_2/fluent_input.py +77 -0
- ansys/systemcoupling/core/adaptor/api_24_2/fmu_parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/fmu_parameter_child.py +156 -0
- ansys/systemcoupling/core/adaptor/api_24_2/generate_input_file.py +41 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_add_data_transfer_group_commands.py +29 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_execution_command.py +30 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_machines.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_mode_shape_variables.py +29 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_region_names_for_participant.py +31 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_setup_summary.py +25 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_status_messages.py +52 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_supported_participant_types.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_thermal_data_transfer_options.py +32 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_transformation.py +43 -0
- ansys/systemcoupling/core/adaptor/api_24_2/global_stabilization.py +143 -0
- ansys/systemcoupling/core/adaptor/api_24_2/has_input_file_changed.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_2/import_system_coupling_input_file.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_2/initialize.py +27 -0
- ansys/systemcoupling/core/adaptor/api_24_2/instancing.py +23 -0
- ansys/systemcoupling/core/adaptor/api_24_2/instancing_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_24_2/interrupt.py +39 -0
- ansys/systemcoupling/core/adaptor/api_24_2/library.py +37 -0
- ansys/systemcoupling/core/adaptor/api_24_2/live_visualization.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/live_visualization_child.py +100 -0
- ansys/systemcoupling/core/adaptor/api_24_2/mapping_control.py +239 -0
- ansys/systemcoupling/core/adaptor/api_24_2/open.py +102 -0
- ansys/systemcoupling/core/adaptor/api_24_2/open_results_in_ensight.py +56 -0
- ansys/systemcoupling/core/adaptor/api_24_2/open_snapshot.py +37 -0
- ansys/systemcoupling/core/adaptor/api_24_2/output_control.py +134 -0
- ansys/systemcoupling/core/adaptor/api_24_2/parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/parameter_child.py +56 -0
- ansys/systemcoupling/core/adaptor/api_24_2/partition_participants.py +138 -0
- ansys/systemcoupling/core/adaptor/api_24_2/properties.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_2/record_interactions.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_2/reference_frame.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/reference_frame_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_24_2/region.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/region_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_24_2/reload_expression_function_modules.py +14 -0
- ansys/systemcoupling/core/adaptor/api_24_2/results.py +89 -0
- ansys/systemcoupling/core/adaptor/api_24_2/save.py +51 -0
- ansys/systemcoupling/core/adaptor/api_24_2/save_snapshot.py +54 -0
- ansys/systemcoupling/core/adaptor/api_24_2/setup_root.py +251 -0
- ansys/systemcoupling/core/adaptor/api_24_2/show_plot.py +75 -0
- ansys/systemcoupling/core/adaptor/api_24_2/shutdown.py +25 -0
- ansys/systemcoupling/core/adaptor/api_24_2/side.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/side_child.py +56 -0
- ansys/systemcoupling/core/adaptor/api_24_2/solution_control.py +115 -0
- ansys/systemcoupling/core/adaptor/api_24_2/solution_root.py +122 -0
- ansys/systemcoupling/core/adaptor/api_24_2/solve.py +30 -0
- ansys/systemcoupling/core/adaptor/api_24_2/stabilization.py +157 -0
- ansys/systemcoupling/core/adaptor/api_24_2/start_participants.py +47 -0
- ansys/systemcoupling/core/adaptor/api_24_2/step.py +57 -0
- ansys/systemcoupling/core/adaptor/api_24_2/transformation.py +21 -0
- ansys/systemcoupling/core/adaptor/api_24_2/transformation_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_24_2/type.py +38 -0
- ansys/systemcoupling/core/adaptor/api_24_2/unmapped_value_options.py +158 -0
- ansys/systemcoupling/core/adaptor/api_24_2/update_control.py +43 -0
- ansys/systemcoupling/core/adaptor/api_24_2/update_participant.py +61 -0
- ansys/systemcoupling/core/adaptor/api_24_2/variable.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/variable_child.py +231 -0
- ansys/systemcoupling/core/adaptor/api_24_2/write_csv_chart_files.py +21 -0
- ansys/systemcoupling/core/adaptor/api_24_2/write_ensight.py +46 -0
- ansys/systemcoupling/core/adaptor/impl/injected_commands.py +228 -27
- ansys/systemcoupling/core/adaptor/impl/static_info.py +17 -0
- ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +3 -0
- ansys/systemcoupling/core/adaptor/impl/syc_proxy_interface.py +4 -0
- ansys/systemcoupling/core/adaptor/impl/types.py +1 -1
- ansys/systemcoupling/core/charts/chart_datatypes.py +169 -0
- ansys/systemcoupling/core/charts/csv_chartdata.py +299 -0
- ansys/systemcoupling/core/charts/live_csv_datasource.py +87 -0
- ansys/systemcoupling/core/charts/message_dispatcher.py +84 -0
- ansys/systemcoupling/core/charts/plot_functions.py +92 -0
- ansys/systemcoupling/core/charts/plotdefinition_manager.py +303 -0
- ansys/systemcoupling/core/charts/plotter.py +343 -0
- ansys/systemcoupling/core/client/grpc_client.py +6 -1
- ansys/systemcoupling/core/participant/manager.py +25 -9
- ansys/systemcoupling/core/participant/protocol.py +1 -0
- ansys/systemcoupling/core/session.py +4 -4
- ansys/systemcoupling/core/syc_version.py +1 -1
- ansys/systemcoupling/core/util/file_transfer.py +4 -0
- ansys/systemcoupling/core/util/logging.py +1 -1
- {ansys_systemcoupling_core-0.4.1.dist-info → ansys_systemcoupling_core-0.6.dist-info}/METADATA +17 -16
- {ansys_systemcoupling_core-0.4.1.dist-info → ansys_systemcoupling_core-0.6.dist-info}/RECORD +148 -26
- {ansys_systemcoupling_core-0.4.1.dist-info → ansys_systemcoupling_core-0.6.dist-info}/LICENSE +0 -0
- {ansys_systemcoupling_core-0.4.1.dist-info → ansys_systemcoupling_core-0.6.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,156 @@
|
|
|
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 fmu_parameter_child(Container):
|
|
9
|
+
"""
|
|
10
|
+
Configure a parameter for an FMU coupling participant.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "child_object_type"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("data_type", "DataType", "str"),
|
|
17
|
+
("participant_display_name", "ParticipantDisplayName", "str"),
|
|
18
|
+
("display_name", "DisplayName", "str"),
|
|
19
|
+
("real_value", "RealValue", "RealType"),
|
|
20
|
+
("real_min", "RealMin", "RealType"),
|
|
21
|
+
("real_max", "RealMax", "RealType"),
|
|
22
|
+
("integer_value", "IntegerValue", "int"),
|
|
23
|
+
("integer_min", "IntegerMin", "int"),
|
|
24
|
+
("integer_max", "IntegerMax", "int"),
|
|
25
|
+
("logical_value", "LogicalValue", "bool"),
|
|
26
|
+
("string_value", "StringValue", "str"),
|
|
27
|
+
("enumeration_value", "EnumerationValue", "int"),
|
|
28
|
+
("enumeration_min", "EnumerationMin", "int"),
|
|
29
|
+
("enumeration_max", "EnumerationMax", "int"),
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
@property
|
|
33
|
+
def data_type(self) -> str:
|
|
34
|
+
"""UNDOCUMENTED"""
|
|
35
|
+
return self.get_property_state("data_type")
|
|
36
|
+
|
|
37
|
+
@data_type.setter
|
|
38
|
+
def data_type(self, value: str):
|
|
39
|
+
self.set_property_state("data_type", value)
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
def participant_display_name(self) -> str:
|
|
43
|
+
"""Parameter's display name as defined by the participant solver."""
|
|
44
|
+
return self.get_property_state("participant_display_name")
|
|
45
|
+
|
|
46
|
+
@participant_display_name.setter
|
|
47
|
+
def participant_display_name(self, value: str):
|
|
48
|
+
self.set_property_state("participant_display_name", value)
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def display_name(self) -> str:
|
|
52
|
+
"""Parameter's display name as defined in System Coupling."""
|
|
53
|
+
return self.get_property_state("display_name")
|
|
54
|
+
|
|
55
|
+
@display_name.setter
|
|
56
|
+
def display_name(self, value: str):
|
|
57
|
+
self.set_property_state("display_name", value)
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def real_value(self) -> RealType:
|
|
61
|
+
"""Real data start value."""
|
|
62
|
+
return self.get_property_state("real_value")
|
|
63
|
+
|
|
64
|
+
@real_value.setter
|
|
65
|
+
def real_value(self, value: RealType):
|
|
66
|
+
self.set_property_state("real_value", value)
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
def real_min(self) -> RealType:
|
|
70
|
+
"""Real data minimum value."""
|
|
71
|
+
return self.get_property_state("real_min")
|
|
72
|
+
|
|
73
|
+
@real_min.setter
|
|
74
|
+
def real_min(self, value: RealType):
|
|
75
|
+
self.set_property_state("real_min", value)
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
def real_max(self) -> RealType:
|
|
79
|
+
"""Real data maximum value."""
|
|
80
|
+
return self.get_property_state("real_max")
|
|
81
|
+
|
|
82
|
+
@real_max.setter
|
|
83
|
+
def real_max(self, value: RealType):
|
|
84
|
+
self.set_property_state("real_max", value)
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def integer_value(self) -> int:
|
|
88
|
+
"""Integer data start value."""
|
|
89
|
+
return self.get_property_state("integer_value")
|
|
90
|
+
|
|
91
|
+
@integer_value.setter
|
|
92
|
+
def integer_value(self, value: int):
|
|
93
|
+
self.set_property_state("integer_value", value)
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def integer_min(self) -> int:
|
|
97
|
+
"""Integer data minimum value."""
|
|
98
|
+
return self.get_property_state("integer_min")
|
|
99
|
+
|
|
100
|
+
@integer_min.setter
|
|
101
|
+
def integer_min(self, value: int):
|
|
102
|
+
self.set_property_state("integer_min", value)
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
def integer_max(self) -> int:
|
|
106
|
+
"""Integer data maximum value."""
|
|
107
|
+
return self.get_property_state("integer_max")
|
|
108
|
+
|
|
109
|
+
@integer_max.setter
|
|
110
|
+
def integer_max(self, value: int):
|
|
111
|
+
self.set_property_state("integer_max", value)
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def logical_value(self) -> bool:
|
|
115
|
+
"""Logical data start value."""
|
|
116
|
+
return self.get_property_state("logical_value")
|
|
117
|
+
|
|
118
|
+
@logical_value.setter
|
|
119
|
+
def logical_value(self, value: bool):
|
|
120
|
+
self.set_property_state("logical_value", value)
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
def string_value(self) -> str:
|
|
124
|
+
"""String data start value."""
|
|
125
|
+
return self.get_property_state("string_value")
|
|
126
|
+
|
|
127
|
+
@string_value.setter
|
|
128
|
+
def string_value(self, value: str):
|
|
129
|
+
self.set_property_state("string_value", value)
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
def enumeration_value(self) -> int:
|
|
133
|
+
"""Enumeration data start value."""
|
|
134
|
+
return self.get_property_state("enumeration_value")
|
|
135
|
+
|
|
136
|
+
@enumeration_value.setter
|
|
137
|
+
def enumeration_value(self, value: int):
|
|
138
|
+
self.set_property_state("enumeration_value", value)
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
def enumeration_min(self) -> int:
|
|
142
|
+
"""Enumeration data minimum value."""
|
|
143
|
+
return self.get_property_state("enumeration_min")
|
|
144
|
+
|
|
145
|
+
@enumeration_min.setter
|
|
146
|
+
def enumeration_min(self, value: int):
|
|
147
|
+
self.set_property_state("enumeration_min", value)
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
def enumeration_max(self) -> int:
|
|
151
|
+
"""Enumeration data maximum value."""
|
|
152
|
+
return self.get_property_state("enumeration_max")
|
|
153
|
+
|
|
154
|
+
@enumeration_max.setter
|
|
155
|
+
def enumeration_max(self, value: int):
|
|
156
|
+
self.set_property_state("enumeration_max", value)
|
|
@@ -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 generate_input_file(Command):
|
|
9
|
+
"""
|
|
10
|
+
Generates the input journal file for a given Fluent participant.
|
|
11
|
+
|
|
12
|
+
Parameters
|
|
13
|
+
----------
|
|
14
|
+
participant_name : str
|
|
15
|
+
Name of the participant for which the execution command will
|
|
16
|
+
be returned.
|
|
17
|
+
file_name : str
|
|
18
|
+
Name of the journal script to be written. Note that this name is relative
|
|
19
|
+
to the participant's working directory.
|
|
20
|
+
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
syc_name = "GenerateInputFile"
|
|
24
|
+
|
|
25
|
+
argument_names = ["participant_name", "file_name"]
|
|
26
|
+
|
|
27
|
+
class participant_name(String):
|
|
28
|
+
"""
|
|
29
|
+
Name of the participant for which the execution command will
|
|
30
|
+
be returned.
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
syc_name = "ParticipantName"
|
|
34
|
+
|
|
35
|
+
class file_name(String):
|
|
36
|
+
"""
|
|
37
|
+
Name of the journal script to be written. Note that this name is relative
|
|
38
|
+
to the participant's working directory.
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
syc_name = "FileName"
|
|
@@ -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 get_add_data_transfer_group_commands(Command):
|
|
9
|
+
"""
|
|
10
|
+
Given an interface name, returns a list with possible commands
|
|
11
|
+
for adding data transfer groups.
|
|
12
|
+
|
|
13
|
+
Parameters
|
|
14
|
+
----------
|
|
15
|
+
interface : str
|
|
16
|
+
String indicating the name of the interface.
|
|
17
|
+
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
syc_name = "GetAddDataTransferGroupCommands"
|
|
21
|
+
|
|
22
|
+
argument_names = ["interface"]
|
|
23
|
+
|
|
24
|
+
class interface(String):
|
|
25
|
+
"""
|
|
26
|
+
String indicating the name of the interface.
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
syc_name = "Interface"
|
|
@@ -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 get_execution_command(Command):
|
|
9
|
+
"""
|
|
10
|
+
Gets the execution command needed to start the specified participant
|
|
11
|
+
|
|
12
|
+
Parameters
|
|
13
|
+
----------
|
|
14
|
+
participant_name : str
|
|
15
|
+
Name of the participant for which the execution command will
|
|
16
|
+
be returned.
|
|
17
|
+
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
syc_name = "GetExecutionCommand"
|
|
21
|
+
|
|
22
|
+
argument_names = ["participant_name"]
|
|
23
|
+
|
|
24
|
+
class participant_name(String):
|
|
25
|
+
"""
|
|
26
|
+
Name of the participant for which the execution command will
|
|
27
|
+
be returned.
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
syc_name = "ParticipantName"
|
|
@@ -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 get_mode_shape_variables(Command):
|
|
9
|
+
"""
|
|
10
|
+
Given an interface name, returns a list of mode shape variables available
|
|
11
|
+
from the MECH-SRV participant.
|
|
12
|
+
|
|
13
|
+
Parameters
|
|
14
|
+
----------
|
|
15
|
+
interface : str
|
|
16
|
+
String indicating the name of the interface.
|
|
17
|
+
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
syc_name = "GetModeShapeVariables"
|
|
21
|
+
|
|
22
|
+
argument_names = ["interface"]
|
|
23
|
+
|
|
24
|
+
class interface(String):
|
|
25
|
+
"""
|
|
26
|
+
String indicating the name of the interface.
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
syc_name = "Interface"
|
|
@@ -0,0 +1,31 @@
|
|
|
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_region_names_for_participant(Command):
|
|
9
|
+
"""
|
|
10
|
+
Gets all of the specified participant's regions.
|
|
11
|
+
|
|
12
|
+
Returns a dictionary with the regions as keys and the corresponding
|
|
13
|
+
display names as values.
|
|
14
|
+
|
|
15
|
+
Parameters
|
|
16
|
+
----------
|
|
17
|
+
participant_name : str
|
|
18
|
+
String indicating the participant for which regions are returned.
|
|
19
|
+
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
syc_name = "GetRegionNamesForParticipant"
|
|
23
|
+
|
|
24
|
+
argument_names = ["participant_name"]
|
|
25
|
+
|
|
26
|
+
class participant_name(String):
|
|
27
|
+
"""
|
|
28
|
+
String indicating the participant for which regions are returned.
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
syc_name = "ParticipantName"
|
|
@@ -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 get_setup_summary(InjectedCommand):
|
|
9
|
+
"""
|
|
10
|
+
Returns a string containing a formatted summary of the
|
|
11
|
+
coupled analysis setup.
|
|
12
|
+
|
|
13
|
+
This summary is printed in the System Coupling transcript
|
|
14
|
+
output at the beginning of a solve. However, it is sometimes
|
|
15
|
+
useful to see the summary before starting the solve.
|
|
16
|
+
|
|
17
|
+
The summary output is generated by System Coupling and is not
|
|
18
|
+
modified for PySystemCoupling purposes. Any ``datamodel`` type names
|
|
19
|
+
that are referenced in the summary therefore might not
|
|
20
|
+
be fully consistent with PySystemCoupling conventions.
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
syc_name = "GetSetupSummary"
|
|
24
|
+
|
|
25
|
+
cmd_name = "get_setup_summary"
|
|
@@ -0,0 +1,52 @@
|
|
|
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_status_messages(InjectedCommand):
|
|
9
|
+
"""
|
|
10
|
+
Provides information relating to the current state of the analysis setup.
|
|
11
|
+
|
|
12
|
+
The return value is a list of dictionaries. Each dictionary holds a
|
|
13
|
+
single message about the setup status, along with some associated information.
|
|
14
|
+
The dictionary has string-valued fields: ``"message"``, ``"level"``,
|
|
15
|
+
and ``"path"``.
|
|
16
|
+
|
|
17
|
+
The ``"message"`` field is the actual text of the message.
|
|
18
|
+
|
|
19
|
+
.. note::
|
|
20
|
+
In the current release, generated messages have not been adapted to
|
|
21
|
+
the PySystemCoupling environment and may use naming and terminology that
|
|
22
|
+
is native to the System Coupling application and its own command line
|
|
23
|
+
interface.
|
|
24
|
+
|
|
25
|
+
Because there is generally a straightforward mapping to the PySystemCoupling
|
|
26
|
+
exposure of settings and so on, the messages should not be difficult
|
|
27
|
+
to interpret. Nevertheless, the ``get_status_messages`` method should
|
|
28
|
+
be regarded as *beta* functionality in the current release.
|
|
29
|
+
|
|
30
|
+
The ``"level"`` field provides information about the severity or nature of the
|
|
31
|
+
message. Possible values are ``"Error"``, ``"Warning"``, ``"Information"``,
|
|
32
|
+
``"Alpha"``, and ``"Beta"``. ``"Alpha"`` and ``"Beta"`` indicate settings related
|
|
33
|
+
to activated alpha or beta features.
|
|
34
|
+
|
|
35
|
+
It is not possible to solve an analysis that has any issues at the ``"Error"``
|
|
36
|
+
severity level. An attempt to invoke the ``solve`` command while there are
|
|
37
|
+
any errors results in an immediate failure.
|
|
38
|
+
|
|
39
|
+
If the ``"path"`` field is set, it contains a string representation of the path
|
|
40
|
+
to the setting to which the message pertains. This is given in the form of
|
|
41
|
+
chained Python attribute accesses starting from the ``setup`` attribute.
|
|
42
|
+
|
|
43
|
+
Thus, if an issue were detected that is specific to the ``absolute_gap_tolerance``
|
|
44
|
+
setting in a particular coupling interface, a ``"path"`` such as the following would
|
|
45
|
+
be provided:
|
|
46
|
+
|
|
47
|
+
``'coupling_interface["Interface-1"].mapping_control.absolute_gap_tolerance'``
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
syc_name = "GetErrors"
|
|
51
|
+
|
|
52
|
+
cmd_name = "get_status_messages"
|
|
@@ -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,143 @@
|
|
|
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
|
+
("qr_solver", "QRSolver", "str"),
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
@property
|
|
29
|
+
def option(self) -> str:
|
|
30
|
+
"""Stabilization type.
|
|
31
|
+
|
|
32
|
+
Allowed values:
|
|
33
|
+
|
|
34
|
+
- \"None\"
|
|
35
|
+
- \"Quasi-Newton\" """
|
|
36
|
+
return self.get_property_state("option")
|
|
37
|
+
|
|
38
|
+
@option.setter
|
|
39
|
+
def option(self, value: str):
|
|
40
|
+
self.set_property_state("option", value)
|
|
41
|
+
|
|
42
|
+
@property
|
|
43
|
+
def initial_iterations(self) -> int:
|
|
44
|
+
"""Number of pre-stabilization iterations to perform."""
|
|
45
|
+
return self.get_property_state("initial_iterations")
|
|
46
|
+
|
|
47
|
+
@initial_iterations.setter
|
|
48
|
+
def initial_iterations(self, value: int):
|
|
49
|
+
self.set_property_state("initial_iterations", value)
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
def initial_relaxation_factor(self) -> RealType:
|
|
53
|
+
"""Relaxation factor applied for pre-stabilization iterations."""
|
|
54
|
+
return self.get_property_state("initial_relaxation_factor")
|
|
55
|
+
|
|
56
|
+
@initial_relaxation_factor.setter
|
|
57
|
+
def initial_relaxation_factor(self, value: RealType):
|
|
58
|
+
self.set_property_state("initial_relaxation_factor", value)
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def maximum_retained_time_steps(self) -> int:
|
|
62
|
+
"""Controls the maximum number of timesteps to retain."""
|
|
63
|
+
return self.get_property_state("maximum_retained_time_steps")
|
|
64
|
+
|
|
65
|
+
@maximum_retained_time_steps.setter
|
|
66
|
+
def maximum_retained_time_steps(self, value: int):
|
|
67
|
+
self.set_property_state("maximum_retained_time_steps", value)
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
def maximum_retained_iterations(self) -> int:
|
|
71
|
+
"""Controls the maximum number of iterations to retain."""
|
|
72
|
+
return self.get_property_state("maximum_retained_iterations")
|
|
73
|
+
|
|
74
|
+
@maximum_retained_iterations.setter
|
|
75
|
+
def maximum_retained_iterations(self, value: int):
|
|
76
|
+
self.set_property_state("maximum_retained_iterations", value)
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def diagnostics_level(self) -> int:
|
|
80
|
+
"""Controls the maximum number of timesteps to retain.
|
|
81
|
+
|
|
82
|
+
Values are interpreted as:
|
|
83
|
+
|
|
84
|
+
- 0 : none
|
|
85
|
+
- 1 : basic
|
|
86
|
+
- 2 : advanced
|
|
87
|
+
- 3 : write matrix files"""
|
|
88
|
+
return self.get_property_state("diagnostics_level")
|
|
89
|
+
|
|
90
|
+
@diagnostics_level.setter
|
|
91
|
+
def diagnostics_level(self, value: int):
|
|
92
|
+
self.set_property_state("diagnostics_level", value)
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
def weight_option(self) -> str:
|
|
96
|
+
"""Weight factor when multiple transfers are stabilized.
|
|
97
|
+
|
|
98
|
+
Allowed values:
|
|
99
|
+
|
|
100
|
+
- \"Constant\"
|
|
101
|
+
- \"Value\"
|
|
102
|
+
- \"Residual\"
|
|
103
|
+
- \"ResidualSum\"
|
|
104
|
+
- \"InverseResidual\"
|
|
105
|
+
- \"InverseResidualSum\" """
|
|
106
|
+
return self.get_property_state("weight_option")
|
|
107
|
+
|
|
108
|
+
@weight_option.setter
|
|
109
|
+
def weight_option(self, value: str):
|
|
110
|
+
self.set_property_state("weight_option", value)
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def qr_tol_this_step(self) -> RealType:
|
|
114
|
+
"""QR filter tolerance for current step."""
|
|
115
|
+
return self.get_property_state("qr_tol_this_step")
|
|
116
|
+
|
|
117
|
+
@qr_tol_this_step.setter
|
|
118
|
+
def qr_tol_this_step(self, value: RealType):
|
|
119
|
+
self.set_property_state("qr_tol_this_step", value)
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
def qr_tol_old_steps(self) -> RealType:
|
|
123
|
+
"""QR filter tolerance for old steps."""
|
|
124
|
+
return self.get_property_state("qr_tol_old_steps")
|
|
125
|
+
|
|
126
|
+
@qr_tol_old_steps.setter
|
|
127
|
+
def qr_tol_old_steps(self, value: RealType):
|
|
128
|
+
self.set_property_state("qr_tol_old_steps", value)
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
def qr_solver(self) -> str:
|
|
132
|
+
"""QR solver options.
|
|
133
|
+
|
|
134
|
+
Allowed values:
|
|
135
|
+
|
|
136
|
+
- \"QR_MGS\"
|
|
137
|
+
- \"QR_augmentedMGS\" (default)
|
|
138
|
+
- \"QR_pivot\" """
|
|
139
|
+
return self.get_property_state("qr_solver")
|
|
140
|
+
|
|
141
|
+
@qr_solver.setter
|
|
142
|
+
def qr_solver(self, value: str):
|
|
143
|
+
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"
|