ansys-systemcoupling-core 0.9.1__py3-none-any.whl → 0.10.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 +1 -1
- ansys/systemcoupling/core/adaptor/api_25_2/_add_participant.py +80 -0
- ansys/systemcoupling/core/adaptor/api_25_2/_clear_state.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_2/_solve.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_2/abort.py +39 -0
- ansys/systemcoupling/core/adaptor/api_25_2/activate_hidden.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_aerodamping_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_data_transfer.py +190 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_expression_function.py +61 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_flow_boundary_data_transfers.py +32 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_fsi_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_interface.py +77 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_named_expression.py +42 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_ordered_data_transfers.py +41 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_participant.py +177 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_reference_frame.py +40 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_thermal_data_transfers.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_2/add_transformation.py +102 -0
- ansys/systemcoupling/core/adaptor/api_25_2/analysis_control.py +333 -0
- ansys/systemcoupling/core/adaptor/api_25_2/apip.py +33 -0
- ansys/systemcoupling/core/adaptor/api_25_2/ascii_output.py +44 -0
- ansys/systemcoupling/core/adaptor/api_25_2/attribute.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/attribute_child.py +74 -0
- ansys/systemcoupling/core/adaptor/api_25_2/automatic_alignment_options.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_2/available_ports.py +40 -0
- ansys/systemcoupling/core/adaptor/api_25_2/avoid_data_reconstruction.py +56 -0
- ansys/systemcoupling/core/adaptor/api_25_2/case_root.py +62 -0
- ansys/systemcoupling/core/adaptor/api_25_2/clear_state.py +18 -0
- ansys/systemcoupling/core/adaptor/api_25_2/connect_ensight_dvs.py +41 -0
- ansys/systemcoupling/core/adaptor/api_25_2/coupling_interface.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/coupling_interface_child.py +42 -0
- ansys/systemcoupling/core/adaptor/api_25_2/coupling_participant.py +23 -0
- ansys/systemcoupling/core/adaptor/api_25_2/coupling_participant_child.py +272 -0
- ansys/systemcoupling/core/adaptor/api_25_2/create_restart_point.py +28 -0
- ansys/systemcoupling/core/adaptor/api_25_2/data_transfer.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/data_transfer_child.py +195 -0
- ansys/systemcoupling/core/adaptor/api_25_2/delete_snapshot.py +30 -0
- ansys/systemcoupling/core/adaptor/api_25_2/delete_transformation.py +42 -0
- ansys/systemcoupling/core/adaptor/api_25_2/dimensionality.py +96 -0
- ansys/systemcoupling/core/adaptor/api_25_2/execution_control.py +266 -0
- ansys/systemcoupling/core/adaptor/api_25_2/execution_control_1.py +24 -0
- ansys/systemcoupling/core/adaptor/api_25_2/expression.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/expression_child.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_2/expression_function.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/expression_function_child.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_2/external_data_file.py +24 -0
- ansys/systemcoupling/core/adaptor/api_25_2/fluent_input.py +77 -0
- ansys/systemcoupling/core/adaptor/api_25_2/fmu_parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/fmu_parameter_child.py +164 -0
- ansys/systemcoupling/core/adaptor/api_25_2/generate_input_file.py +53 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_add_data_transfer_group_commands.py +29 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_execution_command.py +30 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_machines.py +34 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_mode_shape_variables.py +29 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_region_names_for_participant.py +32 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_setup_summary.py +25 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_status_messages.py +52 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_supported_participant_types.py +13 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_thermal_data_transfer_options.py +32 -0
- ansys/systemcoupling/core/adaptor/api_25_2/get_transformation.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_2/global_stabilization.py +155 -0
- ansys/systemcoupling/core/adaptor/api_25_2/has_input_file_changed.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_2/import_system_coupling_input_file.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_2/initialize.py +27 -0
- ansys/systemcoupling/core/adaptor/api_25_2/instancing.py +25 -0
- ansys/systemcoupling/core/adaptor/api_25_2/instancing_child.py +114 -0
- ansys/systemcoupling/core/adaptor/api_25_2/interrupt.py +39 -0
- ansys/systemcoupling/core/adaptor/api_25_2/library.py +37 -0
- ansys/systemcoupling/core/adaptor/api_25_2/live_visualization.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/live_visualization_child.py +100 -0
- ansys/systemcoupling/core/adaptor/api_25_2/map.py +19 -0
- ansys/systemcoupling/core/adaptor/api_25_2/mapping_control.py +273 -0
- ansys/systemcoupling/core/adaptor/api_25_2/open.py +107 -0
- ansys/systemcoupling/core/adaptor/api_25_2/open_results_in_ensight.py +56 -0
- ansys/systemcoupling/core/adaptor/api_25_2/open_snapshot.py +37 -0
- ansys/systemcoupling/core/adaptor/api_25_2/output_control.py +134 -0
- ansys/systemcoupling/core/adaptor/api_25_2/parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/parameter_child.py +60 -0
- ansys/systemcoupling/core/adaptor/api_25_2/partition_participants.py +148 -0
- ansys/systemcoupling/core/adaptor/api_25_2/properties.py +36 -0
- ansys/systemcoupling/core/adaptor/api_25_2/record_interactions.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_2/reference_frame.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/reference_frame_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_25_2/region.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/region_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_25_2/reload_expression_function_modules.py +14 -0
- ansys/systemcoupling/core/adaptor/api_25_2/results.py +89 -0
- ansys/systemcoupling/core/adaptor/api_25_2/save.py +53 -0
- ansys/systemcoupling/core/adaptor/api_25_2/save_snapshot.py +54 -0
- ansys/systemcoupling/core/adaptor/api_25_2/setup_root.py +243 -0
- ansys/systemcoupling/core/adaptor/api_25_2/show_plot.py +75 -0
- ansys/systemcoupling/core/adaptor/api_25_2/shutdown.py +25 -0
- ansys/systemcoupling/core/adaptor/api_25_2/side.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/side_child.py +56 -0
- ansys/systemcoupling/core/adaptor/api_25_2/solution_control.py +127 -0
- ansys/systemcoupling/core/adaptor/api_25_2/solution_root.py +134 -0
- ansys/systemcoupling/core/adaptor/api_25_2/solve.py +30 -0
- ansys/systemcoupling/core/adaptor/api_25_2/stabilization.py +157 -0
- ansys/systemcoupling/core/adaptor/api_25_2/step.py +57 -0
- ansys/systemcoupling/core/adaptor/api_25_2/transformation.py +21 -0
- ansys/systemcoupling/core/adaptor/api_25_2/transformation_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_25_2/type.py +39 -0
- ansys/systemcoupling/core/adaptor/api_25_2/unmapped_value_options.py +158 -0
- ansys/systemcoupling/core/adaptor/api_25_2/update_control.py +43 -0
- ansys/systemcoupling/core/adaptor/api_25_2/update_interfaces.py +19 -0
- ansys/systemcoupling/core/adaptor/api_25_2/update_participant.py +61 -0
- ansys/systemcoupling/core/adaptor/api_25_2/variable.py +20 -0
- ansys/systemcoupling/core/adaptor/api_25_2/variable_child.py +231 -0
- ansys/systemcoupling/core/adaptor/api_25_2/write_csv_chart_files.py +21 -0
- ansys/systemcoupling/core/adaptor/api_25_2/write_ensight.py +46 -0
- ansys/systemcoupling/core/adaptor/api_25_2/write_target_data.py +32 -0
- ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +4 -1
- ansys/systemcoupling/core/adaptor/impl/injected_commands.py +3 -1
- ansys/systemcoupling/core/charts/csv_chartdata.py +4 -3
- ansys/systemcoupling/core/charts/plot_functions.py +12 -4
- ansys/systemcoupling/core/charts/plotter.py +3 -2
- ansys/systemcoupling/core/client/grpc_client.py +11 -2
- ansys/systemcoupling/core/client/syc_container.py +40 -35
- ansys/systemcoupling/core/client/syc_process.py +5 -2
- ansys/systemcoupling/core/native_api/datamodel_metadata.py +3 -2
- ansys/systemcoupling/core/native_api/object_path.py +2 -1
- ansys/systemcoupling/core/syc_version.py +1 -1
- ansys/systemcoupling/core/util/assertion.py +38 -0
- ansys/systemcoupling/core/util/file_transfer.py +2 -1
- ansys/systemcoupling/core/util/yaml_helper.py +5 -5
- {ansys_systemcoupling_core-0.9.1.dist-info → ansys_systemcoupling_core-0.10.0.dist-info}/METADATA +14 -8
- {ansys_systemcoupling_core-0.9.1.dist-info → ansys_systemcoupling_core-0.10.0.dist-info}/RECORD +129 -18
- {ansys_systemcoupling_core-0.9.1.dist-info → ansys_systemcoupling_core-0.10.0.dist-info}/WHEEL +0 -0
- {ansys_systemcoupling_core-0.9.1.dist-info → ansys_systemcoupling_core-0.10.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
SHASH = "5752cfcb125c06b52c7d98fc8d1287154da25832c24c95eb0a98d3876d385b47"
|
|
6
|
+
|
|
7
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
8
|
+
|
|
9
|
+
from ._solve import _solve
|
|
10
|
+
from .abort import abort
|
|
11
|
+
from .connect_ensight_dvs import connect_ensight_dvs
|
|
12
|
+
from .create_restart_point import create_restart_point
|
|
13
|
+
from .get_machines import get_machines
|
|
14
|
+
from .get_transformation import get_transformation
|
|
15
|
+
from .initialize import initialize
|
|
16
|
+
from .interrupt import interrupt
|
|
17
|
+
from .map import map
|
|
18
|
+
from .open_results_in_ensight import open_results_in_ensight
|
|
19
|
+
from .partition_participants import partition_participants
|
|
20
|
+
from .show_plot import show_plot
|
|
21
|
+
from .shutdown import shutdown
|
|
22
|
+
from .solve import solve
|
|
23
|
+
from .step import step
|
|
24
|
+
from .update_interfaces import update_interfaces
|
|
25
|
+
from .write_csv_chart_files import write_csv_chart_files
|
|
26
|
+
from .write_ensight import write_ensight
|
|
27
|
+
from .write_target_data import write_target_data
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class solution_root(Container):
|
|
31
|
+
"""
|
|
32
|
+
'root' object
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
syc_name = "SolutionCommands"
|
|
36
|
+
|
|
37
|
+
command_names = [
|
|
38
|
+
"_solve",
|
|
39
|
+
"abort",
|
|
40
|
+
"connect_ensight_dvs",
|
|
41
|
+
"create_restart_point",
|
|
42
|
+
"get_machines",
|
|
43
|
+
"get_transformation",
|
|
44
|
+
"initialize",
|
|
45
|
+
"interrupt",
|
|
46
|
+
"map",
|
|
47
|
+
"open_results_in_ensight",
|
|
48
|
+
"partition_participants",
|
|
49
|
+
"show_plot",
|
|
50
|
+
"shutdown",
|
|
51
|
+
"solve",
|
|
52
|
+
"step",
|
|
53
|
+
"update_interfaces",
|
|
54
|
+
"write_csv_chart_files",
|
|
55
|
+
"write_ensight",
|
|
56
|
+
"write_target_data",
|
|
57
|
+
]
|
|
58
|
+
|
|
59
|
+
_solve: _solve = _solve
|
|
60
|
+
"""
|
|
61
|
+
_solve command of solution_root.
|
|
62
|
+
"""
|
|
63
|
+
abort: abort = abort
|
|
64
|
+
"""
|
|
65
|
+
abort command of solution_root.
|
|
66
|
+
"""
|
|
67
|
+
connect_ensight_dvs: connect_ensight_dvs = connect_ensight_dvs
|
|
68
|
+
"""
|
|
69
|
+
connect_ensight_dvs command of solution_root.
|
|
70
|
+
"""
|
|
71
|
+
create_restart_point: create_restart_point = create_restart_point
|
|
72
|
+
"""
|
|
73
|
+
create_restart_point command of solution_root.
|
|
74
|
+
"""
|
|
75
|
+
get_machines: get_machines = get_machines
|
|
76
|
+
"""
|
|
77
|
+
get_machines command of solution_root.
|
|
78
|
+
"""
|
|
79
|
+
get_transformation: get_transformation = get_transformation
|
|
80
|
+
"""
|
|
81
|
+
get_transformation command of solution_root.
|
|
82
|
+
"""
|
|
83
|
+
initialize: initialize = initialize
|
|
84
|
+
"""
|
|
85
|
+
initialize command of solution_root.
|
|
86
|
+
"""
|
|
87
|
+
interrupt: interrupt = interrupt
|
|
88
|
+
"""
|
|
89
|
+
interrupt command of solution_root.
|
|
90
|
+
"""
|
|
91
|
+
map: map = map
|
|
92
|
+
"""
|
|
93
|
+
map command of solution_root.
|
|
94
|
+
"""
|
|
95
|
+
open_results_in_ensight: open_results_in_ensight = open_results_in_ensight
|
|
96
|
+
"""
|
|
97
|
+
open_results_in_ensight command of solution_root.
|
|
98
|
+
"""
|
|
99
|
+
partition_participants: partition_participants = partition_participants
|
|
100
|
+
"""
|
|
101
|
+
partition_participants command of solution_root.
|
|
102
|
+
"""
|
|
103
|
+
show_plot: show_plot = show_plot
|
|
104
|
+
"""
|
|
105
|
+
show_plot command of solution_root.
|
|
106
|
+
"""
|
|
107
|
+
shutdown: shutdown = shutdown
|
|
108
|
+
"""
|
|
109
|
+
shutdown command of solution_root.
|
|
110
|
+
"""
|
|
111
|
+
solve: solve = solve
|
|
112
|
+
"""
|
|
113
|
+
solve command of solution_root.
|
|
114
|
+
"""
|
|
115
|
+
step: step = step
|
|
116
|
+
"""
|
|
117
|
+
step command of solution_root.
|
|
118
|
+
"""
|
|
119
|
+
update_interfaces: update_interfaces = update_interfaces
|
|
120
|
+
"""
|
|
121
|
+
update_interfaces command of solution_root.
|
|
122
|
+
"""
|
|
123
|
+
write_csv_chart_files: write_csv_chart_files = write_csv_chart_files
|
|
124
|
+
"""
|
|
125
|
+
write_csv_chart_files command of solution_root.
|
|
126
|
+
"""
|
|
127
|
+
write_ensight: write_ensight = write_ensight
|
|
128
|
+
"""
|
|
129
|
+
write_ensight command of solution_root.
|
|
130
|
+
"""
|
|
131
|
+
write_target_data: write_target_data = write_target_data
|
|
132
|
+
"""
|
|
133
|
+
write_target_data command of solution_root.
|
|
134
|
+
"""
|
|
@@ -0,0 +1,30 @@
|
|
|
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 solve(InjectedCommand):
|
|
9
|
+
"""
|
|
10
|
+
Solves the coupled analysis. This command will execute until
|
|
11
|
+
end coupled analysis is reached, or it is interrupted or aborted
|
|
12
|
+
(for example, via scStop file).
|
|
13
|
+
|
|
14
|
+
Disabled when a solution is already in progress.
|
|
15
|
+
|
|
16
|
+
For restarts, the ``open`` command must be run before the ``solve`` command.
|
|
17
|
+
|
|
18
|
+
Note that if the ``execution_control.option`` for a participant is set to
|
|
19
|
+
"ExternallyManaged", then System Coupling will not start the participant
|
|
20
|
+
using either this command or any of the other commands that automatically
|
|
21
|
+
start participants. The user is expected to manually start the participant.
|
|
22
|
+
This function will not return until all participants have been connected.
|
|
23
|
+
|
|
24
|
+
Note that this command will raise an exception if another instance of
|
|
25
|
+
System Coupling is solving in the current working directory.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
syc_name = "solve"
|
|
29
|
+
|
|
30
|
+
cmd_name = "solve"
|
|
@@ -0,0 +1,157 @@
|
|
|
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 stabilization(Container):
|
|
9
|
+
"""
|
|
10
|
+
Stabilization and Acceleration method.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "Stabilization"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("option", "Option", "str"),
|
|
17
|
+
("couple_with_global_stabilization", "CoupleWithGlobalStabilization", "bool"),
|
|
18
|
+
("initial_iterations", "InitialIterations", "int"),
|
|
19
|
+
("initial_relaxation_factor", "InitialRelaxationFactor", "RealType"),
|
|
20
|
+
("maximum_retained_time_steps", "MaximumRetainedTimeSteps", "int"),
|
|
21
|
+
("maximum_retained_iterations", "MaximumRetainedIterations", "int"),
|
|
22
|
+
("weight_factor", "WeightFactor", "RealType"),
|
|
23
|
+
("diagnostics_level", "DiagnosticsLevel", "int"),
|
|
24
|
+
("weight_option", "WeightOption", "str"),
|
|
25
|
+
("qr_tol_this_step", "QRTolThisStep", "RealType"),
|
|
26
|
+
("qr_tol_old_steps", "QRTolOldSteps", "RealType"),
|
|
27
|
+
("time_step_initialization_option", "TimeStepInitializationOption", "str"),
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def option(self) -> str:
|
|
32
|
+
"""Allowed values:
|
|
33
|
+
|
|
34
|
+
- \"ProgramControlled\"
|
|
35
|
+
- \"None\"
|
|
36
|
+
- \"Quasi-Newton\"
|
|
37
|
+
- \"Aitken\" (Alpha only)"""
|
|
38
|
+
return self.get_property_state("option")
|
|
39
|
+
|
|
40
|
+
@option.setter
|
|
41
|
+
def option(self, value: str):
|
|
42
|
+
self.set_property_state("option", value)
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def couple_with_global_stabilization(self) -> bool:
|
|
46
|
+
"""Controls whether the stabilization for this data transfer is coupled with the global stabilization."""
|
|
47
|
+
return self.get_property_state("couple_with_global_stabilization")
|
|
48
|
+
|
|
49
|
+
@couple_with_global_stabilization.setter
|
|
50
|
+
def couple_with_global_stabilization(self, value: bool):
|
|
51
|
+
self.set_property_state("couple_with_global_stabilization", value)
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
def initial_iterations(self) -> int:
|
|
55
|
+
"""Number of pre-stabilization iterations to perform."""
|
|
56
|
+
return self.get_property_state("initial_iterations")
|
|
57
|
+
|
|
58
|
+
@initial_iterations.setter
|
|
59
|
+
def initial_iterations(self, value: int):
|
|
60
|
+
self.set_property_state("initial_iterations", value)
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
def initial_relaxation_factor(self) -> RealType:
|
|
64
|
+
"""Relaxation factor applied for pre-stabilization iterations."""
|
|
65
|
+
return self.get_property_state("initial_relaxation_factor")
|
|
66
|
+
|
|
67
|
+
@initial_relaxation_factor.setter
|
|
68
|
+
def initial_relaxation_factor(self, value: RealType):
|
|
69
|
+
self.set_property_state("initial_relaxation_factor", value)
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
def maximum_retained_time_steps(self) -> int:
|
|
73
|
+
"""Controls the maximum number of timesteps to retain."""
|
|
74
|
+
return self.get_property_state("maximum_retained_time_steps")
|
|
75
|
+
|
|
76
|
+
@maximum_retained_time_steps.setter
|
|
77
|
+
def maximum_retained_time_steps(self, value: int):
|
|
78
|
+
self.set_property_state("maximum_retained_time_steps", value)
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def maximum_retained_iterations(self) -> int:
|
|
82
|
+
"""Controls the maximum number of iterations to retain."""
|
|
83
|
+
return self.get_property_state("maximum_retained_iterations")
|
|
84
|
+
|
|
85
|
+
@maximum_retained_iterations.setter
|
|
86
|
+
def maximum_retained_iterations(self, value: int):
|
|
87
|
+
self.set_property_state("maximum_retained_iterations", value)
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def weight_factor(self) -> RealType:
|
|
91
|
+
"""Weighting factor to use for this data transfer in IQN-ILS."""
|
|
92
|
+
return self.get_property_state("weight_factor")
|
|
93
|
+
|
|
94
|
+
@weight_factor.setter
|
|
95
|
+
def weight_factor(self, value: RealType):
|
|
96
|
+
self.set_property_state("weight_factor", value)
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def diagnostics_level(self) -> int:
|
|
100
|
+
"""Controls the maximum number of timesteps to retain.
|
|
101
|
+
|
|
102
|
+
Values are interpreted as:
|
|
103
|
+
|
|
104
|
+
- 0 : none
|
|
105
|
+
- 1 : basic
|
|
106
|
+
- 2 : advanced
|
|
107
|
+
- 3 : write matrix files"""
|
|
108
|
+
return self.get_property_state("diagnostics_level")
|
|
109
|
+
|
|
110
|
+
@diagnostics_level.setter
|
|
111
|
+
def diagnostics_level(self, value: int):
|
|
112
|
+
self.set_property_state("diagnostics_level", value)
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
def weight_option(self) -> str:
|
|
116
|
+
"""Weight factor when multiple transfers are stabilized.
|
|
117
|
+
|
|
118
|
+
Allowed values:
|
|
119
|
+
|
|
120
|
+
- \"Constant\"
|
|
121
|
+
- \"Value\"
|
|
122
|
+
- \"Residual\"
|
|
123
|
+
- \"ResidualSum\"
|
|
124
|
+
- \"InverseResidual\"
|
|
125
|
+
- \"InverseResidualSum\" """
|
|
126
|
+
return self.get_property_state("weight_option")
|
|
127
|
+
|
|
128
|
+
@weight_option.setter
|
|
129
|
+
def weight_option(self, value: str):
|
|
130
|
+
self.set_property_state("weight_option", value)
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def qr_tol_this_step(self) -> RealType:
|
|
134
|
+
"""QR filter tolerance for current step."""
|
|
135
|
+
return self.get_property_state("qr_tol_this_step")
|
|
136
|
+
|
|
137
|
+
@qr_tol_this_step.setter
|
|
138
|
+
def qr_tol_this_step(self, value: RealType):
|
|
139
|
+
self.set_property_state("qr_tol_this_step", value)
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
def qr_tol_old_steps(self) -> RealType:
|
|
143
|
+
"""QR filter tolerance for old steps."""
|
|
144
|
+
return self.get_property_state("qr_tol_old_steps")
|
|
145
|
+
|
|
146
|
+
@qr_tol_old_steps.setter
|
|
147
|
+
def qr_tol_old_steps(self, value: RealType):
|
|
148
|
+
self.set_property_state("qr_tol_old_steps", value)
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
def time_step_initialization_option(self) -> str:
|
|
152
|
+
"""Controls how Aitken relaxation factor is initialized at start of new timestep."""
|
|
153
|
+
return self.get_property_state("time_step_initialization_option")
|
|
154
|
+
|
|
155
|
+
@time_step_initialization_option.setter
|
|
156
|
+
def time_step_initialization_option(self, value: str):
|
|
157
|
+
self.set_property_state("time_step_initialization_option", value)
|
|
@@ -0,0 +1,57 @@
|
|
|
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 step(Command):
|
|
9
|
+
"""
|
|
10
|
+
Interactive command that initializes the analysis (if necessary) and
|
|
11
|
+
runs the specified number of coupling steps before pausing the coupled
|
|
12
|
+
analysis.
|
|
13
|
+
|
|
14
|
+
Disabled when a solution is already in progress.
|
|
15
|
+
|
|
16
|
+
Disabled for iterations-only steady analyses.
|
|
17
|
+
|
|
18
|
+
By default, runs a single step. If given the optional ``count`` argument,
|
|
19
|
+
then runs the specified number of steps.
|
|
20
|
+
|
|
21
|
+
For restarts, the ``open`` command must be run before the ``step`` command.
|
|
22
|
+
|
|
23
|
+
When you run this command, System Coupling initializes the analysis if
|
|
24
|
+
needed and then begins the solution. When the specified number of coupling
|
|
25
|
+
steps has been run, the solution is paused, providing you with an
|
|
26
|
+
opportunity to interact with the analysis.
|
|
27
|
+
|
|
28
|
+
Note that if the ``execution_control`` option for a participant is set to
|
|
29
|
+
ExternallyManaged, then System Coupling will not start the participant
|
|
30
|
+
using either this command or any of the other commands that automatically
|
|
31
|
+
start participants. The user is expected to manually start the participant.
|
|
32
|
+
This function will not return until all participants have been connected.
|
|
33
|
+
|
|
34
|
+
When the solution is resumed, either by reissuing this command or by
|
|
35
|
+
running the ``solve`` command, System Coupling restarts the analysis at the
|
|
36
|
+
point it left off and continues the solution with the next step.
|
|
37
|
+
|
|
38
|
+
Note that this command will raise an exception if another instance of
|
|
39
|
+
System Coupling is solving in the current working directory.
|
|
40
|
+
|
|
41
|
+
Parameters
|
|
42
|
+
----------
|
|
43
|
+
count : int, optional
|
|
44
|
+
Integer specifying the number of steps to be run. Defaults to 1.
|
|
45
|
+
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
syc_name = "Step"
|
|
49
|
+
|
|
50
|
+
argument_names = ["count"]
|
|
51
|
+
|
|
52
|
+
class count(Integer):
|
|
53
|
+
"""
|
|
54
|
+
Integer specifying the number of steps to be run. Defaults to 1.
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
syc_name = "Count"
|
|
@@ -0,0 +1,21 @@
|
|
|
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 .transformation_child import transformation_child
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class transformation(NamedContainer[transformation_child]):
|
|
11
|
+
"""
|
|
12
|
+
Use to apply transformations to coupling interface sides to control
|
|
13
|
+
positioning of the geometry.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
syc_name = "Transformation"
|
|
17
|
+
|
|
18
|
+
child_object_type: transformation_child = transformation_child
|
|
19
|
+
"""
|
|
20
|
+
child_object_type of transformation.
|
|
21
|
+
"""
|
|
@@ -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 transformation_child(Container):
|
|
9
|
+
"""
|
|
10
|
+
Use to apply transformations to coupling interface sides to control
|
|
11
|
+
positioning of the geometry.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
syc_name = "child_object_type"
|
|
15
|
+
|
|
16
|
+
property_names_types = [
|
|
17
|
+
("option", "Option", "str"),
|
|
18
|
+
("angle", "Angle", "RealType"),
|
|
19
|
+
("axis", "Axis", "str"),
|
|
20
|
+
("vector", "Vector", "RealVectorType"),
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
@property
|
|
24
|
+
def option(self) -> str:
|
|
25
|
+
"""Specifies the type of transformation, ``Rotation`` or ``Translation``."""
|
|
26
|
+
return self.get_property_state("option")
|
|
27
|
+
|
|
28
|
+
@option.setter
|
|
29
|
+
def option(self, value: str):
|
|
30
|
+
self.set_property_state("option", value)
|
|
31
|
+
|
|
32
|
+
@property
|
|
33
|
+
def angle(self) -> RealType:
|
|
34
|
+
"""The angle of rotation for a rotation transformation."""
|
|
35
|
+
return self.get_property_state("angle")
|
|
36
|
+
|
|
37
|
+
@angle.setter
|
|
38
|
+
def angle(self, value: RealType):
|
|
39
|
+
self.set_property_state("angle", value)
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
def axis(self) -> str:
|
|
43
|
+
"""The axis of rotation to be used for a rotation transformation.
|
|
44
|
+
|
|
45
|
+
- \"XAxis\" - Rotation is about the x-axis.
|
|
46
|
+
- \"YAxis\" - Rotation is about the y-axis.
|
|
47
|
+
- \"ZAxis\" - Rotation is about the z-axis.
|
|
48
|
+
- \"UserDefined\" - Rotation is about a user defined vector."""
|
|
49
|
+
return self.get_property_state("axis")
|
|
50
|
+
|
|
51
|
+
@axis.setter
|
|
52
|
+
def axis(self, value: str):
|
|
53
|
+
self.set_property_state("axis", value)
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def vector(self) -> RealVectorType:
|
|
57
|
+
"""Define an axis of rotation vector in the ``UserDefined`` case."""
|
|
58
|
+
return self.get_property_state("vector")
|
|
59
|
+
|
|
60
|
+
@vector.setter
|
|
61
|
+
def vector(self, value: RealVectorType):
|
|
62
|
+
self.set_property_state("vector", 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 type(Container):
|
|
9
|
+
"""
|
|
10
|
+
File type for result output.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "Type"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("option", "Option", "str"),
|
|
17
|
+
("binary_format", "BinaryFormat", "bool"),
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@property
|
|
21
|
+
def option(self) -> str:
|
|
22
|
+
"""Allowed values:
|
|
23
|
+
|
|
24
|
+
- \"EnsightGold\"
|
|
25
|
+
- \"DVS\" """
|
|
26
|
+
return self.get_property_state("option")
|
|
27
|
+
|
|
28
|
+
@option.setter
|
|
29
|
+
def option(self, value: str):
|
|
30
|
+
self.set_property_state("option", value)
|
|
31
|
+
|
|
32
|
+
@property
|
|
33
|
+
def binary_format(self) -> bool:
|
|
34
|
+
"""Output in Binary or ASCII format."""
|
|
35
|
+
return self.get_property_state("binary_format")
|
|
36
|
+
|
|
37
|
+
@binary_format.setter
|
|
38
|
+
def binary_format(self, value: bool):
|
|
39
|
+
self.set_property_state("binary_format", value)
|
|
@@ -0,0 +1,158 @@
|
|
|
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 unmapped_value_options(Container):
|
|
9
|
+
"""
|
|
10
|
+
Unmapped value settings.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "UnmappedValueOptions"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("matrix_verbosity", "MatrixVerbosity", "int"),
|
|
17
|
+
("solver_verbosity", "SolverVerbosity", "int"),
|
|
18
|
+
("solver", "Solver", "str"),
|
|
19
|
+
("solver_relative_tolerance", "SolverRelativeTolerance", "RealType"),
|
|
20
|
+
("solver_max_iterations", "SolverMaxIterations", "int"),
|
|
21
|
+
("solver_max_search_directions", "SolverMaxSearchDirections", "int"),
|
|
22
|
+
("preconditioner", "Preconditioner", "str"),
|
|
23
|
+
("ilut_tau", "IlutTau", "RealType"),
|
|
24
|
+
("ilut_max_fill", "IlutMaxFill", "int"),
|
|
25
|
+
("ilut_pivot_tol", "IlutPivotTol", "RealType"),
|
|
26
|
+
("face_filter_tolerance", "FaceFilterTolerance", "RealType"),
|
|
27
|
+
("rbf_shape_parameter", "RbfShapeParameter", "RealType"),
|
|
28
|
+
("rbf_linear_correction", "RbfLinearCorrection", "bool"),
|
|
29
|
+
("rbf_colinearity_tolerance", "RbfColinearityTolerance", "RealType"),
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
@property
|
|
33
|
+
def matrix_verbosity(self) -> int:
|
|
34
|
+
"""Matrix verbosity."""
|
|
35
|
+
return self.get_property_state("matrix_verbosity")
|
|
36
|
+
|
|
37
|
+
@matrix_verbosity.setter
|
|
38
|
+
def matrix_verbosity(self, value: int):
|
|
39
|
+
self.set_property_state("matrix_verbosity", value)
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
def solver_verbosity(self) -> int:
|
|
43
|
+
"""Solver verbosity."""
|
|
44
|
+
return self.get_property_state("solver_verbosity")
|
|
45
|
+
|
|
46
|
+
@solver_verbosity.setter
|
|
47
|
+
def solver_verbosity(self, value: int):
|
|
48
|
+
self.set_property_state("solver_verbosity", value)
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def solver(self) -> str:
|
|
52
|
+
"""Solver (\"GMRES\" or \"FGMRES\")."""
|
|
53
|
+
return self.get_property_state("solver")
|
|
54
|
+
|
|
55
|
+
@solver.setter
|
|
56
|
+
def solver(self, value: str):
|
|
57
|
+
self.set_property_state("solver", value)
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def solver_relative_tolerance(self) -> RealType:
|
|
61
|
+
"""Solver relative tolerance"""
|
|
62
|
+
return self.get_property_state("solver_relative_tolerance")
|
|
63
|
+
|
|
64
|
+
@solver_relative_tolerance.setter
|
|
65
|
+
def solver_relative_tolerance(self, value: RealType):
|
|
66
|
+
self.set_property_state("solver_relative_tolerance", value)
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
def solver_max_iterations(self) -> int:
|
|
70
|
+
"""Solver maximum iterations."""
|
|
71
|
+
return self.get_property_state("solver_max_iterations")
|
|
72
|
+
|
|
73
|
+
@solver_max_iterations.setter
|
|
74
|
+
def solver_max_iterations(self, value: int):
|
|
75
|
+
self.set_property_state("solver_max_iterations", value)
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
def solver_max_search_directions(self) -> int:
|
|
79
|
+
"""Solver maximum search directions."""
|
|
80
|
+
return self.get_property_state("solver_max_search_directions")
|
|
81
|
+
|
|
82
|
+
@solver_max_search_directions.setter
|
|
83
|
+
def solver_max_search_directions(self, value: int):
|
|
84
|
+
self.set_property_state("solver_max_search_directions", value)
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def preconditioner(self) -> str:
|
|
88
|
+
"""Preconditioner type (\"None\" or \"ILUT\")."""
|
|
89
|
+
return self.get_property_state("preconditioner")
|
|
90
|
+
|
|
91
|
+
@preconditioner.setter
|
|
92
|
+
def preconditioner(self, value: str):
|
|
93
|
+
self.set_property_state("preconditioner", value)
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def ilut_tau(self) -> RealType:
|
|
97
|
+
"""Tolerance for ILUT."""
|
|
98
|
+
return self.get_property_state("ilut_tau")
|
|
99
|
+
|
|
100
|
+
@ilut_tau.setter
|
|
101
|
+
def ilut_tau(self, value: RealType):
|
|
102
|
+
self.set_property_state("ilut_tau", value)
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
def ilut_max_fill(self) -> int:
|
|
106
|
+
"""Maximum fill level for ILUT."""
|
|
107
|
+
return self.get_property_state("ilut_max_fill")
|
|
108
|
+
|
|
109
|
+
@ilut_max_fill.setter
|
|
110
|
+
def ilut_max_fill(self, value: int):
|
|
111
|
+
self.set_property_state("ilut_max_fill", value)
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def ilut_pivot_tol(self) -> RealType:
|
|
115
|
+
"""Pivot tolerance for ILUT."""
|
|
116
|
+
return self.get_property_state("ilut_pivot_tol")
|
|
117
|
+
|
|
118
|
+
@ilut_pivot_tol.setter
|
|
119
|
+
def ilut_pivot_tol(self, value: RealType):
|
|
120
|
+
self.set_property_state("ilut_pivot_tol", value)
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
def face_filter_tolerance(self) -> RealType:
|
|
124
|
+
"""Tolerance (angle, in degrees) for which to consider nearby faces to be sufficiently
|
|
125
|
+
aligned to be included in the algorithm."""
|
|
126
|
+
return self.get_property_state("face_filter_tolerance")
|
|
127
|
+
|
|
128
|
+
@face_filter_tolerance.setter
|
|
129
|
+
def face_filter_tolerance(self, value: RealType):
|
|
130
|
+
self.set_property_state("face_filter_tolerance", value)
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def rbf_shape_parameter(self) -> RealType:
|
|
134
|
+
"""Radial basis function shape parameter for Gaussian shape function."""
|
|
135
|
+
return self.get_property_state("rbf_shape_parameter")
|
|
136
|
+
|
|
137
|
+
@rbf_shape_parameter.setter
|
|
138
|
+
def rbf_shape_parameter(self, value: RealType):
|
|
139
|
+
self.set_property_state("rbf_shape_parameter", value)
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
def rbf_linear_correction(self) -> bool:
|
|
143
|
+
"""Control whether the radial basis function linear correction is active."""
|
|
144
|
+
return self.get_property_state("rbf_linear_correction")
|
|
145
|
+
|
|
146
|
+
@rbf_linear_correction.setter
|
|
147
|
+
def rbf_linear_correction(self, value: bool):
|
|
148
|
+
self.set_property_state("rbf_linear_correction", value)
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
def rbf_colinearity_tolerance(self) -> RealType:
|
|
152
|
+
"""Tolerance to use for checking colinearity of nearby data when using the radial
|
|
153
|
+
basis functions for non-overlap extrapolation."""
|
|
154
|
+
return self.get_property_state("rbf_colinearity_tolerance")
|
|
155
|
+
|
|
156
|
+
@rbf_colinearity_tolerance.setter
|
|
157
|
+
def rbf_colinearity_tolerance(self, value: RealType):
|
|
158
|
+
self.set_property_state("rbf_colinearity_tolerance", value)
|