ansys-fluent-core 0.30.dev2__py3-none-any.whl → 0.30.dev4__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-fluent-core might be problematic. Click here for more details.
- ansys/fluent/core/__init__.py +14 -3
- ansys/fluent/core/codegen/datamodelgen.py +17 -3
- ansys/fluent/core/codegen/settingsgen.py +26 -4
- ansys/fluent/core/codegen/walk_api.py +11 -1
- ansys/fluent/core/exceptions.py +7 -4
- ansys/fluent/core/generated/api_tree/api_objects.json +1 -1
- ansys/fluent/core/generated/datamodel_242/meshing_utilities.pyi +990 -0
- ansys/fluent/core/generated/datamodel_251/meshing_utilities.pyi +1002 -0
- ansys/fluent/core/generated/datamodel_252/meshing.py +7 -0
- ansys/fluent/core/generated/datamodel_252/meshing_utilities.pyi +1007 -0
- ansys/fluent/core/generated/datamodel_252/preferences.py +132 -3
- ansys/fluent/core/generated/fluent_version_252.py +3 -3
- ansys/fluent/core/generated/meshing/tui_252.py +111 -12
- ansys/fluent/core/generated/solver/settings_222.py +166 -170
- ansys/fluent/core/generated/solver/settings_222.pyi +10 -8
- ansys/fluent/core/generated/solver/settings_231.py +551 -598
- ansys/fluent/core/generated/solver/settings_231.pyi +40 -38
- ansys/fluent/core/generated/solver/settings_232.py +689 -736
- ansys/fluent/core/generated/solver/settings_232.pyi +39 -37
- ansys/fluent/core/generated/solver/settings_241.py +1365 -1439
- ansys/fluent/core/generated/solver/settings_241.pyi +1071 -1074
- ansys/fluent/core/generated/solver/settings_242.py +2852 -3098
- ansys/fluent/core/generated/solver/settings_242.pyi +2059 -2151
- ansys/fluent/core/generated/solver/settings_251.py +3656 -3914
- ansys/fluent/core/generated/solver/settings_251.pyi +2915 -3008
- ansys/fluent/core/generated/solver/settings_252.py +5894 -5707
- ansys/fluent/core/generated/solver/settings_252.pyi +4411 -4297
- ansys/fluent/core/generated/solver/tui_252.py +205 -25
- ansys/fluent/core/get_build_details.py +2 -2
- ansys/fluent/core/launcher/container_launcher.py +7 -1
- ansys/fluent/core/launcher/fluent_container.py +3 -2
- ansys/fluent/core/launcher/pim_launcher.py +7 -1
- ansys/fluent/core/launcher/slurm_launcher.py +7 -1
- ansys/fluent/core/launcher/standalone_launcher.py +7 -1
- ansys/fluent/core/services/datamodel_se.py +28 -23
- ansys/fluent/core/services/datamodel_tui.py +1 -1
- ansys/fluent/core/services/field_data.py +17 -5
- ansys/fluent/core/session_base_meshing.py +3 -3
- ansys/fluent/core/session_meshing.py +4 -4
- ansys/fluent/core/session_meshing.pyi +9 -9
- ansys/fluent/core/session_pure_meshing.pyi +9 -9
- ansys/fluent/core/session_solver.py +1 -1
- ansys/fluent/core/session_solver.pyi +5 -5
- ansys/fluent/core/solver/_docstrings.py +244 -0
- ansys/fluent/core/solver/error_message.py +7 -12
- ansys/fluent/core/solver/flobject.py +86 -27
- ansys/fluent/core/utils/fluent_version.py +2 -3
- ansys/fluent/core/utils/test_grpc_connection.py +139 -0
- ansys/fluent/core/workflow.py +1 -0
- {ansys_fluent_core-0.30.dev2.dist-info → ansys_fluent_core-0.30.dev4.dist-info}/METADATA +12 -12
- {ansys_fluent_core-0.30.dev2.dist-info → ansys_fluent_core-0.30.dev4.dist-info}/RECORD +77 -73
- ansys/fluent/core/_version.py +0 -40
- /ansys/fluent/core/generated/datamodel_222/{PartManagement.py → part_management.py} +0 -0
- /ansys/fluent/core/generated/datamodel_222/{PMFileManagement.py → pm_file_management.py} +0 -0
- /ansys/fluent/core/generated/datamodel_231/{PartManagement.py → part_management.py} +0 -0
- /ansys/fluent/core/generated/datamodel_231/{PMFileManagement.py → pm_file_management.py} +0 -0
- /ansys/fluent/core/generated/datamodel_231/{solverworkflow.py → solver_workflow.py} +0 -0
- /ansys/fluent/core/generated/datamodel_232/{PartManagement.py → part_management.py} +0 -0
- /ansys/fluent/core/generated/datamodel_232/{PMFileManagement.py → pm_file_management.py} +0 -0
- /ansys/fluent/core/generated/datamodel_232/{solverworkflow.py → solver_workflow.py} +0 -0
- /ansys/fluent/core/generated/datamodel_241/{PartManagement.py → part_management.py} +0 -0
- /ansys/fluent/core/generated/datamodel_241/{PMFileManagement.py → pm_file_management.py} +0 -0
- /ansys/fluent/core/generated/datamodel_241/{solverworkflow.py → solver_workflow.py} +0 -0
- /ansys/fluent/core/generated/datamodel_242/{MeshingUtilities.py → meshing_utilities.py} +0 -0
- /ansys/fluent/core/generated/datamodel_242/{PartManagement.py → part_management.py} +0 -0
- /ansys/fluent/core/generated/datamodel_242/{PMFileManagement.py → pm_file_management.py} +0 -0
- /ansys/fluent/core/generated/datamodel_242/{solverworkflow.py → solver_workflow.py} +0 -0
- /ansys/fluent/core/generated/datamodel_251/{MeshingUtilities.py → meshing_utilities.py} +0 -0
- /ansys/fluent/core/generated/datamodel_251/{PartManagement.py → part_management.py} +0 -0
- /ansys/fluent/core/generated/datamodel_251/{PMFileManagement.py → pm_file_management.py} +0 -0
- /ansys/fluent/core/generated/datamodel_251/{solverworkflow.py → solver_workflow.py} +0 -0
- /ansys/fluent/core/generated/datamodel_252/{MeshingUtilities.py → meshing_utilities.py} +0 -0
- /ansys/fluent/core/generated/datamodel_252/{PartManagement.py → part_management.py} +0 -0
- /ansys/fluent/core/generated/datamodel_252/{PMFileManagement.py → pm_file_management.py} +0 -0
- /ansys/fluent/core/generated/datamodel_252/{solverworkflow.py → solver_workflow.py} +0 -0
- /ansys/fluent/core/{systemcoupling.py → system_coupling.py} +0 -0
- {ansys_fluent_core-0.30.dev2.dist-info → ansys_fluent_core-0.30.dev4.dist-info}/LICENSE +0 -0
- {ansys_fluent_core-0.30.dev2.dist-info → ansys_fluent_core-0.30.dev4.dist-info}/WHEEL +0 -0
|
@@ -33,6 +33,7 @@ class main_menu(TUIMenu):
|
|
|
33
33
|
self.surface = self.__class__.surface(service, version, mode, path + ["surface"])
|
|
34
34
|
self.transient_post_processing = self.__class__.transient_post_processing(service, version, mode, path + ["transient_post_processing"])
|
|
35
35
|
self.turbo_post = self.__class__.turbo_post(service, version, mode, path + ["turbo_post"])
|
|
36
|
+
self.turbo_setup = self.__class__.turbo_setup(service, version, mode, path + ["turbo_setup"])
|
|
36
37
|
self.turbo_workflow = self.__class__.turbo_workflow(service, version, mode, path + ["turbo_workflow"])
|
|
37
38
|
self.views = self.__class__.views(service, version, mode, path + ["views"])
|
|
38
39
|
self.close_fluent = self.__class__.close_fluent(service, version, mode, path + ["close_fluent"])
|
|
@@ -1742,7 +1743,7 @@ class main_menu(TUIMenu):
|
|
|
1742
1743
|
"""
|
|
1743
1744
|
class auto_prune(TUIMethod):
|
|
1744
1745
|
"""
|
|
1745
|
-
|
|
1746
|
+
No help available.
|
|
1746
1747
|
"""
|
|
1747
1748
|
class broad_band_noise(TUIMethod):
|
|
1748
1749
|
"""
|
|
@@ -1770,11 +1771,11 @@ class main_menu(TUIMenu):
|
|
|
1770
1771
|
"""
|
|
1771
1772
|
class export_source_data(TUIMethod):
|
|
1772
1773
|
"""
|
|
1773
|
-
|
|
1774
|
+
No help available.
|
|
1774
1775
|
"""
|
|
1775
1776
|
class export_source_data_cgns(TUIMethod):
|
|
1776
1777
|
"""
|
|
1777
|
-
|
|
1778
|
+
No help available.
|
|
1778
1779
|
"""
|
|
1779
1780
|
class export_volumetric_sources(TUIMethod):
|
|
1780
1781
|
"""
|
|
@@ -1782,7 +1783,7 @@ class main_menu(TUIMenu):
|
|
|
1782
1783
|
"""
|
|
1783
1784
|
class export_volumetric_sources_cgns(TUIMethod):
|
|
1784
1785
|
"""
|
|
1785
|
-
|
|
1786
|
+
No help available.
|
|
1786
1787
|
"""
|
|
1787
1788
|
class ffowcs_williams(TUIMethod):
|
|
1788
1789
|
"""
|
|
@@ -12565,6 +12566,7 @@ class main_menu(TUIMenu):
|
|
|
12565
12566
|
self.post_script = self.__class__.post_script(service, version, mode, path + ["post_script"])
|
|
12566
12567
|
self.ppm = self.__class__.ppm(service, version, mode, path + ["ppm"])
|
|
12567
12568
|
self.tiff = self.__class__.tiff(service, version, mode, path + ["tiff"])
|
|
12569
|
+
self.usd = self.__class__.usd(service, version, mode, path + ["usd"])
|
|
12568
12570
|
self.vrml = self.__class__.vrml(service, version, mode, path + ["vrml"])
|
|
12569
12571
|
super().__init__(service, version, mode, path)
|
|
12570
12572
|
class avz(TUIMethod):
|
|
@@ -12623,6 +12625,10 @@ class main_menu(TUIMenu):
|
|
|
12623
12625
|
"""
|
|
12624
12626
|
Use TIFF output for hardcopies.
|
|
12625
12627
|
"""
|
|
12628
|
+
class usd(TUIMethod):
|
|
12629
|
+
"""
|
|
12630
|
+
Use USD output for hardcopies.
|
|
12631
|
+
"""
|
|
12626
12632
|
class vrml(TUIMethod):
|
|
12627
12633
|
"""
|
|
12628
12634
|
Use VRML output for hardcopies.
|
|
@@ -13870,7 +13876,6 @@ class main_menu(TUIMenu):
|
|
|
13870
13876
|
self.add_all = self.__class__.add_all(service, version, mode, path + ["add_all"])
|
|
13871
13877
|
self.list = self.__class__.list(service, version, mode, path + ["list"])
|
|
13872
13878
|
self.remove = self.__class__.remove(service, version, mode, path + ["remove"])
|
|
13873
|
-
self.remove_all = self.__class__.remove_all(service, version, mode, path + ["remove_all"])
|
|
13874
13879
|
self.start = self.__class__.start(service, version, mode, path + ["start"])
|
|
13875
13880
|
self.stop = self.__class__.stop(service, version, mode, path + ["stop"])
|
|
13876
13881
|
super().__init__(service, version, mode, path)
|
|
@@ -13890,10 +13895,6 @@ class main_menu(TUIMenu):
|
|
|
13890
13895
|
"""
|
|
13891
13896
|
No help available.
|
|
13892
13897
|
"""
|
|
13893
|
-
class remove_all(TUIMethod):
|
|
13894
|
-
"""
|
|
13895
|
-
No help available.
|
|
13896
|
-
"""
|
|
13897
13898
|
class start(TUIMethod):
|
|
13898
13899
|
"""
|
|
13899
13900
|
No help available.
|
|
@@ -15895,6 +15896,7 @@ class main_menu(TUIMenu):
|
|
|
15895
15896
|
self.sep_face_zone_mark = self.__class__.sep_face_zone_mark(service, version, mode, path + ["sep_face_zone_mark"])
|
|
15896
15897
|
self.sep_face_zone_region = self.__class__.sep_face_zone_region(service, version, mode, path + ["sep_face_zone_region"])
|
|
15897
15898
|
self.slit_face_zone = self.__class__.slit_face_zone(service, version, mode, path + ["slit_face_zone"])
|
|
15899
|
+
self.slit_interior_between_diff_materials = self.__class__.slit_interior_between_diff_materials(service, version, mode, path + ["slit_interior_between_diff_materials"])
|
|
15898
15900
|
self.slit_interior_between_diff_solids = self.__class__.slit_interior_between_diff_solids(service, version, mode, path + ["slit_interior_between_diff_solids"])
|
|
15899
15901
|
self.slit_periodic = self.__class__.slit_periodic(service, version, mode, path + ["slit_periodic"])
|
|
15900
15902
|
self.translate_zone = self.__class__.translate_zone(service, version, mode, path + ["translate_zone"])
|
|
@@ -16053,10 +16055,14 @@ class main_menu(TUIMenu):
|
|
|
16053
16055
|
"""
|
|
16054
16056
|
No help available.
|
|
16055
16057
|
"""
|
|
16056
|
-
class
|
|
16058
|
+
class slit_interior_between_diff_materials(TUIMethod):
|
|
16057
16059
|
"""
|
|
16058
16060
|
No help available.
|
|
16059
16061
|
"""
|
|
16062
|
+
class slit_interior_between_diff_solids(TUIMethod):
|
|
16063
|
+
"""
|
|
16064
|
+
Slit interior face zones between different solids.
|
|
16065
|
+
"""
|
|
16060
16066
|
class slit_periodic(TUIMethod):
|
|
16061
16067
|
"""
|
|
16062
16068
|
No help available.
|
|
@@ -18563,6 +18569,7 @@ class main_menu(TUIMenu):
|
|
|
18563
18569
|
self.prj_app = self.__class__.prj_app(service, version, mode, path + ["prj_app"])
|
|
18564
18570
|
self.python_console = self.__class__.python_console(service, version, mode, path + ["python_console"])
|
|
18565
18571
|
self.simulation = self.__class__.simulation(service, version, mode, path + ["simulation"])
|
|
18572
|
+
self.turbo_setup = self.__class__.turbo_setup(service, version, mode, path + ["turbo_setup"])
|
|
18566
18573
|
self.turbo_workflow = self.__class__.turbo_workflow(service, version, mode, path + ["turbo_workflow"])
|
|
18567
18574
|
super().__init__(service, version, mode, path)
|
|
18568
18575
|
|
|
@@ -18983,7 +18990,7 @@ class main_menu(TUIMenu):
|
|
|
18983
18990
|
self.import_physics_volume_definitions = self.__class__.import_physics_volume_definitions(service, version, mode, path + ["import_physics_volume_definitions"])
|
|
18984
18991
|
self.initial_physics_volume_definitions = self.__class__.initial_physics_volume_definitions(service, version, mode, path + ["initial_physics_volume_definitions"])
|
|
18985
18992
|
self.skip_creation_of_groups_pointing_to_single_entity = self.__class__.skip_creation_of_groups_pointing_to_single_entity(service, version, mode, path + ["skip_creation_of_groups_pointing_to_single_entity"])
|
|
18986
|
-
self.
|
|
18993
|
+
self.utlcreate_default_object_if_possible = self.__class__.utlcreate_default_object_if_possible(service, version, mode, path + ["utlcreate_default_object_if_possible"])
|
|
18987
18994
|
self.utlmode = self.__class__.utlmode(service, version, mode, path + ["utlmode"])
|
|
18988
18995
|
super().__init__(service, version, mode, path)
|
|
18989
18996
|
class advanced_partition(TUIMethod):
|
|
@@ -19022,7 +19029,7 @@ class main_menu(TUIMenu):
|
|
|
19022
19029
|
"""
|
|
19023
19030
|
No help available.
|
|
19024
19031
|
"""
|
|
19025
|
-
class
|
|
19032
|
+
class utlcreate_default_object_if_possible(TUIMethod):
|
|
19026
19033
|
"""
|
|
19027
19034
|
No help available.
|
|
19028
19035
|
"""
|
|
@@ -20530,6 +20537,104 @@ class main_menu(TUIMenu):
|
|
|
20530
20537
|
No help available.
|
|
20531
20538
|
"""
|
|
20532
20539
|
|
|
20540
|
+
class turbo_setup(TUIMenu):
|
|
20541
|
+
"""
|
|
20542
|
+
No help available.
|
|
20543
|
+
"""
|
|
20544
|
+
def __init__(self, service, version, mode, path):
|
|
20545
|
+
self.face_zone_settings = self.__class__.face_zone_settings(service, version, mode, path + ["face_zone_settings"])
|
|
20546
|
+
self.graphics_settings = self.__class__.graphics_settings(service, version, mode, path + ["graphics_settings"])
|
|
20547
|
+
self.checkpointing_option = self.__class__.checkpointing_option(service, version, mode, path + ["checkpointing_option"])
|
|
20548
|
+
self.save_checkpoint_files = self.__class__.save_checkpoint_files(service, version, mode, path + ["save_checkpoint_files"])
|
|
20549
|
+
super().__init__(service, version, mode, path)
|
|
20550
|
+
class checkpointing_option(TUIMethod):
|
|
20551
|
+
"""
|
|
20552
|
+
No help available.
|
|
20553
|
+
"""
|
|
20554
|
+
class save_checkpoint_files(TUIMethod):
|
|
20555
|
+
"""
|
|
20556
|
+
No help available.
|
|
20557
|
+
"""
|
|
20558
|
+
|
|
20559
|
+
class face_zone_settings(TUIMenu):
|
|
20560
|
+
"""
|
|
20561
|
+
No help available.
|
|
20562
|
+
"""
|
|
20563
|
+
def __init__(self, service, version, mode, path):
|
|
20564
|
+
self.blade_region = self.__class__.blade_region(service, version, mode, path + ["blade_region"])
|
|
20565
|
+
self.fzsearch_order = self.__class__.fzsearch_order(service, version, mode, path + ["fzsearch_order"])
|
|
20566
|
+
self.hub_region = self.__class__.hub_region(service, version, mode, path + ["hub_region"])
|
|
20567
|
+
self.inlet_region = self.__class__.inlet_region(service, version, mode, path + ["inlet_region"])
|
|
20568
|
+
self.interior_region = self.__class__.interior_region(service, version, mode, path + ["interior_region"])
|
|
20569
|
+
self.outlet_region = self.__class__.outlet_region(service, version, mode, path + ["outlet_region"])
|
|
20570
|
+
self.periodic1_region = self.__class__.periodic1_region(service, version, mode, path + ["periodic1_region"])
|
|
20571
|
+
self.periodic2_region = self.__class__.periodic2_region(service, version, mode, path + ["periodic2_region"])
|
|
20572
|
+
self.shroud_region = self.__class__.shroud_region(service, version, mode, path + ["shroud_region"])
|
|
20573
|
+
self.symmetry_region = self.__class__.symmetry_region(service, version, mode, path + ["symmetry_region"])
|
|
20574
|
+
self.tip1_region = self.__class__.tip1_region(service, version, mode, path + ["tip1_region"])
|
|
20575
|
+
self.tip2_region = self.__class__.tip2_region(service, version, mode, path + ["tip2_region"])
|
|
20576
|
+
super().__init__(service, version, mode, path)
|
|
20577
|
+
class blade_region(TUIMethod):
|
|
20578
|
+
"""
|
|
20579
|
+
No help available.
|
|
20580
|
+
"""
|
|
20581
|
+
class fzsearch_order(TUIMethod):
|
|
20582
|
+
"""
|
|
20583
|
+
No help available.
|
|
20584
|
+
"""
|
|
20585
|
+
class hub_region(TUIMethod):
|
|
20586
|
+
"""
|
|
20587
|
+
No help available.
|
|
20588
|
+
"""
|
|
20589
|
+
class inlet_region(TUIMethod):
|
|
20590
|
+
"""
|
|
20591
|
+
No help available.
|
|
20592
|
+
"""
|
|
20593
|
+
class interior_region(TUIMethod):
|
|
20594
|
+
"""
|
|
20595
|
+
No help available.
|
|
20596
|
+
"""
|
|
20597
|
+
class outlet_region(TUIMethod):
|
|
20598
|
+
"""
|
|
20599
|
+
No help available.
|
|
20600
|
+
"""
|
|
20601
|
+
class periodic1_region(TUIMethod):
|
|
20602
|
+
"""
|
|
20603
|
+
No help available.
|
|
20604
|
+
"""
|
|
20605
|
+
class periodic2_region(TUIMethod):
|
|
20606
|
+
"""
|
|
20607
|
+
No help available.
|
|
20608
|
+
"""
|
|
20609
|
+
class shroud_region(TUIMethod):
|
|
20610
|
+
"""
|
|
20611
|
+
No help available.
|
|
20612
|
+
"""
|
|
20613
|
+
class symmetry_region(TUIMethod):
|
|
20614
|
+
"""
|
|
20615
|
+
No help available.
|
|
20616
|
+
"""
|
|
20617
|
+
class tip1_region(TUIMethod):
|
|
20618
|
+
"""
|
|
20619
|
+
No help available.
|
|
20620
|
+
"""
|
|
20621
|
+
class tip2_region(TUIMethod):
|
|
20622
|
+
"""
|
|
20623
|
+
No help available.
|
|
20624
|
+
"""
|
|
20625
|
+
|
|
20626
|
+
class graphics_settings(TUIMenu):
|
|
20627
|
+
"""
|
|
20628
|
+
No help available.
|
|
20629
|
+
"""
|
|
20630
|
+
def __init__(self, service, version, mode, path):
|
|
20631
|
+
self.auto_draw = self.__class__.auto_draw(service, version, mode, path + ["auto_draw"])
|
|
20632
|
+
super().__init__(service, version, mode, path)
|
|
20633
|
+
class auto_draw(TUIMethod):
|
|
20634
|
+
"""
|
|
20635
|
+
No help available.
|
|
20636
|
+
"""
|
|
20637
|
+
|
|
20533
20638
|
class turbo_workflow(TUIMenu):
|
|
20534
20639
|
"""
|
|
20535
20640
|
No help available.
|
|
@@ -22570,6 +22675,7 @@ class main_menu(TUIMenu):
|
|
|
22570
22675
|
self.list = self.__class__.list(service, version, mode, path + ["list"])
|
|
22571
22676
|
self.list_properties = self.__class__.list_properties(service, version, mode, path + ["list_properties"])
|
|
22572
22677
|
self.make_a_copy = self.__class__.make_a_copy(service, version, mode, path + ["make_a_copy"])
|
|
22678
|
+
self.new = self.__class__.new(service, version, mode, path + ["new"])
|
|
22573
22679
|
self.rename = self.__class__.rename(service, version, mode, path + ["rename"])
|
|
22574
22680
|
super().__init__(service, version, mode, path)
|
|
22575
22681
|
class create(TUIMethod):
|
|
@@ -22596,6 +22702,10 @@ class main_menu(TUIMenu):
|
|
|
22596
22702
|
"""
|
|
22597
22703
|
No help available.
|
|
22598
22704
|
"""
|
|
22705
|
+
class new(TUIMethod):
|
|
22706
|
+
"""
|
|
22707
|
+
No help available.
|
|
22708
|
+
"""
|
|
22599
22709
|
class rename(TUIMethod):
|
|
22600
22710
|
"""
|
|
22601
22711
|
No help available.
|
|
@@ -22781,7 +22891,7 @@ class main_menu(TUIMenu):
|
|
|
22781
22891
|
self.arrow_space = self.__class__.arrow_space(service, version, mode, path + ["arrow_space"])
|
|
22782
22892
|
self.coarsen_factor = self.__class__.coarsen_factor(service, version, mode, path + ["coarsen_factor"])
|
|
22783
22893
|
self.display = self.__class__.display(service, version, mode, path + ["display"])
|
|
22784
|
-
self.
|
|
22894
|
+
self.history_file_name = self.__class__.history_file_name(service, version, mode, path + ["history_file_name"])
|
|
22785
22895
|
self.line_width = self.__class__.line_width(service, version, mode, path + ["line_width"])
|
|
22786
22896
|
self.report_default_variables = self.__class__.report_default_variables(service, version, mode, path + ["report_default_variables"])
|
|
22787
22897
|
self.track_single_particle_stream = self.__class__.track_single_particle_stream(service, version, mode, path + ["track_single_particle_stream"])
|
|
@@ -22802,7 +22912,7 @@ class main_menu(TUIMenu):
|
|
|
22802
22912
|
"""
|
|
22803
22913
|
No help available.
|
|
22804
22914
|
"""
|
|
22805
|
-
class
|
|
22915
|
+
class history_file_name(TUIMethod):
|
|
22806
22916
|
"""
|
|
22807
22917
|
No help available.
|
|
22808
22918
|
"""
|
|
@@ -23589,7 +23699,6 @@ class main_menu(TUIMenu):
|
|
|
23589
23699
|
self.add_all = self.__class__.add_all(service, version, mode, path + ["add_all"])
|
|
23590
23700
|
self.list = self.__class__.list(service, version, mode, path + ["list"])
|
|
23591
23701
|
self.remove = self.__class__.remove(service, version, mode, path + ["remove"])
|
|
23592
|
-
self.remove_all = self.__class__.remove_all(service, version, mode, path + ["remove_all"])
|
|
23593
23702
|
self.start = self.__class__.start(service, version, mode, path + ["start"])
|
|
23594
23703
|
self.stop = self.__class__.stop(service, version, mode, path + ["stop"])
|
|
23595
23704
|
super().__init__(service, version, mode, path)
|
|
@@ -23609,10 +23718,6 @@ class main_menu(TUIMenu):
|
|
|
23609
23718
|
"""
|
|
23610
23719
|
No help available.
|
|
23611
23720
|
"""
|
|
23612
|
-
class remove_all(TUIMethod):
|
|
23613
|
-
"""
|
|
23614
|
-
No help available.
|
|
23615
|
-
"""
|
|
23616
23721
|
class start(TUIMethod):
|
|
23617
23722
|
"""
|
|
23618
23723
|
No help available.
|
|
@@ -26059,18 +26164,63 @@ class main_menu(TUIMenu):
|
|
|
26059
26164
|
No help available.
|
|
26060
26165
|
"""
|
|
26061
26166
|
def __init__(self, service, version, mode, path):
|
|
26167
|
+
self.compute = self.__class__.compute(service, version, mode, path + ["compute"])
|
|
26168
|
+
self.define = self.__class__.define(service, version, mode, path + ["define"])
|
|
26169
|
+
self.display = self.__class__.display(service, version, mode, path + ["display"])
|
|
26170
|
+
self.expression_name = self.__class__.expression_name(service, version, mode, path + ["expression_name"])
|
|
26171
|
+
self.inlets = self.__class__.inlets(service, version, mode, path + ["inlets"])
|
|
26062
26172
|
self.isentropic = self.__class__.isentropic(service, version, mode, path + ["isentropic"])
|
|
26173
|
+
self.outlets = self.__class__.outlets(service, version, mode, path + ["outlets"])
|
|
26063
26174
|
self.polytropic = self.__class__.polytropic(service, version, mode, path + ["polytropic"])
|
|
26175
|
+
self.process = self.__class__.process(service, version, mode, path + ["process"])
|
|
26176
|
+
self.ratio = self.__class__.ratio(service, version, mode, path + ["ratio"])
|
|
26177
|
+
self.type = self.__class__.type(service, version, mode, path + ["type"])
|
|
26064
26178
|
self.use_in_turbo_report = self.__class__.use_in_turbo_report(service, version, mode, path + ["use_in_turbo_report"])
|
|
26065
26179
|
super().__init__(service, version, mode, path)
|
|
26180
|
+
class compute(TUIMethod):
|
|
26181
|
+
"""
|
|
26182
|
+
No help available.
|
|
26183
|
+
"""
|
|
26184
|
+
class define(TUIMethod):
|
|
26185
|
+
"""
|
|
26186
|
+
No help available.
|
|
26187
|
+
"""
|
|
26188
|
+
class display(TUIMethod):
|
|
26189
|
+
"""
|
|
26190
|
+
No help available.
|
|
26191
|
+
"""
|
|
26192
|
+
class expression_name(TUIMethod):
|
|
26193
|
+
"""
|
|
26194
|
+
No help available.
|
|
26195
|
+
"""
|
|
26196
|
+
class inlets(TUIMethod):
|
|
26197
|
+
"""
|
|
26198
|
+
No help available.
|
|
26199
|
+
"""
|
|
26066
26200
|
class isentropic(TUIMethod):
|
|
26067
26201
|
"""
|
|
26068
26202
|
No help available.
|
|
26069
26203
|
"""
|
|
26204
|
+
class outlets(TUIMethod):
|
|
26205
|
+
"""
|
|
26206
|
+
No help available.
|
|
26207
|
+
"""
|
|
26070
26208
|
class polytropic(TUIMethod):
|
|
26071
26209
|
"""
|
|
26072
26210
|
No help available.
|
|
26073
26211
|
"""
|
|
26212
|
+
class process(TUIMethod):
|
|
26213
|
+
"""
|
|
26214
|
+
No help available.
|
|
26215
|
+
"""
|
|
26216
|
+
class ratio(TUIMethod):
|
|
26217
|
+
"""
|
|
26218
|
+
No help available.
|
|
26219
|
+
"""
|
|
26220
|
+
class type(TUIMethod):
|
|
26221
|
+
"""
|
|
26222
|
+
No help available.
|
|
26223
|
+
"""
|
|
26074
26224
|
class use_in_turbo_report(TUIMethod):
|
|
26075
26225
|
"""
|
|
26076
26226
|
No help available.
|
|
@@ -34239,6 +34389,7 @@ class main_menu(TUIMenu):
|
|
|
34239
34389
|
self.post_script = self.__class__.post_script(service, version, mode, path + ["post_script"])
|
|
34240
34390
|
self.ppm = self.__class__.ppm(service, version, mode, path + ["ppm"])
|
|
34241
34391
|
self.tiff = self.__class__.tiff(service, version, mode, path + ["tiff"])
|
|
34392
|
+
self.usd = self.__class__.usd(service, version, mode, path + ["usd"])
|
|
34242
34393
|
self.vrml = self.__class__.vrml(service, version, mode, path + ["vrml"])
|
|
34243
34394
|
super().__init__(service, version, mode, path)
|
|
34244
34395
|
class avz(TUIMethod):
|
|
@@ -34297,6 +34448,10 @@ class main_menu(TUIMenu):
|
|
|
34297
34448
|
"""
|
|
34298
34449
|
Use TIFF output for hardcopies.
|
|
34299
34450
|
"""
|
|
34451
|
+
class usd(TUIMethod):
|
|
34452
|
+
"""
|
|
34453
|
+
Use USD output for hardcopies.
|
|
34454
|
+
"""
|
|
34300
34455
|
class vrml(TUIMethod):
|
|
34301
34456
|
"""
|
|
34302
34457
|
Use VRML output for hardcopies.
|
|
@@ -38429,7 +38584,7 @@ class main_menu(TUIMenu):
|
|
|
38429
38584
|
|
|
38430
38585
|
class transient_post_processing(TUIMenu):
|
|
38431
38586
|
"""
|
|
38432
|
-
|
|
38587
|
+
Commands associated with transient postprocessing.
|
|
38433
38588
|
"""
|
|
38434
38589
|
def __init__(self, service, version, mode, path):
|
|
38435
38590
|
self.timestep_selector = self.__class__.timestep_selector(service, version, mode, path + ["timestep_selector"])
|
|
@@ -38552,6 +38707,36 @@ class main_menu(TUIMenu):
|
|
|
38552
38707
|
Display average xy plot.
|
|
38553
38708
|
"""
|
|
38554
38709
|
|
|
38710
|
+
class turbo_setup(TUIMenu):
|
|
38711
|
+
"""
|
|
38712
|
+
Enter the turbo setup menu.
|
|
38713
|
+
"""
|
|
38714
|
+
def __init__(self, service, version, mode, path):
|
|
38715
|
+
self.workflow = self.__class__.workflow(service, version, mode, path + ["workflow"])
|
|
38716
|
+
super().__init__(service, version, mode, path)
|
|
38717
|
+
|
|
38718
|
+
class workflow(TUIMenu):
|
|
38719
|
+
"""
|
|
38720
|
+
Enter the workflow menu.
|
|
38721
|
+
"""
|
|
38722
|
+
def __init__(self, service, version, mode, path):
|
|
38723
|
+
self.disable = self.__class__.disable(service, version, mode, path + ["disable"])
|
|
38724
|
+
self.enable = self.__class__.enable(service, version, mode, path + ["enable"])
|
|
38725
|
+
self.reset = self.__class__.reset(service, version, mode, path + ["reset"])
|
|
38726
|
+
super().__init__(service, version, mode, path)
|
|
38727
|
+
class disable(TUIMethod):
|
|
38728
|
+
"""
|
|
38729
|
+
Disable the workflow.
|
|
38730
|
+
"""
|
|
38731
|
+
class enable(TUIMethod):
|
|
38732
|
+
"""
|
|
38733
|
+
Enable the workflow.
|
|
38734
|
+
"""
|
|
38735
|
+
class reset(TUIMethod):
|
|
38736
|
+
"""
|
|
38737
|
+
Reset the workflow.
|
|
38738
|
+
"""
|
|
38739
|
+
|
|
38555
38740
|
class turbo_workflow(TUIMenu):
|
|
38556
38741
|
"""
|
|
38557
38742
|
Enter the turbo workflow menu.
|
|
@@ -38921,7 +39106,6 @@ class main_menu(TUIMenu):
|
|
|
38921
39106
|
self.add_all = self.__class__.add_all(service, version, mode, path + ["add_all"])
|
|
38922
39107
|
self.list = self.__class__.list(service, version, mode, path + ["list"])
|
|
38923
39108
|
self.remove = self.__class__.remove(service, version, mode, path + ["remove"])
|
|
38924
|
-
self.remove_all = self.__class__.remove_all(service, version, mode, path + ["remove_all"])
|
|
38925
39109
|
self.start = self.__class__.start(service, version, mode, path + ["start"])
|
|
38926
39110
|
self.stop = self.__class__.stop(service, version, mode, path + ["stop"])
|
|
38927
39111
|
super().__init__(service, version, mode, path)
|
|
@@ -38941,10 +39125,6 @@ class main_menu(TUIMenu):
|
|
|
38941
39125
|
"""
|
|
38942
39126
|
No help available.
|
|
38943
39127
|
"""
|
|
38944
|
-
class remove_all(TUIMethod):
|
|
38945
|
-
"""
|
|
38946
|
-
No help available.
|
|
38947
|
-
"""
|
|
38948
39128
|
class start(TUIMethod):
|
|
38949
39129
|
"""
|
|
38950
39130
|
No help available.
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
from collections import OrderedDict
|
|
26
26
|
import subprocess
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
import ansys.fluent.core as pyfluent
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
def get_build_version():
|
|
@@ -42,7 +42,7 @@ def get_build_version():
|
|
|
42
42
|
build_details["Build Time"] = (
|
|
43
43
|
f"{last_commit_time[1]} {last_commit_time[2]} {last_commit_time[4]} {last_commit_time[3]} UTC{time_zone}"
|
|
44
44
|
)
|
|
45
|
-
build_details["Current Version"] = f"{__version__}"
|
|
45
|
+
build_details["Current Version"] = f"{pyfluent.__version__}"
|
|
46
46
|
build_details["ShaID"] = (
|
|
47
47
|
subprocess.check_output(["git", "rev-parse", "--short", "HEAD"])
|
|
48
48
|
.decode("ascii")
|
|
@@ -35,6 +35,7 @@ Examples
|
|
|
35
35
|
>>> container_solver_session = container_solver_launcher()
|
|
36
36
|
"""
|
|
37
37
|
|
|
38
|
+
import inspect
|
|
38
39
|
import logging
|
|
39
40
|
import os
|
|
40
41
|
from typing import Any
|
|
@@ -157,7 +158,12 @@ class DockerLauncher:
|
|
|
157
158
|
In job scheduler environments (e.g., SLURM, LSF, PBS), resources and compute nodes are allocated,
|
|
158
159
|
and core counts are queried from these environments before being passed to Fluent.
|
|
159
160
|
"""
|
|
160
|
-
|
|
161
|
+
locals_ = locals().copy()
|
|
162
|
+
argvals = {
|
|
163
|
+
arg: locals_.get(arg)
|
|
164
|
+
for arg in inspect.getargvalues(inspect.currentframe()).args
|
|
165
|
+
}
|
|
166
|
+
self.argvals, self.new_session = _get_argvals_and_session(argvals)
|
|
161
167
|
if self.argvals["start_timeout"] is None:
|
|
162
168
|
self.argvals["start_timeout"] = 60
|
|
163
169
|
self.file_transfer_service = file_transfer_service
|
|
@@ -78,7 +78,6 @@ import tempfile
|
|
|
78
78
|
from typing import Any, List
|
|
79
79
|
|
|
80
80
|
import ansys.fluent.core as pyfluent
|
|
81
|
-
from ansys.fluent.core._version import fluent_release_version
|
|
82
81
|
from ansys.fluent.core.session import _parse_server_info_file
|
|
83
82
|
from ansys.fluent.core.utils.deprecate import deprecate_argument
|
|
84
83
|
from ansys.fluent.core.utils.execution import timeout_loop
|
|
@@ -328,7 +327,9 @@ def configure_container_dict(
|
|
|
328
327
|
|
|
329
328
|
if not fluent_image:
|
|
330
329
|
if not image_tag:
|
|
331
|
-
image_tag = os.getenv(
|
|
330
|
+
image_tag = os.getenv(
|
|
331
|
+
"FLUENT_IMAGE_TAG", f"v{pyfluent.FLUENT_RELEASE_VERSION}"
|
|
332
|
+
)
|
|
332
333
|
if not image_name:
|
|
333
334
|
image_name = os.getenv("FLUENT_IMAGE_NAME", "ghcr.io/ansys/pyfluent")
|
|
334
335
|
if not image_tag or not image_name:
|
|
@@ -35,6 +35,7 @@ Examples
|
|
|
35
35
|
>>> pim_solver_session = pim_solver_launcher()
|
|
36
36
|
"""
|
|
37
37
|
|
|
38
|
+
import inspect
|
|
38
39
|
import logging
|
|
39
40
|
import os
|
|
40
41
|
from typing import Any, Dict
|
|
@@ -152,7 +153,12 @@ class PIMLauncher:
|
|
|
152
153
|
"'start_watchdog' argument for 'launch_fluent()' method is not supported "
|
|
153
154
|
"when starting a remote Fluent PyPIM client."
|
|
154
155
|
)
|
|
155
|
-
|
|
156
|
+
locals_ = locals().copy()
|
|
157
|
+
argvals = {
|
|
158
|
+
arg: locals_.get(arg)
|
|
159
|
+
for arg in inspect.getargvalues(inspect.currentframe()).args
|
|
160
|
+
}
|
|
161
|
+
self.argvals, self.new_session = _get_argvals_and_session(argvals)
|
|
156
162
|
self.file_transfer_service = file_transfer_service
|
|
157
163
|
if self.argvals["start_timeout"] is None:
|
|
158
164
|
self.argvals["start_timeout"] = 60
|
|
@@ -62,6 +62,7 @@ are optional and should be specified in a similar manner to Fluent's scheduler o
|
|
|
62
62
|
"""
|
|
63
63
|
|
|
64
64
|
from concurrent.futures import Future, ThreadPoolExecutor
|
|
65
|
+
import inspect
|
|
65
66
|
import logging
|
|
66
67
|
import os
|
|
67
68
|
from pathlib import Path
|
|
@@ -415,7 +416,12 @@ class SlurmLauncher:
|
|
|
415
416
|
"""
|
|
416
417
|
if not _SlurmWrapper.is_available():
|
|
417
418
|
raise RuntimeError("Slurm is not available.")
|
|
418
|
-
|
|
419
|
+
locals_ = locals().copy()
|
|
420
|
+
argvals = {
|
|
421
|
+
arg: locals_.get(arg)
|
|
422
|
+
for arg in inspect.getargvalues(inspect.currentframe()).args
|
|
423
|
+
}
|
|
424
|
+
self._argvals, self._new_session = _get_argvals_and_session(argvals)
|
|
419
425
|
self.file_transfer_service = file_transfer_service
|
|
420
426
|
if os.getenv("PYFLUENT_SHOW_SERVER_GUI") == "1":
|
|
421
427
|
ui_mode = UIMode.GUI
|
|
@@ -35,6 +35,7 @@ Examples
|
|
|
35
35
|
>>> standalone_solver_session = standalone_solver_launcher()
|
|
36
36
|
"""
|
|
37
37
|
|
|
38
|
+
import inspect
|
|
38
39
|
import logging
|
|
39
40
|
import os
|
|
40
41
|
from pathlib import Path
|
|
@@ -185,7 +186,12 @@ class StandaloneLauncher:
|
|
|
185
186
|
"""
|
|
186
187
|
import ansys.fluent.core as pyfluent
|
|
187
188
|
|
|
188
|
-
|
|
189
|
+
locals_ = locals().copy()
|
|
190
|
+
argvals = {
|
|
191
|
+
arg: locals_.get(arg)
|
|
192
|
+
for arg in inspect.getargvalues(inspect.currentframe()).args
|
|
193
|
+
}
|
|
194
|
+
self.argvals, self.new_session = _get_argvals_and_session(argvals)
|
|
189
195
|
self.file_transfer_service = file_transfer_service
|
|
190
196
|
if os.getenv("PYFLUENT_SHOW_SERVER_GUI") == "1":
|
|
191
197
|
ui_mode = UIMode.GUI
|
|
@@ -1016,7 +1016,7 @@ class PyStateContainer(PyCallableStateObject):
|
|
|
1016
1016
|
service=service,
|
|
1017
1017
|
rules=rules,
|
|
1018
1018
|
path=[] if path is None else path,
|
|
1019
|
-
|
|
1019
|
+
_cached_attrs={},
|
|
1020
1020
|
)
|
|
1021
1021
|
)
|
|
1022
1022
|
|
|
@@ -1071,15 +1071,15 @@ class PyStateContainer(PyCallableStateObject):
|
|
|
1071
1071
|
)
|
|
1072
1072
|
|
|
1073
1073
|
def _get_cached_attr(self, attrib: str) -> Any:
|
|
1074
|
-
cached_val = self.
|
|
1074
|
+
cached_val = self._cached_attrs.get(attrib)
|
|
1075
1075
|
if cached_val is None:
|
|
1076
1076
|
cached_val = self._get_remote_attr(attrib)
|
|
1077
1077
|
try: # will fail for Fluent 23.1 or before
|
|
1078
1078
|
self.add_on_attribute_changed(
|
|
1079
1079
|
attrib,
|
|
1080
|
-
functools.partial(dict.__setitem__, self.
|
|
1080
|
+
functools.partial(dict.__setitem__, self._cached_attrs, attrib),
|
|
1081
1081
|
)
|
|
1082
|
-
self.
|
|
1082
|
+
self._cached_attrs[attrib] = cached_val
|
|
1083
1083
|
except Exception:
|
|
1084
1084
|
pass
|
|
1085
1085
|
return cached_val
|
|
@@ -1885,42 +1885,47 @@ class PyCommand:
|
|
|
1885
1885
|
else:
|
|
1886
1886
|
self.path = path
|
|
1887
1887
|
self._static_info = None # command's static info
|
|
1888
|
+
self.file_behavior = None
|
|
1889
|
+
|
|
1890
|
+
def _update_file_behavior(self, file_purpose):
|
|
1891
|
+
purpose_to_class = {
|
|
1892
|
+
"input": _InputFile,
|
|
1893
|
+
"output": _OutputFile,
|
|
1894
|
+
"inout": _InOutFile,
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
if file_purpose:
|
|
1898
|
+
if file_purpose in purpose_to_class:
|
|
1899
|
+
file_class = purpose_to_class[file_purpose]
|
|
1900
|
+
self.file_behavior = file_class()
|
|
1901
|
+
setattr(self.file_behavior, "service", self.service)
|
|
1902
|
+
else:
|
|
1903
|
+
raise DisallowedFilePurpose(
|
|
1904
|
+
"File purpose", file_purpose, ["input", "output", "inout"]
|
|
1905
|
+
)
|
|
1888
1906
|
|
|
1889
1907
|
def _get_file_purpose(self, arg):
|
|
1890
1908
|
try:
|
|
1891
1909
|
cmd_instance = self.create_instance()
|
|
1892
1910
|
arg_instance = getattr(cmd_instance, arg)
|
|
1893
1911
|
file_purpose = arg_instance.get_attr("filePurpose")
|
|
1894
|
-
if file_purpose:
|
|
1895
|
-
if file_purpose == "input":
|
|
1896
|
-
if _InputFile not in self.__class__.__bases__:
|
|
1897
|
-
self.__class__.__bases__ += (_InputFile,)
|
|
1898
|
-
elif file_purpose == "output":
|
|
1899
|
-
if _OutputFile not in self.__class__.__bases__:
|
|
1900
|
-
self.__class__.__bases__ += (_OutputFile,)
|
|
1901
|
-
elif file_purpose == "inout":
|
|
1902
|
-
if _InOutFile not in self.__class__.__bases__:
|
|
1903
|
-
self.__class__.__bases__ += (_InOutFile,)
|
|
1904
|
-
else:
|
|
1905
|
-
raise DisallowedFilePurpose(
|
|
1906
|
-
"File purpose", file_purpose, ["input", "output", "inout"]
|
|
1907
|
-
)
|
|
1908
1912
|
del cmd_instance, arg_instance
|
|
1913
|
+
self._update_file_behavior(file_purpose)
|
|
1909
1914
|
return file_purpose if file_purpose else None
|
|
1910
1915
|
except AttributeError:
|
|
1911
1916
|
pass
|
|
1912
1917
|
|
|
1913
1918
|
def before_execute(self, value):
|
|
1914
1919
|
"""Executes before command execution."""
|
|
1915
|
-
if hasattr(self, "_do_before_execute"):
|
|
1916
|
-
return self._do_before_execute(value)
|
|
1920
|
+
if hasattr(self.file_behavior, "_do_before_execute"):
|
|
1921
|
+
return self.file_behavior._do_before_execute(value)
|
|
1917
1922
|
else:
|
|
1918
1923
|
return value
|
|
1919
1924
|
|
|
1920
1925
|
def after_execute(self, value):
|
|
1921
1926
|
"""Executes after command execution."""
|
|
1922
|
-
if hasattr(self, "_do_after_execute"):
|
|
1923
|
-
self._do_after_execute(value)
|
|
1927
|
+
if hasattr(self.file_behavior, "_do_after_execute"):
|
|
1928
|
+
self.file_behavior._do_after_execute(value)
|
|
1924
1929
|
|
|
1925
1930
|
def __call__(self, *args, **kwds) -> Any:
|
|
1926
1931
|
"""Execute the command.
|
|
@@ -2302,7 +2307,7 @@ class DataModelType(Enum):
|
|
|
2302
2307
|
class PyMenuGeneric(PyMenu):
|
|
2303
2308
|
"""Generic PyMenu class for when generated API code is not available."""
|
|
2304
2309
|
|
|
2305
|
-
attrs = ("service", "rules", "path", "
|
|
2310
|
+
attrs = ("service", "rules", "path", "_cached_attrs")
|
|
2306
2311
|
|
|
2307
2312
|
def _get_child_names(self) -> tuple[list, list, list, list]:
|
|
2308
2313
|
response = self.service.get_specs(
|