ansys-fluent-core 0.32.2__py3-none-any.whl → 0.33.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-fluent-core might be problematic. Click here for more details.
- ansys/fluent/core/__init__.py +11 -4
- ansys/fluent/core/codegen/builtin_settingsgen.py +16 -8
- ansys/fluent/core/codegen/datamodelgen.py +2 -2
- ansys/fluent/core/codegen/print_fluent_version.py +4 -4
- ansys/fluent/core/codegen/settingsgen.py +1 -2
- ansys/fluent/core/exceptions.py +0 -1
- ansys/fluent/core/file_session.py +9 -9
- ansys/fluent/core/filereader/case_file.py +2 -2
- ansys/fluent/core/fluent_connection.py +5 -5
- ansys/fluent/core/generated/api_tree/api_objects.json +1 -1
- ansys/fluent/core/generated/datamodel_231/flicing.py +55 -55
- ansys/fluent/core/generated/datamodel_231/meshing.py +171 -171
- ansys/fluent/core/generated/datamodel_232/flicing.py +30 -30
- ansys/fluent/core/generated/datamodel_232/meshing.py +218 -218
- ansys/fluent/core/generated/datamodel_241/flicing.py +45 -45
- ansys/fluent/core/generated/datamodel_241/meshing.py +295 -295
- ansys/fluent/core/generated/datamodel_242/flicing.py +40 -40
- ansys/fluent/core/generated/datamodel_242/meshing.py +299 -299
- ansys/fluent/core/generated/datamodel_242/part_management.py +3 -3
- ansys/fluent/core/generated/datamodel_251/flicing.py +45 -45
- ansys/fluent/core/generated/datamodel_251/meshing.py +294 -294
- ansys/fluent/core/generated/datamodel_251/part_management.py +6 -6
- ansys/fluent/core/generated/datamodel_252/flicing.py +50 -50
- ansys/fluent/core/generated/datamodel_252/meshing.py +431 -431
- ansys/fluent/core/generated/datamodel_252/part_management.py +5 -5
- ansys/fluent/core/generated/datamodel_261/flicing.py +55 -55
- ansys/fluent/core/generated/datamodel_261/meshing.py +447 -441
- ansys/fluent/core/generated/datamodel_261/part_management.py +5 -5
- ansys/fluent/core/generated/datamodel_261/solver_workflow.py +7 -0
- ansys/fluent/core/generated/fluent_version_261.py +3 -3
- ansys/fluent/core/generated/solver/settings_252.py +55 -55
- ansys/fluent/core/generated/solver/settings_261.py +2134 -3644
- ansys/fluent/core/generated/solver/settings_261.pyi +3391 -6013
- ansys/fluent/core/generated/solver/settings_builtin.py +57 -1
- ansys/fluent/core/generated/solver/settings_builtin.pyi +79 -0
- ansys/fluent/core/generated/solver/tui_261.py +78 -228
- ansys/fluent/core/launcher/container_launcher.py +7 -9
- ansys/fluent/core/launcher/fluent_container.py +106 -75
- ansys/fluent/core/launcher/launch_options.py +22 -1
- ansys/fluent/core/launcher/launcher.py +5 -4
- ansys/fluent/core/pyfluent_warnings.py +13 -0
- ansys/fluent/core/search.py +170 -83
- ansys/fluent/core/services/app_utilities.py +52 -32
- ansys/fluent/core/services/datamodel_se.py +6 -3
- ansys/fluent/core/services/scheme_eval.py +2 -0
- ansys/fluent/core/services/solution_variables.py +64 -49
- ansys/fluent/core/session.py +36 -30
- ansys/fluent/core/session_base_meshing.py +2 -24
- ansys/fluent/core/session_shared.py +5 -2
- ansys/fluent/core/session_solver.py +15 -9
- ansys/fluent/core/solver/__init__.py +1 -1
- ansys/fluent/core/solver/flobject.py +55 -38
- ansys/fluent/core/solver/settings_builtin_bases.py +14 -7
- ansys/fluent/core/solver/settings_builtin_data.py +121 -540
- ansys/fluent/core/utils/context_managers.py +0 -17
- ansys/fluent/core/utils/fluent_version.py +173 -0
- {ansys_fluent_core-0.32.2.dist-info → ansys_fluent_core-0.33.0.dist-info}/METADATA +9 -9
- {ansys_fluent_core-0.32.2.dist-info → ansys_fluent_core-0.33.0.dist-info}/RECORD +60 -78
- {ansys_fluent_core-0.32.2.dist-info → ansys_fluent_core-0.33.0.dist-info}/WHEEL +1 -1
- ansys/fluent/core/generated/datamodel_222/meshing.py +0 -6332
- ansys/fluent/core/generated/datamodel_222/part_management.py +0 -2072
- ansys/fluent/core/generated/datamodel_222/pm_file_management.py +0 -290
- ansys/fluent/core/generated/datamodel_222/preferences.py +0 -2449
- ansys/fluent/core/generated/datamodel_222/workflow.py +0 -651
- ansys/fluent/core/generated/fluent_version_222.py +0 -5
- ansys/fluent/core/generated/meshing/tui_222.py +0 -9649
- ansys/fluent/core/generated/solver/settings_222.py +0 -29473
- ansys/fluent/core/generated/solver/settings_222.pyi +0 -19590
- ansys/fluent/core/generated/solver/tui_222.py +0 -43451
- ansys/fluent/core/post_objects/__init__.py +0 -21
- ansys/fluent/core/post_objects/check_in_notebook.py +0 -35
- ansys/fluent/core/post_objects/meta.py +0 -926
- ansys/fluent/core/post_objects/post_helper.py +0 -178
- ansys/fluent/core/post_objects/post_object_definitions.py +0 -693
- ansys/fluent/core/post_objects/post_objects_container.py +0 -248
- ansys/fluent/core/post_objects/singleton_meta.py +0 -42
- ansys/fluent/core/post_objects/timing_decorator.py +0 -38
- {ansys_fluent_core-0.32.2.dist-info → ansys_fluent_core-0.33.0.dist-info/licenses}/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""Solver settings."""
|
|
2
2
|
|
|
3
|
-
from ansys.fluent.core.solver.settings_builtin_bases import _SingletonSetting, _CreatableNamedObjectSetting, _NonCreatableNamedObjectSetting, Solver
|
|
3
|
+
from ansys.fluent.core.solver.settings_builtin_bases import _SingletonSetting, _CreatableNamedObjectSetting, _NonCreatableNamedObjectSetting, _CommandSetting, Solver
|
|
4
4
|
from ansys.fluent.core.solver.flobject import SettingsBase
|
|
5
5
|
|
|
6
6
|
|
|
@@ -203,6 +203,14 @@ __all__ = [
|
|
|
203
203
|
"ParametricStudy",
|
|
204
204
|
"DesignPoints",
|
|
205
205
|
"DesignPoint",
|
|
206
|
+
"ReadCase",
|
|
207
|
+
"ReadData",
|
|
208
|
+
"ReadCaseData",
|
|
209
|
+
"WriteCase",
|
|
210
|
+
"WriteData",
|
|
211
|
+
"WriteCaseData",
|
|
212
|
+
"Initialize",
|
|
213
|
+
"Calculate",
|
|
206
214
|
]
|
|
207
215
|
|
|
208
216
|
class Setup(_SingletonSetting):
|
|
@@ -1393,3 +1401,51 @@ class DesignPoint(_CreatableNamedObjectSetting):
|
|
|
1393
1401
|
def __init__(self, parametric_studies: str, settings_source: SettingsBase | Solver | None = None, name: str = None, new_instance_name: str = None):
|
|
1394
1402
|
super().__init__(settings_source=settings_source, name=name, new_instance_name=new_instance_name, parametric_studies=parametric_studies)
|
|
1395
1403
|
|
|
1404
|
+
class ReadCase(_CommandSetting):
|
|
1405
|
+
"""ReadCase command."""
|
|
1406
|
+
|
|
1407
|
+
def __init__(self, settings_source: SettingsBase | Solver | None = None, **kwargs):
|
|
1408
|
+
super().__init__(settings_source=settings_source, **kwargs)
|
|
1409
|
+
|
|
1410
|
+
class ReadData(_CommandSetting):
|
|
1411
|
+
"""ReadData command."""
|
|
1412
|
+
|
|
1413
|
+
def __init__(self, settings_source: SettingsBase | Solver | None = None, **kwargs):
|
|
1414
|
+
super().__init__(settings_source=settings_source, **kwargs)
|
|
1415
|
+
|
|
1416
|
+
class ReadCaseData(_CommandSetting):
|
|
1417
|
+
"""ReadCaseData command."""
|
|
1418
|
+
|
|
1419
|
+
def __init__(self, settings_source: SettingsBase | Solver | None = None, **kwargs):
|
|
1420
|
+
super().__init__(settings_source=settings_source, **kwargs)
|
|
1421
|
+
|
|
1422
|
+
class WriteCase(_SingletonSetting):
|
|
1423
|
+
"""WriteCase setting."""
|
|
1424
|
+
|
|
1425
|
+
def __init__(self, settings_source: SettingsBase | Solver | None = None):
|
|
1426
|
+
super().__init__(settings_source=settings_source)
|
|
1427
|
+
|
|
1428
|
+
class WriteData(_SingletonSetting):
|
|
1429
|
+
"""WriteData setting."""
|
|
1430
|
+
|
|
1431
|
+
def __init__(self, settings_source: SettingsBase | Solver | None = None):
|
|
1432
|
+
super().__init__(settings_source=settings_source)
|
|
1433
|
+
|
|
1434
|
+
class WriteCaseData(_SingletonSetting):
|
|
1435
|
+
"""WriteCaseData setting."""
|
|
1436
|
+
|
|
1437
|
+
def __init__(self, settings_source: SettingsBase | Solver | None = None):
|
|
1438
|
+
super().__init__(settings_source=settings_source)
|
|
1439
|
+
|
|
1440
|
+
class Initialize(_CommandSetting):
|
|
1441
|
+
"""Initialize command."""
|
|
1442
|
+
|
|
1443
|
+
def __init__(self, settings_source: SettingsBase | Solver | None = None, **kwargs):
|
|
1444
|
+
super().__init__(settings_source=settings_source, **kwargs)
|
|
1445
|
+
|
|
1446
|
+
class Calculate(_CommandSetting):
|
|
1447
|
+
"""Calculate command."""
|
|
1448
|
+
|
|
1449
|
+
def __init__(self, settings_source: SettingsBase | Solver | None = None, **kwargs):
|
|
1450
|
+
super().__init__(settings_source=settings_source, **kwargs)
|
|
1451
|
+
|
|
@@ -1965,3 +1965,82 @@ class DesignPoint(
|
|
|
1965
1965
|
type(settings_root_222.parametric_studies.design_points.child_object_type),
|
|
1966
1966
|
): ...
|
|
1967
1967
|
|
|
1968
|
+
class ReadCase(
|
|
1969
|
+
type(settings_root_261.file.read_case),
|
|
1970
|
+
type(settings_root_252.file.read_case),
|
|
1971
|
+
type(settings_root_251.file.read_case),
|
|
1972
|
+
type(settings_root_242.file.read_case),
|
|
1973
|
+
type(settings_root_241.file.read_case),
|
|
1974
|
+
type(settings_root_232.file.read_case),
|
|
1975
|
+
type(settings_root_231.file.read_case),
|
|
1976
|
+
type(settings_root_222.file.read_case),
|
|
1977
|
+
): ...
|
|
1978
|
+
|
|
1979
|
+
class ReadData(
|
|
1980
|
+
type(settings_root_261.file.read_data),
|
|
1981
|
+
type(settings_root_252.file.read_data),
|
|
1982
|
+
type(settings_root_251.file.read_data),
|
|
1983
|
+
type(settings_root_242.file.read_data),
|
|
1984
|
+
type(settings_root_241.file.read_data),
|
|
1985
|
+
type(settings_root_232.file.read_data),
|
|
1986
|
+
type(settings_root_231.file.read_data),
|
|
1987
|
+
type(settings_root_222.file.read_data),
|
|
1988
|
+
): ...
|
|
1989
|
+
|
|
1990
|
+
class ReadCaseData(
|
|
1991
|
+
type(settings_root_261.file.read_case_data),
|
|
1992
|
+
type(settings_root_252.file.read_case_data),
|
|
1993
|
+
type(settings_root_251.file.read_case_data),
|
|
1994
|
+
type(settings_root_242.file.read_case_data),
|
|
1995
|
+
type(settings_root_241.file.read_case_data),
|
|
1996
|
+
type(settings_root_232.file.read_case_data),
|
|
1997
|
+
type(settings_root_231.file.read_case_data),
|
|
1998
|
+
type(settings_root_222.file.read_case_data),
|
|
1999
|
+
): ...
|
|
2000
|
+
|
|
2001
|
+
class WriteCase(
|
|
2002
|
+
type(settings_root_261.file.write_case),
|
|
2003
|
+
type(settings_root_252.file.write_case),
|
|
2004
|
+
type(settings_root_251.file.write_case),
|
|
2005
|
+
type(settings_root_242.file.write_case),
|
|
2006
|
+
type(settings_root_241.file.write_case),
|
|
2007
|
+
): ...
|
|
2008
|
+
|
|
2009
|
+
class WriteData(
|
|
2010
|
+
type(settings_root_261.file.write_data),
|
|
2011
|
+
type(settings_root_252.file.write_data),
|
|
2012
|
+
type(settings_root_251.file.write_data),
|
|
2013
|
+
type(settings_root_242.file.write_data),
|
|
2014
|
+
type(settings_root_241.file.write_data),
|
|
2015
|
+
): ...
|
|
2016
|
+
|
|
2017
|
+
class WriteCaseData(
|
|
2018
|
+
type(settings_root_261.file.write_case_data),
|
|
2019
|
+
type(settings_root_252.file.write_case_data),
|
|
2020
|
+
type(settings_root_251.file.write_case_data),
|
|
2021
|
+
type(settings_root_242.file.write_case_data),
|
|
2022
|
+
type(settings_root_241.file.write_case_data),
|
|
2023
|
+
): ...
|
|
2024
|
+
|
|
2025
|
+
class Initialize(
|
|
2026
|
+
type(settings_root_261.solution.initialization.initialize),
|
|
2027
|
+
type(settings_root_252.solution.initialization.initialize),
|
|
2028
|
+
type(settings_root_251.solution.initialization.initialize),
|
|
2029
|
+
type(settings_root_242.solution.initialization.initialize),
|
|
2030
|
+
type(settings_root_241.solution.initialization.initialize),
|
|
2031
|
+
type(settings_root_232.solution.initialization.initialize),
|
|
2032
|
+
type(settings_root_231.solution.initialization.initialize),
|
|
2033
|
+
type(settings_root_222.solution.initialization.initialize),
|
|
2034
|
+
): ...
|
|
2035
|
+
|
|
2036
|
+
class Calculate(
|
|
2037
|
+
type(settings_root_261.solution.run_calculation.calculate),
|
|
2038
|
+
type(settings_root_252.solution.run_calculation.calculate),
|
|
2039
|
+
type(settings_root_251.solution.run_calculation.calculate),
|
|
2040
|
+
type(settings_root_242.solution.run_calculation.calculate),
|
|
2041
|
+
type(settings_root_241.solution.run_calculation.calculate),
|
|
2042
|
+
type(settings_root_232.solution.run_calculation.calculate),
|
|
2043
|
+
type(settings_root_231.solution.run_calculation.calculate),
|
|
2044
|
+
type(settings_root_222.solution.run_calculation.calculate),
|
|
2045
|
+
): ...
|
|
2046
|
+
|
|
@@ -3109,11 +3109,17 @@ class main_menu(TUIMenu):
|
|
|
3109
3109
|
No help available.
|
|
3110
3110
|
"""
|
|
3111
3111
|
def __init__(self, service, version, mode, path):
|
|
3112
|
+
self.collision_pair_selection = self.__class__.collision_pair_selection(service, version, mode, path + ["collision_pair_selection"])
|
|
3112
3113
|
self.enabled = self.__class__.enabled(service, version, mode, path + ["enabled"])
|
|
3113
3114
|
self.real_to_simulated_particle_ratio = self.__class__.real_to_simulated_particle_ratio(service, version, mode, path + ["real_to_simulated_particle_ratio"])
|
|
3114
3115
|
self.sampling_begin_iteration = self.__class__.sampling_begin_iteration(service, version, mode, path + ["sampling_begin_iteration"])
|
|
3116
|
+
self.target_number_of_particle_per_subcell = self.__class__.target_number_of_particle_per_subcell(service, version, mode, path + ["target_number_of_particle_per_subcell"])
|
|
3115
3117
|
self.time_step = self.__class__.time_step(service, version, mode, path + ["time_step"])
|
|
3116
3118
|
super().__init__(service, version, mode, path)
|
|
3119
|
+
class collision_pair_selection(TUIMethod):
|
|
3120
|
+
"""
|
|
3121
|
+
No help available.
|
|
3122
|
+
"""
|
|
3117
3123
|
class enabled(TUIMethod):
|
|
3118
3124
|
"""
|
|
3119
3125
|
No help available.
|
|
@@ -3126,6 +3132,10 @@ class main_menu(TUIMenu):
|
|
|
3126
3132
|
"""
|
|
3127
3133
|
No help available.
|
|
3128
3134
|
"""
|
|
3135
|
+
class target_number_of_particle_per_subcell(TUIMethod):
|
|
3136
|
+
"""
|
|
3137
|
+
No help available.
|
|
3138
|
+
"""
|
|
3129
3139
|
class time_step(TUIMethod):
|
|
3130
3140
|
"""
|
|
3131
3141
|
No help available.
|
|
@@ -3133,7 +3143,7 @@ class main_menu(TUIMenu):
|
|
|
3133
3143
|
|
|
3134
3144
|
class electrolysis_setup(TUIMenu):
|
|
3135
3145
|
"""
|
|
3136
|
-
Enter the
|
|
3146
|
+
Enter the Electrochemical Devices setup menu.
|
|
3137
3147
|
"""
|
|
3138
3148
|
def __init__(self, service, version, mode, path):
|
|
3139
3149
|
self.advanced_setup = self.__class__.advanced_setup(service, version, mode, path + ["advanced_setup"])
|
|
@@ -3168,11 +3178,16 @@ class main_menu(TUIMenu):
|
|
|
3168
3178
|
"""
|
|
3169
3179
|
def __init__(self, service, version, mode, path):
|
|
3170
3180
|
self.contact_resistivity = self.__class__.contact_resistivity(service, version, mode, path + ["contact_resistivity"])
|
|
3181
|
+
self.membrane_species_diffusion = self.__class__.membrane_species_diffusion(service, version, mode, path + ["membrane_species_diffusion"])
|
|
3171
3182
|
super().__init__(service, version, mode, path)
|
|
3172
3183
|
class contact_resistivity(TUIMethod):
|
|
3173
3184
|
"""
|
|
3174
3185
|
Set Contact Resistivity.
|
|
3175
3186
|
"""
|
|
3187
|
+
class membrane_species_diffusion(TUIMethod):
|
|
3188
|
+
"""
|
|
3189
|
+
Set Membrane Species Diffusion.
|
|
3190
|
+
"""
|
|
3176
3191
|
|
|
3177
3192
|
class anode_setup(TUIMenu):
|
|
3178
3193
|
"""
|
|
@@ -9971,11 +9986,11 @@ class main_menu(TUIMenu):
|
|
|
9971
9986
|
"""
|
|
9972
9987
|
class copy_modification(TUIMethod):
|
|
9973
9988
|
"""
|
|
9974
|
-
|
|
9989
|
+
Copy a single case modification.
|
|
9975
9990
|
"""
|
|
9976
9991
|
class delete_modification(TUIMethod):
|
|
9977
9992
|
"""
|
|
9978
|
-
|
|
9993
|
+
Delete a single case modification.
|
|
9979
9994
|
"""
|
|
9980
9995
|
class disable_modification(TUIMethod):
|
|
9981
9996
|
"""
|
|
@@ -17113,56 +17128,11 @@ class main_menu(TUIMenu):
|
|
|
17113
17128
|
self.study = self.__class__.study(service, version, mode, path + ["study"])
|
|
17114
17129
|
self.update = self.__class__.update(service, version, mode, path + ["update"])
|
|
17115
17130
|
self.case_settings_changed = self.__class__.case_settings_changed(service, version, mode, path + ["case_settings_changed"])
|
|
17116
|
-
self.delete_study = self.__class__.delete_study(service, version, mode, path + ["delete_study"])
|
|
17117
|
-
self.duplicate_study = self.__class__.duplicate_study(service, version, mode, path + ["duplicate_study"])
|
|
17118
|
-
self.export_design_table = self.__class__.export_design_table(service, version, mode, path + ["export_design_table"])
|
|
17119
|
-
self.import_design_table = self.__class__.import_design_table(service, version, mode, path + ["import_design_table"])
|
|
17120
|
-
self.initialize = self.__class__.initialize(service, version, mode, path + ["initialize"])
|
|
17121
|
-
self.list_studies = self.__class__.list_studies(service, version, mode, path + ["list_studies"])
|
|
17122
|
-
self.rename_study = self.__class__.rename_study(service, version, mode, path + ["rename_study"])
|
|
17123
|
-
self.set_as_current_study = self.__class__.set_as_current_study(service, version, mode, path + ["set_as_current_study"])
|
|
17124
|
-
self.use_base_data = self.__class__.use_base_data(service, version, mode, path + ["use_base_data"])
|
|
17125
17131
|
super().__init__(service, version, mode, path)
|
|
17126
17132
|
class case_settings_changed(TUIMethod):
|
|
17127
17133
|
"""
|
|
17128
17134
|
Check if case settings are changed.
|
|
17129
17135
|
"""
|
|
17130
|
-
class delete_study(TUIMethod):
|
|
17131
|
-
"""
|
|
17132
|
-
Delete Study.
|
|
17133
|
-
"""
|
|
17134
|
-
class duplicate_study(TUIMethod):
|
|
17135
|
-
"""
|
|
17136
|
-
Duplicate Parametric Study.
|
|
17137
|
-
"""
|
|
17138
|
-
class export_design_table(TUIMethod):
|
|
17139
|
-
"""
|
|
17140
|
-
Export Design Point Table.
|
|
17141
|
-
"""
|
|
17142
|
-
class import_design_table(TUIMethod):
|
|
17143
|
-
"""
|
|
17144
|
-
Import Design Point Table.
|
|
17145
|
-
"""
|
|
17146
|
-
class initialize(TUIMethod):
|
|
17147
|
-
"""
|
|
17148
|
-
Start Parametric Study.
|
|
17149
|
-
"""
|
|
17150
|
-
class list_studies(TUIMethod):
|
|
17151
|
-
"""
|
|
17152
|
-
List Studies.
|
|
17153
|
-
"""
|
|
17154
|
-
class rename_study(TUIMethod):
|
|
17155
|
-
"""
|
|
17156
|
-
Rename Study.
|
|
17157
|
-
"""
|
|
17158
|
-
class set_as_current_study(TUIMethod):
|
|
17159
|
-
"""
|
|
17160
|
-
Set As Current Study.
|
|
17161
|
-
"""
|
|
17162
|
-
class use_base_data(TUIMethod):
|
|
17163
|
-
"""
|
|
17164
|
-
Use Base Data.
|
|
17165
|
-
"""
|
|
17166
17136
|
|
|
17167
17137
|
class design_points(TUIMenu):
|
|
17168
17138
|
"""
|
|
@@ -28961,25 +28931,14 @@ class main_menu(TUIMenu):
|
|
|
28961
28931
|
No help available.
|
|
28962
28932
|
"""
|
|
28963
28933
|
def __init__(self, service, version, mode, path):
|
|
28964
|
-
self.
|
|
28965
|
-
self.initialization_method = self.__class__.initialization_method(service, version, mode, path + ["initialization_method"])
|
|
28966
|
-
self.add_edit_modification = self.__class__.add_edit_modification(service, version, mode, path + ["add_edit_modification"])
|
|
28934
|
+
self.automatic_case_modification = self.__class__.automatic_case_modification(service, version, mode, path + ["automatic_case_modification"])
|
|
28967
28935
|
self.automatic_initialization = self.__class__.automatic_initialization(service, version, mode, path + ["automatic_initialization"])
|
|
28968
28936
|
self.continue_strategy_execution = self.__class__.continue_strategy_execution(service, version, mode, path + ["continue_strategy_execution"])
|
|
28969
|
-
self.copy_modification = self.__class__.copy_modification(service, version, mode, path + ["copy_modification"])
|
|
28970
|
-
self.delete_modification = self.__class__.delete_modification(service, version, mode, path + ["delete_modification"])
|
|
28971
|
-
self.disable_modification = self.__class__.disable_modification(service, version, mode, path + ["disable_modification"])
|
|
28972
|
-
self.enable_modification = self.__class__.enable_modification(service, version, mode, path + ["enable_modification"])
|
|
28973
|
-
self.enable_strategy = self.__class__.enable_strategy(service, version, mode, path + ["enable_strategy"])
|
|
28974
|
-
self.enabled = self.__class__.enabled(service, version, mode, path + ["enabled"])
|
|
28975
28937
|
self.execute_strategy = self.__class__.execute_strategy(service, version, mode, path + ["execute_strategy"])
|
|
28976
|
-
self.
|
|
28977
|
-
self.
|
|
28938
|
+
self.export = self.__class__.export(service, version, mode, path + ["export"])
|
|
28939
|
+
self.import_ = self.__class__.import_(service, version, mode, path + ["import_"])
|
|
28940
|
+
self.strategy_enable = self.__class__.strategy_enable(service, version, mode, path + ["strategy_enable"])
|
|
28978
28941
|
super().__init__(service, version, mode, path)
|
|
28979
|
-
class add_edit_modification(TUIMethod):
|
|
28980
|
-
"""
|
|
28981
|
-
No help available.
|
|
28982
|
-
"""
|
|
28983
28942
|
class automatic_initialization(TUIMethod):
|
|
28984
28943
|
"""
|
|
28985
28944
|
No help available.
|
|
@@ -28988,188 +28947,79 @@ class main_menu(TUIMenu):
|
|
|
28988
28947
|
"""
|
|
28989
28948
|
No help available.
|
|
28990
28949
|
"""
|
|
28991
|
-
class
|
|
28992
|
-
"""
|
|
28993
|
-
No help available.
|
|
28994
|
-
"""
|
|
28995
|
-
class delete_modification(TUIMethod):
|
|
28996
|
-
"""
|
|
28997
|
-
No help available.
|
|
28998
|
-
"""
|
|
28999
|
-
class disable_modification(TUIMethod):
|
|
29000
|
-
"""
|
|
29001
|
-
No help available.
|
|
29002
|
-
"""
|
|
29003
|
-
class enable_modification(TUIMethod):
|
|
29004
|
-
"""
|
|
29005
|
-
No help available.
|
|
29006
|
-
"""
|
|
29007
|
-
class enable_strategy(TUIMethod):
|
|
29008
|
-
"""
|
|
29009
|
-
No help available.
|
|
29010
|
-
"""
|
|
29011
|
-
class enabled(TUIMethod):
|
|
28950
|
+
class execute_strategy(TUIMethod):
|
|
29012
28951
|
"""
|
|
29013
28952
|
No help available.
|
|
29014
28953
|
"""
|
|
29015
|
-
class
|
|
28954
|
+
class export(TUIMethod):
|
|
29016
28955
|
"""
|
|
29017
28956
|
No help available.
|
|
29018
28957
|
"""
|
|
29019
|
-
class
|
|
28958
|
+
class import_(TUIMethod):
|
|
29020
28959
|
"""
|
|
29021
28960
|
No help available.
|
|
29022
28961
|
"""
|
|
29023
|
-
class
|
|
28962
|
+
class strategy_enable(TUIMethod):
|
|
29024
28963
|
"""
|
|
29025
28964
|
No help available.
|
|
29026
28965
|
"""
|
|
29027
28966
|
|
|
29028
|
-
class
|
|
28967
|
+
class automatic_case_modification(TUIMenu):
|
|
29029
28968
|
"""
|
|
29030
28969
|
No help available.
|
|
29031
28970
|
"""
|
|
29032
28971
|
def __init__(self, service, version, mode, path):
|
|
29033
|
-
self.
|
|
29034
|
-
self.
|
|
29035
|
-
self.
|
|
28972
|
+
self.add_edit = self.__class__.add_edit(service, version, mode, path + ["add_edit"])
|
|
28973
|
+
self.create = self.__class__.create(service, version, mode, path + ["create"])
|
|
28974
|
+
self.delete = self.__class__.delete(service, version, mode, path + ["delete"])
|
|
28975
|
+
self.disable = self.__class__.disable(service, version, mode, path + ["disable"])
|
|
28976
|
+
self.edit = self.__class__.edit(service, version, mode, path + ["edit"])
|
|
28977
|
+
self.enable = self.__class__.enable(service, version, mode, path + ["enable"])
|
|
28978
|
+
self.list = self.__class__.list(service, version, mode, path + ["list"])
|
|
28979
|
+
self.list_properties = self.__class__.list_properties(service, version, mode, path + ["list_properties"])
|
|
28980
|
+
self.make_a_copy = self.__class__.make_a_copy(service, version, mode, path + ["make_a_copy"])
|
|
28981
|
+
self.rename = self.__class__.rename(service, version, mode, path + ["rename"])
|
|
29036
28982
|
super().__init__(service, version, mode, path)
|
|
29037
|
-
|
|
29038
|
-
class before_init_modification(TUIMenu):
|
|
28983
|
+
class add_edit(TUIMethod):
|
|
29039
28984
|
"""
|
|
29040
28985
|
No help available.
|
|
29041
28986
|
"""
|
|
29042
|
-
|
|
29043
|
-
self.active = self.__class__.active(service, version, mode, path + ["active"])
|
|
29044
|
-
self.command = self.__class__.command(service, version, mode, path + ["command"])
|
|
29045
|
-
self.count = self.__class__.count(service, version, mode, path + ["count"])
|
|
29046
|
-
self.flowtime = self.__class__.flowtime(service, version, mode, path + ["flowtime"])
|
|
29047
|
-
self.ftselected = self.__class__.ftselected(service, version, mode, path + ["ftselected"])
|
|
29048
|
-
self.name = self.__class__.name(service, version, mode, path + ["name"])
|
|
29049
|
-
self.python_cmd = self.__class__.python_cmd(service, version, mode, path + ["python_cmd"])
|
|
29050
|
-
super().__init__(service, version, mode, path)
|
|
29051
|
-
class active(TUIMethod):
|
|
29052
|
-
"""
|
|
29053
|
-
No help available.
|
|
29054
|
-
"""
|
|
29055
|
-
class command(TUIMethod):
|
|
29056
|
-
"""
|
|
29057
|
-
No help available.
|
|
29058
|
-
"""
|
|
29059
|
-
class count(TUIMethod):
|
|
29060
|
-
"""
|
|
29061
|
-
No help available.
|
|
29062
|
-
"""
|
|
29063
|
-
class flowtime(TUIMethod):
|
|
29064
|
-
"""
|
|
29065
|
-
No help available.
|
|
29066
|
-
"""
|
|
29067
|
-
class ftselected(TUIMethod):
|
|
29068
|
-
"""
|
|
29069
|
-
No help available.
|
|
29070
|
-
"""
|
|
29071
|
-
class name(TUIMethod):
|
|
29072
|
-
"""
|
|
29073
|
-
No help available.
|
|
29074
|
-
"""
|
|
29075
|
-
class python_cmd(TUIMethod):
|
|
29076
|
-
"""
|
|
29077
|
-
No help available.
|
|
29078
|
-
"""
|
|
29079
|
-
|
|
29080
|
-
class modifications(TUIMenu):
|
|
28987
|
+
class create(TUIMethod):
|
|
29081
28988
|
"""
|
|
29082
28989
|
No help available.
|
|
29083
28990
|
"""
|
|
29084
|
-
|
|
29085
|
-
self.edit = self.__class__.edit(service, version, mode, path + ["edit"])
|
|
29086
|
-
self.list_properties = self.__class__.list_properties(service, version, mode, path + ["list_properties"])
|
|
29087
|
-
self.resize = self.__class__.resize(service, version, mode, path + ["resize"])
|
|
29088
|
-
super().__init__(service, version, mode, path)
|
|
29089
|
-
class edit(TUIMethod):
|
|
29090
|
-
"""
|
|
29091
|
-
Edit modifications object.
|
|
29092
|
-
"""
|
|
29093
|
-
class list_properties(TUIMethod):
|
|
29094
|
-
"""
|
|
29095
|
-
No help available.
|
|
29096
|
-
"""
|
|
29097
|
-
class resize(TUIMethod):
|
|
29098
|
-
"""
|
|
29099
|
-
No help available.
|
|
29100
|
-
"""
|
|
29101
|
-
|
|
29102
|
-
class original_settings(TUIMenu):
|
|
28991
|
+
class delete(TUIMethod):
|
|
29103
28992
|
"""
|
|
29104
28993
|
No help available.
|
|
29105
28994
|
"""
|
|
29106
|
-
|
|
29107
|
-
self.active = self.__class__.active(service, version, mode, path + ["active"])
|
|
29108
|
-
self.command = self.__class__.command(service, version, mode, path + ["command"])
|
|
29109
|
-
self.count = self.__class__.count(service, version, mode, path + ["count"])
|
|
29110
|
-
self.flowtime = self.__class__.flowtime(service, version, mode, path + ["flowtime"])
|
|
29111
|
-
self.ftselected = self.__class__.ftselected(service, version, mode, path + ["ftselected"])
|
|
29112
|
-
self.name = self.__class__.name(service, version, mode, path + ["name"])
|
|
29113
|
-
self.python_cmd = self.__class__.python_cmd(service, version, mode, path + ["python_cmd"])
|
|
29114
|
-
super().__init__(service, version, mode, path)
|
|
29115
|
-
class active(TUIMethod):
|
|
29116
|
-
"""
|
|
29117
|
-
No help available.
|
|
29118
|
-
"""
|
|
29119
|
-
class command(TUIMethod):
|
|
29120
|
-
"""
|
|
29121
|
-
No help available.
|
|
29122
|
-
"""
|
|
29123
|
-
class count(TUIMethod):
|
|
29124
|
-
"""
|
|
29125
|
-
No help available.
|
|
29126
|
-
"""
|
|
29127
|
-
class flowtime(TUIMethod):
|
|
29128
|
-
"""
|
|
29129
|
-
No help available.
|
|
29130
|
-
"""
|
|
29131
|
-
class ftselected(TUIMethod):
|
|
29132
|
-
"""
|
|
29133
|
-
No help available.
|
|
29134
|
-
"""
|
|
29135
|
-
class name(TUIMethod):
|
|
29136
|
-
"""
|
|
29137
|
-
No help available.
|
|
29138
|
-
"""
|
|
29139
|
-
class python_cmd(TUIMethod):
|
|
29140
|
-
"""
|
|
29141
|
-
No help available.
|
|
29142
|
-
"""
|
|
29143
|
-
|
|
29144
|
-
class initialization_method(TUIMenu):
|
|
29145
|
-
"""
|
|
29146
|
-
No help available.
|
|
29147
|
-
"""
|
|
29148
|
-
def __init__(self, service, version, mode, path):
|
|
29149
|
-
self.init_from_solution = self.__class__.init_from_solution(service, version, mode, path + ["init_from_solution"])
|
|
29150
|
-
self.init_from_data_file = self.__class__.init_from_data_file(service, version, mode, path + ["init_from_data_file"])
|
|
29151
|
-
super().__init__(service, version, mode, path)
|
|
29152
|
-
class init_from_data_file(TUIMethod):
|
|
28995
|
+
class disable(TUIMethod):
|
|
29153
28996
|
"""
|
|
29154
28997
|
No help available.
|
|
29155
28998
|
"""
|
|
29156
|
-
|
|
29157
|
-
|
|
28999
|
+
class edit(TUIMethod):
|
|
29000
|
+
"""
|
|
29001
|
+
Edit automatic-case-modification object.
|
|
29002
|
+
"""
|
|
29003
|
+
class enable(TUIMethod):
|
|
29004
|
+
"""
|
|
29005
|
+
No help available.
|
|
29006
|
+
"""
|
|
29007
|
+
class list(TUIMethod):
|
|
29008
|
+
"""
|
|
29009
|
+
No help available.
|
|
29010
|
+
"""
|
|
29011
|
+
class list_properties(TUIMethod):
|
|
29012
|
+
"""
|
|
29013
|
+
No help available.
|
|
29014
|
+
"""
|
|
29015
|
+
class make_a_copy(TUIMethod):
|
|
29016
|
+
"""
|
|
29017
|
+
No help available.
|
|
29018
|
+
"""
|
|
29019
|
+
class rename(TUIMethod):
|
|
29158
29020
|
"""
|
|
29159
29021
|
No help available.
|
|
29160
29022
|
"""
|
|
29161
|
-
def __init__(self, service, version, mode, path):
|
|
29162
|
-
self.init_from_data_file = self.__class__.init_from_data_file(service, version, mode, path + ["init_from_data_file"])
|
|
29163
|
-
self.option = self.__class__.option(service, version, mode, path + ["option"])
|
|
29164
|
-
super().__init__(service, version, mode, path)
|
|
29165
|
-
class init_from_data_file(TUIMethod):
|
|
29166
|
-
"""
|
|
29167
|
-
No help available.
|
|
29168
|
-
"""
|
|
29169
|
-
class option(TUIMethod):
|
|
29170
|
-
"""
|
|
29171
|
-
No help available.
|
|
29172
|
-
"""
|
|
29173
29023
|
|
|
29174
29024
|
class execute_commands(TUIMenu):
|
|
29175
29025
|
"""
|
|
@@ -34692,13 +34542,20 @@ class main_menu(TUIMenu):
|
|
|
34692
34542
|
"""
|
|
34693
34543
|
def __init__(self, service, version, mode, path):
|
|
34694
34544
|
self.iter_count = self.__class__.iter_count(service, version, mode, path + ["iter_count"])
|
|
34545
|
+
self.max_iter_per_time_step = self.__class__.max_iter_per_time_step(service, version, mode, path + ["max_iter_per_time_step"])
|
|
34695
34546
|
self.profile_update_interval = self.__class__.profile_update_interval(service, version, mode, path + ["profile_update_interval"])
|
|
34696
34547
|
self.reporting_interval = self.__class__.reporting_interval(service, version, mode, path + ["reporting_interval"])
|
|
34548
|
+
self.time_step_count = self.__class__.time_step_count(service, version, mode, path + ["time_step_count"])
|
|
34549
|
+
self.time_step_size = self.__class__.time_step_size(service, version, mode, path + ["time_step_size"])
|
|
34697
34550
|
super().__init__(service, version, mode, path)
|
|
34698
34551
|
class iter_count(TUIMethod):
|
|
34699
34552
|
"""
|
|
34700
34553
|
No help available.
|
|
34701
34554
|
"""
|
|
34555
|
+
class max_iter_per_time_step(TUIMethod):
|
|
34556
|
+
"""
|
|
34557
|
+
No help available.
|
|
34558
|
+
"""
|
|
34702
34559
|
class profile_update_interval(TUIMethod):
|
|
34703
34560
|
"""
|
|
34704
34561
|
No help available.
|
|
@@ -34707,6 +34564,14 @@ class main_menu(TUIMenu):
|
|
|
34707
34564
|
"""
|
|
34708
34565
|
No help available.
|
|
34709
34566
|
"""
|
|
34567
|
+
class time_step_count(TUIMethod):
|
|
34568
|
+
"""
|
|
34569
|
+
No help available.
|
|
34570
|
+
"""
|
|
34571
|
+
class time_step_size(TUIMethod):
|
|
34572
|
+
"""
|
|
34573
|
+
No help available.
|
|
34574
|
+
"""
|
|
34710
34575
|
|
|
34711
34576
|
class pollutants(TUIMenu):
|
|
34712
34577
|
"""
|
|
@@ -34833,14 +34698,11 @@ class main_menu(TUIMenu):
|
|
|
34833
34698
|
self.flow_time = self.__class__.flow_time(service, version, mode, path + ["flow_time"])
|
|
34834
34699
|
self.incremental_time = self.__class__.incremental_time(service, version, mode, path + ["incremental_time"])
|
|
34835
34700
|
self.max_flow_time = self.__class__.max_flow_time(service, version, mode, path + ["max_flow_time"])
|
|
34836
|
-
self.max_iter_per_time_step = self.__class__.max_iter_per_time_step(service, version, mode, path + ["max_iter_per_time_step"])
|
|
34837
34701
|
self.method = self.__class__.method(service, version, mode, path + ["method"])
|
|
34838
34702
|
self.predict_next = self.__class__.predict_next(service, version, mode, path + ["predict_next"])
|
|
34839
34703
|
self.rotating_mesh_flow_predictor = self.__class__.rotating_mesh_flow_predictor(service, version, mode, path + ["rotating_mesh_flow_predictor"])
|
|
34840
34704
|
self.solution_status = self.__class__.solution_status(service, version, mode, path + ["solution_status"])
|
|
34841
34705
|
self.specified_time_step = self.__class__.specified_time_step(service, version, mode, path + ["specified_time_step"])
|
|
34842
|
-
self.time_step_count = self.__class__.time_step_count(service, version, mode, path + ["time_step_count"])
|
|
34843
|
-
self.time_step_size = self.__class__.time_step_size(service, version, mode, path + ["time_step_size"])
|
|
34844
34706
|
self.time_step_size_for_acoustic_export = self.__class__.time_step_size_for_acoustic_export(service, version, mode, path + ["time_step_size_for_acoustic_export"])
|
|
34845
34707
|
self.total_time = self.__class__.total_time(service, version, mode, path + ["total_time"])
|
|
34846
34708
|
self.total_time_step_count = self.__class__.total_time_step_count(service, version, mode, path + ["total_time_step_count"])
|
|
@@ -34867,10 +34729,6 @@ class main_menu(TUIMenu):
|
|
|
34867
34729
|
"""
|
|
34868
34730
|
No help available.
|
|
34869
34731
|
"""
|
|
34870
|
-
class max_iter_per_time_step(TUIMethod):
|
|
34871
|
-
"""
|
|
34872
|
-
No help available.
|
|
34873
|
-
"""
|
|
34874
34732
|
class method(TUIMethod):
|
|
34875
34733
|
"""
|
|
34876
34734
|
No help available.
|
|
@@ -34891,14 +34749,6 @@ class main_menu(TUIMenu):
|
|
|
34891
34749
|
"""
|
|
34892
34750
|
No help available.
|
|
34893
34751
|
"""
|
|
34894
|
-
class time_step_count(TUIMethod):
|
|
34895
|
-
"""
|
|
34896
|
-
No help available.
|
|
34897
|
-
"""
|
|
34898
|
-
class time_step_size(TUIMethod):
|
|
34899
|
-
"""
|
|
34900
|
-
No help available.
|
|
34901
|
-
"""
|
|
34902
34752
|
class time_step_size_for_acoustic_export(TUIMethod):
|
|
34903
34753
|
"""
|
|
34904
34754
|
No help available.
|
|
@@ -39440,7 +39290,7 @@ class main_menu(TUIMenu):
|
|
|
39440
39290
|
"""
|
|
39441
39291
|
class multiphase_specific_time_stepping(TUIMethod):
|
|
39442
39292
|
"""
|
|
39443
|
-
|
|
39293
|
+
Multiphase specific time stepping parameters.
|
|
39444
39294
|
"""
|
|
39445
39295
|
class number_of_time_steps(TUIMethod):
|
|
39446
39296
|
"""
|
|
@@ -44,6 +44,7 @@ from typing import Any
|
|
|
44
44
|
from ansys.fluent.core.fluent_connection import FluentConnection
|
|
45
45
|
from ansys.fluent.core.launcher.fluent_container import (
|
|
46
46
|
configure_container_dict,
|
|
47
|
+
dict_to_str,
|
|
47
48
|
start_fluent_container,
|
|
48
49
|
)
|
|
49
50
|
from ansys.fluent.core.launcher.launch_options import (
|
|
@@ -199,23 +200,20 @@ class DockerLauncher:
|
|
|
199
200
|
self._args.append(" -meshing")
|
|
200
201
|
|
|
201
202
|
def __call__(self):
|
|
203
|
+
|
|
202
204
|
if self.argvals["dry_run"]:
|
|
203
205
|
config_dict, *_ = configure_container_dict(
|
|
204
206
|
self._args, **self.argvals["container_dict"]
|
|
205
207
|
)
|
|
206
|
-
|
|
207
|
-
|
|
208
|
+
dict_str = dict_to_str(config_dict)
|
|
208
209
|
print("\nDocker container run configuration:\n")
|
|
209
210
|
print("config_dict = ")
|
|
210
|
-
|
|
211
|
-
pprint(config_dict)
|
|
212
|
-
else:
|
|
213
|
-
config_dict_h = config_dict.copy()
|
|
214
|
-
config_dict_h.pop("environment")
|
|
215
|
-
pprint(config_dict_h)
|
|
216
|
-
del config_dict_h
|
|
211
|
+
print(dict_str)
|
|
217
212
|
return config_dict
|
|
218
213
|
|
|
214
|
+
logger.debug(f"Fluent container launcher args: {self._args}")
|
|
215
|
+
logger.debug(f"Fluent container launcher argvals:\n{dict_to_str(self.argvals)}")
|
|
216
|
+
|
|
219
217
|
if is_compose():
|
|
220
218
|
port, config_dict, container = start_fluent_container(
|
|
221
219
|
self._args, self.argvals["container_dict"]
|