ansys-systemcoupling-core 0.3.0__py3-none-any.whl → 0.4.dev0__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.

Files changed (149) hide show
  1. ansys/systemcoupling/core/__init__.py +23 -1
  2. ansys/systemcoupling/core/_version.py +22 -0
  3. ansys/systemcoupling/core/adaptor/api_23_1/_add_participant.py +70 -0
  4. ansys/systemcoupling/core/adaptor/api_23_1/_solve.py +13 -0
  5. ansys/systemcoupling/core/adaptor/api_23_1/abort.py +39 -0
  6. ansys/systemcoupling/core/adaptor/api_23_1/activate_hidden.py +46 -0
  7. ansys/systemcoupling/core/adaptor/api_23_1/add_data_transfer.py +190 -0
  8. ansys/systemcoupling/core/adaptor/api_23_1/add_data_transfer_by_display_names.py +188 -0
  9. ansys/systemcoupling/core/adaptor/api_23_1/add_expression_function.py +61 -0
  10. ansys/systemcoupling/core/adaptor/api_23_1/add_interface.py +75 -0
  11. ansys/systemcoupling/core/adaptor/api_23_1/add_interface_by_display_names.py +75 -0
  12. ansys/systemcoupling/core/adaptor/api_23_1/add_named_expression.py +42 -0
  13. ansys/systemcoupling/core/adaptor/api_23_1/add_participant.py +160 -0
  14. ansys/systemcoupling/core/adaptor/api_23_1/add_reference_frame.py +40 -0
  15. ansys/systemcoupling/core/adaptor/api_23_1/add_transformation.py +102 -0
  16. ansys/systemcoupling/core/adaptor/api_23_1/analysis_control.py +241 -0
  17. ansys/systemcoupling/core/adaptor/api_23_1/apip.py +33 -0
  18. ansys/systemcoupling/core/adaptor/api_23_1/ascii_output.py +44 -0
  19. ansys/systemcoupling/core/adaptor/api_23_1/attribute.py +20 -0
  20. ansys/systemcoupling/core/adaptor/api_23_1/attribute_child.py +54 -0
  21. ansys/systemcoupling/core/adaptor/api_23_1/available_ports.py +40 -0
  22. ansys/systemcoupling/core/adaptor/api_23_1/avoid_data_reconstruction.py +36 -0
  23. ansys/systemcoupling/core/adaptor/api_23_1/case_root.py +62 -0
  24. ansys/systemcoupling/core/adaptor/api_23_1/clear_state.py +16 -0
  25. ansys/systemcoupling/core/adaptor/api_23_1/coupling_interface.py +20 -0
  26. ansys/systemcoupling/core/adaptor/api_23_1/coupling_interface_child.py +42 -0
  27. ansys/systemcoupling/core/adaptor/api_23_1/coupling_participant.py +23 -0
  28. ansys/systemcoupling/core/adaptor/api_23_1/coupling_participant_child.py +173 -0
  29. ansys/systemcoupling/core/adaptor/api_23_1/create_restart_point.py +29 -0
  30. ansys/systemcoupling/core/adaptor/api_23_1/data_transfer.py +20 -0
  31. ansys/systemcoupling/core/adaptor/api_23_1/data_transfer_child.py +187 -0
  32. ansys/systemcoupling/core/adaptor/api_23_1/delete_snapshot.py +28 -0
  33. ansys/systemcoupling/core/adaptor/api_23_1/delete_transformation.py +42 -0
  34. ansys/systemcoupling/core/adaptor/api_23_1/dimensionality.py +96 -0
  35. ansys/systemcoupling/core/adaptor/api_23_1/execution_control.py +186 -0
  36. ansys/systemcoupling/core/adaptor/api_23_1/expression.py +20 -0
  37. ansys/systemcoupling/core/adaptor/api_23_1/expression_child.py +36 -0
  38. ansys/systemcoupling/core/adaptor/api_23_1/expression_function.py +20 -0
  39. ansys/systemcoupling/core/adaptor/api_23_1/expression_function_child.py +46 -0
  40. ansys/systemcoupling/core/adaptor/api_23_1/external_data_file.py +24 -0
  41. ansys/systemcoupling/core/adaptor/api_23_1/fluent_input.py +67 -0
  42. ansys/systemcoupling/core/adaptor/api_23_1/fmu_parameter.py +20 -0
  43. ansys/systemcoupling/core/adaptor/api_23_1/fmu_parameter_child.py +126 -0
  44. ansys/systemcoupling/core/adaptor/api_23_1/generate_input_file.py +41 -0
  45. ansys/systemcoupling/core/adaptor/api_23_1/get_execution_command.py +30 -0
  46. ansys/systemcoupling/core/adaptor/api_23_1/get_machines.py +13 -0
  47. ansys/systemcoupling/core/adaptor/api_23_1/get_region_names_for_participant.py +31 -0
  48. ansys/systemcoupling/core/adaptor/api_23_1/get_setup_summary.py +25 -0
  49. ansys/systemcoupling/core/adaptor/api_23_1/get_status_messages.py +52 -0
  50. ansys/systemcoupling/core/adaptor/api_23_1/global_stabilization.py +143 -0
  51. ansys/systemcoupling/core/adaptor/api_23_1/has_input_file_changed.py +36 -0
  52. ansys/systemcoupling/core/adaptor/api_23_1/import_system_coupling_input_file.py +36 -0
  53. ansys/systemcoupling/core/adaptor/api_23_1/initialize.py +27 -0
  54. ansys/systemcoupling/core/adaptor/api_23_1/instancing.py +23 -0
  55. ansys/systemcoupling/core/adaptor/api_23_1/instancing_child.py +62 -0
  56. ansys/systemcoupling/core/adaptor/api_23_1/interrupt.py +39 -0
  57. ansys/systemcoupling/core/adaptor/api_23_1/library.py +37 -0
  58. ansys/systemcoupling/core/adaptor/api_23_1/mapping_control.py +229 -0
  59. ansys/systemcoupling/core/adaptor/api_23_1/open.py +102 -0
  60. ansys/systemcoupling/core/adaptor/{api_24_1/open_results_in_en_sight.py → api_23_1/open_results_in_ensight.py} +1 -29
  61. ansys/systemcoupling/core/adaptor/api_23_1/open_snapshot.py +37 -0
  62. ansys/systemcoupling/core/adaptor/api_23_1/output_control.py +129 -0
  63. ansys/systemcoupling/core/adaptor/api_23_1/partition_participants.py +138 -0
  64. ansys/systemcoupling/core/adaptor/api_23_1/reference_frame.py +20 -0
  65. ansys/systemcoupling/core/adaptor/api_23_1/reference_frame_child.py +71 -0
  66. ansys/systemcoupling/core/adaptor/api_23_1/region.py +20 -0
  67. ansys/systemcoupling/core/adaptor/api_23_1/region_child.py +72 -0
  68. ansys/systemcoupling/core/adaptor/api_23_1/reload_expression_function_modules.py +14 -0
  69. ansys/systemcoupling/core/adaptor/api_23_1/results.py +89 -0
  70. ansys/systemcoupling/core/adaptor/api_23_1/save.py +51 -0
  71. ansys/systemcoupling/core/adaptor/api_23_1/save_snapshot.py +54 -0
  72. ansys/systemcoupling/core/adaptor/api_23_1/setup_root.py +195 -0
  73. ansys/systemcoupling/core/adaptor/api_23_1/shutdown.py +25 -0
  74. ansys/systemcoupling/core/adaptor/api_23_1/side.py +20 -0
  75. ansys/systemcoupling/core/adaptor/api_23_1/side_child.py +56 -0
  76. ansys/systemcoupling/core/adaptor/api_23_1/solution_control.py +91 -0
  77. ansys/systemcoupling/core/adaptor/api_23_1/solution_root.py +104 -0
  78. ansys/systemcoupling/core/adaptor/api_23_1/solve.py +30 -0
  79. ansys/systemcoupling/core/adaptor/api_23_1/stabilization.py +157 -0
  80. ansys/systemcoupling/core/adaptor/api_23_1/start_participants.py +47 -0
  81. ansys/systemcoupling/core/adaptor/api_23_1/step.py +57 -0
  82. ansys/systemcoupling/core/adaptor/api_23_1/transformation.py +21 -0
  83. ansys/systemcoupling/core/adaptor/api_23_1/transformation_child.py +62 -0
  84. ansys/systemcoupling/core/adaptor/api_23_1/type.py +38 -0
  85. ansys/systemcoupling/core/adaptor/api_23_1/unmapped_value_options.py +158 -0
  86. ansys/systemcoupling/core/adaptor/api_23_1/update_control.py +44 -0
  87. ansys/systemcoupling/core/adaptor/api_23_1/update_participant.py +61 -0
  88. ansys/systemcoupling/core/adaptor/api_23_1/variable.py +20 -0
  89. ansys/systemcoupling/core/adaptor/api_23_1/variable_child.py +201 -0
  90. ansys/systemcoupling/core/adaptor/api_23_1/write_csv_chart_files.py +21 -0
  91. ansys/systemcoupling/core/adaptor/api_23_1/write_ensight.py +46 -0
  92. ansys/systemcoupling/core/adaptor/api_24_1/add_aerodamping_data_transfers.py +43 -0
  93. ansys/systemcoupling/core/adaptor/api_24_1/add_fsi_data_transfers.py +32 -0
  94. ansys/systemcoupling/core/adaptor/api_24_1/add_ordered_data_transfers.py +32 -0
  95. ansys/systemcoupling/core/adaptor/api_24_1/add_thermal_data_transfers.py +43 -0
  96. ansys/systemcoupling/core/adaptor/api_24_1/analysis_control.py +34 -0
  97. ansys/systemcoupling/core/adaptor/api_24_1/case_root.py +1 -7
  98. ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant_child.py +26 -0
  99. ansys/systemcoupling/core/adaptor/api_24_1/execution_control.py +11 -1
  100. ansys/systemcoupling/core/adaptor/api_24_1/get_add_data_transfer_group_commands.py +29 -0
  101. ansys/systemcoupling/core/adaptor/api_24_1/get_mode_shape_variables.py +29 -0
  102. ansys/systemcoupling/core/adaptor/api_24_1/get_thermal_data_transfer_options.py +32 -0
  103. ansys/systemcoupling/core/adaptor/api_24_1/mapping_control.py +10 -0
  104. ansys/systemcoupling/core/adaptor/api_24_1/open_results_in_ensight.py +28 -0
  105. ansys/systemcoupling/core/adaptor/api_24_1/parameter_child.py +0 -8
  106. ansys/systemcoupling/core/adaptor/api_24_1/record_interactions.py +36 -0
  107. ansys/systemcoupling/core/adaptor/api_24_1/setup_root.py +49 -1
  108. ansys/systemcoupling/core/adaptor/api_24_1/solution_control.py +12 -0
  109. ansys/systemcoupling/core/adaptor/api_24_1/solution_root.py +5 -5
  110. ansys/systemcoupling/core/adaptor/api_24_1/variable_child.py +1 -2
  111. ansys/systemcoupling/core/adaptor/impl/get_status_messages.py +22 -0
  112. ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +26 -2
  113. ansys/systemcoupling/core/adaptor/impl/injected_commands.py +29 -0
  114. ansys/systemcoupling/core/adaptor/impl/root_source.py +22 -1
  115. ansys/systemcoupling/core/adaptor/impl/static_info.py +22 -0
  116. ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +22 -0
  117. ansys/systemcoupling/core/adaptor/impl/syc_proxy_interface.py +22 -0
  118. ansys/systemcoupling/core/adaptor/impl/types.py +23 -0
  119. ansys/systemcoupling/core/client/grpc_client.py +22 -0
  120. ansys/systemcoupling/core/client/services/command_query.py +22 -0
  121. ansys/systemcoupling/core/client/services/output_stream.py +22 -0
  122. ansys/systemcoupling/core/client/services/process.py +22 -0
  123. ansys/systemcoupling/core/client/services/solution.py +22 -0
  124. ansys/systemcoupling/core/client/syc_container.py +22 -0
  125. ansys/systemcoupling/core/client/syc_process.py +22 -0
  126. ansys/systemcoupling/core/client/variant.py +22 -0
  127. ansys/systemcoupling/core/examples/__init__.py +22 -0
  128. ansys/systemcoupling/core/examples/downloads.py +23 -0
  129. ansys/systemcoupling/core/native_api/__init__.py +22 -0
  130. ansys/systemcoupling/core/native_api/command_metadata.py +23 -0
  131. ansys/systemcoupling/core/native_api/datamodel_metadata.py +22 -0
  132. ansys/systemcoupling/core/native_api/meta_wrapper.py +23 -0
  133. ansys/systemcoupling/core/native_api/native_api.py +22 -0
  134. ansys/systemcoupling/core/native_api/object_path.py +22 -0
  135. ansys/systemcoupling/core/participant/manager.py +22 -0
  136. ansys/systemcoupling/core/participant/mapdl.py +298 -0
  137. ansys/systemcoupling/core/participant/protocol.py +22 -0
  138. ansys/systemcoupling/core/session.py +22 -0
  139. ansys/systemcoupling/core/syc_version.py +22 -0
  140. ansys/systemcoupling/core/util/logging.py +22 -0
  141. ansys/systemcoupling/core/util/name_util.py +22 -0
  142. ansys/systemcoupling/core/util/pathstr.py +23 -1
  143. ansys/systemcoupling/core/util/state_keys.py +22 -0
  144. ansys/systemcoupling/core/util/yaml_helper.py +22 -0
  145. {ansys_systemcoupling_core-0.3.0.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/METADATA +19 -18
  146. {ansys_systemcoupling_core-0.3.0.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/RECORD +149 -52
  147. /ansys/systemcoupling/core/adaptor/{api_24_1 → api_23_1}/get_snapshots.py +0 -0
  148. {ansys_systemcoupling_core-0.3.0.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/LICENSE +0 -0
  149. {ansys_systemcoupling_core-0.3.0.dist-info → ansys_systemcoupling_core-0.4.dev0.dist-info}/WHEEL +0 -0
@@ -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)
@@ -0,0 +1,44 @@
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 update_control(Container):
9
+ """
10
+ Configure update controls.
11
+ """
12
+
13
+ syc_name = "UpdateControl"
14
+
15
+ property_names_types = [
16
+ ("option", "Option", "str"),
17
+ ("update_frequency", "UpdateFrequency", "int"),
18
+ ]
19
+
20
+ @property
21
+ def option(self) -> str:
22
+ """Specifies how often the participant will perform updates.
23
+
24
+ Possible values:
25
+
26
+ - \"ProgramControlled\"
27
+ - \"EveryIteration\"
28
+ - \"StepInterval\"
29
+ - \"Suspended\"
30
+ - \"FirstCouplingIteration\" """
31
+ return self.get_property_state("option")
32
+
33
+ @option.setter
34
+ def option(self, value: str):
35
+ self.set_property_state("option", value)
36
+
37
+ @property
38
+ def update_frequency(self) -> int:
39
+ """Specify update frequency."""
40
+ return self.get_property_state("update_frequency")
41
+
42
+ @update_frequency.setter
43
+ def update_frequency(self, value: int):
44
+ self.set_property_state("update_frequency", value)
@@ -0,0 +1,61 @@
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 update_participant(Command):
9
+ """
10
+ Given the name of a server participant, updates the state of the participant.
11
+
12
+ Available for server participants. Currently, only ``DEFAULT-SRV``,
13
+ ``CFD-SRV``, and ``MECH-SRV`` participants may be updated.
14
+
15
+ As part of the update, System Coupling updates all regions and
16
+ variables defined in the participant, including all variable
17
+ attributes. Variables and regions may be added to the participant but
18
+ may not be removed.
19
+
20
+ You may specify an input file using an optional argument. If an input
21
+ file is not provided, then the original input file will be reimported.
22
+
23
+ If the update process fails, System Coupling displays an error. In this
24
+ case, you can either update the setup in the participant application to
25
+ remove any issues with the update process or delete the participant
26
+ from the analysis and then re-add it using the updated input file.
27
+
28
+ Parameters
29
+ ----------
30
+ participant_name : str
31
+ Participant name. Must be the name of an existing participant.
32
+ Participant type can be either DEFAULT-SRV, MECH-SRV, or CFD-SRV.
33
+ input_file : str, optional
34
+ Name of the input file for the participant to be added.
35
+ Currently supported formats are SCP files, Forte input (FTSIM)
36
+ files, mechanical server (*.rst) files, cfd server (*.csv) files,
37
+ and FMU (.fmu) files (Beta).
38
+
39
+ """
40
+
41
+ syc_name = "UpdateParticipant"
42
+
43
+ argument_names = ["participant_name", "input_file"]
44
+
45
+ class participant_name(String):
46
+ """
47
+ Participant name. Must be the name of an existing participant.
48
+ Participant type can be either DEFAULT-SRV, MECH-SRV, or CFD-SRV.
49
+ """
50
+
51
+ syc_name = "ParticipantName"
52
+
53
+ class input_file(String):
54
+ """
55
+ Name of the input file for the participant to be added.
56
+ Currently supported formats are SCP files, Forte input (FTSIM)
57
+ files, mechanical server (*.rst) files, cfd server (*.csv) files,
58
+ and FMU (.fmu) files (Beta).
59
+ """
60
+
61
+ syc_name = "InputFile"
@@ -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 .variable_child import variable_child
8
+
9
+
10
+ class variable(NamedContainer[variable_child]):
11
+ """
12
+ Configure a variable for the coupling participant.
13
+ """
14
+
15
+ syc_name = "Variable"
16
+
17
+ child_object_type: variable_child = variable_child
18
+ """
19
+ child_object_type of variable.
20
+ """
@@ -0,0 +1,201 @@
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 .attribute import attribute
8
+
9
+
10
+ class variable_child(Container):
11
+ """
12
+ Configure a variable for the coupling participant.
13
+ """
14
+
15
+ syc_name = "child_object_type"
16
+
17
+ child_names = ["attribute"]
18
+
19
+ attribute: attribute = attribute
20
+ """
21
+ attribute child of variable_child.
22
+ """
23
+ property_names_types = [
24
+ ("quantity_type", "QuantityType", "str"),
25
+ ("location", "Location", "str"),
26
+ ("participant_display_name", "ParticipantDisplayName", "str"),
27
+ ("display_name", "DisplayName", "str"),
28
+ ("data_type", "DataType", "str"),
29
+ ("real_initial_value", "RealInitialValue", "RealType"),
30
+ ("integer_initial_value", "IntegerInitialValue", "int"),
31
+ ("logical_initial_value", "LogicalInitialValue", "bool"),
32
+ ("string_initial_value", "StringInitialValue", "str"),
33
+ ("real_min", "RealMin", "RealType"),
34
+ ("real_max", "RealMax", "RealType"),
35
+ ("integer_min", "IntegerMin", "int"),
36
+ ("integer_max", "IntegerMax", "int"),
37
+ ("tensor_type", "TensorType", "str"),
38
+ ("is_extensive", "IsExtensive", "bool"),
39
+ ]
40
+
41
+ @property
42
+ def quantity_type(self) -> str:
43
+ """Quantity type of the variable.
44
+
45
+ Allowed values:
46
+
47
+ - \"Unspecified\"
48
+ - \"Force\"
49
+ - \"Incremental Displacement\"
50
+ - \"Temperature\"
51
+ - \"Heat Rate\"
52
+ - \"Heat Transfer Coefficient\"
53
+ - \"Convection Reference Temperature\"
54
+ - \"Mode Shape\"
55
+ - \"Electrical Conductivity\" """
56
+ return self.get_property_state("quantity_type")
57
+
58
+ @quantity_type.setter
59
+ def quantity_type(self, value: str):
60
+ self.set_property_state("quantity_type", value)
61
+
62
+ @property
63
+ def location(self) -> str:
64
+ """Data location of the variable (\"Node\" or \"Element\")."""
65
+ return self.get_property_state("location")
66
+
67
+ @location.setter
68
+ def location(self, value: str):
69
+ self.set_property_state("location", value)
70
+
71
+ @property
72
+ def participant_display_name(self) -> str:
73
+ """Variable's display name as defined by the participant solver."""
74
+ return self.get_property_state("participant_display_name")
75
+
76
+ @participant_display_name.setter
77
+ def participant_display_name(self, value: str):
78
+ self.set_property_state("participant_display_name", value)
79
+
80
+ @property
81
+ def display_name(self) -> str:
82
+ """Variable's display name as defined in System Coupling."""
83
+ return self.get_property_state("display_name")
84
+
85
+ @display_name.setter
86
+ def display_name(self, value: str):
87
+ self.set_property_state("display_name", value)
88
+
89
+ @property
90
+ def data_type(self) -> str:
91
+ """Variable's data type as reported by the participant.
92
+
93
+ Allowed values (non-FMU case):
94
+
95
+ - Real
96
+ - Complex
97
+
98
+ Allowed values (FMU):
99
+
100
+ - Real
101
+ - Integer
102
+ - Logical
103
+ - String
104
+ - None"""
105
+ return self.get_property_state("data_type")
106
+
107
+ @data_type.setter
108
+ def data_type(self, value: str):
109
+ self.set_property_state("data_type", value)
110
+
111
+ @property
112
+ def real_initial_value(self) -> RealType:
113
+ """Real data start value."""
114
+ return self.get_property_state("real_initial_value")
115
+
116
+ @real_initial_value.setter
117
+ def real_initial_value(self, value: RealType):
118
+ self.set_property_state("real_initial_value", value)
119
+
120
+ @property
121
+ def integer_initial_value(self) -> int:
122
+ """Integer data start value."""
123
+ return self.get_property_state("integer_initial_value")
124
+
125
+ @integer_initial_value.setter
126
+ def integer_initial_value(self, value: int):
127
+ self.set_property_state("integer_initial_value", value)
128
+
129
+ @property
130
+ def logical_initial_value(self) -> bool:
131
+ """Logical data start value."""
132
+ return self.get_property_state("logical_initial_value")
133
+
134
+ @logical_initial_value.setter
135
+ def logical_initial_value(self, value: bool):
136
+ self.set_property_state("logical_initial_value", value)
137
+
138
+ @property
139
+ def string_initial_value(self) -> str:
140
+ """String data start value."""
141
+ return self.get_property_state("string_initial_value")
142
+
143
+ @string_initial_value.setter
144
+ def string_initial_value(self, value: str):
145
+ self.set_property_state("string_initial_value", value)
146
+
147
+ @property
148
+ def real_min(self) -> RealType:
149
+ """Real data minimum value."""
150
+ return self.get_property_state("real_min")
151
+
152
+ @real_min.setter
153
+ def real_min(self, value: RealType):
154
+ self.set_property_state("real_min", value)
155
+
156
+ @property
157
+ def real_max(self) -> RealType:
158
+ """Real data maximum value."""
159
+ return self.get_property_state("real_max")
160
+
161
+ @real_max.setter
162
+ def real_max(self, value: RealType):
163
+ self.set_property_state("real_max", value)
164
+
165
+ @property
166
+ def integer_min(self) -> int:
167
+ """Integer data minimum value."""
168
+ return self.get_property_state("integer_min")
169
+
170
+ @integer_min.setter
171
+ def integer_min(self, value: int):
172
+ self.set_property_state("integer_min", value)
173
+
174
+ @property
175
+ def integer_max(self) -> int:
176
+ """Integer data maximum value."""
177
+ return self.get_property_state("integer_max")
178
+
179
+ @integer_max.setter
180
+ def integer_max(self, value: int):
181
+ self.set_property_state("integer_max", value)
182
+
183
+ @property
184
+ def tensor_type(self) -> str:
185
+ """Indicates the variable tensor type (\"Scalar\" or \"Vector\").
186
+
187
+ \"Vector\" is not supported for the FMU case."""
188
+ return self.get_property_state("tensor_type")
189
+
190
+ @tensor_type.setter
191
+ def tensor_type(self, value: str):
192
+ self.set_property_state("tensor_type", value)
193
+
194
+ @property
195
+ def is_extensive(self) -> bool:
196
+ """Indicates whether this is an extensive property."""
197
+ return self.get_property_state("is_extensive")
198
+
199
+ @is_extensive.setter
200
+ def is_extensive(self, value: bool):
201
+ self.set_property_state("is_extensive", value)
@@ -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
+
8
+ class write_csv_chart_files(Command):
9
+ """
10
+ For each coupling interface, exports a CSV file containing chart data
11
+ (convergence and source/target quantity transfer values) for
12
+ that interface.
13
+
14
+ Each file is named according to the convention ``<interface>.csv``, where
15
+ ``<interface>`` is the object name of the corresponding coupling interface.
16
+
17
+ This command will overwrite any CSV charting files that already exist,
18
+ including any that were written during the solution.
19
+ """
20
+
21
+ syc_name = "WriteCsvChartFiles"
@@ -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 write_ensight(Command):
9
+ """
10
+ Write a file with mesh and results which can be loaded into Ensight for
11
+ post processing.
12
+
13
+ Parameters
14
+ ----------
15
+ file_name : str
16
+ Base name for Ensight files. It will generate <base>.encas file which
17
+ should be loaded into Ensight. Other files are generated for geometry
18
+ and variables.
19
+ binary : bool, optional
20
+ To control if file is to be written in binary format or ASCII. ASCII
21
+ slows down performance, but may be useful for debugging and seeing
22
+ raw data.
23
+
24
+ """
25
+
26
+ syc_name = "WriteEnSight"
27
+
28
+ argument_names = ["file_name", "binary"]
29
+
30
+ class file_name(String):
31
+ """
32
+ Base name for Ensight files. It will generate <base>.encas file which
33
+ should be loaded into Ensight. Other files are generated for geometry
34
+ and variables.
35
+ """
36
+
37
+ syc_name = "FileName"
38
+
39
+ class binary(Boolean):
40
+ """
41
+ To control if file is to be written in binary format or ASCII. ASCII
42
+ slows down performance, but may be useful for debugging and seeing
43
+ raw data.
44
+ """
45
+
46
+ syc_name = "Binary"
@@ -0,0 +1,43 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ from ansys.systemcoupling.core.adaptor.impl.types import *
6
+
7
+
8
+ class add_aerodamping_data_transfers(Command):
9
+ """
10
+ Adds data transfer for each specified mode shape.
11
+
12
+ Returns the name of the Data Transfers created.
13
+
14
+ Parameters
15
+ ----------
16
+ interface : str
17
+ String indicating the name of the interface on which the data transfer
18
+ is to be created.
19
+ mode_shapes : typing.List[str], optional
20
+ List of mode shapes to transfer. If not provided, a
21
+ data transfer is created for each available modeshape.
22
+
23
+ """
24
+
25
+ syc_name = "AddAerodampingDataTransfers"
26
+
27
+ argument_names = ["interface", "mode_shapes"]
28
+
29
+ class interface(String):
30
+ """
31
+ String indicating the name of the interface on which the data transfer
32
+ is to be created.
33
+ """
34
+
35
+ syc_name = "Interface"
36
+
37
+ class mode_shapes(StringList):
38
+ """
39
+ List of mode shapes to transfer. If not provided, a
40
+ data transfer is created for each available modeshape.
41
+ """
42
+
43
+ syc_name = "ModeShapes"
@@ -0,0 +1,32 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ from ansys.systemcoupling.core.adaptor.impl.types import *
6
+
7
+
8
+ class add_fsi_data_transfers(Command):
9
+ """
10
+ Adds group of data transfers for FSI physics.
11
+
12
+ Returns the list of the data transfers created.
13
+
14
+ Parameters
15
+ ----------
16
+ interface : str
17
+ String indicating the name of the interface on which the data transfer
18
+ is to be created.
19
+
20
+ """
21
+
22
+ syc_name = "AddFSIDataTransfers"
23
+
24
+ argument_names = ["interface"]
25
+
26
+ class interface(String):
27
+ """
28
+ String indicating the name of the interface on which the data transfer
29
+ is to be created.
30
+ """
31
+
32
+ syc_name = "Interface"
@@ -0,0 +1,32 @@
1
+ #
2
+ # This is an auto-generated file. DO NOT EDIT!
3
+ #
4
+
5
+ from ansys.systemcoupling.core.adaptor.impl.types import *
6
+
7
+
8
+ class add_ordered_data_transfers(Command):
9
+ """
10
+ Adds data transfer for each ordered pair of variables in an FMU-FMU interface.
11
+
12
+ Returns the name of the Data Transfers created.
13
+
14
+ Parameters
15
+ ----------
16
+ interface : str
17
+ String indicating the name of the interface on which the data transfer
18
+ is to be created.
19
+
20
+ """
21
+
22
+ syc_name = "AddOrderedDataTransfers"
23
+
24
+ argument_names = ["interface"]
25
+
26
+ class interface(String):
27
+ """
28
+ String indicating the name of the interface on which the data transfer
29
+ is to be created.
30
+ """
31
+
32
+ syc_name = "Interface"