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,75 @@
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_interface(Command):
9
+ """
10
+ Adds an interface based on the participant and region names specified
11
+ as arguments for each side of the interface. This command requires that you
12
+ specify participants and regions using their names (see parameter
13
+ descriptions for details).
14
+
15
+ Cannot be run after participants have been started.
16
+
17
+ Returns the name of the Interface created.
18
+
19
+ Parameters
20
+ ----------
21
+ side_one_participant : str
22
+ String indicating the name of the participant to be associated with
23
+ side \"One\" of the interface.
24
+ side_one_regions : typing.List[str]
25
+ List specifying the name(s) of region(s) to be added to side \"One\" of
26
+ the interface.
27
+ side_two_participant : str
28
+ String indicating the name of the participant to be associated with
29
+ side \"Two\" of the interface.
30
+ side_two_regions : typing.List[str]
31
+ List specifying the name(s) of region(s) to be added to side \"Two\" of
32
+ the interface.
33
+
34
+ """
35
+
36
+ syc_name = "AddInterface"
37
+
38
+ argument_names = [
39
+ "side_one_participant",
40
+ "side_one_regions",
41
+ "side_two_participant",
42
+ "side_two_regions",
43
+ ]
44
+
45
+ class side_one_participant(String):
46
+ """
47
+ String indicating the name of the participant to be associated with
48
+ side \"One\" of the interface.
49
+ """
50
+
51
+ syc_name = "SideOneParticipant"
52
+
53
+ class side_one_regions(StringList):
54
+ """
55
+ List specifying the name(s) of region(s) to be added to side \"One\" of
56
+ the interface.
57
+ """
58
+
59
+ syc_name = "SideOneRegions"
60
+
61
+ class side_two_participant(String):
62
+ """
63
+ String indicating the name of the participant to be associated with
64
+ side \"Two\" of the interface.
65
+ """
66
+
67
+ syc_name = "SideTwoParticipant"
68
+
69
+ class side_two_regions(StringList):
70
+ """
71
+ List specifying the name(s) of region(s) to be added to side \"Two\" of
72
+ the interface.
73
+ """
74
+
75
+ syc_name = "SideTwoRegions"
@@ -0,0 +1,75 @@
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_interface_by_display_names(Command):
9
+ """
10
+ Adds an interface based on the participant and region display names specified
11
+ as arguments for each side of the interface. This command requires that you
12
+ specify participants and regions using their *display* names (see parameter
13
+ descriptions for details).
14
+
15
+ Cannot be run after participants have been started.
16
+
17
+ Returns the name of the Interface created.
18
+
19
+ Parameters
20
+ ----------
21
+ side_one_participant : str
22
+ String indicating the name of the participant to be associated with
23
+ side \"One\" of the interface.
24
+ side_one_regions : typing.List[str]
25
+ List specifying the name(s) of region(s) to be added to side \"One\" of
26
+ the interface.
27
+ side_two_participant : str
28
+ String indicating the name of the participant to be associated with
29
+ side \"Two\" of the interface.
30
+ side_two_regions : typing.List[str]
31
+ List specifying the name(s) of region(s) to be added to side \"Two\"
32
+ of the interface.
33
+
34
+ """
35
+
36
+ syc_name = "AddInterfaceByDisplayNames"
37
+
38
+ argument_names = [
39
+ "side_one_participant",
40
+ "side_one_regions",
41
+ "side_two_participant",
42
+ "side_two_regions",
43
+ ]
44
+
45
+ class side_one_participant(String):
46
+ """
47
+ String indicating the name of the participant to be associated with
48
+ side \"One\" of the interface.
49
+ """
50
+
51
+ syc_name = "SideOneParticipant"
52
+
53
+ class side_one_regions(StringList):
54
+ """
55
+ List specifying the name(s) of region(s) to be added to side \"One\" of
56
+ the interface.
57
+ """
58
+
59
+ syc_name = "SideOneRegions"
60
+
61
+ class side_two_participant(String):
62
+ """
63
+ String indicating the name of the participant to be associated with
64
+ side \"Two\" of the interface.
65
+ """
66
+
67
+ syc_name = "SideTwoParticipant"
68
+
69
+ class side_two_regions(StringList):
70
+ """
71
+ List specifying the name(s) of region(s) to be added to side \"Two\"
72
+ of the interface.
73
+ """
74
+
75
+ syc_name = "SideTwoRegions"
@@ -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 add_named_expression(Command):
9
+ """
10
+ Creates a named expression object in the data model.
11
+ If there is already an object in the data model whose ``expression_name``
12
+ matches the provided ``expression_name``, its ``expression_string`` will be
13
+ overwritten with the provided ``expression_string``
14
+
15
+ Parameters
16
+ ----------
17
+ expression_name : str
18
+ The name by which this expression should be referenced when used in
19
+ another expression.
20
+ expression_string : str
21
+ String containing the definition of the expression.
22
+
23
+ """
24
+
25
+ syc_name = "AddNamedExpression"
26
+
27
+ argument_names = ["expression_name", "expression_string"]
28
+
29
+ class expression_name(String):
30
+ """
31
+ The name by which this expression should be referenced when used in
32
+ another expression.
33
+ """
34
+
35
+ syc_name = "ExpressionName"
36
+
37
+ class expression_string(String):
38
+ """
39
+ String containing the definition of the expression.
40
+ """
41
+
42
+ syc_name = "ExpressionString"
@@ -0,0 +1,160 @@
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
+ Given an input file containing participant coupling information, reads the
48
+ specified file, pushes the participant's information to the data model.
49
+
50
+ Option 2: Using a participant executable
51
+ Given the path to the executable for this participant (and optionally,
52
+ additional arguments and/or working directory), start the participant
53
+ executable, connect to the participant using the socket connection,
54
+ and get the participant's information and add it to the data model.
55
+
56
+ Parameters
57
+ ----------
58
+ participant_session : ParticipantProtocol, optional
59
+ Participant session object conforming to the ``ParticipantProtocol`` protocol class.
60
+ participant_type : str, optional
61
+ Participant type. Currently supported types are:
62
+
63
+ - \"DEFAULT\"
64
+ - \"CFX\"
65
+ - \"FLUENT\"
66
+ - \"MAPDL\"
67
+ - \"AEDT\"
68
+ - \"FMU\"
69
+ - \"FORTE\"
70
+ - \"DEFAULT-SRV\"
71
+ - \"MECH-SRV\"
72
+ - \"CFD-SRV\"
73
+
74
+ If unspecified, ``add_participant`` will attempt to deduce
75
+ the type from ``input_file``.
76
+ input_file : str, optional
77
+ Name of the input file for the participant to be added.
78
+ Currently supported formats are SCP files, Forte input (FTSIM)
79
+ files, mechanical server (*.rst) files, cfd server (*.csv) files,
80
+ and FMU (.fmu) files (Beta).
81
+ executable : str, optional
82
+ Path to the executable file for the participant to be added.
83
+ additional_arguments : str, optional
84
+ Any additional arguments to be passed to the participant's executable.
85
+ working_directory : str, optional
86
+ Path to the working directory for this participant.
87
+
88
+ """
89
+
90
+ syc_name = "add_participant"
91
+
92
+ cmd_name = "add_participant"
93
+
94
+ argument_names = [
95
+ "participant_session",
96
+ "participant_type",
97
+ "input_file",
98
+ "executable",
99
+ "additional_arguments",
100
+ "working_directory",
101
+ ]
102
+
103
+ class participant_session(ParticipantSession):
104
+ """
105
+ Participant session object conforming to the ``ParticipantProtocol`` protocol class.
106
+ """
107
+
108
+ syc_name = "participant_session"
109
+
110
+ class participant_type(String):
111
+ """
112
+ Participant type. Currently supported types are:
113
+
114
+ - \"DEFAULT\"
115
+ - \"CFX\"
116
+ - \"FLUENT\"
117
+ - \"MAPDL\"
118
+ - \"AEDT\"
119
+ - \"FMU\"
120
+ - \"FORTE\"
121
+ - \"DEFAULT-SRV\"
122
+ - \"MECH-SRV\"
123
+ - \"CFD-SRV\"
124
+
125
+ If unspecified, ``add_participant`` will attempt to deduce
126
+ the type from ``input_file``.
127
+ """
128
+
129
+ syc_name = "ParticipantType"
130
+
131
+ class input_file(String):
132
+ """
133
+ Name of the input file for the participant to be added.
134
+ Currently supported formats are SCP files, Forte input (FTSIM)
135
+ files, mechanical server (*.rst) files, cfd server (*.csv) files,
136
+ and FMU (.fmu) files (Beta).
137
+ """
138
+
139
+ syc_name = "InputFile"
140
+
141
+ class executable(String):
142
+ """
143
+ Path to the executable file for the participant to be added.
144
+ """
145
+
146
+ syc_name = "Executable"
147
+
148
+ class additional_arguments(String):
149
+ """
150
+ Any additional arguments to be passed to the participant's executable.
151
+ """
152
+
153
+ syc_name = "AdditionalArguments"
154
+
155
+ class working_directory(String):
156
+ """
157
+ Path to the working directory for this participant.
158
+ """
159
+
160
+ 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"