Open
Description
🔍 Before submitting the issue
- I have searched among the existing issues
- I am using a Python virtual environment
🐞 Description of the bug
The mesh_interfaces option has no turbo_interface attribute on the following command:
solver.settings.setup.mesh_interfaces.turbo_interface.create(mesh_interface_name = 'nps', adjacent_cell_zone_1 = 'all', zone1 = 'interface-impeller-outlet', adjacent_cell_zone_2 = 'all', zone2 = 'interface-volute-inlet', paired_zones = [], turbo_choice = 'No-Pitch-Scale')
📝 Steps to reproduce
Run the following code (mesh file can be provided on request):
import os
if not os.getenv('FLUENT_PROD_DIR'):
import ansys.fluent.core as pyfluent
flglobals = pyfluent.setup_for_fluent(product_version="26.1.0", mode="solver", dimension=3, precision="double", processor_count=4, ui_mode="no_gui", graphics_driver="null", gpu=False)
globals().update(flglobals)
solver.settings.file.read_case(file_name = 'pump_volute.msh.h5')
solver.settings.solution.monitor.residual.options.plot = False
solver.settings.setup.materials.database.copy_by_name(type = 'fluid', name = 'water-liquid')
solver.settings.setup.cell_zone_conditions.fluid['impeller'] = {'general' : {'material' : 'water-liquid'}, 'reference_frame' : {'reference_frame_zone_motion_function' : 'none', 'reference_frame_velocity' : [0., 0., 0.], 'mrf_omega' : 151.84371, 'mrf_relative_to_thread' : 'absolute', 'frame_motion' : True}}
solver.settings.setup.cell_zone_conditions.fluid['volute'] = {'general' : {'material' : 'water-liquid'}}
solver.settings.setup.boundary_conditions.wall['impeller-hub'] = {'momentum' : {'rotation_axis_direction' : [0, 0, 1], 'rotation_axis_origin' : [0., 0., 0.], 'rotation_speed' : 0., 'velocity_spec' : 'Rotational', 'components' : False, 'rotating' : True, 'relative' : True, 'wall_motion' : 'Moving Wall'}}
solver.settings.setup.boundary_conditions.wall['inblock-shroud'] = {'momentum' : {'rotation_axis_direction' : [0, 0, 1], 'rotation_axis_origin' : [0., 0., 0.], 'rotation_speed' : 0., 'velocity_spec' : 'Rotational', 'components' : False, 'rotating' : True, 'relative' : False, 'wall_motion' : 'Moving Wall'}}
solver.settings.setup.boundary_conditions.pressure_inlet['inlet'] = {'momentum' : {'supersonic_or_initial_gauge_pressure' : {'value' : -100.}}}
solver.settings.setup.boundary_conditions.set_zone_type(zone_list = ['mass-flow-inlet-11'], new_type = 'mass-flow-outlet')
solver.settings.setup.boundary_conditions.mass_flow_outlet['mass-flow-outlet-11'] = {'momentum' : {'mass_flow_rate' : {'value' : 90.}}}
solver.settings.setup.turbomachinery.models.enabled = True
solver.settings.setup.mesh_interfaces.turbo_interface.create(mesh_interface_name = 'nps', adjacent_cell_zone_1 = 'all', zone1 = 'interface-impeller-outlet', adjacent_cell_zone_2 = 'all', zone2 = 'interface-volute-inlet', paired_zones = [], turbo_choice = 'No-Pitch-Scale')
solver.settings.mesh.check()
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
v261
Fluent core: 0.33.0
🐍 Which Python version are you using?
3.12
📦 Installed packages
about-time==4.2.1
absl-py==2.1.0
aiohappyeyeballs==2.4.4
aiohttp==3.11.11
aiosignal==1.3.2
alive-progress==3.1.5
ansys-api-fluent==0.3.35
ansys-api-mechanical==0.1.2
ansys-api-platform-instancemanagement==1.1.0
ansys-api-tools-filetransfer==0.1.0
ansys-fluent-core==0.33.0
ansys-fluent-visualization==0.20.0
ansys-mechanical-core==0.11.14
ansys-mechanical-env==0.1.9
ansys-mechanical-stubs==0.1.6
ansys-platform-instancemanagement==1.1.2
ansys-pythonnet==3.1.0rc6
ansys-tools-filetransfer==0.1.0
ansys-tools-path==0.7.1
ansys-units==0.6.0
anyio==4.8.0
appdirs==1.4.4
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
artifactory==0.1.17
asttokens==3.0.0
astunparse==1.6.3
attrs==24.3.0
beartype==0.18.5
beautifulsoup4==4.12.3
bleach==6.2.0
certifi==2024.8.30
cffi==1.17.1
charset-normalizer==3.3.2
click==8.1.7
clr_loader==0.2.7.post0
colorama==0.4.6
comm==0.2.2
contourpy==1.3.0
cycler==0.12.1
decorator==5.1.1
defusedxml==0.7.1
Deprecated==1.2.18
docker==7.1.0
executing==2.1.0
fastjsonschema==2.21.1
flatbuffers==24.3.25
fonttools==4.53.1
fqdn==1.5.1
frozenlist==1.5.0
gast==0.6.0
google-pasta==0.2.0
googleapis-common-protos==1.66.0
grapheme==0.6.0
grpcio==1.66.1
grpcio-health-checking==1.62.3
grpcio-status==1.63.0rc1
h5py==3.11.0
idna==3.10
imageio==2.36.1
importlib_metadata==8.5.0
ipython==8.31.0
ipywidgets==8.1.5
isoduration==20.11.0
jedi==0.19.2
Jinja2==3.1.5
joblib==1.4.2
jsonpointer==3.0.0
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
jupyter-events==0.11.0
jupyter_client==8.6.3
jupyter_core==5.7.2
jupyter_server==2.15.0
jupyter_server_proxy==4.4.0
jupyter_server_terminals==0.5.3
jupyterlab_pygments==0.3.0
jupyterlab_widgets==3.0.13
keras==3.5.0
kiwisolver==1.4.7
libclang==18.1.1
lxml==5.3.0
Markdown==3.7
markdown-it-py==3.0.0
MarkupSafe==2.1.5
matplotlib==3.9.2
matplotlib-inline==0.1.7
mdurl==0.1.2
mistune==3.1.0
ml-dtypes==0.4.1
more-itertools==10.6.0
msgpack==1.1.0
multidict==6.1.0
namex==0.0.8
nbclient==0.10.2
nbconvert==7.16.5
nbformat==5.10.4
nest-asyncio==1.6.0
nltk==3.9.1
numpy==2.2.1
opt-einsum==3.3.0
optree==0.12.1
overrides==7.7.0
packaging==24.1
pandas==2.2.2
pandocfilters==1.5.1
parso==0.8.4
pathlib==1.0.1
pdf2image==1.17.0
pillow==10.4.0
platformdirs==4.3.3
plotly==5.24.1
pooch==1.8.2
prometheus_client==0.21.1
prompt_toolkit==3.0.48
propcache==0.2.1
protobuf==4.25.4
psutil==6.0.0
pure_eval==0.2.3
pyansys-tools-report==0.8.1
pycparser==2.22
Pygments==2.18.0
pyparsing==3.1.4
PySide6==6.8.1.1
PySide6_Addons==6.8.1.1
PySide6_Essentials==6.8.1.1
python-dateutil==2.9.0.post0
python-json-logger==3.2.1
pytz==2024.2
pyvista==0.44.1
pyvistaqt==0.11.1
pywin32==306
pywinpty==2.0.14
PyYAML==6.0.2
pyzmq==26.2.0
QtPy==2.4.1
referencing==0.36.1
regex==2024.9.11
requests==2.32.3
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rich==13.8.1
rpds-py==0.22.3
scikit-learn==1.5.2
scipy==1.14.1
scooby==0.10.0
seaborn==0.13.2
Send2Trash==1.8.3
setuptools==75.1.0
shiboken6==6.8.1.1
simpervisor==1.0.0
six==1.16.0
sniffio==1.3.1
soupsieve==2.6
stack-data==0.6.3
tenacity==9.0.0
tensorboard==2.17.1
tensorboard-data-server==0.7.2
tensorflow==2.17.0
tensorflow-intel==2.17.0
termcolor==2.4.0
terminado==0.18.1
threadpoolctl==3.5.0
tinycss2==1.4.0
tornado==6.4.2
tqdm==4.66.5
traitlets==5.14.3
trame==3.7.6
trame-client==3.5.1
trame-server==3.3.0
trame-vtk==2.8.14
trame-vuetify==2.8.0
types-python-dateutil==2.9.0.20241206
typing_extensions==4.12.2
tzdata==2024.1
uri-template==1.3.0
urllib3==2.2.3
vtk==9.3.1
wcwidth==0.2.13
webcolors==24.11.1
webencodings==0.5.1
websocket-client==1.8.0
Werkzeug==3.0.4
wheel==0.44.0
widgetsnbextension==4.0.13
wrapt==1.16.0
wslink==2.2.2
xgboost==2.1.1
yarl==1.18.3
zipp==3.20.2