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.

Files changed (121) hide show
  1. ansys/systemcoupling/core/__init__.py +2 -4
  2. ansys/systemcoupling/core/adaptor/api_23_2/_add_participant.py +70 -0
  3. ansys/systemcoupling/core/adaptor/api_23_2/_solve.py +13 -0
  4. ansys/systemcoupling/core/adaptor/api_23_2/add_participant.py +38 -2
  5. ansys/systemcoupling/core/adaptor/api_23_2/case_root.py +13 -13
  6. ansys/systemcoupling/core/adaptor/api_23_2/setup_root.py +55 -49
  7. ansys/systemcoupling/core/adaptor/api_23_2/solution_root.py +42 -36
  8. ansys/systemcoupling/core/adaptor/api_23_2/solve.py +1 -1
  9. ansys/systemcoupling/core/adaptor/api_24_1/_add_participant.py +70 -0
  10. ansys/systemcoupling/core/adaptor/api_24_1/_solve.py +13 -0
  11. ansys/systemcoupling/core/adaptor/api_24_1/abort.py +39 -0
  12. ansys/systemcoupling/core/adaptor/api_24_1/activate_hidden.py +46 -0
  13. ansys/systemcoupling/core/adaptor/api_24_1/add_data_transfer.py +190 -0
  14. ansys/systemcoupling/core/adaptor/api_24_1/add_data_transfer_by_display_names.py +191 -0
  15. ansys/systemcoupling/core/adaptor/api_24_1/add_expression_function.py +61 -0
  16. ansys/systemcoupling/core/adaptor/api_24_1/add_interface.py +77 -0
  17. ansys/systemcoupling/core/adaptor/api_24_1/add_interface_by_display_names.py +78 -0
  18. ansys/systemcoupling/core/adaptor/api_24_1/add_named_expression.py +42 -0
  19. ansys/systemcoupling/core/adaptor/api_24_1/add_participant.py +140 -0
  20. ansys/systemcoupling/core/adaptor/api_24_1/add_reference_frame.py +40 -0
  21. ansys/systemcoupling/core/adaptor/api_24_1/add_transformation.py +102 -0
  22. ansys/systemcoupling/core/adaptor/api_24_1/analysis_control.py +249 -0
  23. ansys/systemcoupling/core/adaptor/api_24_1/apip.py +33 -0
  24. ansys/systemcoupling/core/adaptor/api_24_1/ascii_output.py +44 -0
  25. ansys/systemcoupling/core/adaptor/api_24_1/attribute.py +20 -0
  26. ansys/systemcoupling/core/adaptor/api_24_1/attribute_child.py +54 -0
  27. ansys/systemcoupling/core/adaptor/api_24_1/automatic_alignment_options.py +46 -0
  28. ansys/systemcoupling/core/adaptor/api_24_1/available_ports.py +40 -0
  29. ansys/systemcoupling/core/adaptor/api_24_1/avoid_data_reconstruction.py +46 -0
  30. ansys/systemcoupling/core/adaptor/api_24_1/case_root.py +62 -0
  31. ansys/systemcoupling/core/adaptor/api_24_1/clear_state.py +16 -0
  32. ansys/systemcoupling/core/adaptor/api_24_1/coupling_interface.py +20 -0
  33. ansys/systemcoupling/core/adaptor/api_24_1/coupling_interface_child.py +42 -0
  34. ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant.py +23 -0
  35. ansys/systemcoupling/core/adaptor/api_24_1/coupling_participant_child.py +230 -0
  36. ansys/systemcoupling/core/adaptor/api_24_1/create_restart_point.py +29 -0
  37. ansys/systemcoupling/core/adaptor/api_24_1/data_transfer.py +20 -0
  38. ansys/systemcoupling/core/adaptor/api_24_1/data_transfer_child.py +187 -0
  39. ansys/systemcoupling/core/adaptor/api_24_1/delete_snapshot.py +28 -0
  40. ansys/systemcoupling/core/adaptor/api_24_1/delete_transformation.py +42 -0
  41. ansys/systemcoupling/core/adaptor/api_24_1/dimensionality.py +96 -0
  42. ansys/systemcoupling/core/adaptor/api_24_1/execution_control.py +186 -0
  43. ansys/systemcoupling/core/adaptor/api_24_1/expression.py +20 -0
  44. ansys/systemcoupling/core/adaptor/api_24_1/expression_child.py +36 -0
  45. ansys/systemcoupling/core/adaptor/api_24_1/expression_function.py +20 -0
  46. ansys/systemcoupling/core/adaptor/api_24_1/expression_function_child.py +46 -0
  47. ansys/systemcoupling/core/adaptor/api_24_1/external_data_file.py +24 -0
  48. ansys/systemcoupling/core/adaptor/api_24_1/fluent_input.py +67 -0
  49. ansys/systemcoupling/core/adaptor/api_24_1/fmu_parameter.py +20 -0
  50. ansys/systemcoupling/core/adaptor/api_24_1/fmu_parameter_child.py +156 -0
  51. ansys/systemcoupling/core/adaptor/api_24_1/generate_input_file.py +41 -0
  52. ansys/systemcoupling/core/adaptor/api_24_1/get_execution_command.py +30 -0
  53. ansys/systemcoupling/core/adaptor/api_24_1/get_machines.py +13 -0
  54. ansys/systemcoupling/core/adaptor/api_24_1/get_region_names_for_participant.py +31 -0
  55. ansys/systemcoupling/core/adaptor/api_24_1/get_setup_summary.py +25 -0
  56. ansys/systemcoupling/core/adaptor/api_24_1/get_snapshots.py +14 -0
  57. ansys/systemcoupling/core/adaptor/api_24_1/get_status_messages.py +52 -0
  58. ansys/systemcoupling/core/adaptor/api_24_1/get_transformation.py +43 -0
  59. ansys/systemcoupling/core/adaptor/api_24_1/global_stabilization.py +143 -0
  60. ansys/systemcoupling/core/adaptor/api_24_1/has_input_file_changed.py +36 -0
  61. ansys/systemcoupling/core/adaptor/api_24_1/import_system_coupling_input_file.py +36 -0
  62. ansys/systemcoupling/core/adaptor/api_24_1/initialize.py +27 -0
  63. ansys/systemcoupling/core/adaptor/api_24_1/instancing.py +23 -0
  64. ansys/systemcoupling/core/adaptor/api_24_1/instancing_child.py +62 -0
  65. ansys/systemcoupling/core/adaptor/api_24_1/interrupt.py +39 -0
  66. ansys/systemcoupling/core/adaptor/api_24_1/library.py +37 -0
  67. ansys/systemcoupling/core/adaptor/api_24_1/live_visualization.py +20 -0
  68. ansys/systemcoupling/core/adaptor/api_24_1/live_visualization_child.py +72 -0
  69. ansys/systemcoupling/core/adaptor/api_24_1/mapping_control.py +229 -0
  70. ansys/systemcoupling/core/adaptor/api_24_1/open.py +102 -0
  71. ansys/systemcoupling/core/adaptor/api_24_1/open_results_in_en_sight.py +56 -0
  72. ansys/systemcoupling/core/adaptor/api_24_1/open_snapshot.py +37 -0
  73. ansys/systemcoupling/core/adaptor/api_24_1/output_control.py +134 -0
  74. ansys/systemcoupling/core/adaptor/api_24_1/parameter.py +20 -0
  75. ansys/systemcoupling/core/adaptor/api_24_1/parameter_child.py +64 -0
  76. ansys/systemcoupling/core/adaptor/api_24_1/partition_participants.py +138 -0
  77. ansys/systemcoupling/core/adaptor/api_24_1/reference_frame.py +20 -0
  78. ansys/systemcoupling/core/adaptor/api_24_1/reference_frame_child.py +71 -0
  79. ansys/systemcoupling/core/adaptor/api_24_1/region.py +20 -0
  80. ansys/systemcoupling/core/adaptor/api_24_1/region_child.py +72 -0
  81. ansys/systemcoupling/core/adaptor/api_24_1/reload_expression_function_modules.py +14 -0
  82. ansys/systemcoupling/core/adaptor/api_24_1/results.py +89 -0
  83. ansys/systemcoupling/core/adaptor/api_24_1/save.py +51 -0
  84. ansys/systemcoupling/core/adaptor/api_24_1/save_snapshot.py +54 -0
  85. ansys/systemcoupling/core/adaptor/api_24_1/setup_root.py +195 -0
  86. ansys/systemcoupling/core/adaptor/api_24_1/shutdown.py +25 -0
  87. ansys/systemcoupling/core/adaptor/api_24_1/side.py +20 -0
  88. ansys/systemcoupling/core/adaptor/api_24_1/side_child.py +56 -0
  89. ansys/systemcoupling/core/adaptor/api_24_1/solution_control.py +103 -0
  90. ansys/systemcoupling/core/adaptor/api_24_1/solution_root.py +110 -0
  91. ansys/systemcoupling/core/adaptor/api_24_1/solve.py +30 -0
  92. ansys/systemcoupling/core/adaptor/api_24_1/stabilization.py +157 -0
  93. ansys/systemcoupling/core/adaptor/api_24_1/start_participants.py +47 -0
  94. ansys/systemcoupling/core/adaptor/api_24_1/step.py +57 -0
  95. ansys/systemcoupling/core/adaptor/api_24_1/transformation.py +21 -0
  96. ansys/systemcoupling/core/adaptor/api_24_1/transformation_child.py +62 -0
  97. ansys/systemcoupling/core/adaptor/api_24_1/type.py +38 -0
  98. ansys/systemcoupling/core/adaptor/api_24_1/unmapped_value_options.py +158 -0
  99. ansys/systemcoupling/core/adaptor/api_24_1/update_control.py +44 -0
  100. ansys/systemcoupling/core/adaptor/api_24_1/update_participant.py +61 -0
  101. ansys/systemcoupling/core/adaptor/api_24_1/variable.py +20 -0
  102. ansys/systemcoupling/core/adaptor/api_24_1/variable_child.py +232 -0
  103. ansys/systemcoupling/core/adaptor/api_24_1/write_csv_chart_files.py +21 -0
  104. ansys/systemcoupling/core/adaptor/api_24_1/write_ensight.py +46 -0
  105. ansys/systemcoupling/core/adaptor/impl/get_syc_version.py +35 -0
  106. ansys/systemcoupling/core/adaptor/impl/injected_commands.py +97 -5
  107. ansys/systemcoupling/core/adaptor/impl/root_source.py +2 -0
  108. ansys/systemcoupling/core/adaptor/impl/static_info.py +69 -41
  109. ansys/systemcoupling/core/adaptor/impl/syc_proxy.py +1 -1
  110. ansys/systemcoupling/core/adaptor/impl/types.py +12 -0
  111. ansys/systemcoupling/core/client/syc_container.py +2 -0
  112. ansys/systemcoupling/core/participant/manager.py +198 -0
  113. ansys/systemcoupling/core/participant/protocol.py +51 -0
  114. ansys/systemcoupling/core/session.py +7 -1
  115. ansys/systemcoupling/core/syc_version.py +26 -2
  116. {ansys_systemcoupling_core-0.2.0.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/METADATA +9 -9
  117. ansys_systemcoupling_core-0.3.0.dist-info/RECORD +230 -0
  118. ansys_systemcoupling_core-0.2.0.dist-info/RECORD +0 -129
  119. /ansys/systemcoupling/core/adaptor/{api_23_2 → api_24_1}/open_results_in_ensight.py +0 -0
  120. {ansys_systemcoupling_core-0.2.0.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/LICENSE +0 -0
  121. {ansys_systemcoupling_core-0.2.0.dist-info → ansys_systemcoupling_core-0.3.0.dist-info}/WHEEL +0 -0
@@ -0,0 +1,140 @@
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_participant(InjectedCommand):
9
+ """
10
+ This command operates in one of two modes, depending on how it is called.
11
+ *Either* a single argument, ``participant_session``, should be provided, *or* some
12
+ combination of the other optional arguments not including ``participant_session``
13
+ should be provided.
14
+
15
+ In the ``participant_session`` mode, the session object is queried to
16
+ extract the information needed to define a new ``coupling_participant``
17
+ object in the setup datamodel. A reference to the session is also retained,
18
+ and this will play a further role if ``solve`` is called later. In that case,
19
+ the participant solver will be driven from the Python environment in which the
20
+ participant and PySystemCoupling sessions are active and System Coupling will
21
+ regard the participant solver as "externally managed" (see the `execution_control`
22
+ settings in `coupling_participant` for details of this mode).
23
+
24
+ .. note::
25
+ The ``participant_session`` mode currently has limited support in the
26
+ broader Ansys Python ecosystem - at present, only PyFluent supports
27
+ the API required of the session object and product versions of Fluent and
28
+ System Coupling need to be at least 24.1. This capability should be
29
+ regarded as *Beta* as it may be subject to revision when extended to other
30
+ products.
31
+
32
+ The remainder of the documentation describes the more usual non-session mode.
33
+
34
+ Adds a coupling participant to the data model.
35
+
36
+ When executed, this command adds the new participant to the analysis
37
+ without removing any interfaces or data transfers created previously.
38
+
39
+ Cannot be called after participants have been started.
40
+
41
+ Returns the name of the participant.
42
+
43
+ There are two options to add the participant - via a file, or via a
44
+ participant executable.
45
+
46
+ Option 1: Using an input file
47
+
48
+ Given an input file containing participant coupling information, reads the
49
+ specified file, pushes the participant's information to the data model.
50
+
51
+ Option 2: Using a participant executable
52
+
53
+ Given the path to the executable for this participant (and optionally,
54
+ additional arguments and/or working directory), start the participant
55
+ executable, connect to the participant using the socket connection,
56
+ and get the participant's information and add it to the data model.
57
+
58
+ Parameters
59
+ ----------
60
+ participant_session : ParticipantProtocol, optional
61
+ Participant session object conforming to the ``ParticipantProtocol`` protocol class.
62
+ participant_type : str, optional
63
+ Participant type. Currently supported types are DEFAULT, CFX,
64
+ FLUENT, MAPDL, AEDT, FMU, FORTE, DEFAULT-SRV, CFD-SRV, MECH-SRV, and SCDT-SRV.
65
+ If unspecified, AddParticipant will attempt to deduce the type from
66
+ Input_file.
67
+ input_file : str, optional
68
+ Name of the input file for the participant to be added.
69
+ Currently supported formats are SCP files, Forte input (FTSIM)
70
+ files, mechanical server (\*.rst) files, cfd server (\*.csv) files,
71
+ FMU (.fmu) files (Beta), and system coupling data server (\*.scdt/axdt/csv) files.
72
+ executable : str, optional
73
+ Path to the executable file for the participant to be added.
74
+ additional_arguments : str, optional
75
+ Any additional arguments to be passed to the participant's executable.
76
+ working_directory : str, optional
77
+ Path to the working directory for this participant.
78
+
79
+ """
80
+
81
+ syc_name = "add_participant"
82
+
83
+ cmd_name = "add_participant"
84
+
85
+ argument_names = [
86
+ "participant_session",
87
+ "participant_type",
88
+ "input_file",
89
+ "executable",
90
+ "additional_arguments",
91
+ "working_directory",
92
+ ]
93
+
94
+ class participant_session(ParticipantSession):
95
+ """
96
+ Participant session object conforming to the ``ParticipantProtocol`` protocol class.
97
+ """
98
+
99
+ syc_name = "participant_session"
100
+
101
+ class participant_type(String):
102
+ """
103
+ Participant type. Currently supported types are DEFAULT, CFX,
104
+ FLUENT, MAPDL, AEDT, FMU, FORTE, DEFAULT-SRV, CFD-SRV, MECH-SRV, and SCDT-SRV.
105
+ If unspecified, AddParticipant will attempt to deduce the type from
106
+ Input_file.
107
+ """
108
+
109
+ syc_name = "ParticipantType"
110
+
111
+ class input_file(String):
112
+ """
113
+ Name of the input file for the participant to be added.
114
+ Currently supported formats are SCP files, Forte input (FTSIM)
115
+ files, mechanical server (\*.rst) files, cfd server (\*.csv) files,
116
+ FMU (.fmu) files (Beta), and system coupling data server (\*.scdt/axdt/csv) files.
117
+ """
118
+
119
+ syc_name = "InputFile"
120
+
121
+ class executable(String):
122
+ """
123
+ Path to the executable file for the participant to be added.
124
+ """
125
+
126
+ syc_name = "Executable"
127
+
128
+ class additional_arguments(String):
129
+ """
130
+ Any additional arguments to be passed to the participant's executable.
131
+ """
132
+
133
+ syc_name = "AdditionalArguments"
134
+
135
+ class working_directory(String):
136
+ """
137
+ Path to the working directory for this participant.
138
+ """
139
+
140
+ syc_name = "WorkingDirectory"
@@ -0,0 +1,40 @@
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_reference_frame(Command):
9
+ """
10
+ Add a reference frame to the datamodel
11
+
12
+ The function will add a blank reference frame to the datamodel. Any
13
+ transformations must be added separately.
14
+
15
+ Reference frame name will be "Frame-#" where # is the first positive
16
+ integer which yields a unique frame name.
17
+
18
+ Returns the name of the reference frame.
19
+
20
+ Parameters
21
+ ----------
22
+ parent_reference_frame : str, optional
23
+ Name of a reference frame that the added frame should use as the
24
+ parent. If the argument is not provided, the default parent reference
25
+ frame "GlobalReferenceFrame" will be added.
26
+
27
+ """
28
+
29
+ syc_name = "AddReferenceFrame"
30
+
31
+ argument_names = ["parent_reference_frame"]
32
+
33
+ class parent_reference_frame(String):
34
+ """
35
+ Name of a reference frame that the added frame should use as the
36
+ parent. If the argument is not provided, the default parent reference
37
+ frame "GlobalReferenceFrame" will be added.
38
+ """
39
+
40
+ syc_name = "ParentReferenceFrame"
@@ -0,0 +1,102 @@
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_transformation(Command):
9
+ """
10
+ Add a transformation to a reference frame defined in the datamodel
11
+
12
+ Given the reference frame to add to the transform to, the type of transform
13
+ to be added, and any required information for the transformation, add the
14
+ transformation to the referenceFrame. Not all parameters are required for
15
+ every transformation.
16
+
17
+ The name of the transformation will be based on the type of transformation.
18
+ The name will be of the form ``<transformation_type>-#`` where ``#`` is the first
19
+ positive integer which yields a unique frame name.
20
+
21
+ The transformation will also be added to the end of the ``transformation_order``
22
+ list for the reference frame.
23
+
24
+ Returns the name of the transformation.
25
+
26
+ Parameters
27
+ ----------
28
+ reference_frame : str
29
+ Name of the reference frame to which the transformation will be added.
30
+ transformation_type : str
31
+ Type of transformation to be added. Available options are \"Rotation\" or
32
+ \"Translation\".
33
+
34
+ Required Parameters for Transformation Types:
35
+ Rotation: ``angle``, ``axis``, ``vector`` (if ``axis`` is \"UserDefined\")
36
+ Translation: ``vector``
37
+ angle : real, optional
38
+ Angle to rotate a reference frame. Used with \"Rotation\"
39
+ ``transformation_type``. Default unit is Radians.
40
+ axis : str, optional
41
+ Axis about which a rotation is applied. Used with
42
+ Rotation ``transformation_type``. Available options are: \"XAxis\", \"YAxis\",
43
+ \"ZAxis\", and \"UserDefined\".
44
+ vector : typing.Tuple[real, real, real], optional
45
+ A vector for use with \"Translation\" ``transformation_type`` or \"Rotation\"
46
+ ``transformation_type`` if the ``axis`` is \"UserDefined\".
47
+
48
+ """
49
+
50
+ syc_name = "AddTransformation"
51
+
52
+ argument_names = [
53
+ "reference_frame",
54
+ "transformation_type",
55
+ "angle",
56
+ "axis",
57
+ "vector",
58
+ ]
59
+
60
+ class reference_frame(String):
61
+ """
62
+ Name of the reference frame to which the transformation will be added.
63
+ """
64
+
65
+ syc_name = "ReferenceFrame"
66
+
67
+ class transformation_type(String):
68
+ """
69
+ Type of transformation to be added. Available options are \"Rotation\" or
70
+ \"Translation\".
71
+
72
+ Required Parameters for Transformation Types:
73
+ Rotation: ``angle``, ``axis``, ``vector`` (if ``axis`` is \"UserDefined\")
74
+ Translation: ``vector``
75
+ """
76
+
77
+ syc_name = "TransformationType"
78
+
79
+ class angle(Real):
80
+ """
81
+ Angle to rotate a reference frame. Used with \"Rotation\"
82
+ ``transformation_type``. Default unit is Radians.
83
+ """
84
+
85
+ syc_name = "Angle"
86
+
87
+ class axis(String):
88
+ """
89
+ Axis about which a rotation is applied. Used with
90
+ Rotation ``transformation_type``. Available options are: \"XAxis\", \"YAxis\",
91
+ \"ZAxis\", and \"UserDefined\".
92
+ """
93
+
94
+ syc_name = "Axis"
95
+
96
+ class vector(RealVector):
97
+ """
98
+ A vector for use with \"Translation\" ``transformation_type`` or \"Rotation\"
99
+ ``transformation_type`` if the ``axis`` is \"UserDefined\".
100
+ """
101
+
102
+ syc_name = "Vector"
@@ -0,0 +1,249 @@
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 .apip import apip
8
+ from .automatic_alignment_options import automatic_alignment_options
9
+ from .avoid_data_reconstruction import avoid_data_reconstruction
10
+ from .global_stabilization import global_stabilization
11
+ from .unmapped_value_options import unmapped_value_options
12
+
13
+
14
+ class analysis_control(Container):
15
+ """
16
+ Configure coupling controls.
17
+ """
18
+
19
+ syc_name = "AnalysisControl"
20
+
21
+ child_names = [
22
+ "global_stabilization",
23
+ "apip",
24
+ "avoid_data_reconstruction",
25
+ "unmapped_value_options",
26
+ "automatic_alignment_options",
27
+ ]
28
+
29
+ global_stabilization: global_stabilization = global_stabilization
30
+ """
31
+ global_stabilization child of analysis_control.
32
+ """
33
+ apip: apip = apip
34
+ """
35
+ apip child of analysis_control.
36
+ """
37
+ avoid_data_reconstruction: avoid_data_reconstruction = avoid_data_reconstruction
38
+ """
39
+ avoid_data_reconstruction child of analysis_control.
40
+ """
41
+ unmapped_value_options: unmapped_value_options = unmapped_value_options
42
+ """
43
+ unmapped_value_options child of analysis_control.
44
+ """
45
+ automatic_alignment_options: automatic_alignment_options = (
46
+ automatic_alignment_options
47
+ )
48
+ """
49
+ automatic_alignment_options child of analysis_control.
50
+ """
51
+ property_names_types = [
52
+ ("analysis_type", "AnalysisType", "str"),
53
+ ("optimize_if_one_way", "OptimizeIfOneWay", "bool"),
54
+ ("warped_face_tolerance", "WarpedFaceTolerance", "RealType"),
55
+ ("allow_simultaneous_update", "AllowSimultaneousUpdate", "bool"),
56
+ ("simultaneous_participants", "SimultaneousParticipants", "str"),
57
+ ("partitioning_algorithm", "PartitioningAlgorithm", "str"),
58
+ ("allow_iterations_only_mode", "AllowIterationsOnlyMode", "bool"),
59
+ ("target_initialization_option", "TargetInitializationOption", "str"),
60
+ ("fluent_region_update_at_step", "FluentRegionUpdateAtStep", "bool"),
61
+ ("mesh_import_on_initialization", "MeshImportOnInitialization", "bool"),
62
+ ("import_all_regions", "ImportAllRegions", "bool"),
63
+ ("bypass_fluent_adapter", "BypassFluentAdapter", "bool"),
64
+ ("variable_to_expression_transfer", "VariableToExpressionTransfer", "bool"),
65
+ ("update_mapping_weights", "UpdateMappingWeights", "str"),
66
+ (
67
+ "solve_incremental_displacement_first",
68
+ "SolveIncrementalDisplacementFirst",
69
+ "bool",
70
+ ),
71
+ ("write_scs_file", "WriteScsFile", "bool"),
72
+ ("check_for_input_files_changes", "CheckForInputFilesChanges", "str"),
73
+ ]
74
+
75
+ @property
76
+ def analysis_type(self) -> str:
77
+ """Analysis type.
78
+
79
+ Allowed values:
80
+ - \"Steady\"
81
+ - \"Transient\" """
82
+ return self.get_property_state("analysis_type")
83
+
84
+ @analysis_type.setter
85
+ def analysis_type(self, value: str):
86
+ self.set_property_state("analysis_type", value)
87
+
88
+ @property
89
+ def optimize_if_one_way(self) -> bool:
90
+ """Optimizes various controls for a one-way workflow, if the
91
+ data transfers form a unidirectional graph."""
92
+ return self.get_property_state("optimize_if_one_way")
93
+
94
+ @optimize_if_one_way.setter
95
+ def optimize_if_one_way(self, value: bool):
96
+ self.set_property_state("optimize_if_one_way", value)
97
+
98
+ @property
99
+ def warped_face_tolerance(self) -> RealType:
100
+ """Set warped face detection tolerance (1e-6 is default value, 1.0 means disabled)."""
101
+ return self.get_property_state("warped_face_tolerance")
102
+
103
+ @warped_face_tolerance.setter
104
+ def warped_face_tolerance(self, value: RealType):
105
+ self.set_property_state("warped_face_tolerance", value)
106
+
107
+ @property
108
+ def allow_simultaneous_update(self) -> bool:
109
+ """Allow simultaneous update of independent participants."""
110
+ return self.get_property_state("allow_simultaneous_update")
111
+
112
+ @allow_simultaneous_update.setter
113
+ def allow_simultaneous_update(self, value: bool):
114
+ self.set_property_state("allow_simultaneous_update", value)
115
+
116
+ @property
117
+ def simultaneous_participants(self) -> str:
118
+ """Controls which participants are updated simultaneously."""
119
+ return self.get_property_state("simultaneous_participants")
120
+
121
+ @simultaneous_participants.setter
122
+ def simultaneous_participants(self, value: str):
123
+ self.set_property_state("simultaneous_participants", value)
124
+
125
+ @property
126
+ def partitioning_algorithm(self) -> str:
127
+ """Partitioning algorithm used when participants are running in parallel.
128
+
129
+ Allowed values:
130
+
131
+ - \"SharedAllocateMachines\" - Participants share both machines and cores.
132
+
133
+ - \"SharedAllocateCores\" - Participants share machines but not cores.
134
+
135
+ - \"DistributedAllocateCores\" - Participants minimally share cores and machines. (Linux only)
136
+
137
+ - \"DistributedAllocateMachines\" - Participants never share cores or machines. (Linux only)
138
+
139
+ - \"Custom\" - Custom algorithm."""
140
+ return self.get_property_state("partitioning_algorithm")
141
+
142
+ @partitioning_algorithm.setter
143
+ def partitioning_algorithm(self, value: str):
144
+ self.set_property_state("partitioning_algorithm", value)
145
+
146
+ @property
147
+ def allow_iterations_only_mode(self) -> bool:
148
+ """Explicitly set whether iterations-only mode is allowed."""
149
+ return self.get_property_state("allow_iterations_only_mode")
150
+
151
+ @allow_iterations_only_mode.setter
152
+ def allow_iterations_only_mode(self, value: bool):
153
+ self.set_property_state("allow_iterations_only_mode", value)
154
+
155
+ @property
156
+ def target_initialization_option(self) -> str:
157
+ """Select option for target initialization."""
158
+ return self.get_property_state("target_initialization_option")
159
+
160
+ @target_initialization_option.setter
161
+ def target_initialization_option(self, value: str):
162
+ self.set_property_state("target_initialization_option", value)
163
+
164
+ @property
165
+ def fluent_region_update_at_step(self) -> bool:
166
+ """Allow update of Fluent regions at the beginning of a step."""
167
+ return self.get_property_state("fluent_region_update_at_step")
168
+
169
+ @fluent_region_update_at_step.setter
170
+ def fluent_region_update_at_step(self, value: bool):
171
+ self.set_property_state("fluent_region_update_at_step", value)
172
+
173
+ @property
174
+ def mesh_import_on_initialization(self) -> bool:
175
+ """Select whether to import the mesh during the analysis initialization."""
176
+ return self.get_property_state("mesh_import_on_initialization")
177
+
178
+ @mesh_import_on_initialization.setter
179
+ def mesh_import_on_initialization(self, value: bool):
180
+ self.set_property_state("mesh_import_on_initialization", value)
181
+
182
+ @property
183
+ def import_all_regions(self) -> bool:
184
+ """Select whether to import mesh for all defined regions."""
185
+ return self.get_property_state("import_all_regions")
186
+
187
+ @import_all_regions.setter
188
+ def import_all_regions(self, value: bool):
189
+ self.set_property_state("import_all_regions", value)
190
+
191
+ @property
192
+ def bypass_fluent_adapter(self) -> bool:
193
+ """Switch to bypass Fluent adapter."""
194
+ return self.get_property_state("bypass_fluent_adapter")
195
+
196
+ @bypass_fluent_adapter.setter
197
+ def bypass_fluent_adapter(self, value: bool):
198
+ self.set_property_state("bypass_fluent_adapter", value)
199
+
200
+ @property
201
+ def variable_to_expression_transfer(self) -> bool:
202
+ """Convert variable-based data transfers to expression transfers."""
203
+ return self.get_property_state("variable_to_expression_transfer")
204
+
205
+ @variable_to_expression_transfer.setter
206
+ def variable_to_expression_transfer(self, value: bool):
207
+ self.set_property_state("variable_to_expression_transfer", value)
208
+
209
+ @property
210
+ def update_mapping_weights(self) -> str:
211
+ """Weight factor when multiple transfers are stabilized.
212
+
213
+ Allowed values:
214
+
215
+ - \"Off\" (default)
216
+ - \"EveryStep\"
217
+ - \"EveryIteration\" """
218
+ return self.get_property_state("update_mapping_weights")
219
+
220
+ @update_mapping_weights.setter
221
+ def update_mapping_weights(self, value: str):
222
+ self.set_property_state("update_mapping_weights", value)
223
+
224
+ @property
225
+ def solve_incremental_displacement_first(self) -> bool:
226
+ """Force participants serving incremental displacement to solve first."""
227
+ return self.get_property_state("solve_incremental_displacement_first")
228
+
229
+ @solve_incremental_displacement_first.setter
230
+ def solve_incremental_displacement_first(self, value: bool):
231
+ self.set_property_state("solve_incremental_displacement_first", value)
232
+
233
+ @property
234
+ def write_scs_file(self) -> bool:
235
+ """Force writing of scs file even if participants are auto-started."""
236
+ return self.get_property_state("write_scs_file")
237
+
238
+ @write_scs_file.setter
239
+ def write_scs_file(self, value: bool):
240
+ self.set_property_state("write_scs_file", value)
241
+
242
+ @property
243
+ def check_for_input_files_changes(self) -> str:
244
+ """Controls whether System Coupling will check for changes in participant input files."""
245
+ return self.get_property_state("check_for_input_files_changes")
246
+
247
+ @check_for_input_files_changes.setter
248
+ def check_for_input_files_changes(self, value: str):
249
+ self.set_property_state("check_for_input_files_changes", value)
@@ -0,0 +1,33 @@
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 apip(Container):
9
+ """
10
+ Apip-related expert settings.
11
+ """
12
+
13
+ syc_name = "Apip"
14
+
15
+ property_names_types = [("debug", "Debug", "bool"), ("disable", "Disable", "bool")]
16
+
17
+ @property
18
+ def debug(self) -> bool:
19
+ """Debug apip data (sends to debug server, saves data locally)."""
20
+ return self.get_property_state("debug")
21
+
22
+ @debug.setter
23
+ def debug(self, value: bool):
24
+ self.set_property_state("debug", value)
25
+
26
+ @property
27
+ def disable(self) -> bool:
28
+ """Disable apip collection (regardless of user settings)."""
29
+ return self.get_property_state("disable")
30
+
31
+ @disable.setter
32
+ def disable(self, value: bool):
33
+ self.set_property_state("disable", 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 ascii_output(Container):
9
+ """
10
+ Output interface data as ASCII.
11
+ """
12
+
13
+ syc_name = "AsciiOutput"
14
+
15
+ property_names_types = [("option", "Option", "str"), ("format", "Format", "str")]
16
+
17
+ @property
18
+ def option(self) -> str:
19
+ """Control ASCII interface data output.
20
+
21
+ Allowed values:
22
+
23
+ - \"Off\"
24
+ - \"EveryStep\" (for step-based analyses)
25
+ - \"EveryIteration\" (for iteration-based analyses)"""
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 format(self) -> str:
34
+ """ASCII output format type.
35
+
36
+ Allowed values:
37
+
38
+ - \"Axdt\"
39
+ - \"Csv\" """
40
+ return self.get_property_state("format")
41
+
42
+ @format.setter
43
+ def format(self, value: str):
44
+ self.set_property_state("format", 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 .attribute_child import attribute_child
8
+
9
+
10
+ class attribute(NamedContainer[attribute_child]):
11
+ """
12
+ Configure a variable's attributes.
13
+ """
14
+
15
+ syc_name = "Attribute"
16
+
17
+ child_object_type: attribute_child = attribute_child
18
+ """
19
+ child_object_type of attribute.
20
+ """
@@ -0,0 +1,54 @@
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 .dimensionality import dimensionality
8
+
9
+
10
+ class attribute_child(Container):
11
+ """
12
+ Configure a variable's attributes.
13
+ """
14
+
15
+ syc_name = "child_object_type"
16
+
17
+ child_names = ["dimensionality"]
18
+
19
+ dimensionality: dimensionality = dimensionality
20
+ """
21
+ dimensionality child of attribute_child.
22
+ """
23
+ property_names_types = [
24
+ ("attribute_type", "AttributeType", "str"),
25
+ ("real_value", "RealValue", "RealType"),
26
+ ("integer_value", "IntegerValue", "int"),
27
+ ]
28
+
29
+ @property
30
+ def attribute_type(self) -> str:
31
+ """The type of the attribute (\"Real\" or \"Integer\")."""
32
+ return self.get_property_state("attribute_type")
33
+
34
+ @attribute_type.setter
35
+ def attribute_type(self, value: str):
36
+ self.set_property_state("attribute_type", value)
37
+
38
+ @property
39
+ def real_value(self) -> RealType:
40
+ """Real attribute value."""
41
+ return self.get_property_state("real_value")
42
+
43
+ @real_value.setter
44
+ def real_value(self, value: RealType):
45
+ self.set_property_state("real_value", value)
46
+
47
+ @property
48
+ def integer_value(self) -> int:
49
+ """Integer attribute value."""
50
+ return self.get_property_state("integer_value")
51
+
52
+ @integer_value.setter
53
+ def integer_value(self, value: int):
54
+ self.set_property_state("integer_value", value)