ansys / pyfluent

Pythonic interface to Ansys Fluent
https://fluent.docs.pyansys.com
MIT License
275 stars 40 forks source link

Turbulence Multiphase Model is not available/seen in the viscous model class #112

Closed sujal-tipnis closed 1 year ago

sujal-tipnis commented 2 years ago

To reproduce:

_import ansys.fluent as pyfluent import os path = os.getcwd() s= pyfluent.launch_fluent() s.check_health() s.tui.solver.file.show_configuration() s.tui.solver.file.read_case(case_file_name=path + '/mesh_files/mixing_tank.msh')

root = s.get_settings_root() s.tui.solver.define.operating_conditions.gravity("yes","0","0","-9.81") s.tui.solver.define.operating_conditions.operating_density("yes", "1.225")

root.setup.models.multiphase.models = 'eulerian'_

Now when I print status of the viscous model, I do not see the Turbulence Multiphase Model options as seen below:

root.setup.models.viscous.print_state() _model : k-omega-standard options : curvature_correction : False corner_flow_correction : False production_kato_launder : False production_limiter : True k_omega_model : sst k_omega_options : kw_low_recorrection : False

The subsequent Fluent GUI has the following options:

image

dnwillia-work commented 2 years ago

@gyeole Is the settings api supporting this yet?

gyeole commented 2 years ago

@dnwillia-work Multiphase is not supported under Pro mode. Hence this setting is not covered yet. I have added support for Turbulence model (Independent of Multiphase) and energy model as POC and we will revisit rest of models in the end as that area needs very careful handling and too much of back and forth of design in early phase of development could have induced errors.

dnwillia-work commented 2 years ago

OK, thanks for confirming.

seanpearsonuk commented 2 years ago

In 231