ansys-systemcoupling-core 0.2.0__py3-none-any.whl → 0.3.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 -4
- ansys/systemcoupling/core/adaptor/api_23_2/_add_participant.py +70 -0
- ansys/systemcoupling/core/adaptor/api_23_2/_solve.py +13 -0
- ansys/systemcoupling/core/adaptor/api_23_2/add_participant.py +38 -2
- ansys/systemcoupling/core/adaptor/api_23_2/case_root.py +13 -13
- ansys/systemcoupling/core/adaptor/api_23_2/setup_root.py +55 -49
- ansys/systemcoupling/core/adaptor/api_23_2/solution_root.py +42 -36
- ansys/systemcoupling/core/adaptor/api_23_2/solve.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_1/_add_participant.py +70 -0
- ansys/systemcoupling/core/adaptor/api_24_1/_solve.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_1/abort.py +39 -0
- ansys/systemcoupling/core/adaptor/api_24_1/activate_hidden.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_data_transfer.py +190 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_data_transfer_by_display_names.py +191 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_expression_function.py +61 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_interface.py +77 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_interface_by_display_names.py +78 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_named_expression.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_participant.py +140 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_reference_frame.py +40 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_transformation.py +102 -0
- ansys/systemcoupling/core/adaptor/api_24_1/analysis_control.py +249 -0
- ansys/systemcoupling/core/adaptor/api_24_1/apip.py +33 -0
- ansys/systemcoupling/core/adaptor/api_24_1/ascii_output.py +44 -0
- ansys/systemcoupling/core/adaptor/api_24_1/attribute.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/attribute_child.py +54 -0
- ansys/systemcoupling/core/adaptor/api_24_1/automatic_alignment_options.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_1/available_ports.py +40 -0
- ansys/systemcoupling/core/adaptor/api_24_1/avoid_data_reconstruction.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_1/case_root.py +62 -0
- ansys/systemcoupling/core/adaptor/api_24_1/clear_state.py +16 -0
- ansys/systemcoupling/core/adaptor/api_24_1/coupling_interface.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/coupling_interface_child.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant.py +23 -0
- ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant_child.py +230 -0
- ansys/systemcoupling/core/adaptor/api_24_1/create_restart_point.py +29 -0
- ansys/systemcoupling/core/adaptor/api_24_1/data_transfer.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/data_transfer_child.py +187 -0
- ansys/systemcoupling/core/adaptor/api_24_1/delete_snapshot.py +28 -0
- ansys/systemcoupling/core/adaptor/api_24_1/delete_transformation.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_1/dimensionality.py +96 -0
- ansys/systemcoupling/core/adaptor/api_24_1/execution_control.py +186 -0
- ansys/systemcoupling/core/adaptor/api_24_1/expression.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/expression_child.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_1/expression_function.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/expression_function_child.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_1/external_data_file.py +24 -0
- ansys/systemcoupling/core/adaptor/api_24_1/fluent_input.py +67 -0
- ansys/systemcoupling/core/adaptor/api_24_1/fmu_parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/fmu_parameter_child.py +156 -0
- ansys/systemcoupling/core/adaptor/api_24_1/generate_input_file.py +41 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_execution_command.py +30 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_machines.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_region_names_for_participant.py +31 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_setup_summary.py +25 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_snapshots.py +14 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_status_messages.py +52 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_transformation.py +43 -0
- ansys/systemcoupling/core/adaptor/api_24_1/global_stabilization.py +143 -0
- ansys/systemcoupling/core/adaptor/api_24_1/has_input_file_changed.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_1/import_system_coupling_input_file.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_1/initialize.py +27 -0
- ansys/systemcoupling/core/adaptor/api_24_1/instancing.py +23 -0
- ansys/systemcoupling/core/adaptor/api_24_1/instancing_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_24_1/interrupt.py +39 -0
- ansys/systemcoupling/core/adaptor/api_24_1/library.py +37 -0
- ansys/systemcoupling/core/adaptor/api_24_1/live_visualization.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/live_visualization_child.py +72 -0
- ansys/systemcoupling/core/adaptor/api_24_1/mapping_control.py +229 -0
- ansys/systemcoupling/core/adaptor/api_24_1/open.py +102 -0
- ansys/systemcoupling/core/adaptor/api_24_1/open_results_in_en_sight.py +56 -0
- ansys/systemcoupling/core/adaptor/api_24_1/open_snapshot.py +37 -0
- ansys/systemcoupling/core/adaptor/api_24_1/output_control.py +134 -0
- ansys/systemcoupling/core/adaptor/api_24_1/parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/parameter_child.py +64 -0
- ansys/systemcoupling/core/adaptor/api_24_1/partition_participants.py +138 -0
- ansys/systemcoupling/core/adaptor/api_24_1/reference_frame.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/reference_frame_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_24_1/region.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/region_child.py +72 -0
- ansys/systemcoupling/core/adaptor/api_24_1/reload_expression_function_modules.py +14 -0
- ansys/systemcoupling/core/adaptor/api_24_1/results.py +89 -0
- ansys/systemcoupling/core/adaptor/api_24_1/save.py +51 -0
- ansys/systemcoupling/core/adaptor/api_24_1/save_snapshot.py +54 -0
- ansys/systemcoupling/core/adaptor/api_24_1/setup_root.py +195 -0
- ansys/systemcoupling/core/adaptor/api_24_1/shutdown.py +25 -0
- ansys/systemcoupling/core/adaptor/api_24_1/side.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/side_child.py +56 -0
- ansys/systemcoupling/core/adaptor/api_24_1/solution_control.py +103 -0
- ansys/systemcoupling/core/adaptor/api_24_1/solution_root.py +110 -0
- ansys/systemcoupling/core/adaptor/api_24_1/solve.py +30 -0
- ansys/systemcoupling/core/adaptor/api_24_1/stabilization.py +157 -0
- ansys/systemcoupling/core/adaptor/api_24_1/start_participants.py +47 -0
- ansys/systemcoupling/core/adaptor/api_24_1/step.py +57 -0
- ansys/systemcoupling/core/adaptor/api_24_1/transformation.py +21 -0
- ansys/systemcoupling/core/adaptor/api_24_1/transformation_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_24_1/type.py +38 -0
- ansys/systemcoupling/core/adaptor/api_24_1/unmapped_value_options.py +158 -0
- ansys/systemcoupling/core/adaptor/api_24_1/update_control.py +44 -0
- ansys/systemcoupling/core/adaptor/api_24_1/update_participant.py +61 -0
- ansys/systemcoupling/core/adaptor/api_24_1/variable.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/variable_child.py +232 -0
- ansys/systemcoupling/core/adaptor/api_24_1/write_csv_chart_files.py +21 -0
- ansys/systemcoupling/core/adaptor/api_24_1/write_ensight.py +46 -0
- ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +35 -0
- ansys/systemcoupling/core/adaptor/impl/injected_commands.py +97 -5
- ansys/systemcoupling/core/adaptor/impl/root_source.py +2 -0
- ansys/systemcoupling/core/adaptor/impl/static_info.py +69 -41
- ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +1 -1
- ansys/systemcoupling/core/adaptor/impl/types.py +12 -0
- ansys/systemcoupling/core/client/syc_container.py +2 -0
- ansys/systemcoupling/core/participant/manager.py +198 -0
- ansys/systemcoupling/core/participant/protocol.py +51 -0
- ansys/systemcoupling/core/session.py +7 -1
- ansys/systemcoupling/core/syc_version.py +26 -2
- {ansys_systemcoupling_core-0.2.0.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/METADATA +9 -9
- ansys_systemcoupling_core-0.3.0.dist-info/RECORD +230 -0
- ansys_systemcoupling_core-0.2.0.dist-info/RECORD +0 -129
- /ansys/systemcoupling/core/adaptor/{api_23_2 → api_24_1}/open_results_in_ensight.py +0 -0
- {ansys_systemcoupling_core-0.2.0.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/LICENSE +0 -0
- {ansys_systemcoupling_core-0.2.0.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/WHEEL +0 -0
|
@@ -73,8 +73,7 @@ def launch(
|
|
|
73
73
|
version=version,
|
|
74
74
|
extra_args=extra_args,
|
|
75
75
|
)
|
|
76
|
-
|
|
77
|
-
return syc
|
|
76
|
+
return Session(rpc)
|
|
78
77
|
|
|
79
78
|
|
|
80
79
|
def launch_container(
|
|
@@ -97,8 +96,7 @@ def launch_container(
|
|
|
97
96
|
"""
|
|
98
97
|
rpc = SycGrpc()
|
|
99
98
|
rpc.start_container_and_connect(mounted_from, mounted_to, network, version=version)
|
|
100
|
-
|
|
101
|
-
return syc
|
|
99
|
+
return Session(rpc)
|
|
102
100
|
|
|
103
101
|
|
|
104
102
|
def connect(host: str, port: int) -> Session: # pragma: no cover
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
syc_name = "AddParticipant"
|
|
28
|
+
|
|
29
|
+
argument_names = [
|
|
30
|
+
"participant_type",
|
|
31
|
+
"input_file",
|
|
32
|
+
"executable",
|
|
33
|
+
"additional_arguments",
|
|
34
|
+
"working_directory",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
class participant_type(String):
|
|
38
|
+
"""
|
|
39
|
+
...
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
syc_name = "ParticipantType"
|
|
43
|
+
|
|
44
|
+
class input_file(String):
|
|
45
|
+
"""
|
|
46
|
+
...
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
syc_name = "InputFile"
|
|
50
|
+
|
|
51
|
+
class executable(String):
|
|
52
|
+
"""
|
|
53
|
+
...
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
syc_name = "Executable"
|
|
57
|
+
|
|
58
|
+
class additional_arguments(String):
|
|
59
|
+
"""
|
|
60
|
+
...
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
syc_name = "AdditionalArguments"
|
|
64
|
+
|
|
65
|
+
class working_directory(String):
|
|
66
|
+
"""
|
|
67
|
+
...
|
|
68
|
+
"""
|
|
69
|
+
|
|
70
|
+
syc_name = "WorkingDirectory"
|
|
@@ -5,8 +5,32 @@
|
|
|
5
5
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class add_participant(
|
|
8
|
+
class add_participant(InjectedCommand):
|
|
9
9
|
"""
|
|
10
|
+
This command operates in one of two modes, depending on how it is called.
|
|
11
|
+
*Either* a single argument, ``participant_session``, should be provided, *or* some
|
|
12
|
+
combination of the other optional arguments not including ``participant_session``
|
|
13
|
+
should be provided.
|
|
14
|
+
|
|
15
|
+
In the ``participant_session`` mode, the session object is queried to
|
|
16
|
+
extract the information needed to define a new ``coupling_participant``
|
|
17
|
+
object in the setup datamodel. A reference to the session is also retained,
|
|
18
|
+
and this will play a further role if ``solve`` is called later. In that case,
|
|
19
|
+
the participant solver will be driven from the Python environment in which the
|
|
20
|
+
participant and PySystemCoupling sessions are active and System Coupling will
|
|
21
|
+
regard the participant solver as "externally managed" (see the `execution_control`
|
|
22
|
+
settings in `coupling_participant` for details of this mode).
|
|
23
|
+
|
|
24
|
+
.. note::
|
|
25
|
+
The ``participant_session`` mode currently has limited support in the
|
|
26
|
+
broader Ansys Python ecosystem - at present, only PyFluent supports
|
|
27
|
+
the API required of the session object and product versions of Fluent and
|
|
28
|
+
System Coupling need to be at least 24.1. This capability should be
|
|
29
|
+
regarded as *Beta* as it may be subject to revision when extended to other
|
|
30
|
+
products.
|
|
31
|
+
|
|
32
|
+
The remainder of the documentation describes the more usual non-session mode.
|
|
33
|
+
|
|
10
34
|
Adds a coupling participant to the data model.
|
|
11
35
|
|
|
12
36
|
When executed, this command adds the new participant to the analysis
|
|
@@ -31,6 +55,8 @@ class add_participant(Command):
|
|
|
31
55
|
|
|
32
56
|
Parameters
|
|
33
57
|
----------
|
|
58
|
+
participant_session : ParticipantProtocol, optional
|
|
59
|
+
Participant session object conforming to the ``ParticipantProtocol`` protocol class.
|
|
34
60
|
participant_type : str, optional
|
|
35
61
|
Participant type. Currently supported types are:
|
|
36
62
|
|
|
@@ -61,9 +87,12 @@ class add_participant(Command):
|
|
|
61
87
|
|
|
62
88
|
"""
|
|
63
89
|
|
|
64
|
-
syc_name = "
|
|
90
|
+
syc_name = "add_participant"
|
|
91
|
+
|
|
92
|
+
cmd_name = "add_participant"
|
|
65
93
|
|
|
66
94
|
argument_names = [
|
|
95
|
+
"participant_session",
|
|
67
96
|
"participant_type",
|
|
68
97
|
"input_file",
|
|
69
98
|
"executable",
|
|
@@ -71,6 +100,13 @@ class add_participant(Command):
|
|
|
71
100
|
"working_directory",
|
|
72
101
|
]
|
|
73
102
|
|
|
103
|
+
class participant_session(ParticipantSession):
|
|
104
|
+
"""
|
|
105
|
+
Participant session object conforming to the ``ParticipantProtocol`` protocol class.
|
|
106
|
+
"""
|
|
107
|
+
|
|
108
|
+
syc_name = "participant_session"
|
|
109
|
+
|
|
74
110
|
class participant_type(String):
|
|
75
111
|
"""
|
|
76
112
|
Participant type. Currently supported types are:
|
|
@@ -24,39 +24,39 @@ class case_root(Container):
|
|
|
24
24
|
|
|
25
25
|
command_names = [
|
|
26
26
|
"clear_state",
|
|
27
|
+
"delete_snapshot",
|
|
28
|
+
"get_snapshots",
|
|
27
29
|
"open",
|
|
30
|
+
"open_snapshot",
|
|
28
31
|
"save",
|
|
29
32
|
"save_snapshot",
|
|
30
|
-
"open_snapshot",
|
|
31
|
-
"delete_snapshot",
|
|
32
|
-
"get_snapshots",
|
|
33
33
|
]
|
|
34
34
|
|
|
35
35
|
clear_state: clear_state = clear_state
|
|
36
36
|
"""
|
|
37
37
|
clear_state command of case_root.
|
|
38
38
|
"""
|
|
39
|
-
|
|
39
|
+
delete_snapshot: delete_snapshot = delete_snapshot
|
|
40
40
|
"""
|
|
41
|
-
|
|
41
|
+
delete_snapshot command of case_root.
|
|
42
42
|
"""
|
|
43
|
-
|
|
43
|
+
get_snapshots: get_snapshots = get_snapshots
|
|
44
44
|
"""
|
|
45
|
-
|
|
45
|
+
get_snapshots command of case_root.
|
|
46
46
|
"""
|
|
47
|
-
|
|
47
|
+
open: open = open
|
|
48
48
|
"""
|
|
49
|
-
|
|
49
|
+
open command of case_root.
|
|
50
50
|
"""
|
|
51
51
|
open_snapshot: open_snapshot = open_snapshot
|
|
52
52
|
"""
|
|
53
53
|
open_snapshot command of case_root.
|
|
54
54
|
"""
|
|
55
|
-
|
|
55
|
+
save: save = save
|
|
56
56
|
"""
|
|
57
|
-
|
|
57
|
+
save command of case_root.
|
|
58
58
|
"""
|
|
59
|
-
|
|
59
|
+
save_snapshot: save_snapshot = save_snapshot
|
|
60
60
|
"""
|
|
61
|
-
|
|
61
|
+
save_snapshot command of case_root.
|
|
62
62
|
"""
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
# This is an auto-generated file. DO NOT EDIT!
|
|
3
3
|
#
|
|
4
4
|
|
|
5
|
-
SHASH = "
|
|
5
|
+
SHASH = "d452d4fc3cb91437bd3661ce0cb39dad813458b231800e10af3246b0c6a508f2"
|
|
6
6
|
|
|
7
7
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
8
8
|
|
|
9
|
+
from ._add_participant import _add_participant
|
|
9
10
|
from .activate_hidden import activate_hidden
|
|
10
11
|
from .add_data_transfer import add_data_transfer
|
|
11
12
|
from .add_data_transfer_by_display_names import add_data_transfer_by_display_names
|
|
@@ -80,36 +81,31 @@ class setup_root(Container):
|
|
|
80
81
|
output_control child of setup_root.
|
|
81
82
|
"""
|
|
82
83
|
command_names = [
|
|
83
|
-
"
|
|
84
|
-
"add_interface_by_display_names",
|
|
84
|
+
"_add_participant",
|
|
85
85
|
"add_data_transfer",
|
|
86
86
|
"add_data_transfer_by_display_names",
|
|
87
|
-
"
|
|
87
|
+
"add_expression_function",
|
|
88
|
+
"add_interface",
|
|
89
|
+
"add_interface_by_display_names",
|
|
90
|
+
"add_named_expression",
|
|
91
|
+
"add_participant",
|
|
88
92
|
"add_reference_frame",
|
|
89
93
|
"add_transformation",
|
|
90
94
|
"delete_transformation",
|
|
91
|
-
"add_participant",
|
|
92
|
-
"update_participant",
|
|
93
|
-
"get_execution_command",
|
|
94
95
|
"generate_input_file",
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"add_expression_function",
|
|
98
|
-
"reload_expression_function_modules",
|
|
99
|
-
"has_input_file_changed",
|
|
96
|
+
"get_execution_command",
|
|
97
|
+
"get_region_names_for_participant",
|
|
100
98
|
"get_setup_summary",
|
|
101
99
|
"get_status_messages",
|
|
100
|
+
"has_input_file_changed",
|
|
101
|
+
"import_system_coupling_input_file",
|
|
102
|
+
"reload_expression_function_modules",
|
|
103
|
+
"update_participant",
|
|
102
104
|
]
|
|
103
105
|
|
|
104
|
-
|
|
106
|
+
_add_participant: _add_participant = _add_participant
|
|
105
107
|
"""
|
|
106
|
-
|
|
107
|
-
"""
|
|
108
|
-
add_interface_by_display_names: add_interface_by_display_names = (
|
|
109
|
-
add_interface_by_display_names
|
|
110
|
-
)
|
|
111
|
-
"""
|
|
112
|
-
add_interface_by_display_names command of setup_root.
|
|
108
|
+
_add_participant command of setup_root.
|
|
113
109
|
"""
|
|
114
110
|
add_data_transfer: add_data_transfer = add_data_transfer
|
|
115
111
|
"""
|
|
@@ -121,11 +117,27 @@ class setup_root(Container):
|
|
|
121
117
|
"""
|
|
122
118
|
add_data_transfer_by_display_names command of setup_root.
|
|
123
119
|
"""
|
|
124
|
-
|
|
125
|
-
|
|
120
|
+
add_expression_function: add_expression_function = add_expression_function
|
|
121
|
+
"""
|
|
122
|
+
add_expression_function command of setup_root.
|
|
123
|
+
"""
|
|
124
|
+
add_interface: add_interface = add_interface
|
|
125
|
+
"""
|
|
126
|
+
add_interface command of setup_root.
|
|
127
|
+
"""
|
|
128
|
+
add_interface_by_display_names: add_interface_by_display_names = (
|
|
129
|
+
add_interface_by_display_names
|
|
126
130
|
)
|
|
127
131
|
"""
|
|
128
|
-
|
|
132
|
+
add_interface_by_display_names command of setup_root.
|
|
133
|
+
"""
|
|
134
|
+
add_named_expression: add_named_expression = add_named_expression
|
|
135
|
+
"""
|
|
136
|
+
add_named_expression command of setup_root.
|
|
137
|
+
"""
|
|
138
|
+
add_participant: add_participant = add_participant
|
|
139
|
+
"""
|
|
140
|
+
add_participant command of setup_root.
|
|
129
141
|
"""
|
|
130
142
|
add_reference_frame: add_reference_frame = add_reference_frame
|
|
131
143
|
"""
|
|
@@ -139,35 +151,37 @@ class setup_root(Container):
|
|
|
139
151
|
"""
|
|
140
152
|
delete_transformation command of setup_root.
|
|
141
153
|
"""
|
|
142
|
-
|
|
143
|
-
"""
|
|
144
|
-
add_participant command of setup_root.
|
|
145
|
-
"""
|
|
146
|
-
update_participant: update_participant = update_participant
|
|
154
|
+
generate_input_file: generate_input_file = generate_input_file
|
|
147
155
|
"""
|
|
148
|
-
|
|
156
|
+
generate_input_file command of setup_root.
|
|
149
157
|
"""
|
|
150
158
|
get_execution_command: get_execution_command = get_execution_command
|
|
151
159
|
"""
|
|
152
160
|
get_execution_command command of setup_root.
|
|
153
161
|
"""
|
|
154
|
-
|
|
162
|
+
get_region_names_for_participant: get_region_names_for_participant = (
|
|
163
|
+
get_region_names_for_participant
|
|
164
|
+
)
|
|
155
165
|
"""
|
|
156
|
-
|
|
166
|
+
get_region_names_for_participant command of setup_root.
|
|
157
167
|
"""
|
|
158
|
-
|
|
159
|
-
import_system_coupling_input_file
|
|
160
|
-
)
|
|
168
|
+
get_setup_summary: get_setup_summary = get_setup_summary
|
|
161
169
|
"""
|
|
162
|
-
|
|
170
|
+
get_setup_summary command of setup_root.
|
|
163
171
|
"""
|
|
164
|
-
|
|
172
|
+
get_status_messages: get_status_messages = get_status_messages
|
|
165
173
|
"""
|
|
166
|
-
|
|
174
|
+
get_status_messages command of setup_root.
|
|
167
175
|
"""
|
|
168
|
-
|
|
176
|
+
has_input_file_changed: has_input_file_changed = has_input_file_changed
|
|
169
177
|
"""
|
|
170
|
-
|
|
178
|
+
has_input_file_changed command of setup_root.
|
|
179
|
+
"""
|
|
180
|
+
import_system_coupling_input_file: import_system_coupling_input_file = (
|
|
181
|
+
import_system_coupling_input_file
|
|
182
|
+
)
|
|
183
|
+
"""
|
|
184
|
+
import_system_coupling_input_file command of setup_root.
|
|
171
185
|
"""
|
|
172
186
|
reload_expression_function_modules: reload_expression_function_modules = (
|
|
173
187
|
reload_expression_function_modules
|
|
@@ -175,15 +189,7 @@ class setup_root(Container):
|
|
|
175
189
|
"""
|
|
176
190
|
reload_expression_function_modules command of setup_root.
|
|
177
191
|
"""
|
|
178
|
-
|
|
179
|
-
"""
|
|
180
|
-
has_input_file_changed command of setup_root.
|
|
181
|
-
"""
|
|
182
|
-
get_setup_summary: get_setup_summary = get_setup_summary
|
|
183
|
-
"""
|
|
184
|
-
get_setup_summary command of setup_root.
|
|
185
|
-
"""
|
|
186
|
-
get_status_messages: get_status_messages = get_status_messages
|
|
192
|
+
update_participant: update_participant = update_participant
|
|
187
193
|
"""
|
|
188
|
-
|
|
194
|
+
update_participant command of setup_root.
|
|
189
195
|
"""
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
# This is an auto-generated file. DO NOT EDIT!
|
|
3
3
|
#
|
|
4
4
|
|
|
5
|
-
SHASH = "
|
|
5
|
+
SHASH = "9d14945e18aa7dc6f7ad86397c62f0ceb910440e6ac3753ce8a1d0d2f91b84f5"
|
|
6
6
|
|
|
7
7
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
8
8
|
|
|
9
|
+
from ._solve import _solve
|
|
9
10
|
from .abort import abort
|
|
10
11
|
from .create_restart_point import create_restart_point
|
|
11
12
|
from .get_machines import get_machines
|
|
@@ -30,75 +31,80 @@ class solution_root(Container):
|
|
|
30
31
|
syc_name = "SolutionCommands"
|
|
31
32
|
|
|
32
33
|
command_names = [
|
|
33
|
-
"
|
|
34
|
+
"_solve",
|
|
35
|
+
"abort",
|
|
36
|
+
"create_restart_point",
|
|
37
|
+
"get_machines",
|
|
38
|
+
"get_transformation",
|
|
34
39
|
"initialize",
|
|
40
|
+
"interrupt",
|
|
41
|
+
"open_results_in_en_sight",
|
|
42
|
+
"partition_participants",
|
|
35
43
|
"shutdown",
|
|
36
44
|
"solve",
|
|
45
|
+
"start_participants",
|
|
37
46
|
"step",
|
|
38
|
-
"partition_participants",
|
|
39
|
-
"open_results_in_en_sight",
|
|
40
|
-
"write_ensight",
|
|
41
|
-
"create_restart_point",
|
|
42
|
-
"get_transformation",
|
|
43
47
|
"write_csv_chart_files",
|
|
44
|
-
"
|
|
45
|
-
"interrupt",
|
|
46
|
-
"abort",
|
|
48
|
+
"write_ensight",
|
|
47
49
|
]
|
|
48
50
|
|
|
49
|
-
|
|
51
|
+
_solve: _solve = _solve
|
|
50
52
|
"""
|
|
51
|
-
|
|
53
|
+
_solve command of solution_root.
|
|
52
54
|
"""
|
|
53
|
-
|
|
55
|
+
abort: abort = abort
|
|
54
56
|
"""
|
|
55
|
-
|
|
57
|
+
abort command of solution_root.
|
|
56
58
|
"""
|
|
57
|
-
|
|
59
|
+
create_restart_point: create_restart_point = create_restart_point
|
|
58
60
|
"""
|
|
59
|
-
|
|
61
|
+
create_restart_point command of solution_root.
|
|
60
62
|
"""
|
|
61
|
-
|
|
63
|
+
get_machines: get_machines = get_machines
|
|
62
64
|
"""
|
|
63
|
-
|
|
65
|
+
get_machines command of solution_root.
|
|
64
66
|
"""
|
|
65
|
-
|
|
67
|
+
get_transformation: get_transformation = get_transformation
|
|
66
68
|
"""
|
|
67
|
-
|
|
69
|
+
get_transformation command of solution_root.
|
|
68
70
|
"""
|
|
69
|
-
|
|
71
|
+
initialize: initialize = initialize
|
|
70
72
|
"""
|
|
71
|
-
|
|
73
|
+
initialize command of solution_root.
|
|
74
|
+
"""
|
|
75
|
+
interrupt: interrupt = interrupt
|
|
76
|
+
"""
|
|
77
|
+
interrupt command of solution_root.
|
|
72
78
|
"""
|
|
73
79
|
open_results_in_en_sight: open_results_in_en_sight = open_results_in_en_sight
|
|
74
80
|
"""
|
|
75
81
|
open_results_in_en_sight command of solution_root.
|
|
76
82
|
"""
|
|
77
|
-
|
|
83
|
+
partition_participants: partition_participants = partition_participants
|
|
78
84
|
"""
|
|
79
|
-
|
|
85
|
+
partition_participants command of solution_root.
|
|
80
86
|
"""
|
|
81
|
-
|
|
87
|
+
shutdown: shutdown = shutdown
|
|
82
88
|
"""
|
|
83
|
-
|
|
89
|
+
shutdown command of solution_root.
|
|
84
90
|
"""
|
|
85
|
-
|
|
91
|
+
solve: solve = solve
|
|
86
92
|
"""
|
|
87
|
-
|
|
93
|
+
solve command of solution_root.
|
|
88
94
|
"""
|
|
89
|
-
|
|
95
|
+
start_participants: start_participants = start_participants
|
|
90
96
|
"""
|
|
91
|
-
|
|
97
|
+
start_participants command of solution_root.
|
|
92
98
|
"""
|
|
93
|
-
|
|
99
|
+
step: step = step
|
|
94
100
|
"""
|
|
95
|
-
|
|
101
|
+
step command of solution_root.
|
|
96
102
|
"""
|
|
97
|
-
|
|
103
|
+
write_csv_chart_files: write_csv_chart_files = write_csv_chart_files
|
|
98
104
|
"""
|
|
99
|
-
|
|
105
|
+
write_csv_chart_files command of solution_root.
|
|
100
106
|
"""
|
|
101
|
-
|
|
107
|
+
write_ensight: write_ensight = write_ensight
|
|
102
108
|
"""
|
|
103
|
-
|
|
109
|
+
write_ensight command of solution_root.
|
|
104
110
|
"""
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
syc_name = "AddParticipant"
|
|
28
|
+
|
|
29
|
+
argument_names = [
|
|
30
|
+
"participant_type",
|
|
31
|
+
"input_file",
|
|
32
|
+
"executable",
|
|
33
|
+
"additional_arguments",
|
|
34
|
+
"working_directory",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
class participant_type(String):
|
|
38
|
+
"""
|
|
39
|
+
...
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
syc_name = "ParticipantType"
|
|
43
|
+
|
|
44
|
+
class input_file(String):
|
|
45
|
+
"""
|
|
46
|
+
...
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
syc_name = "InputFile"
|
|
50
|
+
|
|
51
|
+
class executable(String):
|
|
52
|
+
"""
|
|
53
|
+
...
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
syc_name = "Executable"
|
|
57
|
+
|
|
58
|
+
class additional_arguments(String):
|
|
59
|
+
"""
|
|
60
|
+
...
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
syc_name = "AdditionalArguments"
|
|
64
|
+
|
|
65
|
+
class working_directory(String):
|
|
66
|
+
"""
|
|
67
|
+
...
|
|
68
|
+
"""
|
|
69
|
+
|
|
70
|
+
syc_name = "WorkingDirectory"
|
|
@@ -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"
|