ansys-systemcoupling-core 0.4.dev0__py3-none-any.whl → 0.5.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 +44 -8
- ansys/systemcoupling/core/adaptor/api_23_1/_clear_state.py +13 -0
- ansys/systemcoupling/core/adaptor/api_23_1/case_root.py +7 -1
- ansys/systemcoupling/core/adaptor/api_23_1/clear_state.py +4 -2
- ansys/systemcoupling/core/adaptor/api_23_2/_clear_state.py +13 -0
- ansys/systemcoupling/core/adaptor/api_23_2/case_root.py +7 -1
- ansys/systemcoupling/core/adaptor/api_23_2/clear_state.py +4 -2
- ansys/systemcoupling/core/adaptor/api_24_1/_clear_state.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_1/case_root.py +7 -1
- ansys/systemcoupling/core/adaptor/api_24_1/clear_state.py +4 -2
- ansys/systemcoupling/core/adaptor/api_24_2/_add_participant.py +80 -0
- ansys/systemcoupling/core/adaptor/api_24_2/_clear_state.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_2/_solve.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_2/abort.py +39 -0
- ansys/systemcoupling/core/adaptor/api_24_2/activate_hidden.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_aerodamping_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_data_transfer.py +190 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_data_transfer_by_display_names.py +191 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_expression_function.py +61 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_fsi_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_interface.py +77 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_interface_by_display_names.py +78 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_named_expression.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_ordered_data_transfers.py +32 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_participant.py +162 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_reference_frame.py +40 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_thermal_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_24_2/add_transformation.py +102 -0
- ansys/systemcoupling/core/adaptor/api_24_2/analysis_control.py +283 -0
- ansys/systemcoupling/core/adaptor/api_24_2/apip.py +33 -0
- ansys/systemcoupling/core/adaptor/api_24_2/ascii_output.py +44 -0
- ansys/systemcoupling/core/adaptor/api_24_2/attribute.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/attribute_child.py +54 -0
- ansys/systemcoupling/core/adaptor/api_24_2/automatic_alignment_options.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_2/available_ports.py +40 -0
- ansys/systemcoupling/core/adaptor/api_24_2/avoid_data_reconstruction.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_2/case_root.py +62 -0
- ansys/systemcoupling/core/adaptor/api_24_2/clear_state.py +18 -0
- ansys/systemcoupling/core/adaptor/api_24_2/connect_ensight_dvs.py +41 -0
- ansys/systemcoupling/core/adaptor/api_24_2/coupling_interface.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/coupling_interface_child.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_2/coupling_participant.py +23 -0
- ansys/systemcoupling/core/adaptor/api_24_2/coupling_participant_child.py +265 -0
- ansys/systemcoupling/core/adaptor/api_24_2/create_restart_point.py +29 -0
- ansys/systemcoupling/core/adaptor/api_24_2/data_transfer.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/data_transfer_child.py +187 -0
- ansys/systemcoupling/core/adaptor/api_24_2/delete_snapshot.py +28 -0
- ansys/systemcoupling/core/adaptor/api_24_2/delete_transformation.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_2/dimensionality.py +96 -0
- ansys/systemcoupling/core/adaptor/api_24_2/execution_control.py +246 -0
- ansys/systemcoupling/core/adaptor/api_24_2/execution_control_1.py +24 -0
- ansys/systemcoupling/core/adaptor/api_24_2/expression.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/expression_child.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_2/expression_function.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/expression_function_child.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_2/external_data_file.py +24 -0
- ansys/systemcoupling/core/adaptor/api_24_2/fluent_input.py +77 -0
- ansys/systemcoupling/core/adaptor/api_24_2/fmu_parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/fmu_parameter_child.py +156 -0
- ansys/systemcoupling/core/adaptor/api_24_2/generate_input_file.py +41 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_add_data_transfer_group_commands.py +29 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_execution_command.py +30 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_machines.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_mode_shape_variables.py +29 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_region_names_for_participant.py +31 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_setup_summary.py +25 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_status_messages.py +52 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_supported_participant_types.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_thermal_data_transfer_options.py +32 -0
- ansys/systemcoupling/core/adaptor/api_24_2/get_transformation.py +43 -0
- ansys/systemcoupling/core/adaptor/api_24_2/global_stabilization.py +143 -0
- ansys/systemcoupling/core/adaptor/api_24_2/has_input_file_changed.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_2/import_system_coupling_input_file.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_2/initialize.py +27 -0
- ansys/systemcoupling/core/adaptor/api_24_2/instancing.py +23 -0
- ansys/systemcoupling/core/adaptor/api_24_2/instancing_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_24_2/interrupt.py +39 -0
- ansys/systemcoupling/core/adaptor/api_24_2/library.py +37 -0
- ansys/systemcoupling/core/adaptor/api_24_2/live_visualization.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/live_visualization_child.py +100 -0
- ansys/systemcoupling/core/adaptor/api_24_2/mapping_control.py +239 -0
- ansys/systemcoupling/core/adaptor/api_24_2/open.py +102 -0
- ansys/systemcoupling/core/adaptor/api_24_2/open_results_in_ensight.py +56 -0
- ansys/systemcoupling/core/adaptor/api_24_2/open_snapshot.py +37 -0
- ansys/systemcoupling/core/adaptor/api_24_2/output_control.py +134 -0
- ansys/systemcoupling/core/adaptor/api_24_2/parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/parameter_child.py +56 -0
- ansys/systemcoupling/core/adaptor/api_24_2/partition_participants.py +138 -0
- ansys/systemcoupling/core/adaptor/api_24_2/properties.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_2/record_interactions.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_2/reference_frame.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/reference_frame_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_24_2/region.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/region_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_24_2/reload_expression_function_modules.py +14 -0
- ansys/systemcoupling/core/adaptor/api_24_2/results.py +89 -0
- ansys/systemcoupling/core/adaptor/api_24_2/save.py +51 -0
- ansys/systemcoupling/core/adaptor/api_24_2/save_snapshot.py +54 -0
- ansys/systemcoupling/core/adaptor/api_24_2/setup_root.py +251 -0
- ansys/systemcoupling/core/adaptor/api_24_2/shutdown.py +25 -0
- ansys/systemcoupling/core/adaptor/api_24_2/side.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/side_child.py +56 -0
- ansys/systemcoupling/core/adaptor/api_24_2/solution_control.py +115 -0
- ansys/systemcoupling/core/adaptor/api_24_2/solution_root.py +116 -0
- ansys/systemcoupling/core/adaptor/api_24_2/solve.py +30 -0
- ansys/systemcoupling/core/adaptor/api_24_2/stabilization.py +157 -0
- ansys/systemcoupling/core/adaptor/api_24_2/start_participants.py +47 -0
- ansys/systemcoupling/core/adaptor/api_24_2/step.py +57 -0
- ansys/systemcoupling/core/adaptor/api_24_2/transformation.py +21 -0
- ansys/systemcoupling/core/adaptor/api_24_2/transformation_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_24_2/type.py +38 -0
- ansys/systemcoupling/core/adaptor/api_24_2/unmapped_value_options.py +158 -0
- ansys/systemcoupling/core/adaptor/api_24_2/update_control.py +43 -0
- ansys/systemcoupling/core/adaptor/api_24_2/update_participant.py +61 -0
- ansys/systemcoupling/core/adaptor/api_24_2/variable.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_2/variable_child.py +231 -0
- ansys/systemcoupling/core/adaptor/api_24_2/write_csv_chart_files.py +21 -0
- ansys/systemcoupling/core/adaptor/api_24_2/write_ensight.py +46 -0
- ansys/systemcoupling/core/adaptor/impl/injected_commands.py +18 -0
- ansys/systemcoupling/core/client/grpc_client.py +113 -14
- ansys/systemcoupling/core/session.py +50 -0
- ansys/systemcoupling/core/util/file_transfer.py +133 -0
- ansys/systemcoupling/core/util/logging.py +1 -1
- {ansys_systemcoupling_core-0.4.dev0.dist-info → ansys_systemcoupling_core-0.5.0.dist-info}/METADATA +14 -13
- {ansys_systemcoupling_core-0.4.dev0.dist-info → ansys_systemcoupling_core-0.5.0.dist-info}/RECORD +127 -15
- {ansys_systemcoupling_core-0.4.dev0.dist-info → ansys_systemcoupling_core-0.5.0.dist-info}/LICENSE +0 -0
- {ansys_systemcoupling_core-0.4.dev0.dist-info → ansys_systemcoupling_core-0.5.0.dist-info}/WHEEL +0 -0
|
@@ -29,6 +29,8 @@ from ansys.systemcoupling.core.client.grpc_client import SycGrpc
|
|
|
29
29
|
from ansys.systemcoupling.core.session import Session
|
|
30
30
|
from ansys.systemcoupling.core.util.logging import LOG
|
|
31
31
|
|
|
32
|
+
import ansys.platform.instancemanagement as pypim
|
|
33
|
+
|
|
32
34
|
try:
|
|
33
35
|
import importlib.metadata as importlib_metadata
|
|
34
36
|
except ModuleNotFoundError: # pragma: no cover
|
|
@@ -87,14 +89,21 @@ def launch(
|
|
|
87
89
|
remote System Coupling instance.
|
|
88
90
|
"""
|
|
89
91
|
rpc = SycGrpc()
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
version
|
|
96
|
-
|
|
97
|
-
|
|
92
|
+
if pypim.is_configured():
|
|
93
|
+
LOG.info(
|
|
94
|
+
"Starting System Coupling remotely. Any launch arguments other "
|
|
95
|
+
"than 'version' are ignored."
|
|
96
|
+
)
|
|
97
|
+
rpc.start_pim_and_connect(version)
|
|
98
|
+
else:
|
|
99
|
+
rpc.start_and_connect(
|
|
100
|
+
port=port,
|
|
101
|
+
working_dir=working_dir,
|
|
102
|
+
nprocs=nprocs,
|
|
103
|
+
sycnprocs=sycnprocs,
|
|
104
|
+
version=version,
|
|
105
|
+
extra_args=extra_args,
|
|
106
|
+
)
|
|
98
107
|
return Session(rpc)
|
|
99
108
|
|
|
100
109
|
|
|
@@ -121,6 +130,33 @@ def launch_container(
|
|
|
121
130
|
return Session(rpc)
|
|
122
131
|
|
|
123
132
|
|
|
133
|
+
def launch_remote(
|
|
134
|
+
version: str = None,
|
|
135
|
+
) -> Session:
|
|
136
|
+
"""Launch System Coupling remotely using `PyPIM <https://pypim.docs.pyansys.com>`.
|
|
137
|
+
|
|
138
|
+
When calling this function, you must ensure that you are in an
|
|
139
|
+
environment where ``PyPIM`` is configured. You can use the :func:
|
|
140
|
+
`pypim.is_configured <ansys.platform.instancemanagement.is_configured>`
|
|
141
|
+
method to verify that ``PyPIM`` is configured.
|
|
142
|
+
|
|
143
|
+
Parameters
|
|
144
|
+
----------
|
|
145
|
+
version : str, optional
|
|
146
|
+
The System Coupling product version. See :func:`launch<core.launch>`
|
|
147
|
+
for details of supported version strings.
|
|
148
|
+
|
|
149
|
+
Returns
|
|
150
|
+
-------
|
|
151
|
+
ansys.systemcoupling.core.session.Session
|
|
152
|
+
Session object, providing access to a set up and solve API controlling a
|
|
153
|
+
remote System Coupling instance.
|
|
154
|
+
"""
|
|
155
|
+
rpc = SycGrpc()
|
|
156
|
+
rpc.start_pim_and_connect(version)
|
|
157
|
+
return Session(rpc)
|
|
158
|
+
|
|
159
|
+
|
|
124
160
|
def connect(host: str, port: int) -> Session: # pragma: no cover
|
|
125
161
|
"""Connect to an instance of System Coupling already running in server mode.
|
|
126
162
|
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
# This is an auto-generated file. DO NOT EDIT!
|
|
3
3
|
#
|
|
4
4
|
|
|
5
|
-
SHASH = "
|
|
5
|
+
SHASH = "c6427eb39292f21707811cf7093268eb2b0d3d9f2780ddaf390bf51bb916e546"
|
|
6
6
|
|
|
7
7
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
8
8
|
|
|
9
|
+
from ._clear_state import _clear_state
|
|
9
10
|
from .clear_state import clear_state
|
|
10
11
|
from .delete_snapshot import delete_snapshot
|
|
11
12
|
from .get_snapshots import get_snapshots
|
|
@@ -23,6 +24,7 @@ class case_root(Container):
|
|
|
23
24
|
syc_name = "CaseCommands"
|
|
24
25
|
|
|
25
26
|
command_names = [
|
|
27
|
+
"_clear_state",
|
|
26
28
|
"clear_state",
|
|
27
29
|
"delete_snapshot",
|
|
28
30
|
"get_snapshots",
|
|
@@ -32,6 +34,10 @@ class case_root(Container):
|
|
|
32
34
|
"save_snapshot",
|
|
33
35
|
]
|
|
34
36
|
|
|
37
|
+
_clear_state: _clear_state = _clear_state
|
|
38
|
+
"""
|
|
39
|
+
_clear_state command of case_root.
|
|
40
|
+
"""
|
|
35
41
|
clear_state: clear_state = clear_state
|
|
36
42
|
"""
|
|
37
43
|
clear_state command of case_root.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class clear_state(
|
|
8
|
+
class clear_state(InjectedCommand):
|
|
9
9
|
"""
|
|
10
10
|
Clears the state of the entire System Coupling service, removing all
|
|
11
11
|
data model items, parameter values, and calculated values.
|
|
@@ -13,4 +13,6 @@ class clear_state(Command):
|
|
|
13
13
|
Cannot be run after participants have been started.
|
|
14
14
|
"""
|
|
15
15
|
|
|
16
|
-
syc_name = "
|
|
16
|
+
syc_name = "clear_state"
|
|
17
|
+
|
|
18
|
+
cmd_name = "clear_state"
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
# This is an auto-generated file. DO NOT EDIT!
|
|
3
3
|
#
|
|
4
4
|
|
|
5
|
-
SHASH = "
|
|
5
|
+
SHASH = "c6427eb39292f21707811cf7093268eb2b0d3d9f2780ddaf390bf51bb916e546"
|
|
6
6
|
|
|
7
7
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
8
8
|
|
|
9
|
+
from ._clear_state import _clear_state
|
|
9
10
|
from .clear_state import clear_state
|
|
10
11
|
from .delete_snapshot import delete_snapshot
|
|
11
12
|
from .get_snapshots import get_snapshots
|
|
@@ -23,6 +24,7 @@ class case_root(Container):
|
|
|
23
24
|
syc_name = "CaseCommands"
|
|
24
25
|
|
|
25
26
|
command_names = [
|
|
27
|
+
"_clear_state",
|
|
26
28
|
"clear_state",
|
|
27
29
|
"delete_snapshot",
|
|
28
30
|
"get_snapshots",
|
|
@@ -32,6 +34,10 @@ class case_root(Container):
|
|
|
32
34
|
"save_snapshot",
|
|
33
35
|
]
|
|
34
36
|
|
|
37
|
+
_clear_state: _clear_state = _clear_state
|
|
38
|
+
"""
|
|
39
|
+
_clear_state command of case_root.
|
|
40
|
+
"""
|
|
35
41
|
clear_state: clear_state = clear_state
|
|
36
42
|
"""
|
|
37
43
|
clear_state command of case_root.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class clear_state(
|
|
8
|
+
class clear_state(InjectedCommand):
|
|
9
9
|
"""
|
|
10
10
|
Clears the state of the entire System Coupling service, removing all
|
|
11
11
|
data model items, parameter values, and calculated values.
|
|
@@ -13,4 +13,6 @@ class clear_state(Command):
|
|
|
13
13
|
Cannot be run after participants have been started.
|
|
14
14
|
"""
|
|
15
15
|
|
|
16
|
-
syc_name = "
|
|
16
|
+
syc_name = "clear_state"
|
|
17
|
+
|
|
18
|
+
cmd_name = "clear_state"
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
# This is an auto-generated file. DO NOT EDIT!
|
|
3
3
|
#
|
|
4
4
|
|
|
5
|
-
SHASH = "
|
|
5
|
+
SHASH = "34d232b251e1d4a5a6b88e3deb9591863eac6afb1446228951276f9b1700da9f"
|
|
6
6
|
|
|
7
7
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
8
8
|
|
|
9
|
+
from ._clear_state import _clear_state
|
|
9
10
|
from .clear_state import clear_state
|
|
10
11
|
from .delete_snapshot import delete_snapshot
|
|
11
12
|
from .open import open
|
|
@@ -22,6 +23,7 @@ class case_root(Container):
|
|
|
22
23
|
syc_name = "CaseCommands"
|
|
23
24
|
|
|
24
25
|
command_names = [
|
|
26
|
+
"_clear_state",
|
|
25
27
|
"clear_state",
|
|
26
28
|
"delete_snapshot",
|
|
27
29
|
"open",
|
|
@@ -30,6 +32,10 @@ class case_root(Container):
|
|
|
30
32
|
"save_snapshot",
|
|
31
33
|
]
|
|
32
34
|
|
|
35
|
+
_clear_state: _clear_state = _clear_state
|
|
36
|
+
"""
|
|
37
|
+
_clear_state command of case_root.
|
|
38
|
+
"""
|
|
33
39
|
clear_state: clear_state = clear_state
|
|
34
40
|
"""
|
|
35
41
|
clear_state command of case_root.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class clear_state(
|
|
8
|
+
class clear_state(InjectedCommand):
|
|
9
9
|
"""
|
|
10
10
|
Clears the state of the entire System Coupling service, removing all
|
|
11
11
|
data model items, parameter values, and calculated values.
|
|
@@ -13,4 +13,6 @@ class clear_state(Command):
|
|
|
13
13
|
Cannot be run after participants have been started.
|
|
14
14
|
"""
|
|
15
15
|
|
|
16
|
-
syc_name = "
|
|
16
|
+
syc_name = "clear_state"
|
|
17
|
+
|
|
18
|
+
cmd_name = "clear_state"
|
|
@@ -0,0 +1,80 @@
|
|
|
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_participant(Command):
|
|
9
|
+
"""
|
|
10
|
+
For internal use only.
|
|
11
|
+
|
|
12
|
+
Parameters
|
|
13
|
+
----------
|
|
14
|
+
participant_type : str, optional
|
|
15
|
+
...
|
|
16
|
+
input_file : str, optional
|
|
17
|
+
...
|
|
18
|
+
executable : str, optional
|
|
19
|
+
...
|
|
20
|
+
additional_arguments : str, optional
|
|
21
|
+
...
|
|
22
|
+
working_directory : str, optional
|
|
23
|
+
...
|
|
24
|
+
python_script : str, optional
|
|
25
|
+
...
|
|
26
|
+
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
syc_name = "AddParticipant"
|
|
30
|
+
|
|
31
|
+
argument_names = [
|
|
32
|
+
"participant_type",
|
|
33
|
+
"input_file",
|
|
34
|
+
"executable",
|
|
35
|
+
"additional_arguments",
|
|
36
|
+
"working_directory",
|
|
37
|
+
"python_script",
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
class participant_type(String):
|
|
41
|
+
"""
|
|
42
|
+
...
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
syc_name = "ParticipantType"
|
|
46
|
+
|
|
47
|
+
class input_file(String):
|
|
48
|
+
"""
|
|
49
|
+
...
|
|
50
|
+
"""
|
|
51
|
+
|
|
52
|
+
syc_name = "InputFile"
|
|
53
|
+
|
|
54
|
+
class executable(String):
|
|
55
|
+
"""
|
|
56
|
+
...
|
|
57
|
+
"""
|
|
58
|
+
|
|
59
|
+
syc_name = "Executable"
|
|
60
|
+
|
|
61
|
+
class additional_arguments(String):
|
|
62
|
+
"""
|
|
63
|
+
...
|
|
64
|
+
"""
|
|
65
|
+
|
|
66
|
+
syc_name = "AdditionalArguments"
|
|
67
|
+
|
|
68
|
+
class working_directory(String):
|
|
69
|
+
"""
|
|
70
|
+
...
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
syc_name = "WorkingDirectory"
|
|
74
|
+
|
|
75
|
+
class python_script(String):
|
|
76
|
+
"""
|
|
77
|
+
...
|
|
78
|
+
"""
|
|
79
|
+
|
|
80
|
+
syc_name = "PythonScript"
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class abort(InjectedCommand):
|
|
9
|
+
"""
|
|
10
|
+
Aborts a solve in progress.
|
|
11
|
+
|
|
12
|
+
See also ``interrupt``. In contrast to an interrupted solve,
|
|
13
|
+
an aborted solve cannot be resumed.
|
|
14
|
+
|
|
15
|
+
Parameters
|
|
16
|
+
----------
|
|
17
|
+
reason_msg : str, optional
|
|
18
|
+
Text to describe the reason for the abort.
|
|
19
|
+
|
|
20
|
+
This might be used for such purposes as providing
|
|
21
|
+
additional annotation in transcript output.
|
|
22
|
+
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
syc_name = "abort"
|
|
26
|
+
|
|
27
|
+
cmd_name = "abort"
|
|
28
|
+
|
|
29
|
+
argument_names = ["reason_msg"]
|
|
30
|
+
|
|
31
|
+
class reason_msg(String):
|
|
32
|
+
"""
|
|
33
|
+
Text to describe the reason for the abort.
|
|
34
|
+
|
|
35
|
+
This might be used for such purposes as providing
|
|
36
|
+
additional annotation in transcript output.
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
syc_name = "reason_msg"
|
|
@@ -0,0 +1,46 @@
|
|
|
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 activate_hidden(Container):
|
|
9
|
+
"""
|
|
10
|
+
Contains settings to control exposure of hidden features.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "ActivateHidden"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("beta_features", "BetaFeatures", "bool"),
|
|
17
|
+
("alpha_features", "AlphaFeatures", "bool"),
|
|
18
|
+
("lenient_validation", "LenientValidation", "bool"),
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
@property
|
|
22
|
+
def beta_features(self) -> bool:
|
|
23
|
+
"""Turn on exposure of Beta features."""
|
|
24
|
+
return self.get_property_state("beta_features")
|
|
25
|
+
|
|
26
|
+
@beta_features.setter
|
|
27
|
+
def beta_features(self, value: bool):
|
|
28
|
+
self.set_property_state("beta_features", value)
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def alpha_features(self) -> bool:
|
|
32
|
+
"""Turn on exposure of Alpha features. (Beta features must be turned on first)"""
|
|
33
|
+
return self.get_property_state("alpha_features")
|
|
34
|
+
|
|
35
|
+
@alpha_features.setter
|
|
36
|
+
def alpha_features(self, value: bool):
|
|
37
|
+
self.set_property_state("alpha_features", value)
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
def lenient_validation(self) -> bool:
|
|
41
|
+
"""Allow a case with zero participants and zero coupling interfaces to be set up."""
|
|
42
|
+
return self.get_property_state("lenient_validation")
|
|
43
|
+
|
|
44
|
+
@lenient_validation.setter
|
|
45
|
+
def lenient_validation(self, value: bool):
|
|
46
|
+
self.set_property_state("lenient_validation", value)
|
|
@@ -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_aerodamping_data_transfers(Command):
|
|
9
|
+
"""
|
|
10
|
+
Adds data transfer for each specified mode shape.
|
|
11
|
+
|
|
12
|
+
Returns the name 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
|
+
mode_shapes : typing.List[str], optional
|
|
20
|
+
List of mode shapes to transfer. If not provided, a
|
|
21
|
+
data transfer is created for each available modeshape.
|
|
22
|
+
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
syc_name = "AddAerodampingDataTransfers"
|
|
26
|
+
|
|
27
|
+
argument_names = ["interface", "mode_shapes"]
|
|
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 mode_shapes(StringList):
|
|
38
|
+
"""
|
|
39
|
+
List of mode shapes to transfer. If not provided, a
|
|
40
|
+
data transfer is created for each available modeshape.
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
syc_name = "ModeShapes"
|