ansys-systemcoupling-core 0.6__py3-none-any.whl → 0.8.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/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 +1 -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 +1 -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 +1 -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_transformation.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_2/partition_participants.py +3 -3
- ansys/systemcoupling/core/adaptor/api_24_2/show_plot.py +1 -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 +4 -1
- ansys/systemcoupling/core/client/grpc_client.py +2 -2
- ansys/systemcoupling/core/client/syc_container.py +12 -0
- ansys/systemcoupling/core/examples/downloads.py +17 -26
- ansys/systemcoupling/core/session.py +28 -7
- ansys/systemcoupling/core/util/file_transfer.py +34 -7
- {ansys_systemcoupling_core-0.6.dist-info → ansys_systemcoupling_core-0.8.0.dist-info}/LICENSE +7 -7
- {ansys_systemcoupling_core-0.6.dist-info → ansys_systemcoupling_core-0.8.0.dist-info}/METADATA +17 -18
- {ansys_systemcoupling_core-0.6.dist-info → ansys_systemcoupling_core-0.8.0.dist-info}/RECORD +146 -36
- {ansys_systemcoupling_core-0.6.dist-info → ansys_systemcoupling_core-0.8.0.dist-info}/WHEEL +0 -0
|
@@ -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 has_input_file_changed(Command):
|
|
9
|
+
"""
|
|
10
|
+
Given the name of a participant, checks whether the input file has changed.
|
|
11
|
+
|
|
12
|
+
Available for server participants. Currently, only input files for
|
|
13
|
+
DEFAULT-SRV, CFD-SRV, MECH-SRV, and SCDT-SRV participants are tracked by
|
|
14
|
+
System Coupling.
|
|
15
|
+
|
|
16
|
+
If a participant's input files are not tracked by System Coupling, this
|
|
17
|
+
command will return False in all cases, even if changes have been made
|
|
18
|
+
to the participant input file.
|
|
19
|
+
|
|
20
|
+
Parameters
|
|
21
|
+
----------
|
|
22
|
+
participant_name : str
|
|
23
|
+
Name of the participant
|
|
24
|
+
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
syc_name = "HasInputFileChanged"
|
|
28
|
+
|
|
29
|
+
argument_names = ["participant_name"]
|
|
30
|
+
|
|
31
|
+
class participant_name(String):
|
|
32
|
+
"""
|
|
33
|
+
Name of the participant
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
syc_name = "ParticipantName"
|
|
@@ -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 import_system_coupling_input_file(Command):
|
|
9
|
+
"""
|
|
10
|
+
Reads the specified System Coupling SCI file and pushes its information
|
|
11
|
+
into the data model. The SCI file is the required System Coupling input
|
|
12
|
+
format for the initial run of a coupled analysis set up in Workbench.
|
|
13
|
+
|
|
14
|
+
After the initial run based on an imported SCI file, a reissue
|
|
15
|
+
of the ``import_system_coupling_input_file`` command is unnecessary and is
|
|
16
|
+
not recommended unless the setup has changed.
|
|
17
|
+
|
|
18
|
+
Cannot be run after participants have been started.
|
|
19
|
+
|
|
20
|
+
Parameters
|
|
21
|
+
----------
|
|
22
|
+
file_path : str
|
|
23
|
+
Path and file name for the SCI file to be read.
|
|
24
|
+
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
syc_name = "ImportSystemCouplingInputFile"
|
|
28
|
+
|
|
29
|
+
argument_names = ["file_path"]
|
|
30
|
+
|
|
31
|
+
class file_path(String):
|
|
32
|
+
"""
|
|
33
|
+
Path and file name for the SCI file to be read.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
syc_name = "FilePath"
|
|
@@ -0,0 +1,27 @@
|
|
|
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 initialize(Command):
|
|
9
|
+
"""
|
|
10
|
+
Interactive command that initializes a coupled analysis.
|
|
11
|
+
|
|
12
|
+
Initialization includes preparing System Coupling, making connections
|
|
13
|
+
between System Coupling and all participants, starting participants (if
|
|
14
|
+
necessary), and writing participant build information to the Transcript
|
|
15
|
+
and Log.
|
|
16
|
+
|
|
17
|
+
Note that if the ``execution_control`` ``option`` for a participant is set to
|
|
18
|
+
\"ExternallyManaged\", then System Coupling will not start the participant
|
|
19
|
+
using either this command or any of the other commands that automatically
|
|
20
|
+
start participants. The user is expected to manually start the participant.
|
|
21
|
+
This function will not return until all participants have been connected.
|
|
22
|
+
|
|
23
|
+
Note that this command will raise an exception if another instance of
|
|
24
|
+
System Coupling is solving in the current working directory.
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
syc_name = "Initialize"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
from .instancing_child import instancing_child
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class instancing(NamedContainer[instancing_child]):
|
|
11
|
+
"""
|
|
12
|
+
Define instancing for an interface side.
|
|
13
|
+
|
|
14
|
+
Available when cylindrical geometry instancing has been added to
|
|
15
|
+
the data model.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
syc_name = "Instancing"
|
|
19
|
+
|
|
20
|
+
child_object_type: instancing_child = instancing_child
|
|
21
|
+
"""
|
|
22
|
+
child_object_type of instancing.
|
|
23
|
+
"""
|
|
@@ -0,0 +1,62 @@
|
|
|
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 instancing_child(Container):
|
|
9
|
+
"""
|
|
10
|
+
Define instancing for an interface side.
|
|
11
|
+
|
|
12
|
+
Available when cylindrical geometry instancing has been added to
|
|
13
|
+
the data model.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
syc_name = "child_object_type"
|
|
17
|
+
|
|
18
|
+
property_names_types = [
|
|
19
|
+
("reference_frame", "ReferenceFrame", "str"),
|
|
20
|
+
("instances_in_full_circle", "InstancesInFullCircle", "int"),
|
|
21
|
+
("instances_for_mapping", "InstancesForMapping", "int"),
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@property
|
|
25
|
+
def reference_frame(self) -> str:
|
|
26
|
+
"""Reference frame that defines the orientation of the instancing.
|
|
27
|
+
|
|
28
|
+
Rotation will be around the z-axis of the reference frame,
|
|
29
|
+
following the right-hand rule."""
|
|
30
|
+
return self.get_property_state("reference_frame")
|
|
31
|
+
|
|
32
|
+
@reference_frame.setter
|
|
33
|
+
def reference_frame(self, value: str):
|
|
34
|
+
self.set_property_state("reference_frame", value)
|
|
35
|
+
|
|
36
|
+
@property
|
|
37
|
+
def instances_in_full_circle(self) -> int:
|
|
38
|
+
"""Total number of instances (including the first instance) in
|
|
39
|
+
a full 360 degree rotation of the participant mesh. This value
|
|
40
|
+
includes the reference instance (with the participant mesh).
|
|
41
|
+
All instances defined for the instancing object have identical
|
|
42
|
+
angles."""
|
|
43
|
+
return self.get_property_state("instances_in_full_circle")
|
|
44
|
+
|
|
45
|
+
@instances_in_full_circle.setter
|
|
46
|
+
def instances_in_full_circle(self, value: int):
|
|
47
|
+
self.set_property_state("instances_in_full_circle", value)
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
def instances_for_mapping(self) -> int:
|
|
51
|
+
"""Number of instances to be included in the mapping when instancing
|
|
52
|
+
is applied.
|
|
53
|
+
|
|
54
|
+
Required when the number of instances to be used for mapping does
|
|
55
|
+
not match the number of instances in a full circle. Default
|
|
56
|
+
assumes a 360 degree rotation of the participant mesh. This value
|
|
57
|
+
includes the reference instance (with the participant mesh)."""
|
|
58
|
+
return self.get_property_state("instances_for_mapping")
|
|
59
|
+
|
|
60
|
+
@instances_for_mapping.setter
|
|
61
|
+
def instances_for_mapping(self, value: int):
|
|
62
|
+
self.set_property_state("instances_for_mapping", value)
|
|
@@ -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 interrupt(InjectedCommand):
|
|
9
|
+
"""
|
|
10
|
+
Interrupts a solve in progress.
|
|
11
|
+
|
|
12
|
+
See also ``abort``. The difference between an interrupted and
|
|
13
|
+
aborted solve is that an interrupted solve can be resumed.
|
|
14
|
+
|
|
15
|
+
Parameters
|
|
16
|
+
----------
|
|
17
|
+
reason_msg : str, optional
|
|
18
|
+
Text to describe the reason for the interrupt.
|
|
19
|
+
|
|
20
|
+
This might be used for such purposes as providing
|
|
21
|
+
additional annotation in transcript output.
|
|
22
|
+
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
syc_name = "interrupt"
|
|
26
|
+
|
|
27
|
+
cmd_name = "interrupt"
|
|
28
|
+
|
|
29
|
+
argument_names = ["reason_msg"]
|
|
30
|
+
|
|
31
|
+
class reason_msg(String):
|
|
32
|
+
"""
|
|
33
|
+
Text to describe the reason for the interrupt.
|
|
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,37 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
from .expression import expression
|
|
8
|
+
from .expression_function import expression_function
|
|
9
|
+
from .instancing import instancing
|
|
10
|
+
from .reference_frame import reference_frame
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class library(Container):
|
|
14
|
+
"""
|
|
15
|
+
Contains objects that can be referenced from elsewhere in the data model.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
syc_name = "Library"
|
|
19
|
+
|
|
20
|
+
child_names = ["expression", "expression_function", "reference_frame", "instancing"]
|
|
21
|
+
|
|
22
|
+
expression: expression = expression
|
|
23
|
+
"""
|
|
24
|
+
expression child of library.
|
|
25
|
+
"""
|
|
26
|
+
expression_function: expression_function = expression_function
|
|
27
|
+
"""
|
|
28
|
+
expression_function child of library.
|
|
29
|
+
"""
|
|
30
|
+
reference_frame: reference_frame = reference_frame
|
|
31
|
+
"""
|
|
32
|
+
reference_frame child of library.
|
|
33
|
+
"""
|
|
34
|
+
instancing: instancing = instancing
|
|
35
|
+
"""
|
|
36
|
+
instancing child of library.
|
|
37
|
+
"""
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
from .live_visualization_child import live_visualization_child
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class live_visualization(NamedContainer[live_visualization_child]):
|
|
11
|
+
"""
|
|
12
|
+
Configures live visualization via EnSight DVS.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
syc_name = "LiveVisualization"
|
|
16
|
+
|
|
17
|
+
child_object_type: live_visualization_child = live_visualization_child
|
|
18
|
+
"""
|
|
19
|
+
child_object_type of live_visualization.
|
|
20
|
+
"""
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
from .execution_control_1 import execution_control
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class live_visualization_child(Container):
|
|
11
|
+
"""
|
|
12
|
+
Configures live visualization via EnSight DVS.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
syc_name = "child_object_type"
|
|
16
|
+
|
|
17
|
+
child_names = ["execution_control"]
|
|
18
|
+
|
|
19
|
+
execution_control: execution_control = execution_control
|
|
20
|
+
"""
|
|
21
|
+
execution_control child of live_visualization_child.
|
|
22
|
+
"""
|
|
23
|
+
property_names_types = [
|
|
24
|
+
("option", "Option", "str"),
|
|
25
|
+
("write_results", "WriteResults", "bool"),
|
|
26
|
+
("show_viewer", "ShowViewer", "bool"),
|
|
27
|
+
("hide_ensight_gui", "HideEnsightGUI", "bool"),
|
|
28
|
+
("output_frequency", "OutputFrequency", "int"),
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
@property
|
|
32
|
+
def option(self) -> str:
|
|
33
|
+
"""Specifies live visualization working process
|
|
34
|
+
|
|
35
|
+
Allowed values:
|
|
36
|
+
|
|
37
|
+
- \"ProgramControlled\" - Generation of postprocessing results is disabled for now.
|
|
38
|
+
|
|
39
|
+
- \"Off\" - Generation of postprocessing results is disabled.
|
|
40
|
+
|
|
41
|
+
Allowed values for step-based analyses:
|
|
42
|
+
|
|
43
|
+
- \"LastStep\" - Generate results only for the last coupling step completed.
|
|
44
|
+
|
|
45
|
+
- \"EveryStep\" - Generate results at the end of every coupling step.
|
|
46
|
+
|
|
47
|
+
- \"StepInterval\" - Generate results at the end of coupling steps at
|
|
48
|
+
the interval specified by the output frequency setting.
|
|
49
|
+
|
|
50
|
+
Allowed values for iteration-based analyses:
|
|
51
|
+
|
|
52
|
+
- \"LastIteration\" - Generate results only for the last coupling
|
|
53
|
+
iteration completed.
|
|
54
|
+
|
|
55
|
+
- \"EveryIteration\" - Generate results at the end of every coupling
|
|
56
|
+
iteration.
|
|
57
|
+
|
|
58
|
+
- \"IterationInterval\" - Generate results at the end of coupling
|
|
59
|
+
iterations at the interval specified by the output frequency setting."""
|
|
60
|
+
return self.get_property_state("option")
|
|
61
|
+
|
|
62
|
+
@option.setter
|
|
63
|
+
def option(self, value: str):
|
|
64
|
+
self.set_property_state("option", value)
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
def write_results(self) -> bool:
|
|
68
|
+
"""Write results to files when conducting live visualization."""
|
|
69
|
+
return self.get_property_state("write_results")
|
|
70
|
+
|
|
71
|
+
@write_results.setter
|
|
72
|
+
def write_results(self, value: bool):
|
|
73
|
+
self.set_property_state("write_results", value)
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
def show_viewer(self) -> bool:
|
|
77
|
+
"""Request that the EnSight client is started with a gRPC server running."""
|
|
78
|
+
return self.get_property_state("show_viewer")
|
|
79
|
+
|
|
80
|
+
@show_viewer.setter
|
|
81
|
+
def show_viewer(self, value: bool):
|
|
82
|
+
self.set_property_state("show_viewer", value)
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def hide_ensight_gui(self) -> bool:
|
|
86
|
+
"""Request that the EnSight client is started hidden (in batch mode)."""
|
|
87
|
+
return self.get_property_state("hide_ensight_gui")
|
|
88
|
+
|
|
89
|
+
@hide_ensight_gui.setter
|
|
90
|
+
def hide_ensight_gui(self, value: bool):
|
|
91
|
+
self.set_property_state("hide_ensight_gui", value)
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
def output_frequency(self) -> int:
|
|
95
|
+
"""Specify output frequency."""
|
|
96
|
+
return self.get_property_state("output_frequency")
|
|
97
|
+
|
|
98
|
+
@output_frequency.setter
|
|
99
|
+
def output_frequency(self, value: int):
|
|
100
|
+
self.set_property_state("output_frequency", value)
|
|
@@ -0,0 +1,239 @@
|
|
|
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 mapping_control(Container):
|
|
9
|
+
"""
|
|
10
|
+
Configure controls for mapping.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "MappingControl"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("stop_if_poor_intersection", "StopIfPoorIntersection", "bool"),
|
|
17
|
+
("poor_intersection_threshold", "PoorIntersectionThreshold", "RealType"),
|
|
18
|
+
("face_alignment", "FaceAlignment", "str"),
|
|
19
|
+
("absolute_gap_tolerance", "AbsoluteGapTolerance", "RealType"),
|
|
20
|
+
("relative_gap_tolerance", "RelativeGapTolerance", "RealType"),
|
|
21
|
+
("small_weight_tolerance", "SmallWeightTolerance", "RealType"),
|
|
22
|
+
("corner_tolerance", "CornerTolerance", "RealType"),
|
|
23
|
+
("halo_tolerance", "HaloTolerance", "RealType"),
|
|
24
|
+
(
|
|
25
|
+
"conservative_reciprocity_factor",
|
|
26
|
+
"ConservativeReciprocityFactor",
|
|
27
|
+
"RealType",
|
|
28
|
+
),
|
|
29
|
+
(
|
|
30
|
+
"profile_preserving_reciprocity_factor",
|
|
31
|
+
"ProfilePreservingReciprocityFactor",
|
|
32
|
+
"RealType",
|
|
33
|
+
),
|
|
34
|
+
("conservative_intensive", "ConservativeIntensive", "str"),
|
|
35
|
+
("preserve_normal", "PreserveNormal", "str"),
|
|
36
|
+
(
|
|
37
|
+
"conservation_fix_tolerance_volume",
|
|
38
|
+
"ConservationFixToleranceVolume",
|
|
39
|
+
"RealType",
|
|
40
|
+
),
|
|
41
|
+
("rbf_option", "RBFOption", "str"),
|
|
42
|
+
("rbf_shape_parameter", "RBFShapeParameter", "RealType"),
|
|
43
|
+
("rbf_linear_correction", "RBFLinearCorrection", "bool"),
|
|
44
|
+
("rbf_clipping_scale", "RBFClippingScale", "RealType"),
|
|
45
|
+
("clipping", "Clipping", "bool"),
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
@property
|
|
49
|
+
def stop_if_poor_intersection(self) -> bool:
|
|
50
|
+
"""Controls whether to stop if the intersection is poor"""
|
|
51
|
+
return self.get_property_state("stop_if_poor_intersection")
|
|
52
|
+
|
|
53
|
+
@stop_if_poor_intersection.setter
|
|
54
|
+
def stop_if_poor_intersection(self, value: bool):
|
|
55
|
+
self.set_property_state("stop_if_poor_intersection", value)
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def poor_intersection_threshold(self) -> RealType:
|
|
59
|
+
"""System Coupling terminates with an error if the intersected fractions are below this threshold (in both directions)"""
|
|
60
|
+
return self.get_property_state("poor_intersection_threshold")
|
|
61
|
+
|
|
62
|
+
@poor_intersection_threshold.setter
|
|
63
|
+
def poor_intersection_threshold(self, value: RealType):
|
|
64
|
+
self.set_property_state("poor_intersection_threshold", value)
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
def face_alignment(self) -> str:
|
|
68
|
+
"""Controls how face alignment is used during mapping.
|
|
69
|
+
|
|
70
|
+
Allowed values:
|
|
71
|
+
|
|
72
|
+
- \"ProgramControlled\" (default)
|
|
73
|
+
- \"OppositeOrientation\"
|
|
74
|
+
- \"SameOrientation\"
|
|
75
|
+
- \"AnyOrientation\" """
|
|
76
|
+
return self.get_property_state("face_alignment")
|
|
77
|
+
|
|
78
|
+
@face_alignment.setter
|
|
79
|
+
def face_alignment(self, value: str):
|
|
80
|
+
self.set_property_state("face_alignment", value)
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
def absolute_gap_tolerance(self) -> RealType:
|
|
84
|
+
"""Absolute gap tolerance value."""
|
|
85
|
+
return self.get_property_state("absolute_gap_tolerance")
|
|
86
|
+
|
|
87
|
+
@absolute_gap_tolerance.setter
|
|
88
|
+
def absolute_gap_tolerance(self, value: RealType):
|
|
89
|
+
self.set_property_state("absolute_gap_tolerance", value)
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def relative_gap_tolerance(self) -> RealType:
|
|
93
|
+
"""Maximum gap size relative to face size."""
|
|
94
|
+
return self.get_property_state("relative_gap_tolerance")
|
|
95
|
+
|
|
96
|
+
@relative_gap_tolerance.setter
|
|
97
|
+
def relative_gap_tolerance(self, value: RealType):
|
|
98
|
+
self.set_property_state("relative_gap_tolerance", value)
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def small_weight_tolerance(self) -> RealType:
|
|
102
|
+
"""Relative tolerance used to control when weights are dropped."""
|
|
103
|
+
return self.get_property_state("small_weight_tolerance")
|
|
104
|
+
|
|
105
|
+
@small_weight_tolerance.setter
|
|
106
|
+
def small_weight_tolerance(self, value: RealType):
|
|
107
|
+
self.set_property_state("small_weight_tolerance", value)
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
def corner_tolerance(self) -> RealType:
|
|
111
|
+
"""Angle [degrees] between adjacent source mesh faces above which the
|
|
112
|
+
mapping algorithm will stop searching for mapping candidates."""
|
|
113
|
+
return self.get_property_state("corner_tolerance")
|
|
114
|
+
|
|
115
|
+
@corner_tolerance.setter
|
|
116
|
+
def corner_tolerance(self, value: RealType):
|
|
117
|
+
self.set_property_state("corner_tolerance", value)
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
def halo_tolerance(self) -> RealType:
|
|
121
|
+
"""If a face intersects but a target node lies outside of the source face, then
|
|
122
|
+
map the node if the projected distance to the face / sqrt(srcArea) is less
|
|
123
|
+
than this tolerance, otherwise leave as unmapped."""
|
|
124
|
+
return self.get_property_state("halo_tolerance")
|
|
125
|
+
|
|
126
|
+
@halo_tolerance.setter
|
|
127
|
+
def halo_tolerance(self, value: RealType):
|
|
128
|
+
self.set_property_state("halo_tolerance", value)
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
def conservative_reciprocity_factor(self) -> RealType:
|
|
132
|
+
"""Reciprocity blend factor for conservative mapping."""
|
|
133
|
+
return self.get_property_state("conservative_reciprocity_factor")
|
|
134
|
+
|
|
135
|
+
@conservative_reciprocity_factor.setter
|
|
136
|
+
def conservative_reciprocity_factor(self, value: RealType):
|
|
137
|
+
self.set_property_state("conservative_reciprocity_factor", value)
|
|
138
|
+
|
|
139
|
+
@property
|
|
140
|
+
def profile_preserving_reciprocity_factor(self) -> RealType:
|
|
141
|
+
"""Reciprocity blend factor for profile-preserving mapping."""
|
|
142
|
+
return self.get_property_state("profile_preserving_reciprocity_factor")
|
|
143
|
+
|
|
144
|
+
@profile_preserving_reciprocity_factor.setter
|
|
145
|
+
def profile_preserving_reciprocity_factor(self, value: RealType):
|
|
146
|
+
self.set_property_state("profile_preserving_reciprocity_factor", value)
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
def conservative_intensive(self) -> str:
|
|
150
|
+
"""Determines when the Intensive option is used for conservative mapping.
|
|
151
|
+
|
|
152
|
+
Allowed values:
|
|
153
|
+
|
|
154
|
+
- \"ProgramControlled\" (default)
|
|
155
|
+
- \"Off\"
|
|
156
|
+
- \"On\" """
|
|
157
|
+
return self.get_property_state("conservative_intensive")
|
|
158
|
+
|
|
159
|
+
@conservative_intensive.setter
|
|
160
|
+
def conservative_intensive(self, value: str):
|
|
161
|
+
self.set_property_state("conservative_intensive", value)
|
|
162
|
+
|
|
163
|
+
@property
|
|
164
|
+
def preserve_normal(self) -> str:
|
|
165
|
+
"""Determines if the normal component of a vector is preserved.
|
|
166
|
+
|
|
167
|
+
Allowed values:
|
|
168
|
+
|
|
169
|
+
- \"ProgramControlled\" (default)
|
|
170
|
+
- \"Off\"
|
|
171
|
+
- \"On\" """
|
|
172
|
+
return self.get_property_state("preserve_normal")
|
|
173
|
+
|
|
174
|
+
@preserve_normal.setter
|
|
175
|
+
def preserve_normal(self, value: str):
|
|
176
|
+
self.set_property_state("preserve_normal", value)
|
|
177
|
+
|
|
178
|
+
@property
|
|
179
|
+
def conservation_fix_tolerance_volume(self) -> RealType:
|
|
180
|
+
"""Source element overlap fraction to trigger volume mapping conservation fix.
|
|
181
|
+
|
|
182
|
+
0.0 is default. 1.0 effectively disables it."""
|
|
183
|
+
return self.get_property_state("conservation_fix_tolerance_volume")
|
|
184
|
+
|
|
185
|
+
@conservation_fix_tolerance_volume.setter
|
|
186
|
+
def conservation_fix_tolerance_volume(self, value: RealType):
|
|
187
|
+
self.set_property_state("conservation_fix_tolerance_volume", value)
|
|
188
|
+
|
|
189
|
+
@property
|
|
190
|
+
def rbf_option(self) -> str:
|
|
191
|
+
"""Controls radial basis function formulation.
|
|
192
|
+
|
|
193
|
+
Allowed values:
|
|
194
|
+
|
|
195
|
+
- \"Gaussian\" (default)
|
|
196
|
+
- \"ThinPlateSpline\" """
|
|
197
|
+
return self.get_property_state("rbf_option")
|
|
198
|
+
|
|
199
|
+
@rbf_option.setter
|
|
200
|
+
def rbf_option(self, value: str):
|
|
201
|
+
self.set_property_state("rbf_option", value)
|
|
202
|
+
|
|
203
|
+
@property
|
|
204
|
+
def rbf_shape_parameter(self) -> RealType:
|
|
205
|
+
"""Sets the shape parameter beta when using Gaussian radial basis functions."""
|
|
206
|
+
return self.get_property_state("rbf_shape_parameter")
|
|
207
|
+
|
|
208
|
+
@rbf_shape_parameter.setter
|
|
209
|
+
def rbf_shape_parameter(self, value: RealType):
|
|
210
|
+
self.set_property_state("rbf_shape_parameter", value)
|
|
211
|
+
|
|
212
|
+
@property
|
|
213
|
+
def rbf_linear_correction(self) -> bool:
|
|
214
|
+
"""Controls whether linear polynomial augmentation is added to the RBF stencil for
|
|
215
|
+
low order regular element types (tet, hex, pyramid, wedge)."""
|
|
216
|
+
return self.get_property_state("rbf_linear_correction")
|
|
217
|
+
|
|
218
|
+
@rbf_linear_correction.setter
|
|
219
|
+
def rbf_linear_correction(self, value: bool):
|
|
220
|
+
self.set_property_state("rbf_linear_correction", value)
|
|
221
|
+
|
|
222
|
+
@property
|
|
223
|
+
def rbf_clipping_scale(self) -> RealType:
|
|
224
|
+
"""Length scale factor used to determine if source nodes are removed from RBF
|
|
225
|
+
stencil when too close."""
|
|
226
|
+
return self.get_property_state("rbf_clipping_scale")
|
|
227
|
+
|
|
228
|
+
@rbf_clipping_scale.setter
|
|
229
|
+
def rbf_clipping_scale(self, value: RealType):
|
|
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)
|