ansys-systemcoupling-core 0.3.1__py3-none-any.whl → 0.4.dev0__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 +23 -1
- ansys/systemcoupling/core/_version.py +22 -0
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_data_transfer_by_display_names.py +0 -3
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_interface.py +21 -23
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_interface_by_display_names.py +0 -3
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_participant.py +40 -20
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/analysis_control.py +0 -42
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/avoid_data_reconstruction.py +0 -10
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/case_root.py +7 -1
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/coupling_participant_child.py +2 -97
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/execution_control.py +1 -31
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/fluent_input.py +0 -10
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/fmu_parameter_child.py +0 -30
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/has_input_file_changed.py +2 -2
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/mapping_control.py +0 -10
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/open_results_in_ensight.py +0 -28
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/output_control.py +1 -6
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/region_child.py +3 -2
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/setup_root.py +1 -49
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/solution_control.py +0 -24
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/solution_root.py +1 -7
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/start_participants.py +1 -1
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/update_participant.py +8 -8
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/variable_child.py +1 -31
- ansys/systemcoupling/core/adaptor/api_24_1/add_data_transfer_by_display_names.py +3 -0
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/add_fsi_data_transfers.py +1 -12
- ansys/systemcoupling/core/adaptor/api_24_1/add_interface.py +23 -21
- ansys/systemcoupling/core/adaptor/api_24_1/add_interface_by_display_names.py +3 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_participant.py +20 -40
- ansys/systemcoupling/core/adaptor/api_24_1/analysis_control.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_1/avoid_data_reconstruction.py +10 -0
- ansys/systemcoupling/core/adaptor/api_24_1/case_root.py +1 -7
- ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant_child.py +85 -2
- ansys/systemcoupling/core/adaptor/api_24_1/execution_control.py +11 -1
- ansys/systemcoupling/core/adaptor/api_24_1/fmu_parameter_child.py +30 -0
- ansys/systemcoupling/core/adaptor/api_24_1/has_input_file_changed.py +2 -2
- ansys/systemcoupling/core/adaptor/api_24_1/mapping_control.py +10 -0
- ansys/systemcoupling/core/adaptor/api_24_1/open_results_in_ensight.py +28 -0
- ansys/systemcoupling/core/adaptor/api_24_1/output_control.py +6 -1
- ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/record_interactions.py +0 -10
- ansys/systemcoupling/core/adaptor/api_24_1/region_child.py +2 -2
- ansys/systemcoupling/core/adaptor/api_24_1/setup_root.py +49 -1
- ansys/systemcoupling/core/adaptor/api_24_1/solution_control.py +24 -0
- ansys/systemcoupling/core/adaptor/api_24_1/solution_root.py +7 -1
- ansys/systemcoupling/core/adaptor/api_24_1/start_participants.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_1/update_participant.py +8 -8
- ansys/systemcoupling/core/adaptor/api_24_1/variable_child.py +31 -1
- ansys/systemcoupling/core/adaptor/impl/get_status_messages.py +22 -0
- ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +26 -2
- ansys/systemcoupling/core/adaptor/impl/injected_commands.py +29 -0
- ansys/systemcoupling/core/adaptor/impl/root_source.py +22 -1
- ansys/systemcoupling/core/adaptor/impl/static_info.py +22 -0
- ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +22 -0
- ansys/systemcoupling/core/adaptor/impl/syc_proxy_interface.py +22 -0
- ansys/systemcoupling/core/adaptor/impl/types.py +23 -0
- ansys/systemcoupling/core/client/grpc_client.py +22 -0
- ansys/systemcoupling/core/client/services/command_query.py +22 -0
- ansys/systemcoupling/core/client/services/output_stream.py +22 -0
- ansys/systemcoupling/core/client/services/process.py +22 -0
- ansys/systemcoupling/core/client/services/solution.py +22 -0
- ansys/systemcoupling/core/client/syc_container.py +22 -0
- ansys/systemcoupling/core/client/syc_process.py +22 -0
- ansys/systemcoupling/core/client/variant.py +22 -0
- ansys/systemcoupling/core/examples/__init__.py +22 -0
- ansys/systemcoupling/core/examples/downloads.py +23 -0
- ansys/systemcoupling/core/native_api/__init__.py +22 -0
- ansys/systemcoupling/core/native_api/command_metadata.py +23 -0
- ansys/systemcoupling/core/native_api/datamodel_metadata.py +22 -0
- ansys/systemcoupling/core/native_api/meta_wrapper.py +23 -0
- ansys/systemcoupling/core/native_api/native_api.py +22 -0
- ansys/systemcoupling/core/native_api/object_path.py +22 -0
- ansys/systemcoupling/core/participant/manager.py +22 -0
- ansys/systemcoupling/core/participant/mapdl.py +298 -0
- ansys/systemcoupling/core/participant/protocol.py +22 -0
- ansys/systemcoupling/core/session.py +22 -0
- ansys/systemcoupling/core/syc_version.py +22 -0
- ansys/systemcoupling/core/util/logging.py +22 -0
- ansys/systemcoupling/core/util/name_util.py +22 -0
- ansys/systemcoupling/core/util/pathstr.py +23 -1
- ansys/systemcoupling/core/util/state_keys.py +22 -0
- ansys/systemcoupling/core/util/yaml_helper.py +22 -0
- {ansys_systemcoupling_core-0.3.1.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/METADATA +19 -18
- {ansys_systemcoupling_core-0.3.1.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/RECORD +165 -164
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/_add_participant.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/_solve.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/abort.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/activate_hidden.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_data_transfer.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_expression_function.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_named_expression.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_reference_frame.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/add_transformation.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/apip.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/ascii_output.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/attribute.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/attribute_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/available_ports.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/clear_state.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/coupling_interface.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/coupling_interface_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/coupling_participant.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/create_restart_point.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/data_transfer.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/data_transfer_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/delete_snapshot.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/delete_transformation.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/dimensionality.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/expression.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/expression_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/expression_function.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/expression_function_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/external_data_file.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/fmu_parameter.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/generate_input_file.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/get_execution_command.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/get_machines.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/get_region_names_for_participant.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/get_setup_summary.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_1 → api_23_1}/get_snapshots.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/get_status_messages.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/global_stabilization.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/import_system_coupling_input_file.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/initialize.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/instancing.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/instancing_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/interrupt.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/library.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/open.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/open_snapshot.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/partition_participants.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/reference_frame.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/reference_frame_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/region.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/reload_expression_function_modules.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/results.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/save.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/save_snapshot.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/shutdown.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/side.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/side_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/solve.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/stabilization.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/step.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/transformation.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/transformation_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/type.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/unmapped_value_options.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/update_control.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/variable.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/write_csv_chart_files.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_23_1}/write_ensight.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/add_aerodamping_data_transfers.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/add_ordered_data_transfers.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/add_thermal_data_transfers.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/automatic_alignment_options.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/get_add_data_transfer_group_commands.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/get_mode_shape_variables.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/get_thermal_data_transfer_options.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/get_transformation.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/live_visualization.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/live_visualization_child.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/parameter.py +0 -0
- /ansys/systemcoupling/core/adaptor/{api_24_2 → api_24_1}/parameter_child.py +0 -0
- {ansys_systemcoupling_core-0.3.1.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/LICENSE +0 -0
- {ansys_systemcoupling_core-0.3.1.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/WHEEL +0 -0
|
@@ -24,9 +24,6 @@ class fmu_parameter_child(Container):
|
|
|
24
24
|
("integer_max", "IntegerMax", "int"),
|
|
25
25
|
("logical_value", "LogicalValue", "bool"),
|
|
26
26
|
("string_value", "StringValue", "str"),
|
|
27
|
-
("enumeration_value", "EnumerationValue", "int"),
|
|
28
|
-
("enumeration_min", "EnumerationMin", "int"),
|
|
29
|
-
("enumeration_max", "EnumerationMax", "int"),
|
|
30
27
|
]
|
|
31
28
|
|
|
32
29
|
@property
|
|
@@ -127,30 +124,3 @@ class fmu_parameter_child(Container):
|
|
|
127
124
|
@string_value.setter
|
|
128
125
|
def string_value(self, value: str):
|
|
129
126
|
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)
|
|
@@ -10,11 +10,11 @@ class has_input_file_changed(Command):
|
|
|
10
10
|
Given the name of a participant, checks whether the input file has changed.
|
|
11
11
|
|
|
12
12
|
Available for server participants. Currently, only input files for
|
|
13
|
-
DEFAULT-SRV, CFD-SRV,
|
|
13
|
+
DEFAULT-SRV, CFD-SRV, and MECH-SRV participants are tracked by
|
|
14
14
|
System Coupling.
|
|
15
15
|
|
|
16
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
|
|
17
|
+
command will return ``False`` in all cases, even if changes have been made
|
|
18
18
|
to the participant input file.
|
|
19
19
|
|
|
20
20
|
Parameters
|
|
@@ -42,7 +42,6 @@ class mapping_control(Container):
|
|
|
42
42
|
("rbf_shape_parameter", "RBFShapeParameter", "RealType"),
|
|
43
43
|
("rbf_linear_correction", "RBFLinearCorrection", "bool"),
|
|
44
44
|
("rbf_clipping_scale", "RBFClippingScale", "RealType"),
|
|
45
|
-
("clipping", "Clipping", "bool"),
|
|
46
45
|
]
|
|
47
46
|
|
|
48
47
|
@property
|
|
@@ -228,12 +227,3 @@ class mapping_control(Container):
|
|
|
228
227
|
@rbf_clipping_scale.setter
|
|
229
228
|
def rbf_clipping_scale(self, value: RealType):
|
|
230
229
|
self.set_property_state("rbf_clipping_scale", value)
|
|
231
|
-
|
|
232
|
-
@property
|
|
233
|
-
def clipping(self) -> bool:
|
|
234
|
-
"""Controls whether to clip target values to the min/max of the local source values for profile-preserving transfers."""
|
|
235
|
-
return self.get_property_state("clipping")
|
|
236
|
-
|
|
237
|
-
@clipping.setter
|
|
238
|
-
def clipping(self, value: bool):
|
|
239
|
-
self.set_property_state("clipping", value)
|
|
@@ -23,34 +23,6 @@ class open_results_in_ensight(Command):
|
|
|
23
23
|
instance of the EnSight application is opened. Any existing instances of
|
|
24
24
|
EnSight remain open, both when additional instances are created and when
|
|
25
25
|
System Coupling exits.
|
|
26
|
-
|
|
27
|
-
Parameters
|
|
28
|
-
----------
|
|
29
|
-
file_name : str, optional
|
|
30
|
-
The basename of the EnSight case file if using a non-standard file
|
|
31
|
-
name. Overrides the default file name ``results.enc``.
|
|
32
|
-
file_path : str, optional
|
|
33
|
-
The path to the EnSight case if using a non-standard location.
|
|
34
|
-
Overrides the default path of ``SyC/results``.
|
|
35
|
-
|
|
36
26
|
"""
|
|
37
27
|
|
|
38
28
|
syc_name = "OpenResultsInEnSight"
|
|
39
|
-
|
|
40
|
-
argument_names = ["file_name", "file_path"]
|
|
41
|
-
|
|
42
|
-
class file_name(String):
|
|
43
|
-
"""
|
|
44
|
-
The basename of the EnSight case file if using a non-standard file
|
|
45
|
-
name. Overrides the default file name ``results.enc``.
|
|
46
|
-
"""
|
|
47
|
-
|
|
48
|
-
syc_name = "FileName"
|
|
49
|
-
|
|
50
|
-
class file_path(String):
|
|
51
|
-
"""
|
|
52
|
-
The path to the EnSight case if using a non-standard location.
|
|
53
|
-
Overrides the default path of ``SyC/results``.
|
|
54
|
-
"""
|
|
55
|
-
|
|
56
|
-
syc_name = "FilePath"
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
6
|
|
|
7
7
|
from .ascii_output import ascii_output
|
|
8
|
-
from .live_visualization import live_visualization
|
|
9
8
|
from .results import results
|
|
10
9
|
|
|
11
10
|
|
|
@@ -16,7 +15,7 @@ class output_control(Container):
|
|
|
16
15
|
|
|
17
16
|
syc_name = "OutputControl"
|
|
18
17
|
|
|
19
|
-
child_names = ["results", "ascii_output"
|
|
18
|
+
child_names = ["results", "ascii_output"]
|
|
20
19
|
|
|
21
20
|
results: results = results
|
|
22
21
|
"""
|
|
@@ -26,10 +25,6 @@ class output_control(Container):
|
|
|
26
25
|
"""
|
|
27
26
|
ascii_output child of output_control.
|
|
28
27
|
"""
|
|
29
|
-
live_visualization: live_visualization = live_visualization
|
|
30
|
-
"""
|
|
31
|
-
live_visualization child of output_control.
|
|
32
|
-
"""
|
|
33
28
|
property_names_types = [
|
|
34
29
|
("option", "Option", "str"),
|
|
35
30
|
("generate_csv_chart_output", "GenerateCSVChartOutput", "bool"),
|
|
@@ -26,6 +26,7 @@ class region_child(Container):
|
|
|
26
26
|
|
|
27
27
|
Allowed values:
|
|
28
28
|
|
|
29
|
+
- \"Undefined\" (FMU participants only)
|
|
29
30
|
- \"Surface\"
|
|
30
31
|
- \"Volume\" (3D participants only)"""
|
|
31
32
|
return self.get_property_state("topology")
|
|
@@ -36,7 +37,7 @@ class region_child(Container):
|
|
|
36
37
|
|
|
37
38
|
@property
|
|
38
39
|
def input_variables(self) -> StringListType:
|
|
39
|
-
"""Input variables for the region
|
|
40
|
+
"""Input variables for the region."""
|
|
40
41
|
return self.get_property_state("input_variables")
|
|
41
42
|
|
|
42
43
|
@input_variables.setter
|
|
@@ -45,7 +46,7 @@ class region_child(Container):
|
|
|
45
46
|
|
|
46
47
|
@property
|
|
47
48
|
def output_variables(self) -> StringListType:
|
|
48
|
-
"""Output variables for the region
|
|
49
|
+
"""Output variables for the region."""
|
|
49
50
|
return self.get_property_state("output_variables")
|
|
50
51
|
|
|
51
52
|
@output_variables.setter
|
|
@@ -2,37 +2,30 @@
|
|
|
2
2
|
# This is an auto-generated file. DO NOT EDIT!
|
|
3
3
|
#
|
|
4
4
|
|
|
5
|
-
SHASH = "
|
|
5
|
+
SHASH = "faa921cc93dcfd82765876c7d8016504355fe48b9a4639cf4cef834646f944c7"
|
|
6
6
|
|
|
7
7
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
8
8
|
|
|
9
9
|
from ._add_participant import _add_participant
|
|
10
10
|
from .activate_hidden import activate_hidden
|
|
11
|
-
from .add_aerodamping_data_transfers import add_aerodamping_data_transfers
|
|
12
11
|
from .add_data_transfer import add_data_transfer
|
|
13
12
|
from .add_data_transfer_by_display_names import add_data_transfer_by_display_names
|
|
14
13
|
from .add_expression_function import add_expression_function
|
|
15
|
-
from .add_fsi_data_transfers import add_fsi_data_transfers
|
|
16
14
|
from .add_interface import add_interface
|
|
17
15
|
from .add_interface_by_display_names import add_interface_by_display_names
|
|
18
16
|
from .add_named_expression import add_named_expression
|
|
19
|
-
from .add_ordered_data_transfers import add_ordered_data_transfers
|
|
20
17
|
from .add_participant import add_participant
|
|
21
18
|
from .add_reference_frame import add_reference_frame
|
|
22
|
-
from .add_thermal_data_transfers import add_thermal_data_transfers
|
|
23
19
|
from .add_transformation import add_transformation
|
|
24
20
|
from .analysis_control import analysis_control
|
|
25
21
|
from .coupling_interface import coupling_interface
|
|
26
22
|
from .coupling_participant import coupling_participant
|
|
27
23
|
from .delete_transformation import delete_transformation
|
|
28
24
|
from .generate_input_file import generate_input_file
|
|
29
|
-
from .get_add_data_transfer_group_commands import get_add_data_transfer_group_commands
|
|
30
25
|
from .get_execution_command import get_execution_command
|
|
31
|
-
from .get_mode_shape_variables import get_mode_shape_variables
|
|
32
26
|
from .get_region_names_for_participant import get_region_names_for_participant
|
|
33
27
|
from .get_setup_summary import get_setup_summary
|
|
34
28
|
from .get_status_messages import get_status_messages
|
|
35
|
-
from .get_thermal_data_transfer_options import get_thermal_data_transfer_options
|
|
36
29
|
from .has_input_file_changed import has_input_file_changed
|
|
37
30
|
from .import_system_coupling_input_file import import_system_coupling_input_file
|
|
38
31
|
from .library import library
|
|
@@ -89,28 +82,21 @@ class setup_root(Container):
|
|
|
89
82
|
"""
|
|
90
83
|
command_names = [
|
|
91
84
|
"_add_participant",
|
|
92
|
-
"add_aerodamping_data_transfers",
|
|
93
85
|
"add_data_transfer",
|
|
94
86
|
"add_data_transfer_by_display_names",
|
|
95
87
|
"add_expression_function",
|
|
96
|
-
"add_fsi_data_transfers",
|
|
97
88
|
"add_interface",
|
|
98
89
|
"add_interface_by_display_names",
|
|
99
90
|
"add_named_expression",
|
|
100
|
-
"add_ordered_data_transfers",
|
|
101
91
|
"add_participant",
|
|
102
92
|
"add_reference_frame",
|
|
103
|
-
"add_thermal_data_transfers",
|
|
104
93
|
"add_transformation",
|
|
105
94
|
"delete_transformation",
|
|
106
95
|
"generate_input_file",
|
|
107
|
-
"get_add_data_transfer_group_commands",
|
|
108
96
|
"get_execution_command",
|
|
109
|
-
"get_mode_shape_variables",
|
|
110
97
|
"get_region_names_for_participant",
|
|
111
98
|
"get_setup_summary",
|
|
112
99
|
"get_status_messages",
|
|
113
|
-
"get_thermal_data_transfer_options",
|
|
114
100
|
"has_input_file_changed",
|
|
115
101
|
"import_system_coupling_input_file",
|
|
116
102
|
"reload_expression_function_modules",
|
|
@@ -121,12 +107,6 @@ class setup_root(Container):
|
|
|
121
107
|
"""
|
|
122
108
|
_add_participant command of setup_root.
|
|
123
109
|
"""
|
|
124
|
-
add_aerodamping_data_transfers: add_aerodamping_data_transfers = (
|
|
125
|
-
add_aerodamping_data_transfers
|
|
126
|
-
)
|
|
127
|
-
"""
|
|
128
|
-
add_aerodamping_data_transfers command of setup_root.
|
|
129
|
-
"""
|
|
130
110
|
add_data_transfer: add_data_transfer = add_data_transfer
|
|
131
111
|
"""
|
|
132
112
|
add_data_transfer command of setup_root.
|
|
@@ -141,10 +121,6 @@ class setup_root(Container):
|
|
|
141
121
|
"""
|
|
142
122
|
add_expression_function command of setup_root.
|
|
143
123
|
"""
|
|
144
|
-
add_fsi_data_transfers: add_fsi_data_transfers = add_fsi_data_transfers
|
|
145
|
-
"""
|
|
146
|
-
add_fsi_data_transfers command of setup_root.
|
|
147
|
-
"""
|
|
148
124
|
add_interface: add_interface = add_interface
|
|
149
125
|
"""
|
|
150
126
|
add_interface command of setup_root.
|
|
@@ -159,10 +135,6 @@ class setup_root(Container):
|
|
|
159
135
|
"""
|
|
160
136
|
add_named_expression command of setup_root.
|
|
161
137
|
"""
|
|
162
|
-
add_ordered_data_transfers: add_ordered_data_transfers = add_ordered_data_transfers
|
|
163
|
-
"""
|
|
164
|
-
add_ordered_data_transfers command of setup_root.
|
|
165
|
-
"""
|
|
166
138
|
add_participant: add_participant = add_participant
|
|
167
139
|
"""
|
|
168
140
|
add_participant command of setup_root.
|
|
@@ -171,10 +143,6 @@ class setup_root(Container):
|
|
|
171
143
|
"""
|
|
172
144
|
add_reference_frame command of setup_root.
|
|
173
145
|
"""
|
|
174
|
-
add_thermal_data_transfers: add_thermal_data_transfers = add_thermal_data_transfers
|
|
175
|
-
"""
|
|
176
|
-
add_thermal_data_transfers command of setup_root.
|
|
177
|
-
"""
|
|
178
146
|
add_transformation: add_transformation = add_transformation
|
|
179
147
|
"""
|
|
180
148
|
add_transformation command of setup_root.
|
|
@@ -187,20 +155,10 @@ class setup_root(Container):
|
|
|
187
155
|
"""
|
|
188
156
|
generate_input_file command of setup_root.
|
|
189
157
|
"""
|
|
190
|
-
get_add_data_transfer_group_commands: get_add_data_transfer_group_commands = (
|
|
191
|
-
get_add_data_transfer_group_commands
|
|
192
|
-
)
|
|
193
|
-
"""
|
|
194
|
-
get_add_data_transfer_group_commands command of setup_root.
|
|
195
|
-
"""
|
|
196
158
|
get_execution_command: get_execution_command = get_execution_command
|
|
197
159
|
"""
|
|
198
160
|
get_execution_command command of setup_root.
|
|
199
161
|
"""
|
|
200
|
-
get_mode_shape_variables: get_mode_shape_variables = get_mode_shape_variables
|
|
201
|
-
"""
|
|
202
|
-
get_mode_shape_variables command of setup_root.
|
|
203
|
-
"""
|
|
204
162
|
get_region_names_for_participant: get_region_names_for_participant = (
|
|
205
163
|
get_region_names_for_participant
|
|
206
164
|
)
|
|
@@ -215,12 +173,6 @@ class setup_root(Container):
|
|
|
215
173
|
"""
|
|
216
174
|
get_status_messages command of setup_root.
|
|
217
175
|
"""
|
|
218
|
-
get_thermal_data_transfer_options: get_thermal_data_transfer_options = (
|
|
219
|
-
get_thermal_data_transfer_options
|
|
220
|
-
)
|
|
221
|
-
"""
|
|
222
|
-
get_thermal_data_transfer_options command of setup_root.
|
|
223
|
-
"""
|
|
224
176
|
has_input_file_changed: has_input_file_changed = has_input_file_changed
|
|
225
177
|
"""
|
|
226
178
|
has_input_file_changed command of setup_root.
|
|
@@ -27,8 +27,6 @@ class solution_control(Container):
|
|
|
27
27
|
("time_step_size", "TimeStepSize", "RealType"),
|
|
28
28
|
("minimum_iterations", "MinimumIterations", "int"),
|
|
29
29
|
("maximum_iterations", "MaximumIterations", "int"),
|
|
30
|
-
("use_ip_address_when_possible", "UseIPAddressWhenPossible", "bool"),
|
|
31
|
-
("use_local_host_when_possible", "UseLocalHostWhenPossible", "bool"),
|
|
32
30
|
]
|
|
33
31
|
|
|
34
32
|
@property
|
|
@@ -91,25 +89,3 @@ class solution_control(Container):
|
|
|
91
89
|
@maximum_iterations.setter
|
|
92
90
|
def maximum_iterations(self, value: int):
|
|
93
91
|
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)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# This is an auto-generated file. DO NOT EDIT!
|
|
3
3
|
#
|
|
4
4
|
|
|
5
|
-
SHASH = "
|
|
5
|
+
SHASH = "54b4aa678f0aea8cebeca86bcd71b2877e846e53079c2bf52974d5e039ed3719"
|
|
6
6
|
|
|
7
7
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
8
8
|
|
|
@@ -10,7 +10,6 @@ from ._solve import _solve
|
|
|
10
10
|
from .abort import abort
|
|
11
11
|
from .create_restart_point import create_restart_point
|
|
12
12
|
from .get_machines import get_machines
|
|
13
|
-
from .get_transformation import get_transformation
|
|
14
13
|
from .initialize import initialize
|
|
15
14
|
from .interrupt import interrupt
|
|
16
15
|
from .open_results_in_ensight import open_results_in_ensight
|
|
@@ -35,7 +34,6 @@ class solution_root(Container):
|
|
|
35
34
|
"abort",
|
|
36
35
|
"create_restart_point",
|
|
37
36
|
"get_machines",
|
|
38
|
-
"get_transformation",
|
|
39
37
|
"initialize",
|
|
40
38
|
"interrupt",
|
|
41
39
|
"open_results_in_ensight",
|
|
@@ -64,10 +62,6 @@ class solution_root(Container):
|
|
|
64
62
|
"""
|
|
65
63
|
get_machines command of solution_root.
|
|
66
64
|
"""
|
|
67
|
-
get_transformation: get_transformation = get_transformation
|
|
68
|
-
"""
|
|
69
|
-
get_transformation command of solution_root.
|
|
70
|
-
"""
|
|
71
65
|
initialize: initialize = initialize
|
|
72
66
|
"""
|
|
73
67
|
initialize command of solution_root.
|
|
@@ -7,7 +7,7 @@ from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
|
7
7
|
|
|
8
8
|
class start_participants(Command):
|
|
9
9
|
"""
|
|
10
|
-
Important: This command
|
|
10
|
+
Important: This command will be deprecated. Consider adopting workflows
|
|
11
11
|
where participants are started by another method, such as the ``initialize``,
|
|
12
12
|
``step``, or ``solve`` commands.
|
|
13
13
|
|
|
@@ -9,8 +9,8 @@ class update_participant(Command):
|
|
|
9
9
|
"""
|
|
10
10
|
Given the name of a server participant, updates the state of the participant.
|
|
11
11
|
|
|
12
|
-
Available for server participants. Currently, only DEFAULT-SRV
|
|
13
|
-
CFD-SRV
|
|
12
|
+
Available for server participants. Currently, only ``DEFAULT-SRV``,
|
|
13
|
+
``CFD-SRV``, and ``MECH-SRV`` participants may be updated.
|
|
14
14
|
|
|
15
15
|
As part of the update, System Coupling updates all regions and
|
|
16
16
|
variables defined in the participant, including all variable
|
|
@@ -29,12 +29,12 @@ class update_participant(Command):
|
|
|
29
29
|
----------
|
|
30
30
|
participant_name : str
|
|
31
31
|
Participant name. Must be the name of an existing participant.
|
|
32
|
-
Participant type can be either DEFAULT-SRV,
|
|
32
|
+
Participant type can be either DEFAULT-SRV, MECH-SRV, or CFD-SRV.
|
|
33
33
|
input_file : str, optional
|
|
34
34
|
Name of the input file for the participant to be added.
|
|
35
35
|
Currently supported formats are SCP files, Forte input (FTSIM)
|
|
36
|
-
files, mechanical server (
|
|
37
|
-
FMU (.fmu) files (Beta)
|
|
36
|
+
files, mechanical server (*.rst) files, cfd server (*.csv) files,
|
|
37
|
+
and FMU (.fmu) files (Beta).
|
|
38
38
|
|
|
39
39
|
"""
|
|
40
40
|
|
|
@@ -45,7 +45,7 @@ class update_participant(Command):
|
|
|
45
45
|
class participant_name(String):
|
|
46
46
|
"""
|
|
47
47
|
Participant name. Must be the name of an existing participant.
|
|
48
|
-
Participant type can be either DEFAULT-SRV,
|
|
48
|
+
Participant type can be either DEFAULT-SRV, MECH-SRV, or CFD-SRV.
|
|
49
49
|
"""
|
|
50
50
|
|
|
51
51
|
syc_name = "ParticipantName"
|
|
@@ -54,8 +54,8 @@ class update_participant(Command):
|
|
|
54
54
|
"""
|
|
55
55
|
Name of the input file for the participant to be added.
|
|
56
56
|
Currently supported formats are SCP files, Forte input (FTSIM)
|
|
57
|
-
files, mechanical server (
|
|
58
|
-
FMU (.fmu) files (Beta)
|
|
57
|
+
files, mechanical server (*.rst) files, cfd server (*.csv) files,
|
|
58
|
+
and FMU (.fmu) files (Beta).
|
|
59
59
|
"""
|
|
60
60
|
|
|
61
61
|
syc_name = "InputFile"
|
|
@@ -30,13 +30,10 @@ class variable_child(Container):
|
|
|
30
30
|
("integer_initial_value", "IntegerInitialValue", "int"),
|
|
31
31
|
("logical_initial_value", "LogicalInitialValue", "bool"),
|
|
32
32
|
("string_initial_value", "StringInitialValue", "str"),
|
|
33
|
-
("enumeration_initial_value", "EnumerationInitialValue", "int"),
|
|
34
33
|
("real_min", "RealMin", "RealType"),
|
|
35
34
|
("real_max", "RealMax", "RealType"),
|
|
36
35
|
("integer_min", "IntegerMin", "int"),
|
|
37
36
|
("integer_max", "IntegerMax", "int"),
|
|
38
|
-
("enumeration_min", "EnumerationMin", "int"),
|
|
39
|
-
("enumeration_max", "EnumerationMax", "int"),
|
|
40
37
|
("tensor_type", "TensorType", "str"),
|
|
41
38
|
("is_extensive", "IsExtensive", "bool"),
|
|
42
39
|
]
|
|
@@ -104,7 +101,7 @@ class variable_child(Container):
|
|
|
104
101
|
- Integer
|
|
105
102
|
- Logical
|
|
106
103
|
- String
|
|
107
|
-
-
|
|
104
|
+
- None"""
|
|
108
105
|
return self.get_property_state("data_type")
|
|
109
106
|
|
|
110
107
|
@data_type.setter
|
|
@@ -147,15 +144,6 @@ class variable_child(Container):
|
|
|
147
144
|
def string_initial_value(self, value: str):
|
|
148
145
|
self.set_property_state("string_initial_value", value)
|
|
149
146
|
|
|
150
|
-
@property
|
|
151
|
-
def enumeration_initial_value(self) -> int:
|
|
152
|
-
"""Enumeration data start value."""
|
|
153
|
-
return self.get_property_state("enumeration_initial_value")
|
|
154
|
-
|
|
155
|
-
@enumeration_initial_value.setter
|
|
156
|
-
def enumeration_initial_value(self, value: int):
|
|
157
|
-
self.set_property_state("enumeration_initial_value", value)
|
|
158
|
-
|
|
159
147
|
@property
|
|
160
148
|
def real_min(self) -> RealType:
|
|
161
149
|
"""Real data minimum value."""
|
|
@@ -192,24 +180,6 @@ class variable_child(Container):
|
|
|
192
180
|
def integer_max(self, value: int):
|
|
193
181
|
self.set_property_state("integer_max", value)
|
|
194
182
|
|
|
195
|
-
@property
|
|
196
|
-
def enumeration_min(self) -> int:
|
|
197
|
-
"""Enumeration data minimum value."""
|
|
198
|
-
return self.get_property_state("enumeration_min")
|
|
199
|
-
|
|
200
|
-
@enumeration_min.setter
|
|
201
|
-
def enumeration_min(self, value: int):
|
|
202
|
-
self.set_property_state("enumeration_min", value)
|
|
203
|
-
|
|
204
|
-
@property
|
|
205
|
-
def enumeration_max(self) -> int:
|
|
206
|
-
"""Enumeration data maximum value."""
|
|
207
|
-
return self.get_property_state("enumeration_max")
|
|
208
|
-
|
|
209
|
-
@enumeration_max.setter
|
|
210
|
-
def enumeration_max(self, value: int):
|
|
211
|
-
self.set_property_state("enumeration_max", value)
|
|
212
|
-
|
|
213
183
|
@property
|
|
214
184
|
def tensor_type(self) -> str:
|
|
215
185
|
"""Indicates the variable tensor type (\"Scalar\" or \"Vector\").
|
|
@@ -7,6 +7,9 @@ from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
|
7
7
|
|
|
8
8
|
class add_data_transfer_by_display_names(Command):
|
|
9
9
|
"""
|
|
10
|
+
Important: This command is deprecated. To add an interface, use the
|
|
11
|
+
``add_data_transfer`` command instead.
|
|
12
|
+
|
|
10
13
|
Adds data transfer based on arguments that specify the interface, target
|
|
11
14
|
side, and variables to be associated with each side of the interface.
|
|
12
15
|
The command requires that you specify variables using their display names
|
|
@@ -16,15 +16,12 @@ class add_fsi_data_transfers(Command):
|
|
|
16
16
|
interface : str
|
|
17
17
|
String indicating the name of the interface on which the data transfer
|
|
18
18
|
is to be created.
|
|
19
|
-
use_force_density : bool, optional
|
|
20
|
-
Boolean indicating whether to prefer force density variable over force.
|
|
21
|
-
Default value is False.
|
|
22
19
|
|
|
23
20
|
"""
|
|
24
21
|
|
|
25
22
|
syc_name = "AddFSIDataTransfers"
|
|
26
23
|
|
|
27
|
-
argument_names = ["interface"
|
|
24
|
+
argument_names = ["interface"]
|
|
28
25
|
|
|
29
26
|
class interface(String):
|
|
30
27
|
"""
|
|
@@ -33,11 +30,3 @@ class add_fsi_data_transfers(Command):
|
|
|
33
30
|
"""
|
|
34
31
|
|
|
35
32
|
syc_name = "Interface"
|
|
36
|
-
|
|
37
|
-
class use_force_density(Boolean):
|
|
38
|
-
"""
|
|
39
|
-
Boolean indicating whether to prefer force density variable over force.
|
|
40
|
-
Default value is False.
|
|
41
|
-
"""
|
|
42
|
-
|
|
43
|
-
syc_name = "UseForceDensity"
|
|
@@ -8,9 +8,11 @@ from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
|
8
8
|
class add_interface(Command):
|
|
9
9
|
"""
|
|
10
10
|
Adds an interface based on the participant and region names specified
|
|
11
|
-
as arguments for each side of the interface. This command requires that
|
|
12
|
-
specify participants
|
|
13
|
-
|
|
11
|
+
as arguments for each side of the interface. This command requires that
|
|
12
|
+
you specify participants using their names as described below in
|
|
13
|
+
Essential Keyword Arguments. Non-FMU participants must provide a list
|
|
14
|
+
of regions as described below in Optional Keyword Arguments. For FMU
|
|
15
|
+
interfaces, specifying the regions are not allowed.
|
|
14
16
|
|
|
15
17
|
Cannot be run after participants have been started.
|
|
16
18
|
|
|
@@ -21,15 +23,15 @@ class add_interface(Command):
|
|
|
21
23
|
side_one_participant : str
|
|
22
24
|
String indicating the name of the participant to be associated with
|
|
23
25
|
side \"One\" of the interface.
|
|
24
|
-
side_one_regions : typing.List[str]
|
|
25
|
-
List specifying the name(s) of region(s) to be added to side \"One\" of
|
|
26
|
-
the interface.
|
|
27
26
|
side_two_participant : str
|
|
28
27
|
String indicating the name of the participant to be associated with
|
|
29
|
-
side \"Two\
|
|
30
|
-
|
|
31
|
-
List specifying the name(s) of region(s) to be added to side
|
|
32
|
-
the interface.
|
|
28
|
+
side \"Two"\ of the interface.
|
|
29
|
+
side_one_regions : typing.List[str], optional
|
|
30
|
+
List specifying the name(s) of region(s) to be added to side One of
|
|
31
|
+
the interface. Must be provided if ``side_one_participant`` is not an FMU.
|
|
32
|
+
side_two_regions : typing.List[str], optional
|
|
33
|
+
List specifying the name(s) of region(s) to be added to side Two of
|
|
34
|
+
the interface. Must be provided if ``side_one_participant`` is not an FMU.
|
|
33
35
|
|
|
34
36
|
"""
|
|
35
37
|
|
|
@@ -37,8 +39,8 @@ class add_interface(Command):
|
|
|
37
39
|
|
|
38
40
|
argument_names = [
|
|
39
41
|
"side_one_participant",
|
|
40
|
-
"side_one_regions",
|
|
41
42
|
"side_two_participant",
|
|
43
|
+
"side_one_regions",
|
|
42
44
|
"side_two_regions",
|
|
43
45
|
]
|
|
44
46
|
|
|
@@ -50,26 +52,26 @@ class add_interface(Command):
|
|
|
50
52
|
|
|
51
53
|
syc_name = "SideOneParticipant"
|
|
52
54
|
|
|
53
|
-
class
|
|
55
|
+
class side_two_participant(String):
|
|
54
56
|
"""
|
|
55
|
-
|
|
56
|
-
the interface.
|
|
57
|
+
String indicating the name of the participant to be associated with
|
|
58
|
+
side \"Two"\ of the interface.
|
|
57
59
|
"""
|
|
58
60
|
|
|
59
|
-
syc_name = "
|
|
61
|
+
syc_name = "SideTwoParticipant"
|
|
60
62
|
|
|
61
|
-
class
|
|
63
|
+
class side_one_regions(StringList):
|
|
62
64
|
"""
|
|
63
|
-
|
|
64
|
-
|
|
65
|
+
List specifying the name(s) of region(s) to be added to side One of
|
|
66
|
+
the interface. Must be provided if ``side_one_participant`` is not an FMU.
|
|
65
67
|
"""
|
|
66
68
|
|
|
67
|
-
syc_name = "
|
|
69
|
+
syc_name = "SideOneRegions"
|
|
68
70
|
|
|
69
71
|
class side_two_regions(StringList):
|
|
70
72
|
"""
|
|
71
|
-
List specifying the name(s) of region(s) to be added to side
|
|
72
|
-
the interface.
|
|
73
|
+
List specifying the name(s) of region(s) to be added to side Two of
|
|
74
|
+
the interface. Must be provided if ``side_one_participant`` is not an FMU.
|
|
73
75
|
"""
|
|
74
76
|
|
|
75
77
|
syc_name = "SideTwoRegions"
|
|
@@ -7,6 +7,9 @@ from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
|
7
7
|
|
|
8
8
|
class add_interface_by_display_names(Command):
|
|
9
9
|
"""
|
|
10
|
+
Important: This command is deprecated. To add an interface, use the
|
|
11
|
+
``add_interface`` command instead.
|
|
12
|
+
|
|
10
13
|
Adds an interface based on the participant and region display names specified
|
|
11
14
|
as arguments for each side of the interface. This command requires that you
|
|
12
15
|
specify participants and regions using their *display* names (see parameter
|