ansys-systemcoupling-core 0.3.0__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_23_1/_add_participant.py +70 -0
- ansys/systemcoupling/core/adaptor/api_23_1/_solve.py +13 -0
- ansys/systemcoupling/core/adaptor/api_23_1/abort.py +39 -0
- ansys/systemcoupling/core/adaptor/api_23_1/activate_hidden.py +46 -0
- ansys/systemcoupling/core/adaptor/api_23_1/add_data_transfer.py +190 -0
- ansys/systemcoupling/core/adaptor/api_23_1/add_data_transfer_by_display_names.py +188 -0
- ansys/systemcoupling/core/adaptor/api_23_1/add_expression_function.py +61 -0
- ansys/systemcoupling/core/adaptor/api_23_1/add_interface.py +75 -0
- ansys/systemcoupling/core/adaptor/api_23_1/add_interface_by_display_names.py +75 -0
- ansys/systemcoupling/core/adaptor/api_23_1/add_named_expression.py +42 -0
- ansys/systemcoupling/core/adaptor/api_23_1/add_participant.py +160 -0
- ansys/systemcoupling/core/adaptor/api_23_1/add_reference_frame.py +40 -0
- ansys/systemcoupling/core/adaptor/api_23_1/add_transformation.py +102 -0
- ansys/systemcoupling/core/adaptor/api_23_1/analysis_control.py +241 -0
- ansys/systemcoupling/core/adaptor/api_23_1/apip.py +33 -0
- ansys/systemcoupling/core/adaptor/api_23_1/ascii_output.py +44 -0
- ansys/systemcoupling/core/adaptor/api_23_1/attribute.py +20 -0
- ansys/systemcoupling/core/adaptor/api_23_1/attribute_child.py +54 -0
- ansys/systemcoupling/core/adaptor/api_23_1/available_ports.py +40 -0
- ansys/systemcoupling/core/adaptor/api_23_1/avoid_data_reconstruction.py +36 -0
- ansys/systemcoupling/core/adaptor/api_23_1/case_root.py +62 -0
- ansys/systemcoupling/core/adaptor/api_23_1/clear_state.py +16 -0
- ansys/systemcoupling/core/adaptor/api_23_1/coupling_interface.py +20 -0
- ansys/systemcoupling/core/adaptor/api_23_1/coupling_interface_child.py +42 -0
- ansys/systemcoupling/core/adaptor/api_23_1/coupling_participant.py +23 -0
- ansys/systemcoupling/core/adaptor/api_23_1/coupling_participant_child.py +173 -0
- ansys/systemcoupling/core/adaptor/api_23_1/create_restart_point.py +29 -0
- ansys/systemcoupling/core/adaptor/api_23_1/data_transfer.py +20 -0
- ansys/systemcoupling/core/adaptor/api_23_1/data_transfer_child.py +187 -0
- ansys/systemcoupling/core/adaptor/api_23_1/delete_snapshot.py +28 -0
- ansys/systemcoupling/core/adaptor/api_23_1/delete_transformation.py +42 -0
- ansys/systemcoupling/core/adaptor/api_23_1/dimensionality.py +96 -0
- ansys/systemcoupling/core/adaptor/api_23_1/execution_control.py +186 -0
- ansys/systemcoupling/core/adaptor/api_23_1/expression.py +20 -0
- ansys/systemcoupling/core/adaptor/api_23_1/expression_child.py +36 -0
- ansys/systemcoupling/core/adaptor/api_23_1/expression_function.py +20 -0
- ansys/systemcoupling/core/adaptor/api_23_1/expression_function_child.py +46 -0
- ansys/systemcoupling/core/adaptor/api_23_1/external_data_file.py +24 -0
- ansys/systemcoupling/core/adaptor/api_23_1/fluent_input.py +67 -0
- ansys/systemcoupling/core/adaptor/api_23_1/fmu_parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_23_1/fmu_parameter_child.py +126 -0
- ansys/systemcoupling/core/adaptor/api_23_1/generate_input_file.py +41 -0
- ansys/systemcoupling/core/adaptor/api_23_1/get_execution_command.py +30 -0
- ansys/systemcoupling/core/adaptor/api_23_1/get_machines.py +13 -0
- ansys/systemcoupling/core/adaptor/api_23_1/get_region_names_for_participant.py +31 -0
- ansys/systemcoupling/core/adaptor/api_23_1/get_setup_summary.py +25 -0
- ansys/systemcoupling/core/adaptor/api_23_1/get_status_messages.py +52 -0
- ansys/systemcoupling/core/adaptor/api_23_1/global_stabilization.py +143 -0
- ansys/systemcoupling/core/adaptor/api_23_1/has_input_file_changed.py +36 -0
- ansys/systemcoupling/core/adaptor/api_23_1/import_system_coupling_input_file.py +36 -0
- ansys/systemcoupling/core/adaptor/api_23_1/initialize.py +27 -0
- ansys/systemcoupling/core/adaptor/api_23_1/instancing.py +23 -0
- ansys/systemcoupling/core/adaptor/api_23_1/instancing_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_23_1/interrupt.py +39 -0
- ansys/systemcoupling/core/adaptor/api_23_1/library.py +37 -0
- ansys/systemcoupling/core/adaptor/api_23_1/mapping_control.py +229 -0
- ansys/systemcoupling/core/adaptor/api_23_1/open.py +102 -0
- ansys/systemcoupling/core/adaptor/{api_24_1/open_results_in_en_sight.py → api_23_1/open_results_in_ensight.py} +1 -29
- ansys/systemcoupling/core/adaptor/api_23_1/open_snapshot.py +37 -0
- ansys/systemcoupling/core/adaptor/api_23_1/output_control.py +129 -0
- ansys/systemcoupling/core/adaptor/api_23_1/partition_participants.py +138 -0
- ansys/systemcoupling/core/adaptor/api_23_1/reference_frame.py +20 -0
- ansys/systemcoupling/core/adaptor/api_23_1/reference_frame_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_23_1/region.py +20 -0
- ansys/systemcoupling/core/adaptor/api_23_1/region_child.py +72 -0
- ansys/systemcoupling/core/adaptor/api_23_1/reload_expression_function_modules.py +14 -0
- ansys/systemcoupling/core/adaptor/api_23_1/results.py +89 -0
- ansys/systemcoupling/core/adaptor/api_23_1/save.py +51 -0
- ansys/systemcoupling/core/adaptor/api_23_1/save_snapshot.py +54 -0
- ansys/systemcoupling/core/adaptor/api_23_1/setup_root.py +195 -0
- ansys/systemcoupling/core/adaptor/api_23_1/shutdown.py +25 -0
- ansys/systemcoupling/core/adaptor/api_23_1/side.py +20 -0
- ansys/systemcoupling/core/adaptor/api_23_1/side_child.py +56 -0
- ansys/systemcoupling/core/adaptor/api_23_1/solution_control.py +91 -0
- ansys/systemcoupling/core/adaptor/api_23_1/solution_root.py +104 -0
- ansys/systemcoupling/core/adaptor/api_23_1/solve.py +30 -0
- ansys/systemcoupling/core/adaptor/api_23_1/stabilization.py +157 -0
- ansys/systemcoupling/core/adaptor/api_23_1/start_participants.py +47 -0
- ansys/systemcoupling/core/adaptor/api_23_1/step.py +57 -0
- ansys/systemcoupling/core/adaptor/api_23_1/transformation.py +21 -0
- ansys/systemcoupling/core/adaptor/api_23_1/transformation_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_23_1/type.py +38 -0
- ansys/systemcoupling/core/adaptor/api_23_1/unmapped_value_options.py +158 -0
- ansys/systemcoupling/core/adaptor/api_23_1/update_control.py +44 -0
- ansys/systemcoupling/core/adaptor/api_23_1/update_participant.py +61 -0
- ansys/systemcoupling/core/adaptor/api_23_1/variable.py +20 -0
- ansys/systemcoupling/core/adaptor/api_23_1/variable_child.py +201 -0
- ansys/systemcoupling/core/adaptor/api_23_1/write_csv_chart_files.py +21 -0
- ansys/systemcoupling/core/adaptor/api_23_1/write_ensight.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_aerodamping_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_fsi_data_transfers.py +32 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_ordered_data_transfers.py +32 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_thermal_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_24_1/analysis_control.py +34 -0
- ansys/systemcoupling/core/adaptor/api_24_1/case_root.py +1 -7
- ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant_child.py +26 -0
- ansys/systemcoupling/core/adaptor/api_24_1/execution_control.py +11 -1
- ansys/systemcoupling/core/adaptor/api_24_1/get_add_data_transfer_group_commands.py +29 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_mode_shape_variables.py +29 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_thermal_data_transfer_options.py +32 -0
- 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/parameter_child.py +0 -8
- ansys/systemcoupling/core/adaptor/api_24_1/record_interactions.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_1/setup_root.py +49 -1
- ansys/systemcoupling/core/adaptor/api_24_1/solution_control.py +12 -0
- ansys/systemcoupling/core/adaptor/api_24_1/solution_root.py +5 -5
- ansys/systemcoupling/core/adaptor/api_24_1/variable_child.py +1 -2
- 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.0.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/METADATA +19 -18
- {ansys_systemcoupling_core-0.3.0.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/RECORD +149 -52
- /ansys/systemcoupling/core/adaptor/{api_24_1 → api_23_1}/get_snapshots.py +0 -0
- {ansys_systemcoupling_core-0.3.0.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/LICENSE +0 -0
- {ansys_systemcoupling_core-0.3.0.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/WHEEL +0 -0
|
@@ -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 add_thermal_data_transfers(Command):
|
|
9
|
+
"""
|
|
10
|
+
Adds group of data transfers for thermal physics.
|
|
11
|
+
|
|
12
|
+
Returns the list of the data transfers created.
|
|
13
|
+
|
|
14
|
+
Parameters
|
|
15
|
+
----------
|
|
16
|
+
interface : str
|
|
17
|
+
String indicating the name of the interface on which the data transfer
|
|
18
|
+
is to be created.
|
|
19
|
+
option : str, optional
|
|
20
|
+
Thermal data transfer option: 'Heat Rate' (default) or
|
|
21
|
+
'Heat Transfer Coefficient' (possible for surface-surface transfers).
|
|
22
|
+
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
syc_name = "AddThermalDataTransfers"
|
|
26
|
+
|
|
27
|
+
argument_names = ["interface", "option"]
|
|
28
|
+
|
|
29
|
+
class interface(String):
|
|
30
|
+
"""
|
|
31
|
+
String indicating the name of the interface on which the data transfer
|
|
32
|
+
is to be created.
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
syc_name = "Interface"
|
|
36
|
+
|
|
37
|
+
class option(String):
|
|
38
|
+
"""
|
|
39
|
+
Thermal data transfer option: 'Heat Rate' (default) or
|
|
40
|
+
'Heat Transfer Coefficient' (possible for surface-surface transfers).
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
syc_name = "Option"
|
|
@@ -54,7 +54,14 @@ class analysis_control(Container):
|
|
|
54
54
|
("warped_face_tolerance", "WarpedFaceTolerance", "RealType"),
|
|
55
55
|
("allow_simultaneous_update", "AllowSimultaneousUpdate", "bool"),
|
|
56
56
|
("simultaneous_participants", "SimultaneousParticipants", "str"),
|
|
57
|
+
(
|
|
58
|
+
"allow_simultaneous_initialization",
|
|
59
|
+
"AllowSimultaneousInitialization",
|
|
60
|
+
"bool",
|
|
61
|
+
),
|
|
62
|
+
("mpi_pause_timeout", "MpiPauseTimeout", "RealType"),
|
|
57
63
|
("partitioning_algorithm", "PartitioningAlgorithm", "str"),
|
|
64
|
+
("cleanup_inflated_fm_us", "CleanupInflatedFMUs", "bool"),
|
|
58
65
|
("allow_iterations_only_mode", "AllowIterationsOnlyMode", "bool"),
|
|
59
66
|
("target_initialization_option", "TargetInitializationOption", "str"),
|
|
60
67
|
("fluent_region_update_at_step", "FluentRegionUpdateAtStep", "bool"),
|
|
@@ -122,6 +129,24 @@ class analysis_control(Container):
|
|
|
122
129
|
def simultaneous_participants(self, value: str):
|
|
123
130
|
self.set_property_state("simultaneous_participants", value)
|
|
124
131
|
|
|
132
|
+
@property
|
|
133
|
+
def allow_simultaneous_initialization(self) -> bool:
|
|
134
|
+
"""Allow simultaneous initialization of participants."""
|
|
135
|
+
return self.get_property_state("allow_simultaneous_initialization")
|
|
136
|
+
|
|
137
|
+
@allow_simultaneous_initialization.setter
|
|
138
|
+
def allow_simultaneous_initialization(self, value: bool):
|
|
139
|
+
self.set_property_state("allow_simultaneous_initialization", value)
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
def mpi_pause_timeout(self) -> RealType:
|
|
143
|
+
"""Specify MPI pause time (in seconds) to wait for other participants to finish solving"""
|
|
144
|
+
return self.get_property_state("mpi_pause_timeout")
|
|
145
|
+
|
|
146
|
+
@mpi_pause_timeout.setter
|
|
147
|
+
def mpi_pause_timeout(self, value: RealType):
|
|
148
|
+
self.set_property_state("mpi_pause_timeout", value)
|
|
149
|
+
|
|
125
150
|
@property
|
|
126
151
|
def partitioning_algorithm(self) -> str:
|
|
127
152
|
"""Partitioning algorithm used when participants are running in parallel.
|
|
@@ -143,6 +168,15 @@ class analysis_control(Container):
|
|
|
143
168
|
def partitioning_algorithm(self, value: str):
|
|
144
169
|
self.set_property_state("partitioning_algorithm", value)
|
|
145
170
|
|
|
171
|
+
@property
|
|
172
|
+
def cleanup_inflated_fm_us(self) -> bool:
|
|
173
|
+
"""Controls whether System Coupling will cleanup inflated FMUs at end of analysis."""
|
|
174
|
+
return self.get_property_state("cleanup_inflated_fm_us")
|
|
175
|
+
|
|
176
|
+
@cleanup_inflated_fm_us.setter
|
|
177
|
+
def cleanup_inflated_fm_us(self, value: bool):
|
|
178
|
+
self.set_property_state("cleanup_inflated_fm_us", value)
|
|
179
|
+
|
|
146
180
|
@property
|
|
147
181
|
def allow_iterations_only_mode(self) -> bool:
|
|
148
182
|
"""Explicitly set whether iterations-only mode is allowed."""
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
# This is an auto-generated file. DO NOT EDIT!
|
|
3
3
|
#
|
|
4
4
|
|
|
5
|
-
SHASH = "
|
|
5
|
+
SHASH = "430648f7df949b91819d62a5c2d5a5c49d1d67217fb3474ee31e0c78e5ffbd43"
|
|
6
6
|
|
|
7
7
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
8
8
|
|
|
9
9
|
from .clear_state import clear_state
|
|
10
10
|
from .delete_snapshot import delete_snapshot
|
|
11
|
-
from .get_snapshots import get_snapshots
|
|
12
11
|
from .open import open
|
|
13
12
|
from .open_snapshot import open_snapshot
|
|
14
13
|
from .save import save
|
|
@@ -25,7 +24,6 @@ class case_root(Container):
|
|
|
25
24
|
command_names = [
|
|
26
25
|
"clear_state",
|
|
27
26
|
"delete_snapshot",
|
|
28
|
-
"get_snapshots",
|
|
29
27
|
"open",
|
|
30
28
|
"open_snapshot",
|
|
31
29
|
"save",
|
|
@@ -40,10 +38,6 @@ class case_root(Container):
|
|
|
40
38
|
"""
|
|
41
39
|
delete_snapshot command of case_root.
|
|
42
40
|
"""
|
|
43
|
-
get_snapshots: get_snapshots = get_snapshots
|
|
44
|
-
"""
|
|
45
|
-
get_snapshots command of case_root.
|
|
46
|
-
"""
|
|
47
41
|
open: open = open
|
|
48
42
|
"""
|
|
49
43
|
open command of case_root.
|
|
@@ -8,6 +8,7 @@ from .execution_control import execution_control
|
|
|
8
8
|
from .external_data_file import external_data_file
|
|
9
9
|
from .fmu_parameter import fmu_parameter
|
|
10
10
|
from .parameter import parameter
|
|
11
|
+
from .record_interactions import record_interactions
|
|
11
12
|
from .region import region
|
|
12
13
|
from .update_control import update_control
|
|
13
14
|
from .variable import variable
|
|
@@ -31,6 +32,7 @@ class coupling_participant_child(Container):
|
|
|
31
32
|
"fmu_parameter",
|
|
32
33
|
"execution_control",
|
|
33
34
|
"external_data_file",
|
|
35
|
+
"record_interactions",
|
|
34
36
|
]
|
|
35
37
|
|
|
36
38
|
variable: variable = variable
|
|
@@ -61,6 +63,10 @@ class coupling_participant_child(Container):
|
|
|
61
63
|
"""
|
|
62
64
|
external_data_file child of coupling_participant_child.
|
|
63
65
|
"""
|
|
66
|
+
record_interactions: record_interactions = record_interactions
|
|
67
|
+
"""
|
|
68
|
+
record_interactions child of coupling_participant_child.
|
|
69
|
+
"""
|
|
64
70
|
property_names_types = [
|
|
65
71
|
("participant_type", "ParticipantType", "str"),
|
|
66
72
|
("participant_display_name", "ParticipantDisplayName", "str"),
|
|
@@ -76,6 +82,8 @@ class coupling_participant_child(Container):
|
|
|
76
82
|
("use_new_apis", "UseNewAPIs", "bool"),
|
|
77
83
|
("restarts_supported", "RestartsSupported", "bool"),
|
|
78
84
|
("can_serialize_fmu_state", "CanSerializeFmuState", "bool"),
|
|
85
|
+
("can_get_and_set_fmu_state", "CanGetAndSetFmuState", "bool"),
|
|
86
|
+
("free_fmu_state", "FreeFmuState", "bool"),
|
|
79
87
|
("instancing", "Instancing", "str"),
|
|
80
88
|
]
|
|
81
89
|
|
|
@@ -220,6 +228,24 @@ class coupling_participant_child(Container):
|
|
|
220
228
|
def can_serialize_fmu_state(self, value: bool):
|
|
221
229
|
self.set_property_state("can_serialize_fmu_state", value)
|
|
222
230
|
|
|
231
|
+
@property
|
|
232
|
+
def can_get_and_set_fmu_state(self) -> bool:
|
|
233
|
+
"""Indicates whether the FMU can get and set its state."""
|
|
234
|
+
return self.get_property_state("can_get_and_set_fmu_state")
|
|
235
|
+
|
|
236
|
+
@can_get_and_set_fmu_state.setter
|
|
237
|
+
def can_get_and_set_fmu_state(self, value: bool):
|
|
238
|
+
self.set_property_state("can_get_and_set_fmu_state", value)
|
|
239
|
+
|
|
240
|
+
@property
|
|
241
|
+
def free_fmu_state(self) -> bool:
|
|
242
|
+
"""Optionally Frees the FMU state prior to calling CanGetAndSetFmuState"""
|
|
243
|
+
return self.get_property_state("free_fmu_state")
|
|
244
|
+
|
|
245
|
+
@free_fmu_state.setter
|
|
246
|
+
def free_fmu_state(self, value: bool):
|
|
247
|
+
self.set_property_state("free_fmu_state", value)
|
|
248
|
+
|
|
223
249
|
@property
|
|
224
250
|
def instancing(self) -> str:
|
|
225
251
|
"""Set instancing on the participant."""
|
|
@@ -40,6 +40,7 @@ class execution_control(Container):
|
|
|
40
40
|
("base_output_file_name", "BaseOutputFileName", "str"),
|
|
41
41
|
("overwrite_existing_files", "OverwriteExistingFiles", "bool"),
|
|
42
42
|
("mass_normalized", "MassNormalized", "bool"),
|
|
43
|
+
("write_output", "WriteOutput", "bool"),
|
|
43
44
|
]
|
|
44
45
|
|
|
45
46
|
@property
|
|
@@ -160,7 +161,7 @@ class execution_control(Container):
|
|
|
160
161
|
|
|
161
162
|
@property
|
|
162
163
|
def base_output_file_name(self) -> str:
|
|
163
|
-
"""Base output file name for the CFD Server."""
|
|
164
|
+
"""Base output file name for the CFD Server or SCDT Server."""
|
|
164
165
|
return self.get_property_state("base_output_file_name")
|
|
165
166
|
|
|
166
167
|
@base_output_file_name.setter
|
|
@@ -184,3 +185,12 @@ class execution_control(Container):
|
|
|
184
185
|
@mass_normalized.setter
|
|
185
186
|
def mass_normalized(self, value: bool):
|
|
186
187
|
self.set_property_state("mass_normalized", value)
|
|
188
|
+
|
|
189
|
+
@property
|
|
190
|
+
def write_output(self) -> bool:
|
|
191
|
+
"""Controls whether export scdt files for the SCDT Server"""
|
|
192
|
+
return self.get_property_state("write_output")
|
|
193
|
+
|
|
194
|
+
@write_output.setter
|
|
195
|
+
def write_output(self, value: bool):
|
|
196
|
+
self.set_property_state("write_output", 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 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,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,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"
|
|
@@ -42,6 +42,7 @@ 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"),
|
|
45
46
|
]
|
|
46
47
|
|
|
47
48
|
@property
|
|
@@ -227,3 +228,12 @@ class mapping_control(Container):
|
|
|
227
228
|
@rbf_clipping_scale.setter
|
|
228
229
|
def rbf_clipping_scale(self, value: RealType):
|
|
229
230
|
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,6 +23,34 @@ 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
|
+
|
|
26
36
|
"""
|
|
27
37
|
|
|
28
38
|
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"
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
6
|
|
|
7
|
-
from .dimensionality import dimensionality
|
|
8
|
-
|
|
9
7
|
|
|
10
8
|
class parameter_child(Container):
|
|
11
9
|
"""
|
|
@@ -14,12 +12,6 @@ class parameter_child(Container):
|
|
|
14
12
|
|
|
15
13
|
syc_name = "child_object_type"
|
|
16
14
|
|
|
17
|
-
child_names = ["dimensionality"]
|
|
18
|
-
|
|
19
|
-
dimensionality: dimensionality = dimensionality
|
|
20
|
-
"""
|
|
21
|
-
dimensionality child of parameter_child.
|
|
22
|
-
"""
|
|
23
15
|
property_names_types = [
|
|
24
16
|
("participant_display_name", "ParticipantDisplayName", "str"),
|
|
25
17
|
("display_name", "DisplayName", "str"),
|
|
@@ -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 record_interactions(Container):
|
|
9
|
+
"""
|
|
10
|
+
"Controls whether the System Coupling Participant library will record the setup and solution data files for testing and debugging.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "RecordInteractions"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("record_setup", "RecordSetup", "bool"),
|
|
17
|
+
("record_solution", "RecordSolution", "bool"),
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@property
|
|
21
|
+
def record_setup(self) -> bool:
|
|
22
|
+
"""Flag indicating whether participant record scp file."""
|
|
23
|
+
return self.get_property_state("record_setup")
|
|
24
|
+
|
|
25
|
+
@record_setup.setter
|
|
26
|
+
def record_setup(self, value: bool):
|
|
27
|
+
self.set_property_state("record_setup", value)
|
|
28
|
+
|
|
29
|
+
@property
|
|
30
|
+
def record_solution(self) -> bool:
|
|
31
|
+
"""Flag indicating whether participant record solution files."""
|
|
32
|
+
return self.get_property_state("record_solution")
|
|
33
|
+
|
|
34
|
+
@record_solution.setter
|
|
35
|
+
def record_solution(self, value: bool):
|
|
36
|
+
self.set_property_state("record_solution", value)
|
|
@@ -2,30 +2,37 @@
|
|
|
2
2
|
# This is an auto-generated file. DO NOT EDIT!
|
|
3
3
|
#
|
|
4
4
|
|
|
5
|
-
SHASH = "
|
|
5
|
+
SHASH = "8e81ea84cd8d53f78719455f1af3cb4574a4ca5d37da4b5269211b224fff8259"
|
|
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
|
|
11
12
|
from .add_data_transfer import add_data_transfer
|
|
12
13
|
from .add_data_transfer_by_display_names import add_data_transfer_by_display_names
|
|
13
14
|
from .add_expression_function import add_expression_function
|
|
15
|
+
from .add_fsi_data_transfers import add_fsi_data_transfers
|
|
14
16
|
from .add_interface import add_interface
|
|
15
17
|
from .add_interface_by_display_names import add_interface_by_display_names
|
|
16
18
|
from .add_named_expression import add_named_expression
|
|
19
|
+
from .add_ordered_data_transfers import add_ordered_data_transfers
|
|
17
20
|
from .add_participant import add_participant
|
|
18
21
|
from .add_reference_frame import add_reference_frame
|
|
22
|
+
from .add_thermal_data_transfers import add_thermal_data_transfers
|
|
19
23
|
from .add_transformation import add_transformation
|
|
20
24
|
from .analysis_control import analysis_control
|
|
21
25
|
from .coupling_interface import coupling_interface
|
|
22
26
|
from .coupling_participant import coupling_participant
|
|
23
27
|
from .delete_transformation import delete_transformation
|
|
24
28
|
from .generate_input_file import generate_input_file
|
|
29
|
+
from .get_add_data_transfer_group_commands import get_add_data_transfer_group_commands
|
|
25
30
|
from .get_execution_command import get_execution_command
|
|
31
|
+
from .get_mode_shape_variables import get_mode_shape_variables
|
|
26
32
|
from .get_region_names_for_participant import get_region_names_for_participant
|
|
27
33
|
from .get_setup_summary import get_setup_summary
|
|
28
34
|
from .get_status_messages import get_status_messages
|
|
35
|
+
from .get_thermal_data_transfer_options import get_thermal_data_transfer_options
|
|
29
36
|
from .has_input_file_changed import has_input_file_changed
|
|
30
37
|
from .import_system_coupling_input_file import import_system_coupling_input_file
|
|
31
38
|
from .library import library
|
|
@@ -82,21 +89,28 @@ class setup_root(Container):
|
|
|
82
89
|
"""
|
|
83
90
|
command_names = [
|
|
84
91
|
"_add_participant",
|
|
92
|
+
"add_aerodamping_data_transfers",
|
|
85
93
|
"add_data_transfer",
|
|
86
94
|
"add_data_transfer_by_display_names",
|
|
87
95
|
"add_expression_function",
|
|
96
|
+
"add_fsi_data_transfers",
|
|
88
97
|
"add_interface",
|
|
89
98
|
"add_interface_by_display_names",
|
|
90
99
|
"add_named_expression",
|
|
100
|
+
"add_ordered_data_transfers",
|
|
91
101
|
"add_participant",
|
|
92
102
|
"add_reference_frame",
|
|
103
|
+
"add_thermal_data_transfers",
|
|
93
104
|
"add_transformation",
|
|
94
105
|
"delete_transformation",
|
|
95
106
|
"generate_input_file",
|
|
107
|
+
"get_add_data_transfer_group_commands",
|
|
96
108
|
"get_execution_command",
|
|
109
|
+
"get_mode_shape_variables",
|
|
97
110
|
"get_region_names_for_participant",
|
|
98
111
|
"get_setup_summary",
|
|
99
112
|
"get_status_messages",
|
|
113
|
+
"get_thermal_data_transfer_options",
|
|
100
114
|
"has_input_file_changed",
|
|
101
115
|
"import_system_coupling_input_file",
|
|
102
116
|
"reload_expression_function_modules",
|
|
@@ -107,6 +121,12 @@ class setup_root(Container):
|
|
|
107
121
|
"""
|
|
108
122
|
_add_participant command of setup_root.
|
|
109
123
|
"""
|
|
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
|
+
"""
|
|
110
130
|
add_data_transfer: add_data_transfer = add_data_transfer
|
|
111
131
|
"""
|
|
112
132
|
add_data_transfer command of setup_root.
|
|
@@ -121,6 +141,10 @@ class setup_root(Container):
|
|
|
121
141
|
"""
|
|
122
142
|
add_expression_function command of setup_root.
|
|
123
143
|
"""
|
|
144
|
+
add_fsi_data_transfers: add_fsi_data_transfers = add_fsi_data_transfers
|
|
145
|
+
"""
|
|
146
|
+
add_fsi_data_transfers command of setup_root.
|
|
147
|
+
"""
|
|
124
148
|
add_interface: add_interface = add_interface
|
|
125
149
|
"""
|
|
126
150
|
add_interface command of setup_root.
|
|
@@ -135,6 +159,10 @@ class setup_root(Container):
|
|
|
135
159
|
"""
|
|
136
160
|
add_named_expression command of setup_root.
|
|
137
161
|
"""
|
|
162
|
+
add_ordered_data_transfers: add_ordered_data_transfers = add_ordered_data_transfers
|
|
163
|
+
"""
|
|
164
|
+
add_ordered_data_transfers command of setup_root.
|
|
165
|
+
"""
|
|
138
166
|
add_participant: add_participant = add_participant
|
|
139
167
|
"""
|
|
140
168
|
add_participant command of setup_root.
|
|
@@ -143,6 +171,10 @@ class setup_root(Container):
|
|
|
143
171
|
"""
|
|
144
172
|
add_reference_frame command of setup_root.
|
|
145
173
|
"""
|
|
174
|
+
add_thermal_data_transfers: add_thermal_data_transfers = add_thermal_data_transfers
|
|
175
|
+
"""
|
|
176
|
+
add_thermal_data_transfers command of setup_root.
|
|
177
|
+
"""
|
|
146
178
|
add_transformation: add_transformation = add_transformation
|
|
147
179
|
"""
|
|
148
180
|
add_transformation command of setup_root.
|
|
@@ -155,10 +187,20 @@ class setup_root(Container):
|
|
|
155
187
|
"""
|
|
156
188
|
generate_input_file command of setup_root.
|
|
157
189
|
"""
|
|
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
|
+
"""
|
|
158
196
|
get_execution_command: get_execution_command = get_execution_command
|
|
159
197
|
"""
|
|
160
198
|
get_execution_command command of setup_root.
|
|
161
199
|
"""
|
|
200
|
+
get_mode_shape_variables: get_mode_shape_variables = get_mode_shape_variables
|
|
201
|
+
"""
|
|
202
|
+
get_mode_shape_variables command of setup_root.
|
|
203
|
+
"""
|
|
162
204
|
get_region_names_for_participant: get_region_names_for_participant = (
|
|
163
205
|
get_region_names_for_participant
|
|
164
206
|
)
|
|
@@ -173,6 +215,12 @@ class setup_root(Container):
|
|
|
173
215
|
"""
|
|
174
216
|
get_status_messages command of setup_root.
|
|
175
217
|
"""
|
|
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
|
+
"""
|
|
176
224
|
has_input_file_changed: has_input_file_changed = has_input_file_changed
|
|
177
225
|
"""
|
|
178
226
|
has_input_file_changed command of setup_root.
|
|
@@ -28,6 +28,7 @@ class solution_control(Container):
|
|
|
28
28
|
("minimum_iterations", "MinimumIterations", "int"),
|
|
29
29
|
("maximum_iterations", "MaximumIterations", "int"),
|
|
30
30
|
("use_ip_address_when_possible", "UseIPAddressWhenPossible", "bool"),
|
|
31
|
+
("use_local_host_when_possible", "UseLocalHostWhenPossible", "bool"),
|
|
31
32
|
]
|
|
32
33
|
|
|
33
34
|
@property
|
|
@@ -101,3 +102,14 @@ class solution_control(Container):
|
|
|
101
102
|
@use_ip_address_when_possible.setter
|
|
102
103
|
def use_ip_address_when_possible(self, value: bool):
|
|
103
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 = "92304eda8d03ebade30fb915bf1f0ab24f3d545b0d394f9d2ab9674b4bfd27fd"
|
|
6
6
|
|
|
7
7
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
8
8
|
|
|
@@ -13,7 +13,7 @@ from .get_machines import get_machines
|
|
|
13
13
|
from .get_transformation import get_transformation
|
|
14
14
|
from .initialize import initialize
|
|
15
15
|
from .interrupt import interrupt
|
|
16
|
-
from .
|
|
16
|
+
from .open_results_in_ensight import open_results_in_ensight
|
|
17
17
|
from .partition_participants import partition_participants
|
|
18
18
|
from .shutdown import shutdown
|
|
19
19
|
from .solve import solve
|
|
@@ -38,7 +38,7 @@ class solution_root(Container):
|
|
|
38
38
|
"get_transformation",
|
|
39
39
|
"initialize",
|
|
40
40
|
"interrupt",
|
|
41
|
-
"
|
|
41
|
+
"open_results_in_ensight",
|
|
42
42
|
"partition_participants",
|
|
43
43
|
"shutdown",
|
|
44
44
|
"solve",
|
|
@@ -76,9 +76,9 @@ class solution_root(Container):
|
|
|
76
76
|
"""
|
|
77
77
|
interrupt command of solution_root.
|
|
78
78
|
"""
|
|
79
|
-
|
|
79
|
+
open_results_in_ensight: open_results_in_ensight = open_results_in_ensight
|
|
80
80
|
"""
|
|
81
|
-
|
|
81
|
+
open_results_in_ensight command of solution_root.
|
|
82
82
|
"""
|
|
83
83
|
partition_participants: partition_participants = partition_participants
|
|
84
84
|
"""
|