ansys-systemcoupling-core 0.8.0__py3-none-any.whl → 0.9.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ansys-systemcoupling-core might be problematic. Click here for more details.
- ansys/systemcoupling/core/__init__.py +2 -2
- ansys/systemcoupling/core/_version.py +1 -1
- ansys/systemcoupling/core/adaptor/api_25_1/instancing.py +2 -0
- ansys/systemcoupling/core/adaptor/api_25_1/instancing_child.py +62 -10
- ansys/systemcoupling/core/adaptor/api_25_1/mapping_control.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/setup_root.py +1 -1
- ansys/systemcoupling/core/adaptor/api_25_1/update_participant.py +15 -15
- 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_data_transfer_by_display_names.py +191 -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_interface_by_display_names.py +78 -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 +32 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_participant.py +162 -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 +303 -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 +64 -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 +29 -0
- ansys/systemcoupling/core/adaptor/api_25_2/data_transfer.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/data_transfer_child.py +187 -0
- ansys/systemcoupling/core/adaptor/api_25_2/delete_snapshot.py +28 -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 +256 -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 +41 -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 +13 -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 +31 -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 +249 -0
- ansys/systemcoupling/core/adaptor/api_25_2/open.py +102 -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 +138 -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 +51 -0
- ansys/systemcoupling/core/adaptor/api_25_2/save_snapshot.py +54 -0
- ansys/systemcoupling/core/adaptor/api_25_2/setup_root.py +259 -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 +117 -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_status_messages.py +1 -1
- ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +1 -1
- ansys/systemcoupling/core/adaptor/impl/injected_commands.py +1 -1
- ansys/systemcoupling/core/adaptor/impl/root_source.py +1 -1
- ansys/systemcoupling/core/adaptor/impl/static_info.py +13 -6
- ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +1 -1
- ansys/systemcoupling/core/adaptor/impl/syc_proxy_interface.py +1 -1
- ansys/systemcoupling/core/adaptor/impl/types.py +1 -1
- ansys/systemcoupling/core/charts/chart_datatypes.py +1 -1
- ansys/systemcoupling/core/charts/csv_chartdata.py +18 -4
- ansys/systemcoupling/core/charts/live_csv_datasource.py +1 -1
- ansys/systemcoupling/core/charts/message_dispatcher.py +1 -1
- ansys/systemcoupling/core/charts/plot_functions.py +1 -1
- ansys/systemcoupling/core/charts/plotdefinition_manager.py +1 -1
- ansys/systemcoupling/core/charts/plotter.py +1 -1
- ansys/systemcoupling/core/client/grpc_client.py +11 -2
- ansys/systemcoupling/core/client/services/command_query.py +4 -13
- ansys/systemcoupling/core/client/services/handle_rpc_error.py +64 -0
- ansys/systemcoupling/core/client/services/output_stream.py +1 -1
- ansys/systemcoupling/core/client/services/process.py +1 -1
- ansys/systemcoupling/core/client/services/solution.py +4 -13
- ansys/systemcoupling/core/client/syc_container.py +4 -1
- ansys/systemcoupling/core/client/syc_process.py +5 -1
- ansys/systemcoupling/core/client/variant.py +1 -1
- ansys/systemcoupling/core/examples/__init__.py +1 -1
- ansys/systemcoupling/core/examples/downloads.py +1 -1
- ansys/systemcoupling/core/native_api/__init__.py +1 -1
- ansys/systemcoupling/core/native_api/command_metadata.py +1 -1
- ansys/systemcoupling/core/native_api/datamodel_metadata.py +1 -1
- ansys/systemcoupling/core/native_api/meta_wrapper.py +1 -1
- ansys/systemcoupling/core/native_api/native_api.py +1 -1
- ansys/systemcoupling/core/native_api/object_path.py +1 -1
- ansys/systemcoupling/core/participant/manager.py +1 -1
- ansys/systemcoupling/core/participant/mapdl.py +1 -1
- ansys/systemcoupling/core/participant/protocol.py +1 -1
- ansys/systemcoupling/core/session.py +1 -1
- ansys/systemcoupling/core/syc_version.py +3 -3
- ansys/systemcoupling/core/util/file_transfer.py +1 -1
- ansys/systemcoupling/core/util/logging.py +1 -1
- ansys/systemcoupling/core/util/name_util.py +1 -1
- ansys/systemcoupling/core/util/pathstr.py +1 -1
- ansys/systemcoupling/core/util/state_keys.py +1 -1
- ansys/systemcoupling/core/util/yaml_helper.py +1 -1
- {ansys_systemcoupling_core-0.8.0.dist-info → ansys_systemcoupling_core-0.9.0.dist-info}/METADATA +35 -21
- {ansys_systemcoupling_core-0.8.0.dist-info → ansys_systemcoupling_core-0.9.0.dist-info}/RECORD +166 -53
- {ansys_systemcoupling_core-0.8.0.dist-info → ansys_systemcoupling_core-0.9.0.dist-info}/WHEEL +1 -1
- {ansys_systemcoupling_core-0.8.0.dist-info → ansys_systemcoupling_core-0.9.0.dist-info/licenses}/LICENSE +1 -1
|
@@ -0,0 +1,272 @@
|
|
|
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 .attribute import attribute
|
|
8
|
+
from .execution_control import execution_control
|
|
9
|
+
from .external_data_file import external_data_file
|
|
10
|
+
from .fmu_parameter import fmu_parameter
|
|
11
|
+
from .parameter import parameter
|
|
12
|
+
from .properties import properties
|
|
13
|
+
from .record_interactions import record_interactions
|
|
14
|
+
from .region import region
|
|
15
|
+
from .update_control import update_control
|
|
16
|
+
from .variable import variable
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class coupling_participant_child(Container):
|
|
20
|
+
"""
|
|
21
|
+
Configure a coupling participant.
|
|
22
|
+
|
|
23
|
+
These settings are typically populated by using the ``add_participant``
|
|
24
|
+
command.
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
syc_name = "child_object_type"
|
|
28
|
+
|
|
29
|
+
child_names = [
|
|
30
|
+
"variable",
|
|
31
|
+
"parameter",
|
|
32
|
+
"attribute",
|
|
33
|
+
"region",
|
|
34
|
+
"properties",
|
|
35
|
+
"update_control",
|
|
36
|
+
"fmu_parameter",
|
|
37
|
+
"execution_control",
|
|
38
|
+
"external_data_file",
|
|
39
|
+
"record_interactions",
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
variable: variable = variable
|
|
43
|
+
"""
|
|
44
|
+
variable child of coupling_participant_child.
|
|
45
|
+
"""
|
|
46
|
+
parameter: parameter = parameter
|
|
47
|
+
"""
|
|
48
|
+
parameter child of coupling_participant_child.
|
|
49
|
+
"""
|
|
50
|
+
attribute: attribute = attribute
|
|
51
|
+
"""
|
|
52
|
+
attribute child of coupling_participant_child.
|
|
53
|
+
"""
|
|
54
|
+
region: region = region
|
|
55
|
+
"""
|
|
56
|
+
region child of coupling_participant_child.
|
|
57
|
+
"""
|
|
58
|
+
properties: properties = properties
|
|
59
|
+
"""
|
|
60
|
+
properties child of coupling_participant_child.
|
|
61
|
+
"""
|
|
62
|
+
update_control: update_control = update_control
|
|
63
|
+
"""
|
|
64
|
+
update_control child of coupling_participant_child.
|
|
65
|
+
"""
|
|
66
|
+
fmu_parameter: fmu_parameter = fmu_parameter
|
|
67
|
+
"""
|
|
68
|
+
fmu_parameter child of coupling_participant_child.
|
|
69
|
+
"""
|
|
70
|
+
execution_control: execution_control = execution_control
|
|
71
|
+
"""
|
|
72
|
+
execution_control child of coupling_participant_child.
|
|
73
|
+
"""
|
|
74
|
+
external_data_file: external_data_file = external_data_file
|
|
75
|
+
"""
|
|
76
|
+
external_data_file child of coupling_participant_child.
|
|
77
|
+
"""
|
|
78
|
+
record_interactions: record_interactions = record_interactions
|
|
79
|
+
"""
|
|
80
|
+
record_interactions child of coupling_participant_child.
|
|
81
|
+
"""
|
|
82
|
+
property_names_types = [
|
|
83
|
+
("participant_type", "ParticipantType", "str"),
|
|
84
|
+
("participant_display_name", "ParticipantDisplayName", "str"),
|
|
85
|
+
("display_name", "DisplayName", "str"),
|
|
86
|
+
("dimension", "Dimension", "str"),
|
|
87
|
+
("input_variables", "InputVariables", "StringListType"),
|
|
88
|
+
("output_variables", "OutputVariables", "StringListType"),
|
|
89
|
+
("input_parameters", "InputParameters", "StringListType"),
|
|
90
|
+
("output_parameters", "OutputParameters", "StringListType"),
|
|
91
|
+
("participant_file_loaded", "ParticipantFileLoaded", "str"),
|
|
92
|
+
("logging_on", "LoggingOn", "bool"),
|
|
93
|
+
("participant_analysis_type", "ParticipantAnalysisType", "str"),
|
|
94
|
+
("use_new_apis", "UseNewAPIs", "bool"),
|
|
95
|
+
("restarts_supported", "RestartsSupported", "bool"),
|
|
96
|
+
("can_serialize_fmu_state", "CanSerializeFmuState", "bool"),
|
|
97
|
+
("can_get_and_set_fmu_state", "CanGetAndSetFmuState", "bool"),
|
|
98
|
+
("free_fmu_state", "FreeFmuState", "bool"),
|
|
99
|
+
("instancing", "Instancing", "str"),
|
|
100
|
+
]
|
|
101
|
+
|
|
102
|
+
@property
|
|
103
|
+
def participant_type(self) -> str:
|
|
104
|
+
"""Coupling participant type.
|
|
105
|
+
|
|
106
|
+
Allowed values:
|
|
107
|
+
- \"DEFAULT\"
|
|
108
|
+
- \"CFX\"
|
|
109
|
+
- \"FLUENT\"
|
|
110
|
+
- \"MAPDL\"
|
|
111
|
+
- \"AEDT\"
|
|
112
|
+
- \"FMU\"
|
|
113
|
+
- \"FMU-PROXY\"
|
|
114
|
+
- \"EXTERNALDATA\"
|
|
115
|
+
- \"FORTE\"
|
|
116
|
+
- \"DEFAULT-SRV\"
|
|
117
|
+
- \"MECH-SRV\"
|
|
118
|
+
- \"CFD-SRV\"
|
|
119
|
+
- \"SCDT-SRV\"
|
|
120
|
+
- \"THERMAL-DESKTOP\"
|
|
121
|
+
- \"LS-DYNA\"
|
|
122
|
+
- \"ROCKY\" """
|
|
123
|
+
return self.get_property_state("participant_type")
|
|
124
|
+
|
|
125
|
+
@participant_type.setter
|
|
126
|
+
def participant_type(self, value: str):
|
|
127
|
+
self.set_property_state("participant_type", value)
|
|
128
|
+
|
|
129
|
+
@property
|
|
130
|
+
def participant_display_name(self) -> str:
|
|
131
|
+
"""Participant's display name as defined by the participant solver (as
|
|
132
|
+
opposed to System Coupling's ``display_name`` for the participant)."""
|
|
133
|
+
return self.get_property_state("participant_display_name")
|
|
134
|
+
|
|
135
|
+
@participant_display_name.setter
|
|
136
|
+
def participant_display_name(self, value: str):
|
|
137
|
+
self.set_property_state("participant_display_name", value)
|
|
138
|
+
|
|
139
|
+
@property
|
|
140
|
+
def display_name(self) -> str:
|
|
141
|
+
"""Participant's display name as defined in System Coupling."""
|
|
142
|
+
return self.get_property_state("display_name")
|
|
143
|
+
|
|
144
|
+
@display_name.setter
|
|
145
|
+
def display_name(self, value: str):
|
|
146
|
+
self.set_property_state("display_name", value)
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
def dimension(self) -> str:
|
|
150
|
+
"""Dimension of the participant (\"2D\" or \"3D\")."""
|
|
151
|
+
return self.get_property_state("dimension")
|
|
152
|
+
|
|
153
|
+
@dimension.setter
|
|
154
|
+
def dimension(self, value: str):
|
|
155
|
+
self.set_property_state("dimension", value)
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
def input_variables(self) -> StringListType:
|
|
159
|
+
"""Input variables for the region or FMU."""
|
|
160
|
+
return self.get_property_state("input_variables")
|
|
161
|
+
|
|
162
|
+
@input_variables.setter
|
|
163
|
+
def input_variables(self, value: StringListType):
|
|
164
|
+
self.set_property_state("input_variables", value)
|
|
165
|
+
|
|
166
|
+
@property
|
|
167
|
+
def output_variables(self) -> StringListType:
|
|
168
|
+
"""Output variables for the region or FMU."""
|
|
169
|
+
return self.get_property_state("output_variables")
|
|
170
|
+
|
|
171
|
+
@output_variables.setter
|
|
172
|
+
def output_variables(self, value: StringListType):
|
|
173
|
+
self.set_property_state("output_variables", value)
|
|
174
|
+
|
|
175
|
+
@property
|
|
176
|
+
def input_parameters(self) -> StringListType:
|
|
177
|
+
"""Input parameters for the solver."""
|
|
178
|
+
return self.get_property_state("input_parameters")
|
|
179
|
+
|
|
180
|
+
@input_parameters.setter
|
|
181
|
+
def input_parameters(self, value: StringListType):
|
|
182
|
+
self.set_property_state("input_parameters", value)
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
def output_parameters(self) -> StringListType:
|
|
186
|
+
"""Output parameters for the solver."""
|
|
187
|
+
return self.get_property_state("output_parameters")
|
|
188
|
+
|
|
189
|
+
@output_parameters.setter
|
|
190
|
+
def output_parameters(self, value: StringListType):
|
|
191
|
+
self.set_property_state("output_parameters", value)
|
|
192
|
+
|
|
193
|
+
@property
|
|
194
|
+
def participant_file_loaded(self) -> str:
|
|
195
|
+
"""File used to generate the participant."""
|
|
196
|
+
return self.get_property_state("participant_file_loaded")
|
|
197
|
+
|
|
198
|
+
@participant_file_loaded.setter
|
|
199
|
+
def participant_file_loaded(self, value: str):
|
|
200
|
+
self.set_property_state("participant_file_loaded", value)
|
|
201
|
+
|
|
202
|
+
@property
|
|
203
|
+
def logging_on(self) -> bool:
|
|
204
|
+
"""Specifies whether logging is activated for the participant."""
|
|
205
|
+
return self.get_property_state("logging_on")
|
|
206
|
+
|
|
207
|
+
@logging_on.setter
|
|
208
|
+
def logging_on(self, value: bool):
|
|
209
|
+
self.set_property_state("logging_on", value)
|
|
210
|
+
|
|
211
|
+
@property
|
|
212
|
+
def participant_analysis_type(self) -> str:
|
|
213
|
+
"""Coupling participant analysis type (\"Steady\" or \"Transient\")."""
|
|
214
|
+
return self.get_property_state("participant_analysis_type")
|
|
215
|
+
|
|
216
|
+
@participant_analysis_type.setter
|
|
217
|
+
def participant_analysis_type(self, value: str):
|
|
218
|
+
self.set_property_state("participant_analysis_type", value)
|
|
219
|
+
|
|
220
|
+
@property
|
|
221
|
+
def use_new_apis(self) -> bool:
|
|
222
|
+
"""Controls whether Fluent/MAPDL/AEDT/CFX participant should communicate using new APIs."""
|
|
223
|
+
return self.get_property_state("use_new_apis")
|
|
224
|
+
|
|
225
|
+
@use_new_apis.setter
|
|
226
|
+
def use_new_apis(self, value: bool):
|
|
227
|
+
self.set_property_state("use_new_apis", value)
|
|
228
|
+
|
|
229
|
+
@property
|
|
230
|
+
def restarts_supported(self) -> bool:
|
|
231
|
+
"""Indicates whether the participant supports restarts."""
|
|
232
|
+
return self.get_property_state("restarts_supported")
|
|
233
|
+
|
|
234
|
+
@restarts_supported.setter
|
|
235
|
+
def restarts_supported(self, value: bool):
|
|
236
|
+
self.set_property_state("restarts_supported", value)
|
|
237
|
+
|
|
238
|
+
@property
|
|
239
|
+
def can_serialize_fmu_state(self) -> bool:
|
|
240
|
+
"""Indicates whether the FMU can state can be serialized."""
|
|
241
|
+
return self.get_property_state("can_serialize_fmu_state")
|
|
242
|
+
|
|
243
|
+
@can_serialize_fmu_state.setter
|
|
244
|
+
def can_serialize_fmu_state(self, value: bool):
|
|
245
|
+
self.set_property_state("can_serialize_fmu_state", value)
|
|
246
|
+
|
|
247
|
+
@property
|
|
248
|
+
def can_get_and_set_fmu_state(self) -> bool:
|
|
249
|
+
"""Indicates whether the FMU can get and set its state."""
|
|
250
|
+
return self.get_property_state("can_get_and_set_fmu_state")
|
|
251
|
+
|
|
252
|
+
@can_get_and_set_fmu_state.setter
|
|
253
|
+
def can_get_and_set_fmu_state(self, value: bool):
|
|
254
|
+
self.set_property_state("can_get_and_set_fmu_state", value)
|
|
255
|
+
|
|
256
|
+
@property
|
|
257
|
+
def free_fmu_state(self) -> bool:
|
|
258
|
+
"""Optionally Frees the FMU state prior to calling CanGetAndSetFmuState"""
|
|
259
|
+
return self.get_property_state("free_fmu_state")
|
|
260
|
+
|
|
261
|
+
@free_fmu_state.setter
|
|
262
|
+
def free_fmu_state(self, value: bool):
|
|
263
|
+
self.set_property_state("free_fmu_state", value)
|
|
264
|
+
|
|
265
|
+
@property
|
|
266
|
+
def instancing(self) -> str:
|
|
267
|
+
"""Set instancing on the participant."""
|
|
268
|
+
return self.get_property_state("instancing")
|
|
269
|
+
|
|
270
|
+
@instancing.setter
|
|
271
|
+
def instancing(self, value: str):
|
|
272
|
+
self.set_property_state("instancing", value)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class create_restart_point(Command):
|
|
9
|
+
"""
|
|
10
|
+
Interactive command that creates a restart point at the end of the
|
|
11
|
+
last completed coupling step.
|
|
12
|
+
|
|
13
|
+
Signals the System Coupling service and all coupling participants that a
|
|
14
|
+
restart point should be created before the next coupling step begins. The
|
|
15
|
+
restart point is created in addition to restart points created by the
|
|
16
|
+
``output_control`` setting in the data model.
|
|
17
|
+
|
|
18
|
+
Note that some participants write their restart files only when the
|
|
19
|
+
coupling run resumes, so their files will not be available immediately
|
|
20
|
+
after the command is issued.
|
|
21
|
+
|
|
22
|
+
Results information for the coupling step is written to a file named
|
|
23
|
+
according to the convention ``Results_#.h5``, where ``_#`` is the number of
|
|
24
|
+
the coupling step. By default, the restart files are written to the ``SyC``
|
|
25
|
+
directory, which is automatically created by the System Coupling service
|
|
26
|
+
when restart points are created.
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
syc_name = "CreateRestartPoint"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
from .data_transfer_child import data_transfer_child
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class data_transfer(NamedContainer[data_transfer_child]):
|
|
11
|
+
"""
|
|
12
|
+
Configure data transfers for a coupling interface.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
syc_name = "DataTransfer"
|
|
16
|
+
|
|
17
|
+
child_object_type: data_transfer_child = data_transfer_child
|
|
18
|
+
"""
|
|
19
|
+
child_object_type of data_transfer.
|
|
20
|
+
"""
|
|
@@ -0,0 +1,187 @@
|
|
|
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 .stabilization import stabilization
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class data_transfer_child(Container):
|
|
11
|
+
"""
|
|
12
|
+
Configure data transfers for a coupling interface.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
syc_name = "child_object_type"
|
|
16
|
+
|
|
17
|
+
child_names = ["stabilization"]
|
|
18
|
+
|
|
19
|
+
stabilization: stabilization = stabilization
|
|
20
|
+
"""
|
|
21
|
+
stabilization child of data_transfer_child.
|
|
22
|
+
"""
|
|
23
|
+
property_names_types = [
|
|
24
|
+
("display_name", "DisplayName", "str"),
|
|
25
|
+
("suppress", "Suppress", "bool"),
|
|
26
|
+
("target_side", "TargetSide", "str"),
|
|
27
|
+
("option", "Option", "str"),
|
|
28
|
+
("source_variable", "SourceVariable", "str"),
|
|
29
|
+
("target_variable", "TargetVariable", "str"),
|
|
30
|
+
("value", "Value", "RealType"),
|
|
31
|
+
("ramping_option", "RampingOption", "str"),
|
|
32
|
+
("relaxation_factor", "RelaxationFactor", "RealType"),
|
|
33
|
+
("convergence_target", "ConvergenceTarget", "RealType"),
|
|
34
|
+
("mapping_type", "MappingType", "str"),
|
|
35
|
+
("unmapped_value_option", "UnmappedValueOption", "str"),
|
|
36
|
+
("time_step_initialization_option", "TimeStepInitializationOption", "str"),
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
def display_name(self) -> str:
|
|
41
|
+
"""Display name of the data transfer."""
|
|
42
|
+
return self.get_property_state("display_name")
|
|
43
|
+
|
|
44
|
+
@display_name.setter
|
|
45
|
+
def display_name(self, value: str):
|
|
46
|
+
self.set_property_state("display_name", value)
|
|
47
|
+
|
|
48
|
+
@property
|
|
49
|
+
def suppress(self) -> bool:
|
|
50
|
+
"""Controls whether this data transfer is suppressed"""
|
|
51
|
+
return self.get_property_state("suppress")
|
|
52
|
+
|
|
53
|
+
@suppress.setter
|
|
54
|
+
def suppress(self, value: bool):
|
|
55
|
+
self.set_property_state("suppress", value)
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def target_side(self) -> str:
|
|
59
|
+
"""Target side (\"One\" or \"Two\") of this data transfer."""
|
|
60
|
+
return self.get_property_state("target_side")
|
|
61
|
+
|
|
62
|
+
@target_side.setter
|
|
63
|
+
def target_side(self, value: str):
|
|
64
|
+
self.set_property_state("target_side", value)
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
def option(self) -> str:
|
|
68
|
+
"""How the transfer data is specified.
|
|
69
|
+
|
|
70
|
+
Allowed values:
|
|
71
|
+
|
|
72
|
+
- \"UsingVariable\" - The data being transferred is defined as a
|
|
73
|
+
single source-side variable.
|
|
74
|
+
|
|
75
|
+
- \"UsingExpression\" - The data being transferred is defined as
|
|
76
|
+
an expression in terms of source-side variables."""
|
|
77
|
+
return self.get_property_state("option")
|
|
78
|
+
|
|
79
|
+
@option.setter
|
|
80
|
+
def option(self, value: str):
|
|
81
|
+
self.set_property_state("option", value)
|
|
82
|
+
|
|
83
|
+
@property
|
|
84
|
+
def source_variable(self) -> str:
|
|
85
|
+
"""Variable associated with the source side of the interface.
|
|
86
|
+
|
|
87
|
+
Specified only for variable-based transfers (and not expression-based)."""
|
|
88
|
+
return self.get_property_state("source_variable")
|
|
89
|
+
|
|
90
|
+
@source_variable.setter
|
|
91
|
+
def source_variable(self, value: str):
|
|
92
|
+
self.set_property_state("source_variable", value)
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
def target_variable(self) -> str:
|
|
96
|
+
"""Variable associated with the target side of the interface."""
|
|
97
|
+
return self.get_property_state("target_variable")
|
|
98
|
+
|
|
99
|
+
@target_variable.setter
|
|
100
|
+
def target_variable(self, value: str):
|
|
101
|
+
self.set_property_state("target_variable", value)
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
def value(self) -> RealType:
|
|
105
|
+
"""Expression string (or constant real value) defining the data being
|
|
106
|
+
transferred from the source.
|
|
107
|
+
|
|
108
|
+
Specified only for expression-based transfers.
|
|
109
|
+
|
|
110
|
+
Any variable referenced must be a source side variable."""
|
|
111
|
+
return self.get_property_state("value")
|
|
112
|
+
|
|
113
|
+
@value.setter
|
|
114
|
+
def value(self, value: RealType):
|
|
115
|
+
self.set_property_state("value", value)
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
def ramping_option(self) -> str:
|
|
119
|
+
"""Specify whether to apply ramping to the data transfer.
|
|
120
|
+
|
|
121
|
+
Ramping is used to slow the application of the source-side value on the
|
|
122
|
+
target side of the interface.
|
|
123
|
+
|
|
124
|
+
Allowed values:
|
|
125
|
+
|
|
126
|
+
- \"None\" - No ramping to be applied.
|
|
127
|
+
|
|
128
|
+
- \"Linear\" - Apply linear ramping."""
|
|
129
|
+
return self.get_property_state("ramping_option")
|
|
130
|
+
|
|
131
|
+
@ramping_option.setter
|
|
132
|
+
def ramping_option(self, value: str):
|
|
133
|
+
self.set_property_state("ramping_option", value)
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def relaxation_factor(self) -> RealType:
|
|
137
|
+
"""Factor multiplying the current data transfer values for specified quantity when
|
|
138
|
+
under-relaxing them against the previous values."""
|
|
139
|
+
return self.get_property_state("relaxation_factor")
|
|
140
|
+
|
|
141
|
+
@relaxation_factor.setter
|
|
142
|
+
def relaxation_factor(self, value: RealType):
|
|
143
|
+
self.set_property_state("relaxation_factor", value)
|
|
144
|
+
|
|
145
|
+
@property
|
|
146
|
+
def convergence_target(self) -> RealType:
|
|
147
|
+
"""RMS-based target value used when evaluating convergence of the specified
|
|
148
|
+
quantity within a coupling iteration."""
|
|
149
|
+
return self.get_property_state("convergence_target")
|
|
150
|
+
|
|
151
|
+
@convergence_target.setter
|
|
152
|
+
def convergence_target(self, value: RealType):
|
|
153
|
+
self.set_property_state("convergence_target", value)
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
def mapping_type(self) -> str:
|
|
157
|
+
"""Type of mapping used for the data transfer. (**Read only**.)
|
|
158
|
+
|
|
159
|
+
Possible values:
|
|
160
|
+
|
|
161
|
+
- \"Conservative\" - A conservative mapping algorithm is used
|
|
162
|
+
for transfers of `extensive` quantities.
|
|
163
|
+
- \"ProfilePreserving\" - A profile-preserving mapping algorithm
|
|
164
|
+
is used for transfers of `intensive` quantities."""
|
|
165
|
+
return self.get_property_state("mapping_type")
|
|
166
|
+
|
|
167
|
+
@mapping_type.setter
|
|
168
|
+
def mapping_type(self, value: str):
|
|
169
|
+
self.set_property_state("mapping_type", value)
|
|
170
|
+
|
|
171
|
+
@property
|
|
172
|
+
def unmapped_value_option(self) -> str:
|
|
173
|
+
"""Option to fill target values not mapped by the regular mapping algorithm"""
|
|
174
|
+
return self.get_property_state("unmapped_value_option")
|
|
175
|
+
|
|
176
|
+
@unmapped_value_option.setter
|
|
177
|
+
def unmapped_value_option(self, value: str):
|
|
178
|
+
self.set_property_state("unmapped_value_option", value)
|
|
179
|
+
|
|
180
|
+
@property
|
|
181
|
+
def time_step_initialization_option(self) -> str:
|
|
182
|
+
"""Method to initialize first transfer in new coupling step."""
|
|
183
|
+
return self.get_property_state("time_step_initialization_option")
|
|
184
|
+
|
|
185
|
+
@time_step_initialization_option.setter
|
|
186
|
+
def time_step_initialization_option(self, value: str):
|
|
187
|
+
self.set_property_state("time_step_initialization_option", value)
|
|
@@ -0,0 +1,28 @@
|
|
|
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 delete_snapshot(Command):
|
|
9
|
+
"""
|
|
10
|
+
Deletes a snapshot if it exists.
|
|
11
|
+
|
|
12
|
+
Parameters
|
|
13
|
+
----------
|
|
14
|
+
snapshot_name : str
|
|
15
|
+
Name of the snapshot to be deleted.
|
|
16
|
+
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
syc_name = "DeleteSnapshot"
|
|
20
|
+
|
|
21
|
+
argument_names = ["snapshot_name"]
|
|
22
|
+
|
|
23
|
+
class snapshot_name(String):
|
|
24
|
+
"""
|
|
25
|
+
Name of the snapshot to be deleted.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
syc_name = "SnapshotName"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class delete_transformation(Command):
|
|
9
|
+
"""
|
|
10
|
+
Delete a transformation from a reference frame
|
|
11
|
+
|
|
12
|
+
In addition to deleting the transformation object, it will also remove the
|
|
13
|
+
transformation from ``transformation_order`` (if it exists in that list).
|
|
14
|
+
|
|
15
|
+
Parameters
|
|
16
|
+
----------
|
|
17
|
+
reference_frame : str
|
|
18
|
+
Name of the reference frame from which the transformation will be
|
|
19
|
+
deleted.
|
|
20
|
+
transformation_name : str
|
|
21
|
+
Name of the transformation which will be deleted.
|
|
22
|
+
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
syc_name = "DeleteTransformation"
|
|
26
|
+
|
|
27
|
+
argument_names = ["reference_frame", "transformation_name"]
|
|
28
|
+
|
|
29
|
+
class reference_frame(String):
|
|
30
|
+
"""
|
|
31
|
+
Name of the reference frame from which the transformation will be
|
|
32
|
+
deleted.
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
syc_name = "ReferenceFrame"
|
|
36
|
+
|
|
37
|
+
class transformation_name(String):
|
|
38
|
+
"""
|
|
39
|
+
Name of the transformation which will be deleted.
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
syc_name = "TransformationName"
|
|
@@ -0,0 +1,96 @@
|
|
|
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 dimensionality(Container):
|
|
9
|
+
"""
|
|
10
|
+
Configure attribute dimensionality.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "Dimensionality"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("length", "Length", "RealType"),
|
|
17
|
+
("time", "Time", "RealType"),
|
|
18
|
+
("mass", "Mass", "RealType"),
|
|
19
|
+
("temperature", "Temperature", "RealType"),
|
|
20
|
+
("amount_of_substance", "AmountOfSubstance", "RealType"),
|
|
21
|
+
("current", "Current", "RealType"),
|
|
22
|
+
("luminous_intensity", "LuminousIntensity", "RealType"),
|
|
23
|
+
("angle", "Angle", "RealType"),
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@property
|
|
27
|
+
def length(self) -> RealType:
|
|
28
|
+
"""Exponent of length dimension."""
|
|
29
|
+
return self.get_property_state("length")
|
|
30
|
+
|
|
31
|
+
@length.setter
|
|
32
|
+
def length(self, value: RealType):
|
|
33
|
+
self.set_property_state("length", value)
|
|
34
|
+
|
|
35
|
+
@property
|
|
36
|
+
def time(self) -> RealType:
|
|
37
|
+
"""Exponent of time dimension."""
|
|
38
|
+
return self.get_property_state("time")
|
|
39
|
+
|
|
40
|
+
@time.setter
|
|
41
|
+
def time(self, value: RealType):
|
|
42
|
+
self.set_property_state("time", value)
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def mass(self) -> RealType:
|
|
46
|
+
"""Exponent of mass dimension."""
|
|
47
|
+
return self.get_property_state("mass")
|
|
48
|
+
|
|
49
|
+
@mass.setter
|
|
50
|
+
def mass(self, value: RealType):
|
|
51
|
+
self.set_property_state("mass", value)
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
def temperature(self) -> RealType:
|
|
55
|
+
"""Exponent of temperature dimension."""
|
|
56
|
+
return self.get_property_state("temperature")
|
|
57
|
+
|
|
58
|
+
@temperature.setter
|
|
59
|
+
def temperature(self, value: RealType):
|
|
60
|
+
self.set_property_state("temperature", value)
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
def amount_of_substance(self) -> RealType:
|
|
64
|
+
"""Exponent of amount of substance dimension."""
|
|
65
|
+
return self.get_property_state("amount_of_substance")
|
|
66
|
+
|
|
67
|
+
@amount_of_substance.setter
|
|
68
|
+
def amount_of_substance(self, value: RealType):
|
|
69
|
+
self.set_property_state("amount_of_substance", value)
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
def current(self) -> RealType:
|
|
73
|
+
"""Exponent of electric current dimension."""
|
|
74
|
+
return self.get_property_state("current")
|
|
75
|
+
|
|
76
|
+
@current.setter
|
|
77
|
+
def current(self, value: RealType):
|
|
78
|
+
self.set_property_state("current", value)
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def luminous_intensity(self) -> RealType:
|
|
82
|
+
"""Exponent of luminous intensity dimension."""
|
|
83
|
+
return self.get_property_state("luminous_intensity")
|
|
84
|
+
|
|
85
|
+
@luminous_intensity.setter
|
|
86
|
+
def luminous_intensity(self, value: RealType):
|
|
87
|
+
self.set_property_state("luminous_intensity", value)
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def angle(self) -> RealType:
|
|
91
|
+
"""Exponent of angle dimension."""
|
|
92
|
+
return self.get_property_state("angle")
|
|
93
|
+
|
|
94
|
+
@angle.setter
|
|
95
|
+
def angle(self, value: RealType):
|
|
96
|
+
self.set_property_state("angle", value)
|