ansys-systemcoupling-core 0.2.0__py3-none-any.whl → 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ansys-systemcoupling-core might be problematic. Click here for more details.
- ansys/systemcoupling/core/__init__.py +2 -4
- ansys/systemcoupling/core/adaptor/api_23_2/_add_participant.py +70 -0
- ansys/systemcoupling/core/adaptor/api_23_2/_solve.py +13 -0
- ansys/systemcoupling/core/adaptor/api_23_2/add_participant.py +38 -2
- ansys/systemcoupling/core/adaptor/api_23_2/case_root.py +13 -13
- ansys/systemcoupling/core/adaptor/api_23_2/setup_root.py +55 -49
- ansys/systemcoupling/core/adaptor/api_23_2/solution_root.py +42 -36
- ansys/systemcoupling/core/adaptor/api_23_2/solve.py +1 -1
- ansys/systemcoupling/core/adaptor/api_24_1/_add_participant.py +70 -0
- ansys/systemcoupling/core/adaptor/api_24_1/_solve.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_1/abort.py +39 -0
- ansys/systemcoupling/core/adaptor/api_24_1/activate_hidden.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_data_transfer.py +190 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_data_transfer_by_display_names.py +191 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_expression_function.py +61 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_interface.py +77 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_interface_by_display_names.py +78 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_named_expression.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_participant.py +140 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_reference_frame.py +40 -0
- ansys/systemcoupling/core/adaptor/api_24_1/add_transformation.py +102 -0
- ansys/systemcoupling/core/adaptor/api_24_1/analysis_control.py +249 -0
- ansys/systemcoupling/core/adaptor/api_24_1/apip.py +33 -0
- ansys/systemcoupling/core/adaptor/api_24_1/ascii_output.py +44 -0
- ansys/systemcoupling/core/adaptor/api_24_1/attribute.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/attribute_child.py +54 -0
- ansys/systemcoupling/core/adaptor/api_24_1/automatic_alignment_options.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_1/available_ports.py +40 -0
- ansys/systemcoupling/core/adaptor/api_24_1/avoid_data_reconstruction.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_1/case_root.py +62 -0
- ansys/systemcoupling/core/adaptor/api_24_1/clear_state.py +16 -0
- ansys/systemcoupling/core/adaptor/api_24_1/coupling_interface.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/coupling_interface_child.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant.py +23 -0
- ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant_child.py +230 -0
- ansys/systemcoupling/core/adaptor/api_24_1/create_restart_point.py +29 -0
- ansys/systemcoupling/core/adaptor/api_24_1/data_transfer.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/data_transfer_child.py +187 -0
- ansys/systemcoupling/core/adaptor/api_24_1/delete_snapshot.py +28 -0
- ansys/systemcoupling/core/adaptor/api_24_1/delete_transformation.py +42 -0
- ansys/systemcoupling/core/adaptor/api_24_1/dimensionality.py +96 -0
- ansys/systemcoupling/core/adaptor/api_24_1/execution_control.py +186 -0
- ansys/systemcoupling/core/adaptor/api_24_1/expression.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/expression_child.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_1/expression_function.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/expression_function_child.py +46 -0
- ansys/systemcoupling/core/adaptor/api_24_1/external_data_file.py +24 -0
- ansys/systemcoupling/core/adaptor/api_24_1/fluent_input.py +67 -0
- ansys/systemcoupling/core/adaptor/api_24_1/fmu_parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/fmu_parameter_child.py +156 -0
- ansys/systemcoupling/core/adaptor/api_24_1/generate_input_file.py +41 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_execution_command.py +30 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_machines.py +13 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_region_names_for_participant.py +31 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_setup_summary.py +25 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_snapshots.py +14 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_status_messages.py +52 -0
- ansys/systemcoupling/core/adaptor/api_24_1/get_transformation.py +43 -0
- ansys/systemcoupling/core/adaptor/api_24_1/global_stabilization.py +143 -0
- ansys/systemcoupling/core/adaptor/api_24_1/has_input_file_changed.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_1/import_system_coupling_input_file.py +36 -0
- ansys/systemcoupling/core/adaptor/api_24_1/initialize.py +27 -0
- ansys/systemcoupling/core/adaptor/api_24_1/instancing.py +23 -0
- ansys/systemcoupling/core/adaptor/api_24_1/instancing_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_24_1/interrupt.py +39 -0
- ansys/systemcoupling/core/adaptor/api_24_1/library.py +37 -0
- ansys/systemcoupling/core/adaptor/api_24_1/live_visualization.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/live_visualization_child.py +72 -0
- ansys/systemcoupling/core/adaptor/api_24_1/mapping_control.py +229 -0
- ansys/systemcoupling/core/adaptor/api_24_1/open.py +102 -0
- ansys/systemcoupling/core/adaptor/api_24_1/open_results_in_en_sight.py +56 -0
- ansys/systemcoupling/core/adaptor/api_24_1/open_snapshot.py +37 -0
- ansys/systemcoupling/core/adaptor/api_24_1/output_control.py +134 -0
- ansys/systemcoupling/core/adaptor/api_24_1/parameter.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/parameter_child.py +64 -0
- ansys/systemcoupling/core/adaptor/api_24_1/partition_participants.py +138 -0
- ansys/systemcoupling/core/adaptor/api_24_1/reference_frame.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/reference_frame_child.py +71 -0
- ansys/systemcoupling/core/adaptor/api_24_1/region.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/region_child.py +72 -0
- ansys/systemcoupling/core/adaptor/api_24_1/reload_expression_function_modules.py +14 -0
- ansys/systemcoupling/core/adaptor/api_24_1/results.py +89 -0
- ansys/systemcoupling/core/adaptor/api_24_1/save.py +51 -0
- ansys/systemcoupling/core/adaptor/api_24_1/save_snapshot.py +54 -0
- ansys/systemcoupling/core/adaptor/api_24_1/setup_root.py +195 -0
- ansys/systemcoupling/core/adaptor/api_24_1/shutdown.py +25 -0
- ansys/systemcoupling/core/adaptor/api_24_1/side.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/side_child.py +56 -0
- ansys/systemcoupling/core/adaptor/api_24_1/solution_control.py +103 -0
- ansys/systemcoupling/core/adaptor/api_24_1/solution_root.py +110 -0
- ansys/systemcoupling/core/adaptor/api_24_1/solve.py +30 -0
- ansys/systemcoupling/core/adaptor/api_24_1/stabilization.py +157 -0
- ansys/systemcoupling/core/adaptor/api_24_1/start_participants.py +47 -0
- ansys/systemcoupling/core/adaptor/api_24_1/step.py +57 -0
- ansys/systemcoupling/core/adaptor/api_24_1/transformation.py +21 -0
- ansys/systemcoupling/core/adaptor/api_24_1/transformation_child.py +62 -0
- ansys/systemcoupling/core/adaptor/api_24_1/type.py +38 -0
- ansys/systemcoupling/core/adaptor/api_24_1/unmapped_value_options.py +158 -0
- ansys/systemcoupling/core/adaptor/api_24_1/update_control.py +44 -0
- ansys/systemcoupling/core/adaptor/api_24_1/update_participant.py +61 -0
- ansys/systemcoupling/core/adaptor/api_24_1/variable.py +20 -0
- ansys/systemcoupling/core/adaptor/api_24_1/variable_child.py +232 -0
- ansys/systemcoupling/core/adaptor/api_24_1/write_csv_chart_files.py +21 -0
- ansys/systemcoupling/core/adaptor/api_24_1/write_ensight.py +46 -0
- ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +35 -0
- ansys/systemcoupling/core/adaptor/impl/injected_commands.py +97 -5
- ansys/systemcoupling/core/adaptor/impl/root_source.py +2 -0
- ansys/systemcoupling/core/adaptor/impl/static_info.py +69 -41
- ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +1 -1
- ansys/systemcoupling/core/adaptor/impl/types.py +12 -0
- ansys/systemcoupling/core/client/syc_container.py +2 -0
- ansys/systemcoupling/core/participant/manager.py +198 -0
- ansys/systemcoupling/core/participant/protocol.py +51 -0
- ansys/systemcoupling/core/session.py +7 -1
- ansys/systemcoupling/core/syc_version.py +26 -2
- {ansys_systemcoupling_core-0.2.0.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/METADATA +9 -9
- ansys_systemcoupling_core-0.3.0.dist-info/RECORD +230 -0
- ansys_systemcoupling_core-0.2.0.dist-info/RECORD +0 -129
- /ansys/systemcoupling/core/adaptor/{api_23_2 → api_24_1}/open_results_in_ensight.py +0 -0
- {ansys_systemcoupling_core-0.2.0.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/LICENSE +0 -0
- {ansys_systemcoupling_core-0.2.0.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,187 @@
|
|
|
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 .stabilization import stabilization
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class data_transfer_child(Container):
|
|
11
|
+
"""
|
|
12
|
+
Configure data transfers for a coupling interface.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
syc_name = "child_object_type"
|
|
16
|
+
|
|
17
|
+
child_names = ["stabilization"]
|
|
18
|
+
|
|
19
|
+
stabilization: stabilization = stabilization
|
|
20
|
+
"""
|
|
21
|
+
stabilization child of data_transfer_child.
|
|
22
|
+
"""
|
|
23
|
+
property_names_types = [
|
|
24
|
+
("display_name", "DisplayName", "str"),
|
|
25
|
+
("suppress", "Suppress", "bool"),
|
|
26
|
+
("target_side", "TargetSide", "str"),
|
|
27
|
+
("option", "Option", "str"),
|
|
28
|
+
("source_variable", "SourceVariable", "str"),
|
|
29
|
+
("target_variable", "TargetVariable", "str"),
|
|
30
|
+
("value", "Value", "RealType"),
|
|
31
|
+
("ramping_option", "RampingOption", "str"),
|
|
32
|
+
("relaxation_factor", "RelaxationFactor", "RealType"),
|
|
33
|
+
("convergence_target", "ConvergenceTarget", "RealType"),
|
|
34
|
+
("mapping_type", "MappingType", "str"),
|
|
35
|
+
("unmapped_value_option", "UnmappedValueOption", "str"),
|
|
36
|
+
("time_step_initialization_option", "TimeStepInitializationOption", "str"),
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
def display_name(self) -> str:
|
|
41
|
+
"""Display name of the data transfer."""
|
|
42
|
+
return self.get_property_state("display_name")
|
|
43
|
+
|
|
44
|
+
@display_name.setter
|
|
45
|
+
def display_name(self, value: str):
|
|
46
|
+
self.set_property_state("display_name", value)
|
|
47
|
+
|
|
48
|
+
@property
|
|
49
|
+
def suppress(self) -> bool:
|
|
50
|
+
"""Controls whether this data transfer is suppressed"""
|
|
51
|
+
return self.get_property_state("suppress")
|
|
52
|
+
|
|
53
|
+
@suppress.setter
|
|
54
|
+
def suppress(self, value: bool):
|
|
55
|
+
self.set_property_state("suppress", value)
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def target_side(self) -> str:
|
|
59
|
+
"""Target side (\"One\" or \"Two\") of this data transfer."""
|
|
60
|
+
return self.get_property_state("target_side")
|
|
61
|
+
|
|
62
|
+
@target_side.setter
|
|
63
|
+
def target_side(self, value: str):
|
|
64
|
+
self.set_property_state("target_side", value)
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
def option(self) -> str:
|
|
68
|
+
"""How the transfer data is specified.
|
|
69
|
+
|
|
70
|
+
Allowed values:
|
|
71
|
+
|
|
72
|
+
- \"UsingVariable\" - The data being transferred is defined as a
|
|
73
|
+
single source-side variable.
|
|
74
|
+
|
|
75
|
+
- \"UsingExpression\" - The data being transferred is defined as
|
|
76
|
+
an expression in terms of source-side variables."""
|
|
77
|
+
return self.get_property_state("option")
|
|
78
|
+
|
|
79
|
+
@option.setter
|
|
80
|
+
def option(self, value: str):
|
|
81
|
+
self.set_property_state("option", value)
|
|
82
|
+
|
|
83
|
+
@property
|
|
84
|
+
def source_variable(self) -> str:
|
|
85
|
+
"""Variable associated with the source side of the interface.
|
|
86
|
+
|
|
87
|
+
Specified only for variable-based transfers (and not expression-based)."""
|
|
88
|
+
return self.get_property_state("source_variable")
|
|
89
|
+
|
|
90
|
+
@source_variable.setter
|
|
91
|
+
def source_variable(self, value: str):
|
|
92
|
+
self.set_property_state("source_variable", value)
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
def target_variable(self) -> str:
|
|
96
|
+
"""Variable associated with the target side of the interface."""
|
|
97
|
+
return self.get_property_state("target_variable")
|
|
98
|
+
|
|
99
|
+
@target_variable.setter
|
|
100
|
+
def target_variable(self, value: str):
|
|
101
|
+
self.set_property_state("target_variable", value)
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
def value(self) -> RealType:
|
|
105
|
+
"""Expression string (or constant real value) defining the data being
|
|
106
|
+
transferred from the source.
|
|
107
|
+
|
|
108
|
+
Specified only for expression-based transfers.
|
|
109
|
+
|
|
110
|
+
Any variable referenced must be a source side variable."""
|
|
111
|
+
return self.get_property_state("value")
|
|
112
|
+
|
|
113
|
+
@value.setter
|
|
114
|
+
def value(self, value: RealType):
|
|
115
|
+
self.set_property_state("value", value)
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
def ramping_option(self) -> str:
|
|
119
|
+
"""Specify whether to apply ramping to the data transfer.
|
|
120
|
+
|
|
121
|
+
Ramping is used to slow the application of the source-side value on the
|
|
122
|
+
target side of the interface.
|
|
123
|
+
|
|
124
|
+
Allowed values:
|
|
125
|
+
|
|
126
|
+
- \"None\" - No ramping to be applied.
|
|
127
|
+
|
|
128
|
+
- \"Linear\" - Apply linear ramping."""
|
|
129
|
+
return self.get_property_state("ramping_option")
|
|
130
|
+
|
|
131
|
+
@ramping_option.setter
|
|
132
|
+
def ramping_option(self, value: str):
|
|
133
|
+
self.set_property_state("ramping_option", value)
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def relaxation_factor(self) -> RealType:
|
|
137
|
+
"""Factor multiplying the current data transfer values for specified quantity when
|
|
138
|
+
under-relaxing them against the previous values."""
|
|
139
|
+
return self.get_property_state("relaxation_factor")
|
|
140
|
+
|
|
141
|
+
@relaxation_factor.setter
|
|
142
|
+
def relaxation_factor(self, value: RealType):
|
|
143
|
+
self.set_property_state("relaxation_factor", value)
|
|
144
|
+
|
|
145
|
+
@property
|
|
146
|
+
def convergence_target(self) -> RealType:
|
|
147
|
+
"""RMS-based target value used when evaluating convergence of the specified
|
|
148
|
+
quantity within a coupling iteration."""
|
|
149
|
+
return self.get_property_state("convergence_target")
|
|
150
|
+
|
|
151
|
+
@convergence_target.setter
|
|
152
|
+
def convergence_target(self, value: RealType):
|
|
153
|
+
self.set_property_state("convergence_target", value)
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
def mapping_type(self) -> str:
|
|
157
|
+
"""Type of mapping used for the data transfer. (**Read only**.)
|
|
158
|
+
|
|
159
|
+
Possible values:
|
|
160
|
+
|
|
161
|
+
- \"Conservative\" - A conservative mapping algorithm is used
|
|
162
|
+
for transfers of `extensive` quantities.
|
|
163
|
+
- \"ProfilePreserving\" - A profile-preserving mapping algorithm
|
|
164
|
+
is used for transfers of `intensive` quantities."""
|
|
165
|
+
return self.get_property_state("mapping_type")
|
|
166
|
+
|
|
167
|
+
@mapping_type.setter
|
|
168
|
+
def mapping_type(self, value: str):
|
|
169
|
+
self.set_property_state("mapping_type", value)
|
|
170
|
+
|
|
171
|
+
@property
|
|
172
|
+
def unmapped_value_option(self) -> str:
|
|
173
|
+
"""Option to fill target values not mapped by the regular mapping algorithm"""
|
|
174
|
+
return self.get_property_state("unmapped_value_option")
|
|
175
|
+
|
|
176
|
+
@unmapped_value_option.setter
|
|
177
|
+
def unmapped_value_option(self, value: str):
|
|
178
|
+
self.set_property_state("unmapped_value_option", value)
|
|
179
|
+
|
|
180
|
+
@property
|
|
181
|
+
def time_step_initialization_option(self) -> str:
|
|
182
|
+
"""Method to initialize first transfer in new coupling step."""
|
|
183
|
+
return self.get_property_state("time_step_initialization_option")
|
|
184
|
+
|
|
185
|
+
@time_step_initialization_option.setter
|
|
186
|
+
def time_step_initialization_option(self, value: str):
|
|
187
|
+
self.set_property_state("time_step_initialization_option", value)
|
|
@@ -0,0 +1,28 @@
|
|
|
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 delete_snapshot(Command):
|
|
9
|
+
"""
|
|
10
|
+
Deletes a snapshot if it exists.
|
|
11
|
+
|
|
12
|
+
Parameters
|
|
13
|
+
----------
|
|
14
|
+
snapshot_name : str
|
|
15
|
+
Name of the snapshot to be deleted.
|
|
16
|
+
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
syc_name = "DeleteSnapshot"
|
|
20
|
+
|
|
21
|
+
argument_names = ["snapshot_name"]
|
|
22
|
+
|
|
23
|
+
class snapshot_name(String):
|
|
24
|
+
"""
|
|
25
|
+
Name of the snapshot to be deleted.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
syc_name = "SnapshotName"
|
|
@@ -0,0 +1,42 @@
|
|
|
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 delete_transformation(Command):
|
|
9
|
+
"""
|
|
10
|
+
Delete a transformation from a reference frame
|
|
11
|
+
|
|
12
|
+
In addition to deleting the transformation object, it will also remove the
|
|
13
|
+
transformation from ``transformation_order`` (if it exists in that list).
|
|
14
|
+
|
|
15
|
+
Parameters
|
|
16
|
+
----------
|
|
17
|
+
reference_frame : str
|
|
18
|
+
Name of the reference frame from which the transformation will be
|
|
19
|
+
deleted.
|
|
20
|
+
transformation_name : str
|
|
21
|
+
Name of the transformation which will be deleted.
|
|
22
|
+
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
syc_name = "DeleteTransformation"
|
|
26
|
+
|
|
27
|
+
argument_names = ["reference_frame", "transformation_name"]
|
|
28
|
+
|
|
29
|
+
class reference_frame(String):
|
|
30
|
+
"""
|
|
31
|
+
Name of the reference frame from which the transformation will be
|
|
32
|
+
deleted.
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
syc_name = "ReferenceFrame"
|
|
36
|
+
|
|
37
|
+
class transformation_name(String):
|
|
38
|
+
"""
|
|
39
|
+
Name of the transformation which will be deleted.
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
syc_name = "TransformationName"
|
|
@@ -0,0 +1,96 @@
|
|
|
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 dimensionality(Container):
|
|
9
|
+
"""
|
|
10
|
+
Configure attribute dimensionality.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "Dimensionality"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("length", "Length", "RealType"),
|
|
17
|
+
("time", "Time", "RealType"),
|
|
18
|
+
("mass", "Mass", "RealType"),
|
|
19
|
+
("temperature", "Temperature", "RealType"),
|
|
20
|
+
("amount_of_substance", "AmountOfSubstance", "RealType"),
|
|
21
|
+
("current", "Current", "RealType"),
|
|
22
|
+
("luminous_intensity", "LuminousIntensity", "RealType"),
|
|
23
|
+
("angle", "Angle", "RealType"),
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@property
|
|
27
|
+
def length(self) -> RealType:
|
|
28
|
+
"""Exponent of length dimension."""
|
|
29
|
+
return self.get_property_state("length")
|
|
30
|
+
|
|
31
|
+
@length.setter
|
|
32
|
+
def length(self, value: RealType):
|
|
33
|
+
self.set_property_state("length", value)
|
|
34
|
+
|
|
35
|
+
@property
|
|
36
|
+
def time(self) -> RealType:
|
|
37
|
+
"""Exponent of time dimension."""
|
|
38
|
+
return self.get_property_state("time")
|
|
39
|
+
|
|
40
|
+
@time.setter
|
|
41
|
+
def time(self, value: RealType):
|
|
42
|
+
self.set_property_state("time", value)
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def mass(self) -> RealType:
|
|
46
|
+
"""Exponent of mass dimension."""
|
|
47
|
+
return self.get_property_state("mass")
|
|
48
|
+
|
|
49
|
+
@mass.setter
|
|
50
|
+
def mass(self, value: RealType):
|
|
51
|
+
self.set_property_state("mass", value)
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
def temperature(self) -> RealType:
|
|
55
|
+
"""Exponent of temperature dimension."""
|
|
56
|
+
return self.get_property_state("temperature")
|
|
57
|
+
|
|
58
|
+
@temperature.setter
|
|
59
|
+
def temperature(self, value: RealType):
|
|
60
|
+
self.set_property_state("temperature", value)
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
def amount_of_substance(self) -> RealType:
|
|
64
|
+
"""Exponent of amount of substance dimension."""
|
|
65
|
+
return self.get_property_state("amount_of_substance")
|
|
66
|
+
|
|
67
|
+
@amount_of_substance.setter
|
|
68
|
+
def amount_of_substance(self, value: RealType):
|
|
69
|
+
self.set_property_state("amount_of_substance", value)
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
def current(self) -> RealType:
|
|
73
|
+
"""Exponent of electric current dimension."""
|
|
74
|
+
return self.get_property_state("current")
|
|
75
|
+
|
|
76
|
+
@current.setter
|
|
77
|
+
def current(self, value: RealType):
|
|
78
|
+
self.set_property_state("current", value)
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def luminous_intensity(self) -> RealType:
|
|
82
|
+
"""Exponent of luminous intensity dimension."""
|
|
83
|
+
return self.get_property_state("luminous_intensity")
|
|
84
|
+
|
|
85
|
+
@luminous_intensity.setter
|
|
86
|
+
def luminous_intensity(self, value: RealType):
|
|
87
|
+
self.set_property_state("luminous_intensity", value)
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def angle(self) -> RealType:
|
|
91
|
+
"""Exponent of angle dimension."""
|
|
92
|
+
return self.get_property_state("angle")
|
|
93
|
+
|
|
94
|
+
@angle.setter
|
|
95
|
+
def angle(self, value: RealType):
|
|
96
|
+
self.set_property_state("angle", value)
|
|
@@ -0,0 +1,186 @@
|
|
|
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 .fluent_input import fluent_input
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class execution_control(Container):
|
|
11
|
+
"""
|
|
12
|
+
Configure execution control for a coupling participant.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
syc_name = "ExecutionControl"
|
|
16
|
+
|
|
17
|
+
child_names = ["fluent_input"]
|
|
18
|
+
|
|
19
|
+
fluent_input: fluent_input = fluent_input
|
|
20
|
+
"""
|
|
21
|
+
fluent_input child of execution_control.
|
|
22
|
+
"""
|
|
23
|
+
property_names_types = [
|
|
24
|
+
("option", "Option", "str"),
|
|
25
|
+
("working_directory", "WorkingDirectory", "str"),
|
|
26
|
+
("executable", "Executable", "str"),
|
|
27
|
+
("auto_distribution_settings", "AutoDistributionSettings", "bool"),
|
|
28
|
+
(
|
|
29
|
+
"include_hpc_distribution_types",
|
|
30
|
+
"IncludeHPCDistributionTypes",
|
|
31
|
+
"StringListType",
|
|
32
|
+
),
|
|
33
|
+
("number_of_cores_per_task", "NumberOfCoresPerTask", "int"),
|
|
34
|
+
("batch_options", "BatchOptions", "str"),
|
|
35
|
+
("additional_arguments", "AdditionalArguments", "str"),
|
|
36
|
+
("parallel_fraction", "ParallelFraction", "RealType"),
|
|
37
|
+
("initial_input", "InitialInput", "str"),
|
|
38
|
+
("additional_restart_input_file", "AdditionalRestartInputFile", "str"),
|
|
39
|
+
("gui_mode", "GuiMode", "bool"),
|
|
40
|
+
("base_output_file_name", "BaseOutputFileName", "str"),
|
|
41
|
+
("overwrite_existing_files", "OverwriteExistingFiles", "bool"),
|
|
42
|
+
("mass_normalized", "MassNormalized", "bool"),
|
|
43
|
+
]
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
def option(self) -> str:
|
|
47
|
+
"""Method used to find the solver executable file to be used to start
|
|
48
|
+
the participant.
|
|
49
|
+
|
|
50
|
+
- \"ProgramControlled\" - (Default) Find the executable based on the
|
|
51
|
+
participant type. Available whenever the participant type is not
|
|
52
|
+
set to \"DEFAULT\" or \"EXTERNALDATA\".
|
|
53
|
+
- \"UserDefined\" - User supplied settings are used to find the executable.
|
|
54
|
+
- \"ExternallyManaged\" - Typically used for workflows managed by
|
|
55
|
+
`WorkBench`."""
|
|
56
|
+
return self.get_property_state("option")
|
|
57
|
+
|
|
58
|
+
@option.setter
|
|
59
|
+
def option(self, value: str):
|
|
60
|
+
self.set_property_state("option", value)
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
def working_directory(self) -> str:
|
|
64
|
+
"""Participant working directory."""
|
|
65
|
+
return self.get_property_state("working_directory")
|
|
66
|
+
|
|
67
|
+
@working_directory.setter
|
|
68
|
+
def working_directory(self, value: str):
|
|
69
|
+
self.set_property_state("working_directory", value)
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
def executable(self) -> str:
|
|
73
|
+
"""Path to participant executable."""
|
|
74
|
+
return self.get_property_state("executable")
|
|
75
|
+
|
|
76
|
+
@executable.setter
|
|
77
|
+
def executable(self, value: str):
|
|
78
|
+
self.set_property_state("executable", value)
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def auto_distribution_settings(self) -> bool:
|
|
82
|
+
"""Specify whether to use automatic distribution settings."""
|
|
83
|
+
return self.get_property_state("auto_distribution_settings")
|
|
84
|
+
|
|
85
|
+
@auto_distribution_settings.setter
|
|
86
|
+
def auto_distribution_settings(self, value: bool):
|
|
87
|
+
self.set_property_state("auto_distribution_settings", value)
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def include_hpc_distribution_types(self) -> StringListType:
|
|
91
|
+
"""Include HPC distribution types for the distributed AEDT runs."""
|
|
92
|
+
return self.get_property_state("include_hpc_distribution_types")
|
|
93
|
+
|
|
94
|
+
@include_hpc_distribution_types.setter
|
|
95
|
+
def include_hpc_distribution_types(self, value: StringListType):
|
|
96
|
+
self.set_property_state("include_hpc_distribution_types", value)
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def number_of_cores_per_task(self) -> int:
|
|
100
|
+
"""Specify number of parallel cores per task for parallel AEDT analysis."""
|
|
101
|
+
return self.get_property_state("number_of_cores_per_task")
|
|
102
|
+
|
|
103
|
+
@number_of_cores_per_task.setter
|
|
104
|
+
def number_of_cores_per_task(self, value: int):
|
|
105
|
+
self.set_property_state("number_of_cores_per_task", value)
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def batch_options(self) -> str:
|
|
109
|
+
"""Specify batch options for AEDT participant."""
|
|
110
|
+
return self.get_property_state("batch_options")
|
|
111
|
+
|
|
112
|
+
@batch_options.setter
|
|
113
|
+
def batch_options(self, value: str):
|
|
114
|
+
self.set_property_state("batch_options", value)
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
def additional_arguments(self) -> str:
|
|
118
|
+
"""Additional command line arguments."""
|
|
119
|
+
return self.get_property_state("additional_arguments")
|
|
120
|
+
|
|
121
|
+
@additional_arguments.setter
|
|
122
|
+
def additional_arguments(self, value: str):
|
|
123
|
+
self.set_property_state("additional_arguments", value)
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
def parallel_fraction(self) -> RealType:
|
|
127
|
+
"""Fraction of available cores to use for this participant"""
|
|
128
|
+
return self.get_property_state("parallel_fraction")
|
|
129
|
+
|
|
130
|
+
@parallel_fraction.setter
|
|
131
|
+
def parallel_fraction(self, value: RealType):
|
|
132
|
+
self.set_property_state("parallel_fraction", value)
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
def initial_input(self) -> str:
|
|
136
|
+
"""Initial input."""
|
|
137
|
+
return self.get_property_state("initial_input")
|
|
138
|
+
|
|
139
|
+
@initial_input.setter
|
|
140
|
+
def initial_input(self, value: str):
|
|
141
|
+
self.set_property_state("initial_input", value)
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def additional_restart_input_file(self) -> str:
|
|
145
|
+
"""File containing MAPDL command snippets to modify the restarted run."""
|
|
146
|
+
return self.get_property_state("additional_restart_input_file")
|
|
147
|
+
|
|
148
|
+
@additional_restart_input_file.setter
|
|
149
|
+
def additional_restart_input_file(self, value: str):
|
|
150
|
+
self.set_property_state("additional_restart_input_file", value)
|
|
151
|
+
|
|
152
|
+
@property
|
|
153
|
+
def gui_mode(self) -> bool:
|
|
154
|
+
"""Run participant in graphical mode."""
|
|
155
|
+
return self.get_property_state("gui_mode")
|
|
156
|
+
|
|
157
|
+
@gui_mode.setter
|
|
158
|
+
def gui_mode(self, value: bool):
|
|
159
|
+
self.set_property_state("gui_mode", value)
|
|
160
|
+
|
|
161
|
+
@property
|
|
162
|
+
def base_output_file_name(self) -> str:
|
|
163
|
+
"""Base output file name for the CFD Server."""
|
|
164
|
+
return self.get_property_state("base_output_file_name")
|
|
165
|
+
|
|
166
|
+
@base_output_file_name.setter
|
|
167
|
+
def base_output_file_name(self, value: str):
|
|
168
|
+
self.set_property_state("base_output_file_name", value)
|
|
169
|
+
|
|
170
|
+
@property
|
|
171
|
+
def overwrite_existing_files(self) -> bool:
|
|
172
|
+
"""Flag indicating whether CFD Server should overwrite existing files."""
|
|
173
|
+
return self.get_property_state("overwrite_existing_files")
|
|
174
|
+
|
|
175
|
+
@overwrite_existing_files.setter
|
|
176
|
+
def overwrite_existing_files(self, value: bool):
|
|
177
|
+
self.set_property_state("overwrite_existing_files", value)
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
def mass_normalized(self) -> bool:
|
|
181
|
+
"""Controls whether mode shapes are mass normalized"""
|
|
182
|
+
return self.get_property_state("mass_normalized")
|
|
183
|
+
|
|
184
|
+
@mass_normalized.setter
|
|
185
|
+
def mass_normalized(self, value: bool):
|
|
186
|
+
self.set_property_state("mass_normalized", value)
|
|
@@ -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 .expression_child import expression_child
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class expression(NamedContainer[expression_child]):
|
|
11
|
+
"""
|
|
12
|
+
Define a named expression that can be referenced in other expressions.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
syc_name = "Expression"
|
|
16
|
+
|
|
17
|
+
child_object_type: expression_child = expression_child
|
|
18
|
+
"""
|
|
19
|
+
child_object_type of expression.
|
|
20
|
+
"""
|
|
@@ -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 expression_child(Container):
|
|
9
|
+
"""
|
|
10
|
+
Define a named expression that can be referenced in other expressions.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "child_object_type"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("expression_name", "ExpressionName", "str"),
|
|
17
|
+
("expression_string", "ExpressionString", "str"),
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@property
|
|
21
|
+
def expression_name(self) -> str:
|
|
22
|
+
"""Name used to reference this expression from another expression"""
|
|
23
|
+
return self.get_property_state("expression_name")
|
|
24
|
+
|
|
25
|
+
@expression_name.setter
|
|
26
|
+
def expression_name(self, value: str):
|
|
27
|
+
self.set_property_state("expression_name", value)
|
|
28
|
+
|
|
29
|
+
@property
|
|
30
|
+
def expression_string(self) -> str:
|
|
31
|
+
"""String defining the expression."""
|
|
32
|
+
return self.get_property_state("expression_string")
|
|
33
|
+
|
|
34
|
+
@expression_string.setter
|
|
35
|
+
def expression_string(self, value: str):
|
|
36
|
+
self.set_property_state("expression_string", value)
|
|
@@ -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 .expression_function_child import expression_function_child
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class expression_function(NamedContainer[expression_function_child]):
|
|
11
|
+
"""
|
|
12
|
+
Makes an external Python function accessible from expressions.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
syc_name = "ExpressionFunction"
|
|
16
|
+
|
|
17
|
+
child_object_type: expression_function_child = expression_function_child
|
|
18
|
+
"""
|
|
19
|
+
child_object_type of expression_function.
|
|
20
|
+
"""
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
from ansys.systemcoupling.core.adaptor.impl.types import *
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class expression_function_child(Container):
|
|
9
|
+
"""
|
|
10
|
+
Makes an external Python function accessible from expressions.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "child_object_type"
|
|
14
|
+
|
|
15
|
+
property_names_types = [
|
|
16
|
+
("module", "Module", "str"),
|
|
17
|
+
("function", "Function", "str"),
|
|
18
|
+
("function_name", "FunctionName", "str"),
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
@property
|
|
22
|
+
def module(self) -> str:
|
|
23
|
+
"""Name of the Python module that exports the function."""
|
|
24
|
+
return self.get_property_state("module")
|
|
25
|
+
|
|
26
|
+
@module.setter
|
|
27
|
+
def module(self, value: str):
|
|
28
|
+
self.set_property_state("module", value)
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def function(self) -> str:
|
|
32
|
+
"""Name of the function in the module."""
|
|
33
|
+
return self.get_property_state("function")
|
|
34
|
+
|
|
35
|
+
@function.setter
|
|
36
|
+
def function(self, value: str):
|
|
37
|
+
self.set_property_state("function", value)
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
def function_name(self) -> str:
|
|
41
|
+
"""Name to use when referencing the function in an expression."""
|
|
42
|
+
return self.get_property_state("function_name")
|
|
43
|
+
|
|
44
|
+
@function_name.setter
|
|
45
|
+
def function_name(self, value: str):
|
|
46
|
+
self.set_property_state("function_name", value)
|
|
@@ -0,0 +1,24 @@
|
|
|
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 external_data_file(Container):
|
|
9
|
+
"""
|
|
10
|
+
Participant external data file settings.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
syc_name = "ExternalDataFile"
|
|
14
|
+
|
|
15
|
+
property_names_types = [("file_path", "FilePath", "str")]
|
|
16
|
+
|
|
17
|
+
@property
|
|
18
|
+
def file_path(self) -> str:
|
|
19
|
+
"""Path to file for communication with a coupling participant."""
|
|
20
|
+
return self.get_property_state("file_path")
|
|
21
|
+
|
|
22
|
+
@file_path.setter
|
|
23
|
+
def file_path(self, value: str):
|
|
24
|
+
self.set_property_state("file_path", value)
|