ansys-systemcoupling-core 0.5.0__py3-none-any.whl → 0.7.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 +11 -5
- ansys/systemcoupling/core/adaptor/api_23_1/add_interface.py +2 -2
- ansys/systemcoupling/core/adaptor/api_23_1/add_interface_by_display_names.py +2 -2
- ansys/systemcoupling/core/adaptor/api_23_1/add_transformation.py +1 -1
- ansys/systemcoupling/core/adaptor/api_23_1/partition_participants.py +3 -3
- ansys/systemcoupling/core/adaptor/api_23_1/show_plot.py +75 -0
- ansys/systemcoupling/core/adaptor/api_23_1/solution_root.py +7 -1
- ansys/systemcoupling/core/adaptor/api_23_1/start_participants.py +1 -1
- ansys/systemcoupling/core/adaptor/api_23_2/add_interface.py +2 -2
- ansys/systemcoupling/core/adaptor/api_23_2/add_interface_by_display_names.py +2 -2
- ansys/systemcoupling/core/adaptor/api_23_2/add_transformation.py +1 -1
- ansys/systemcoupling/core/adaptor/api_23_2/partition_participants.py +3 -3
- ansys/systemcoupling/core/adaptor/api_23_2/show_plot.py +75 -0
- ansys/systemcoupling/core/adaptor/api_23_2/solution_root.py +7 -1
- ansys/systemcoupling/core/adaptor/api_23_2/start_participants.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_1/add_aerodamping_data_transfers.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_1/add_interface.py +2 -2
- ansys/systemcoupling/core/adaptor/api_24_1/add_interface_by_display_names.py +2 -2
- ansys/systemcoupling/core/adaptor/api_24_1/add_transformation.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_1/partition_participants.py +3 -3
- ansys/systemcoupling/core/adaptor/api_24_1/show_plot.py +75 -0
- ansys/systemcoupling/core/adaptor/api_24_1/solution_root.py +7 -1
- ansys/systemcoupling/core/adaptor/api_24_1/start_participants.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_2/add_aerodamping_data_transfers.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_2/add_interface.py +2 -2
- ansys/systemcoupling/core/adaptor/api_24_2/add_interface_by_display_names.py +2 -2
- ansys/systemcoupling/core/adaptor/api_24_2/add_participant.py +4 -4
- ansys/systemcoupling/core/adaptor/api_24_2/add_transformation.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_2/partition_participants.py +3 -3
- ansys/systemcoupling/core/adaptor/api_24_2/setup_root.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_2/show_plot.py +75 -0
- ansys/systemcoupling/core/adaptor/api_24_2/solution_root.py +7 -1
- ansys/systemcoupling/core/adaptor/api_24_2/start_participants.py +1 -1
- ansys/systemcoupling/core/adaptor/api_25_1/_add_participant.py +80 -0
- ansys/systemcoupling/core/adaptor/api_25_1/_clear_state.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_1/_solve.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_1/abort.py +39 -0
- ansys/systemcoupling/core/adaptor/api_25_1/activate_hidden.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_aerodamping_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_data_transfer.py +190 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_data_transfer_by_display_names.py +191 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_expression_function.py +61 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_flow_boundary_data_transfers.py +32 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_fsi_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_interface.py +77 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_interface_by_display_names.py +78 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_named_expression.py +42 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_ordered_data_transfers.py +32 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_participant.py +162 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_reference_frame.py +40 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_thermal_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_1/add_transformation.py +102 -0
- ansys/systemcoupling/core/adaptor/api_25_1/analysis_control.py +293 -0
- ansys/systemcoupling/core/adaptor/api_25_1/apip.py +33 -0
- ansys/systemcoupling/core/adaptor/api_25_1/ascii_output.py +44 -0
- ansys/systemcoupling/core/adaptor/api_25_1/attribute.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/attribute_child.py +64 -0
- ansys/systemcoupling/core/adaptor/api_25_1/automatic_alignment_options.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_1/available_ports.py +40 -0
- ansys/systemcoupling/core/adaptor/api_25_1/avoid_data_reconstruction.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_1/case_root.py +62 -0
- ansys/systemcoupling/core/adaptor/api_25_1/clear_state.py +18 -0
- ansys/systemcoupling/core/adaptor/api_25_1/connect_ensight_dvs.py +41 -0
- ansys/systemcoupling/core/adaptor/api_25_1/coupling_interface.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/coupling_interface_child.py +42 -0
- ansys/systemcoupling/core/adaptor/api_25_1/coupling_participant.py +23 -0
- ansys/systemcoupling/core/adaptor/api_25_1/coupling_participant_child.py +271 -0
- ansys/systemcoupling/core/adaptor/api_25_1/create_restart_point.py +29 -0
- ansys/systemcoupling/core/adaptor/api_25_1/data_transfer.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/data_transfer_child.py +187 -0
- ansys/systemcoupling/core/adaptor/api_25_1/delete_snapshot.py +28 -0
- ansys/systemcoupling/core/adaptor/api_25_1/delete_transformation.py +42 -0
- ansys/systemcoupling/core/adaptor/api_25_1/dimensionality.py +96 -0
- ansys/systemcoupling/core/adaptor/api_25_1/execution_control.py +246 -0
- ansys/systemcoupling/core/adaptor/api_25_1/execution_control_1.py +24 -0
- ansys/systemcoupling/core/adaptor/api_25_1/expression.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/expression_child.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_1/expression_function.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/expression_function_child.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_1/external_data_file.py +24 -0
- ansys/systemcoupling/core/adaptor/api_25_1/fluent_input.py +77 -0
- ansys/systemcoupling/core/adaptor/api_25_1/fmu_parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/fmu_parameter_child.py +164 -0
- ansys/systemcoupling/core/adaptor/api_25_1/generate_input_file.py +41 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_add_data_transfer_group_commands.py +29 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_execution_command.py +30 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_machines.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_mode_shape_variables.py +29 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_region_names_for_participant.py +31 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_setup_summary.py +25 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_status_messages.py +52 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_supported_participant_types.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_thermal_data_transfer_options.py +32 -0
- ansys/systemcoupling/core/adaptor/api_25_1/get_transformation.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_1/global_stabilization.py +155 -0
- ansys/systemcoupling/core/adaptor/api_25_1/has_input_file_changed.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_1/import_system_coupling_input_file.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_1/initialize.py +27 -0
- ansys/systemcoupling/core/adaptor/api_25_1/instancing.py +23 -0
- ansys/systemcoupling/core/adaptor/api_25_1/instancing_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_25_1/interrupt.py +39 -0
- ansys/systemcoupling/core/adaptor/api_25_1/library.py +37 -0
- ansys/systemcoupling/core/adaptor/api_25_1/live_visualization.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/live_visualization_child.py +100 -0
- ansys/systemcoupling/core/adaptor/api_25_1/mapping_control.py +239 -0
- ansys/systemcoupling/core/adaptor/api_25_1/open.py +102 -0
- ansys/systemcoupling/core/adaptor/api_25_1/open_results_in_ensight.py +56 -0
- ansys/systemcoupling/core/adaptor/api_25_1/open_snapshot.py +37 -0
- ansys/systemcoupling/core/adaptor/api_25_1/output_control.py +134 -0
- ansys/systemcoupling/core/adaptor/api_25_1/parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/parameter_child.py +60 -0
- ansys/systemcoupling/core/adaptor/api_25_1/partition_participants.py +138 -0
- ansys/systemcoupling/core/adaptor/api_25_1/properties.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_1/record_interactions.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_1/reference_frame.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/reference_frame_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_25_1/region.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/region_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_25_1/reload_expression_function_modules.py +14 -0
- ansys/systemcoupling/core/adaptor/api_25_1/results.py +89 -0
- ansys/systemcoupling/core/adaptor/api_25_1/save.py +51 -0
- ansys/systemcoupling/core/adaptor/api_25_1/save_snapshot.py +54 -0
- ansys/systemcoupling/core/adaptor/api_25_1/setup_root.py +259 -0
- ansys/systemcoupling/core/adaptor/api_25_1/show_plot.py +75 -0
- ansys/systemcoupling/core/adaptor/api_25_1/shutdown.py +25 -0
- ansys/systemcoupling/core/adaptor/api_25_1/side.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/side_child.py +56 -0
- ansys/systemcoupling/core/adaptor/api_25_1/solution_control.py +115 -0
- ansys/systemcoupling/core/adaptor/api_25_1/solution_root.py +122 -0
- ansys/systemcoupling/core/adaptor/api_25_1/solve.py +30 -0
- ansys/systemcoupling/core/adaptor/api_25_1/stabilization.py +157 -0
- ansys/systemcoupling/core/adaptor/api_25_1/start_participants.py +47 -0
- ansys/systemcoupling/core/adaptor/api_25_1/step.py +57 -0
- ansys/systemcoupling/core/adaptor/api_25_1/transformation.py +21 -0
- ansys/systemcoupling/core/adaptor/api_25_1/transformation_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_25_1/type.py +39 -0
- ansys/systemcoupling/core/adaptor/api_25_1/unmapped_value_options.py +158 -0
- ansys/systemcoupling/core/adaptor/api_25_1/update_control.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_1/update_participant.py +61 -0
- ansys/systemcoupling/core/adaptor/api_25_1/variable.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_1/variable_child.py +231 -0
- ansys/systemcoupling/core/adaptor/api_25_1/write_csv_chart_files.py +21 -0
- ansys/systemcoupling/core/adaptor/api_25_1/write_ensight.py +46 -0
- ansys/systemcoupling/core/adaptor/impl/injected_commands.py +217 -32
- ansys/systemcoupling/core/adaptor/impl/static_info.py +17 -0
- ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +3 -0
- ansys/systemcoupling/core/adaptor/impl/syc_proxy_interface.py +4 -0
- ansys/systemcoupling/core/adaptor/impl/types.py +1 -1
- ansys/systemcoupling/core/charts/chart_datatypes.py +169 -0
- ansys/systemcoupling/core/charts/csv_chartdata.py +299 -0
- ansys/systemcoupling/core/charts/live_csv_datasource.py +87 -0
- ansys/systemcoupling/core/charts/message_dispatcher.py +84 -0
- ansys/systemcoupling/core/charts/plot_functions.py +92 -0
- ansys/systemcoupling/core/charts/plotdefinition_manager.py +303 -0
- ansys/systemcoupling/core/charts/plotter.py +343 -0
- ansys/systemcoupling/core/client/grpc_client.py +6 -1
- ansys/systemcoupling/core/client/syc_container.py +12 -0
- ansys/systemcoupling/core/examples/downloads.py +17 -26
- ansys/systemcoupling/core/participant/manager.py +25 -9
- ansys/systemcoupling/core/participant/protocol.py +1 -0
- ansys/systemcoupling/core/session.py +23 -9
- ansys/systemcoupling/core/syc_version.py +1 -1
- ansys/systemcoupling/core/util/file_transfer.py +14 -0
- {ansys_systemcoupling_core-0.5.0.dist-info → ansys_systemcoupling_core-0.7.0.dist-info}/METADATA +20 -20
- {ansys_systemcoupling_core-0.5.0.dist-info → ansys_systemcoupling_core-0.7.0.dist-info}/RECORD +167 -46
- {ansys_systemcoupling_core-0.5.0.dist-info → ansys_systemcoupling_core-0.7.0.dist-info}/LICENSE +0 -0
- {ansys_systemcoupling_core-0.5.0.dist-info → ansys_systemcoupling_core-0.7.0.dist-info}/WHEEL +0 -0
|
@@ -46,6 +46,7 @@ def launch(
|
|
|
46
46
|
nprocs: int = None,
|
|
47
47
|
sycnprocs: int = None,
|
|
48
48
|
version: str = None,
|
|
49
|
+
start_output: bool = False,
|
|
49
50
|
extra_args: List[str] = [],
|
|
50
51
|
) -> Session:
|
|
51
52
|
"""Start a local instance of System Coupling and connect to it.
|
|
@@ -67,13 +68,17 @@ def launch(
|
|
|
67
68
|
``None``, in which case the System Coupling server uses its own default.
|
|
68
69
|
version : str, optional
|
|
69
70
|
String specifying the version of System Coupling to use. For example,
|
|
70
|
-
to use System Coupling from the Ansys "
|
|
71
|
-
(The forms ``"
|
|
71
|
+
to use System Coupling from the Ansys "2024 R1" release, specify ``"241"``.
|
|
72
|
+
(The forms ``"24.1"`` and ``"24_1"`` are also acceptable.)
|
|
72
73
|
The version will be sought in the standard installation location. The
|
|
73
74
|
default is ``None``, which is equivalent to specifying
|
|
74
|
-
``"
|
|
75
|
+
``"242"`` ("2024 R2" release), unless either of the environment
|
|
75
76
|
variables ``SYSC_ROOT`` or ``AWP_ROOT`` has been set. It is considered
|
|
76
77
|
to be an error if either these is set *and* ``version`` is provided.
|
|
78
|
+
start_output: bool, optional
|
|
79
|
+
Boolean to specify if the user wants to stream system coupling output.
|
|
80
|
+
The default is ``False``, in which case the output stream is kept hidden.
|
|
81
|
+
If ``True``, the output information is printed to standard output.
|
|
77
82
|
extra_args : List[str]
|
|
78
83
|
List of any additional arguments to specify when the server
|
|
79
84
|
process is launched. The default is ``[]``. If a list of additional
|
|
@@ -92,9 +97,9 @@ def launch(
|
|
|
92
97
|
if pypim.is_configured():
|
|
93
98
|
LOG.info(
|
|
94
99
|
"Starting System Coupling remotely. Any launch arguments other "
|
|
95
|
-
"than 'version' are ignored."
|
|
100
|
+
"than 'version' and 'start_output' are ignored."
|
|
96
101
|
)
|
|
97
|
-
rpc.start_pim_and_connect(version)
|
|
102
|
+
rpc.start_pim_and_connect(version, start_output)
|
|
98
103
|
else:
|
|
99
104
|
rpc.start_and_connect(
|
|
100
105
|
port=port,
|
|
@@ -102,6 +107,7 @@ def launch(
|
|
|
102
107
|
nprocs=nprocs,
|
|
103
108
|
sycnprocs=sycnprocs,
|
|
104
109
|
version=version,
|
|
110
|
+
start_output=start_output,
|
|
105
111
|
extra_args=extra_args,
|
|
106
112
|
)
|
|
107
113
|
return Session(rpc)
|
|
@@ -21,13 +21,13 @@ class add_interface(Command):
|
|
|
21
21
|
side_one_participant : str
|
|
22
22
|
String indicating the name of the participant to be associated with
|
|
23
23
|
side \"One\" of the interface.
|
|
24
|
-
side_one_regions :
|
|
24
|
+
side_one_regions : List
|
|
25
25
|
List specifying the name(s) of region(s) to be added to side \"One\" of
|
|
26
26
|
the interface.
|
|
27
27
|
side_two_participant : str
|
|
28
28
|
String indicating the name of the participant to be associated with
|
|
29
29
|
side \"Two\" of the interface.
|
|
30
|
-
side_two_regions :
|
|
30
|
+
side_two_regions : List
|
|
31
31
|
List specifying the name(s) of region(s) to be added to side \"Two\" of
|
|
32
32
|
the interface.
|
|
33
33
|
|
|
@@ -21,13 +21,13 @@ class add_interface_by_display_names(Command):
|
|
|
21
21
|
side_one_participant : str
|
|
22
22
|
String indicating the name of the participant to be associated with
|
|
23
23
|
side \"One\" of the interface.
|
|
24
|
-
side_one_regions :
|
|
24
|
+
side_one_regions : List
|
|
25
25
|
List specifying the name(s) of region(s) to be added to side \"One\" of
|
|
26
26
|
the interface.
|
|
27
27
|
side_two_participant : str
|
|
28
28
|
String indicating the name of the participant to be associated with
|
|
29
29
|
side \"Two\" of the interface.
|
|
30
|
-
side_two_regions :
|
|
30
|
+
side_two_regions : List
|
|
31
31
|
List specifying the name(s) of region(s) to be added to side \"Two\"
|
|
32
32
|
of the interface.
|
|
33
33
|
|
|
@@ -41,7 +41,7 @@ class add_transformation(Command):
|
|
|
41
41
|
Axis about which a rotation is applied. Used with
|
|
42
42
|
Rotation ``transformation_type``. Available options are: \"XAxis\", \"YAxis\",
|
|
43
43
|
\"ZAxis\", and \"UserDefined\".
|
|
44
|
-
vector :
|
|
44
|
+
vector : Tuple, optional
|
|
45
45
|
A vector for use with \"Translation\" ``transformation_type`` or \"Rotation\"
|
|
46
46
|
``transformation_type`` if the ``axis`` is \"UserDefined\".
|
|
47
47
|
|
|
@@ -33,7 +33,7 @@ class partition_participants(Command):
|
|
|
33
33
|
|
|
34
34
|
See the System Coupling documentation for more details of the
|
|
35
35
|
partitioning algorithms.
|
|
36
|
-
names_and_fractions :
|
|
36
|
+
names_and_fractions : List, optional
|
|
37
37
|
List of tuples specifying the fractions of core count applied for
|
|
38
38
|
each participant
|
|
39
39
|
|
|
@@ -41,14 +41,14 @@ class partition_participants(Command):
|
|
|
41
41
|
associated fraction as its second item. If this parameter is omitted,
|
|
42
42
|
then cores will be allocated for all participants set in the
|
|
43
43
|
data model.
|
|
44
|
-
machine_list :
|
|
44
|
+
machine_list : List, optional
|
|
45
45
|
List of dictionaries specifying machines available for distributed run.
|
|
46
46
|
Each dictionary must have a key \"machine-name\" with machine name as its
|
|
47
47
|
value, and key \"core-count\" with number of cores for that machine as
|
|
48
48
|
its value. Providing this argument will override any machine list
|
|
49
49
|
information detected from the scheduler environment and any information
|
|
50
50
|
provided by the ``--cnf`` command-line argument.
|
|
51
|
-
partitioning_info :
|
|
51
|
+
partitioning_info : Dict, optional
|
|
52
52
|
Dictionary specifying machines resources assigned to each participant by user.
|
|
53
53
|
Dictionary must have participant names as keys and machine lists containing
|
|
54
54
|
machine resources as values. The value of a ``partitioning_info`` machine list is
|
|
@@ -0,0 +1,75 @@
|
|
|
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 show_plot(InjectedCommand):
|
|
9
|
+
"""
|
|
10
|
+
Shows plots of transfer values and convergence for data transfers
|
|
11
|
+
of a coupling interface.
|
|
12
|
+
|
|
13
|
+
Parameters
|
|
14
|
+
----------
|
|
15
|
+
interface_name : str
|
|
16
|
+
Specification of which interface to plot.
|
|
17
|
+
transfer_names : List, optional
|
|
18
|
+
Specification of which data transfers to plot. Defaults
|
|
19
|
+
to ``None``, which means plot all data transfers.
|
|
20
|
+
working_dir : str, optional
|
|
21
|
+
Working directory (defaults = ".").
|
|
22
|
+
show_convergence : bool, optional
|
|
23
|
+
Whether to show convergence plots (defaults to ``True``).
|
|
24
|
+
show_transfer_values : bool, optional
|
|
25
|
+
Whether to show transfer value plots (defaults to ``True``).
|
|
26
|
+
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
syc_name = "show_plot"
|
|
30
|
+
|
|
31
|
+
cmd_name = "show_plot"
|
|
32
|
+
|
|
33
|
+
argument_names = [
|
|
34
|
+
"interface_name",
|
|
35
|
+
"transfer_names",
|
|
36
|
+
"working_dir",
|
|
37
|
+
"show_convergence",
|
|
38
|
+
"show_transfer_values",
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
class interface_name(String):
|
|
42
|
+
"""
|
|
43
|
+
Specification of which interface to plot.
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
syc_name = "interface_name"
|
|
47
|
+
|
|
48
|
+
class transfer_names(StringList):
|
|
49
|
+
"""
|
|
50
|
+
Specification of which data transfers to plot. Defaults
|
|
51
|
+
to ``None``, which means plot all data transfers.
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
syc_name = "transfer_names"
|
|
55
|
+
|
|
56
|
+
class working_dir(String):
|
|
57
|
+
"""
|
|
58
|
+
Working directory (defaults = ".").
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
syc_name = "working_dir"
|
|
62
|
+
|
|
63
|
+
class show_convergence(Boolean):
|
|
64
|
+
"""
|
|
65
|
+
Whether to show convergence plots (defaults to ``True``).
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
syc_name = "show_convergence"
|
|
69
|
+
|
|
70
|
+
class show_transfer_values(Boolean):
|
|
71
|
+
"""
|
|
72
|
+
Whether to show transfer value plots (defaults to ``True``).
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
syc_name = "show_transfer_values"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# This is an auto-generated file. DO NOT EDIT!
|
|
3
3
|
#
|
|
4
4
|
|
|
5
|
-
SHASH = "
|
|
5
|
+
SHASH = "2774672445bd1c461a14acd1d3f26dcc93710777fea4556f16e3a79c35e271c9"
|
|
6
6
|
|
|
7
7
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
8
8
|
|
|
@@ -14,6 +14,7 @@ from .initialize import initialize
|
|
|
14
14
|
from .interrupt import interrupt
|
|
15
15
|
from .open_results_in_ensight import open_results_in_ensight
|
|
16
16
|
from .partition_participants import partition_participants
|
|
17
|
+
from .show_plot import show_plot
|
|
17
18
|
from .shutdown import shutdown
|
|
18
19
|
from .solve import solve
|
|
19
20
|
from .start_participants import start_participants
|
|
@@ -38,6 +39,7 @@ class solution_root(Container):
|
|
|
38
39
|
"interrupt",
|
|
39
40
|
"open_results_in_ensight",
|
|
40
41
|
"partition_participants",
|
|
42
|
+
"show_plot",
|
|
41
43
|
"shutdown",
|
|
42
44
|
"solve",
|
|
43
45
|
"start_participants",
|
|
@@ -78,6 +80,10 @@ class solution_root(Container):
|
|
|
78
80
|
"""
|
|
79
81
|
partition_participants command of solution_root.
|
|
80
82
|
"""
|
|
83
|
+
show_plot: show_plot = show_plot
|
|
84
|
+
"""
|
|
85
|
+
show_plot command of solution_root.
|
|
86
|
+
"""
|
|
81
87
|
shutdown: shutdown = shutdown
|
|
82
88
|
"""
|
|
83
89
|
shutdown command of solution_root.
|
|
@@ -21,13 +21,13 @@ class add_interface(Command):
|
|
|
21
21
|
side_one_participant : str
|
|
22
22
|
String indicating the name of the participant to be associated with
|
|
23
23
|
side \"One\" of the interface.
|
|
24
|
-
side_one_regions :
|
|
24
|
+
side_one_regions : List
|
|
25
25
|
List specifying the name(s) of region(s) to be added to side \"One\" of
|
|
26
26
|
the interface.
|
|
27
27
|
side_two_participant : str
|
|
28
28
|
String indicating the name of the participant to be associated with
|
|
29
29
|
side \"Two\" of the interface.
|
|
30
|
-
side_two_regions :
|
|
30
|
+
side_two_regions : List
|
|
31
31
|
List specifying the name(s) of region(s) to be added to side \"Two\" of
|
|
32
32
|
the interface.
|
|
33
33
|
|
|
@@ -21,13 +21,13 @@ class add_interface_by_display_names(Command):
|
|
|
21
21
|
side_one_participant : str
|
|
22
22
|
String indicating the name of the participant to be associated with
|
|
23
23
|
side \"One\" of the interface.
|
|
24
|
-
side_one_regions :
|
|
24
|
+
side_one_regions : List
|
|
25
25
|
List specifying the name(s) of region(s) to be added to side \"One\" of
|
|
26
26
|
the interface.
|
|
27
27
|
side_two_participant : str
|
|
28
28
|
String indicating the name of the participant to be associated with
|
|
29
29
|
side \"Two\" of the interface.
|
|
30
|
-
side_two_regions :
|
|
30
|
+
side_two_regions : List
|
|
31
31
|
List specifying the name(s) of region(s) to be added to side \"Two\"
|
|
32
32
|
of the interface.
|
|
33
33
|
|
|
@@ -41,7 +41,7 @@ class add_transformation(Command):
|
|
|
41
41
|
Axis about which a rotation is applied. Used with
|
|
42
42
|
Rotation ``transformation_type``. Available options are: \"XAxis\", \"YAxis\",
|
|
43
43
|
\"ZAxis\", and \"UserDefined\".
|
|
44
|
-
vector :
|
|
44
|
+
vector : Tuple, optional
|
|
45
45
|
A vector for use with \"Translation\" ``transformation_type`` or \"Rotation\"
|
|
46
46
|
``transformation_type`` if the ``axis`` is \"UserDefined\".
|
|
47
47
|
|
|
@@ -33,7 +33,7 @@ class partition_participants(Command):
|
|
|
33
33
|
|
|
34
34
|
See the System Coupling documentation for more details of the
|
|
35
35
|
partitioning algorithms.
|
|
36
|
-
names_and_fractions :
|
|
36
|
+
names_and_fractions : List, optional
|
|
37
37
|
List of tuples specifying the fractions of core count applied for
|
|
38
38
|
each participant
|
|
39
39
|
|
|
@@ -41,14 +41,14 @@ class partition_participants(Command):
|
|
|
41
41
|
associated fraction as its second item. If this parameter is omitted,
|
|
42
42
|
then cores will be allocated for all participants set in the
|
|
43
43
|
data model.
|
|
44
|
-
machine_list :
|
|
44
|
+
machine_list : List, optional
|
|
45
45
|
List of dictionaries specifying machines available for distributed run.
|
|
46
46
|
Each dictionary must have a key \"machine-name\" with machine name as its
|
|
47
47
|
value, and key \"core-count\" with number of cores for that machine as
|
|
48
48
|
its value. Providing this argument will override any machine list
|
|
49
49
|
information detected from the scheduler environment and any information
|
|
50
50
|
provided by the ``--cnf`` command-line argument.
|
|
51
|
-
partitioning_info :
|
|
51
|
+
partitioning_info : Dict, optional
|
|
52
52
|
Dictionary specifying machines resources assigned to each participant by user.
|
|
53
53
|
Dictionary must have participant names as keys and machine lists containing
|
|
54
54
|
machine resources as values. The value of a ``partitioning_info`` machine list is
|
|
@@ -0,0 +1,75 @@
|
|
|
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 show_plot(InjectedCommand):
|
|
9
|
+
"""
|
|
10
|
+
Shows plots of transfer values and convergence for data transfers
|
|
11
|
+
of a coupling interface.
|
|
12
|
+
|
|
13
|
+
Parameters
|
|
14
|
+
----------
|
|
15
|
+
interface_name : str
|
|
16
|
+
Specification of which interface to plot.
|
|
17
|
+
transfer_names : List, optional
|
|
18
|
+
Specification of which data transfers to plot. Defaults
|
|
19
|
+
to ``None``, which means plot all data transfers.
|
|
20
|
+
working_dir : str, optional
|
|
21
|
+
Working directory (defaults = ".").
|
|
22
|
+
show_convergence : bool, optional
|
|
23
|
+
Whether to show convergence plots (defaults to ``True``).
|
|
24
|
+
show_transfer_values : bool, optional
|
|
25
|
+
Whether to show transfer value plots (defaults to ``True``).
|
|
26
|
+
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
syc_name = "show_plot"
|
|
30
|
+
|
|
31
|
+
cmd_name = "show_plot"
|
|
32
|
+
|
|
33
|
+
argument_names = [
|
|
34
|
+
"interface_name",
|
|
35
|
+
"transfer_names",
|
|
36
|
+
"working_dir",
|
|
37
|
+
"show_convergence",
|
|
38
|
+
"show_transfer_values",
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
class interface_name(String):
|
|
42
|
+
"""
|
|
43
|
+
Specification of which interface to plot.
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
syc_name = "interface_name"
|
|
47
|
+
|
|
48
|
+
class transfer_names(StringList):
|
|
49
|
+
"""
|
|
50
|
+
Specification of which data transfers to plot. Defaults
|
|
51
|
+
to ``None``, which means plot all data transfers.
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
syc_name = "transfer_names"
|
|
55
|
+
|
|
56
|
+
class working_dir(String):
|
|
57
|
+
"""
|
|
58
|
+
Working directory (defaults = ".").
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
syc_name = "working_dir"
|
|
62
|
+
|
|
63
|
+
class show_convergence(Boolean):
|
|
64
|
+
"""
|
|
65
|
+
Whether to show convergence plots (defaults to ``True``).
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
syc_name = "show_convergence"
|
|
69
|
+
|
|
70
|
+
class show_transfer_values(Boolean):
|
|
71
|
+
"""
|
|
72
|
+
Whether to show transfer value plots (defaults to ``True``).
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
syc_name = "show_transfer_values"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# This is an auto-generated file. DO NOT EDIT!
|
|
3
3
|
#
|
|
4
4
|
|
|
5
|
-
SHASH = "
|
|
5
|
+
SHASH = "a713a451f17d724fabb76832c57ba91cb2d9a7426f9cd3be60bb1a03197d351a"
|
|
6
6
|
|
|
7
7
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
8
8
|
|
|
@@ -15,6 +15,7 @@ from .initialize import initialize
|
|
|
15
15
|
from .interrupt import interrupt
|
|
16
16
|
from .open_results_in_en_sight import open_results_in_en_sight
|
|
17
17
|
from .partition_participants import partition_participants
|
|
18
|
+
from .show_plot import show_plot
|
|
18
19
|
from .shutdown import shutdown
|
|
19
20
|
from .solve import solve
|
|
20
21
|
from .start_participants import start_participants
|
|
@@ -40,6 +41,7 @@ class solution_root(Container):
|
|
|
40
41
|
"interrupt",
|
|
41
42
|
"open_results_in_en_sight",
|
|
42
43
|
"partition_participants",
|
|
44
|
+
"show_plot",
|
|
43
45
|
"shutdown",
|
|
44
46
|
"solve",
|
|
45
47
|
"start_participants",
|
|
@@ -84,6 +86,10 @@ class solution_root(Container):
|
|
|
84
86
|
"""
|
|
85
87
|
partition_participants command of solution_root.
|
|
86
88
|
"""
|
|
89
|
+
show_plot: show_plot = show_plot
|
|
90
|
+
"""
|
|
91
|
+
show_plot command of solution_root.
|
|
92
|
+
"""
|
|
87
93
|
shutdown: shutdown = shutdown
|
|
88
94
|
"""
|
|
89
95
|
shutdown command of solution_root.
|
|
@@ -16,7 +16,7 @@ class add_aerodamping_data_transfers(Command):
|
|
|
16
16
|
interface : str
|
|
17
17
|
String indicating the name of the interface on which the data transfer
|
|
18
18
|
is to be created.
|
|
19
|
-
mode_shapes :
|
|
19
|
+
mode_shapes : List, optional
|
|
20
20
|
List of mode shapes to transfer. If not provided, a
|
|
21
21
|
data transfer is created for each available modeshape.
|
|
22
22
|
|
|
@@ -26,10 +26,10 @@ class add_interface(Command):
|
|
|
26
26
|
side_two_participant : str
|
|
27
27
|
String indicating the name of the participant to be associated with
|
|
28
28
|
side \"Two"\ of the interface.
|
|
29
|
-
side_one_regions :
|
|
29
|
+
side_one_regions : List, optional
|
|
30
30
|
List specifying the name(s) of region(s) to be added to side One of
|
|
31
31
|
the interface. Must be provided if ``side_one_participant`` is not an FMU.
|
|
32
|
-
side_two_regions :
|
|
32
|
+
side_two_regions : List, optional
|
|
33
33
|
List specifying the name(s) of region(s) to be added to side Two of
|
|
34
34
|
the interface. Must be provided if ``side_one_participant`` is not an FMU.
|
|
35
35
|
|
|
@@ -24,13 +24,13 @@ class add_interface_by_display_names(Command):
|
|
|
24
24
|
side_one_participant : str
|
|
25
25
|
String indicating the name of the participant to be associated with
|
|
26
26
|
side \"One\" of the interface.
|
|
27
|
-
side_one_regions :
|
|
27
|
+
side_one_regions : List
|
|
28
28
|
List specifying the name(s) of region(s) to be added to side \"One\" of
|
|
29
29
|
the interface.
|
|
30
30
|
side_two_participant : str
|
|
31
31
|
String indicating the name of the participant to be associated with
|
|
32
32
|
side \"Two\" of the interface.
|
|
33
|
-
side_two_regions :
|
|
33
|
+
side_two_regions : List
|
|
34
34
|
List specifying the name(s) of region(s) to be added to side \"Two\"
|
|
35
35
|
of the interface.
|
|
36
36
|
|
|
@@ -41,7 +41,7 @@ class add_transformation(Command):
|
|
|
41
41
|
Axis about which a rotation is applied. Used with
|
|
42
42
|
Rotation ``transformation_type``. Available options are: \"XAxis\", \"YAxis\",
|
|
43
43
|
\"ZAxis\", and \"UserDefined\".
|
|
44
|
-
vector :
|
|
44
|
+
vector : Tuple, optional
|
|
45
45
|
A vector for use with \"Translation\" ``transformation_type`` or \"Rotation\"
|
|
46
46
|
``transformation_type`` if the ``axis`` is \"UserDefined\".
|
|
47
47
|
|
|
@@ -33,7 +33,7 @@ class partition_participants(Command):
|
|
|
33
33
|
|
|
34
34
|
See the System Coupling documentation for more details of the
|
|
35
35
|
partitioning algorithms.
|
|
36
|
-
names_and_fractions :
|
|
36
|
+
names_and_fractions : List, optional
|
|
37
37
|
List of tuples specifying the fractions of core count applied for
|
|
38
38
|
each participant
|
|
39
39
|
|
|
@@ -41,14 +41,14 @@ class partition_participants(Command):
|
|
|
41
41
|
associated fraction as its second item. If this parameter is omitted,
|
|
42
42
|
then cores will be allocated for all participants set in the
|
|
43
43
|
data model.
|
|
44
|
-
machine_list :
|
|
44
|
+
machine_list : List, optional
|
|
45
45
|
List of dictionaries specifying machines available for distributed run.
|
|
46
46
|
Each dictionary must have a key \"machine-name\" with machine name as its
|
|
47
47
|
value, and key \"core-count\" with number of cores for that machine as
|
|
48
48
|
its value. Providing this argument will override any machine list
|
|
49
49
|
information detected from the scheduler environment and any information
|
|
50
50
|
provided by the ``--cnf`` command-line argument.
|
|
51
|
-
partitioning_info :
|
|
51
|
+
partitioning_info : Dict, optional
|
|
52
52
|
Dictionary specifying machines resources assigned to each participant by user.
|
|
53
53
|
Dictionary must have participant names as keys and machine lists containing
|
|
54
54
|
machine resources as values. The value of a ``partitioning_info`` machine list is
|
|
@@ -0,0 +1,75 @@
|
|
|
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 show_plot(InjectedCommand):
|
|
9
|
+
"""
|
|
10
|
+
Shows plots of transfer values and convergence for data transfers
|
|
11
|
+
of a coupling interface.
|
|
12
|
+
|
|
13
|
+
Parameters
|
|
14
|
+
----------
|
|
15
|
+
interface_name : str
|
|
16
|
+
Specification of which interface to plot.
|
|
17
|
+
transfer_names : List, optional
|
|
18
|
+
Specification of which data transfers to plot. Defaults
|
|
19
|
+
to ``None``, which means plot all data transfers.
|
|
20
|
+
working_dir : str, optional
|
|
21
|
+
Working directory (defaults = ".").
|
|
22
|
+
show_convergence : bool, optional
|
|
23
|
+
Whether to show convergence plots (defaults to ``True``).
|
|
24
|
+
show_transfer_values : bool, optional
|
|
25
|
+
Whether to show transfer value plots (defaults to ``True``).
|
|
26
|
+
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
syc_name = "show_plot"
|
|
30
|
+
|
|
31
|
+
cmd_name = "show_plot"
|
|
32
|
+
|
|
33
|
+
argument_names = [
|
|
34
|
+
"interface_name",
|
|
35
|
+
"transfer_names",
|
|
36
|
+
"working_dir",
|
|
37
|
+
"show_convergence",
|
|
38
|
+
"show_transfer_values",
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
class interface_name(String):
|
|
42
|
+
"""
|
|
43
|
+
Specification of which interface to plot.
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
syc_name = "interface_name"
|
|
47
|
+
|
|
48
|
+
class transfer_names(StringList):
|
|
49
|
+
"""
|
|
50
|
+
Specification of which data transfers to plot. Defaults
|
|
51
|
+
to ``None``, which means plot all data transfers.
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
syc_name = "transfer_names"
|
|
55
|
+
|
|
56
|
+
class working_dir(String):
|
|
57
|
+
"""
|
|
58
|
+
Working directory (defaults = ".").
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
syc_name = "working_dir"
|
|
62
|
+
|
|
63
|
+
class show_convergence(Boolean):
|
|
64
|
+
"""
|
|
65
|
+
Whether to show convergence plots (defaults to ``True``).
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
syc_name = "show_convergence"
|
|
69
|
+
|
|
70
|
+
class show_transfer_values(Boolean):
|
|
71
|
+
"""
|
|
72
|
+
Whether to show transfer value plots (defaults to ``True``).
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
syc_name = "show_transfer_values"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# This is an auto-generated file. DO NOT EDIT!
|
|
3
3
|
#
|
|
4
4
|
|
|
5
|
-
SHASH = "
|
|
5
|
+
SHASH = "88f74a7fd899f469e2b44e28e2840af9f018c6891645f7974ecf900003b1c542"
|
|
6
6
|
|
|
7
7
|
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
8
8
|
|
|
@@ -15,6 +15,7 @@ from .initialize import initialize
|
|
|
15
15
|
from .interrupt import interrupt
|
|
16
16
|
from .open_results_in_ensight import open_results_in_ensight
|
|
17
17
|
from .partition_participants import partition_participants
|
|
18
|
+
from .show_plot import show_plot
|
|
18
19
|
from .shutdown import shutdown
|
|
19
20
|
from .solve import solve
|
|
20
21
|
from .start_participants import start_participants
|
|
@@ -40,6 +41,7 @@ class solution_root(Container):
|
|
|
40
41
|
"interrupt",
|
|
41
42
|
"open_results_in_ensight",
|
|
42
43
|
"partition_participants",
|
|
44
|
+
"show_plot",
|
|
43
45
|
"shutdown",
|
|
44
46
|
"solve",
|
|
45
47
|
"start_participants",
|
|
@@ -84,6 +86,10 @@ class solution_root(Container):
|
|
|
84
86
|
"""
|
|
85
87
|
partition_participants command of solution_root.
|
|
86
88
|
"""
|
|
89
|
+
show_plot: show_plot = show_plot
|
|
90
|
+
"""
|
|
91
|
+
show_plot command of solution_root.
|
|
92
|
+
"""
|
|
87
93
|
shutdown: shutdown = shutdown
|
|
88
94
|
"""
|
|
89
95
|
shutdown command of solution_root.
|
|
@@ -16,7 +16,7 @@ class add_aerodamping_data_transfers(Command):
|
|
|
16
16
|
interface : str
|
|
17
17
|
String indicating the name of the interface on which the data transfer
|
|
18
18
|
is to be created.
|
|
19
|
-
mode_shapes :
|
|
19
|
+
mode_shapes : List, optional
|
|
20
20
|
List of mode shapes to transfer. If not provided, a
|
|
21
21
|
data transfer is created for each available modeshape.
|
|
22
22
|
|
|
@@ -26,10 +26,10 @@ class add_interface(Command):
|
|
|
26
26
|
side_two_participant : str
|
|
27
27
|
String indicating the name of the participant to be associated with
|
|
28
28
|
side \"Two"\ of the interface.
|
|
29
|
-
side_one_regions :
|
|
29
|
+
side_one_regions : List, optional
|
|
30
30
|
List specifying the name(s) of region(s) to be added to side One of
|
|
31
31
|
the interface. Must be provided if ``side_one_participant`` is not an FMU.
|
|
32
|
-
side_two_regions :
|
|
32
|
+
side_two_regions : List, optional
|
|
33
33
|
List specifying the name(s) of region(s) to be added to side Two of
|
|
34
34
|
the interface. Must be provided if ``side_one_participant`` is not an FMU.
|
|
35
35
|
|