ansys / ansys/pyfluent-parametric
Bug located in parametric_static_mixer_1 example
- Dominant language
- Python
- Stars
- 29
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
### 🔍 Before submitting the issue
- [x] I have searched among the existing issues
- [x] I am using a Python virtual environment
### 🐞 Description of the bug
I am running the pyfluent example on Ansys Notebook and I am running into the following error `RuntimeError, menu not found ` on line `solver_session.tui.solve.set.number_of_iterations("100")`.

### 📝 Steps to reproduce
1. Import example script into Ansys Notebook
2. pip install ansys.fluent.parametric
3. Run notebook
### 💻 Which operating system are you using?
Windows
### 📀 Which ANSYS version are you using?
Ansys Notebook 0.9.1
### 🐍 Which Python version are you using?
3.11
### 📦 Installed packages
```shell
Package Version
------------------------------------- ----------------
about-time 4.2.1
aiohappyeyeballs 2.4.0
aiohttp 3.10.5
aiosignal 1.3.1
alembic 1.12.0
alive-progress 3.1.5
annotated-types 0.7.0
ans.protocol.amk 0.1.0b9
ansys-acp-core 0.1b2
ansys-additive-core 0.18.1
ansys-additive-widgets 0.2.1
ansys-api-acp 0.1.0.dev9
ansys-api-additive 1.7.2
ansys-api-dbu 0.3.4
ansys-api-dyna 0.3.6
ansys-api-edb 1.0.6
ansys-api-fluent 0.3.27
ansys-api-geometry 0.4.6
ansys-api-mapdl 0.5.2
ansys-api-mechanical 0.1.2
ansys-api-meshing-prime 0.1.3
ansys-api-modelcenter 0.3.1
ansys-api-platform-instancemanagement 1.1.0
ansys-api-pyensight 0.4.1
ansys-api-sherlock 0.1.27
ansys-api-systemcoupling 0.1.0
ansys-api-tools-filetransfer 0.1.0
ansys-api-workbench 0.2.0
ansys-cloud-core 1.2.0
ansys-conceptev-core 0.1.4
ansys-dpf-composites 0.5.0
ansys-dpf-core 0.12.2
ansys-dpf-post 0.8.0
ansys-dyna-core 0.4.15
ansys-dynamicreporting-core 0.6.0
ansys-edb-core 0.1.6
ansys-engineeringworkflow-api 0.1.0
ansys-fluent-core 0.20.1
ansys-fluent-parametric 0.10.0
ansys-fluent-visualization 0.11.0
ansys-geometry-core 0.6.6
ansys-grantami-bomanalytics 2.1.1
ansys-grantami-bomanalytics-openapi 3.0.0
ansys-grantami-jobqueue 1.0.1
ansys-grantami-recordlists 1.2.1
ansys-grantami-serverapi-openapi 3.0.0
ansys-hps-client 0.8.0
ansys-lab 0.1.69
ansys-mapdl-core 0.68.4
ansys-mapdl-reader 0.53.0
ansys-materials-manager 0.2.3
ansys-math-core 0.1.5
ansys-mechanical-core 0.11.5
ansys-mechanical-env 0.1.7
ansys-meshing-prime 0.6.2
ansys-modelcenter-workflow 0.1.1
ansys-motorcad-core 0.5.5
ansys-openapi-common 2.1.1
ansys-optislang-core 0.8.0
ansys-platform-instancemanagement 1.1.2
ansys-pyensight-core 0.8.8
ansys-pythonnet 3.1.0rc3
ansys-rocky-core 0.2.0
ansys-seascape 0.2.0
ansys-sherlock-core 0.6.0
ansys-simai-core 0.2.2
ansys-simbuilder-core 2.80.0
ansys-sound-core 0.1.3
ansys-systemcoupling-core 0.6
ansys-tools-filetransfer 0.1.0
ansys-tools-local-product-launcher 0.1.0
ansys-tools-path 0.6.0
ansys-tools-visualization-interface 0.4.0
ansys-turbogrid-api 0.4.3
ansys-turbogrid-core 0.4.1
ansys-units 0.3.2
ansys-workbench-core 0.6.0
ansyscodefest 0.1.18
ansysedt-adaptors 24.1.418
anyio 3.7.1
appdirs 1.4.4
argon2-cffi 23.1.0
argon2-cffi-bindings 21.2.0
arrow 1.3.0
asgiref 3.8.1
asttokens 2.4.1
async-generator 1.10
async-lru 2.0.4
attrs 24.2.0
babel 2.16.0
backcall 0.2.0
backoff 2.2.1
backports.entry-points-selectable 1.3.0
backports.functools-lru-cache 1.6.5
backports.tarfile 1.2.0
bcrypt 4.2.0
beartype 0.17.2
beautifulsoup4 4.12.3
bleach 6.1.0
blinker 1.6.3
bokeh 3.4.3
boltons 23.0.0
boto3 1.35.24
botocore 1.35.24
Brotli 1.1.0
build 1.2.2
CacheControl 0.13.1
cached-property 1.5.2
cachetools 5.5.0
Cartopy 0.22.0
certifi 2024.8.30
certipy 0.1.3
cffi 1.16.0
charset-normalizer 3.3.2
cleo 2.1.0
click 8.1.7
clr-loader 0.2.6
colorama 0.4.6
comm 0.2.2
conda 23.9.0
conda-package-handling 2.2.0
conda_package_streaming 0.9.0
contourpy 1.3.0
crashtest 0.4.1
cryptography 43.0.1
cycler 0.12.1
debugpy 1.8.5
decorator 5.1.1
defusedxml 0.7.1
Deprecated 1.2.14
dill 0.3.8
distlib 0.3.8
distro 1.9.0
Django 5.1.1
docker 6.1.3
docutils 0.21.2
dotnetcore2 3.1.23
dulwich 0.21.7
ecdsa 0.19.0
elementpath 4.5.0
entrypoints 0.4
exceptiongroup 1.1.3
executing 2.1.0
fabric 3.2.2
fastjsonschema 2.20.0
filelock 3.16.1
flatbuffers 24.3.25
flexcache 0.3
flexparser 0.3.1
fonttools 4.53.1
fpdf2 2.7.9
fqdn 1.5.1
frozenlist 1.4.1
geomdl 5.3.1
gmsh 4.13.1
google-api-core 2.20.0
google-api-python-client 2.146.0
google-auth 2.35.0
google-auth-httplib2 0.2.0
googleapis-common-protos 1.65.0
grapheme 0.6.0
greenlet 3.0.0
grpcio 1.66.1
grpcio-health-checking 1.48.2
grpcio-status 1.48.2
h11 0.14.0
h5py 3.12.1
httpcore 1.0.5
httplib2 0.22.0
httpx 0.26.0
idna 3.10
importlib_metadata 8.5.0
importlib-resources 6.1.0
installer 0.7.0
invoke 2.2.0
ipycanvas 0.13.3
ipydatawidgets 4.3.5
ipyevents 2.0.2
ipykernel 6.29.5
ipython 8.27.0
ipython-genutils 0.2.0
ipyvtklink 0.2.3
ipywidgets 7.8.4
isoduration 20.11.0
jaraco.classes 3.4.0
jaraco.context 6.0.1
jaraco.functools 4.0.2
jedi 0.19.1
jeepney 0.8.0
Jinja2 3.1.4
jmespath 1.0.1
joblib 1.4.2
json5 0.9.25
jsonpatch 1.33
jsonpointer 2.4
jsonschema 4.23.0
jsonschema-specifications 2023.12.1
jupyter 1.1.1
jupyter-ansys-commands 0.1.68
jupyter-ansys-docmanager 0.1.2
jupyter_client 8.6.3
jupyter-console 6.6.3
jupyter_core 5.7.2
jupyter-events 0.8.0
jupyter-lsp 2.2.0
jupyter-server 1.24.0
jupyter_server_proxy 4.4.0
jupyter_server_terminals 0.4.4
jupyter-telemetry 0.1.0
jupyterhub 4.0.2
jupyterlab 3.4.0
jupyterlab-ansys-theme 0.1.5
jupyterlab_pygments 0.3.0
jupyterlab_server 2.27.3
jupyterlab-topbar 0.6.1
jupyterlab_widgets 1.1.10
keyring 25.4.1
kiwisolver 1.4.7
libmambapy 1.5.2
linkify-it-py 2.0.3
lxml 4.9.4
Mako 1.2.4
mamba 1.5.2
Markdown 3.7
markdown-it-py 3.0.0
MarkupSafe 2.1.5
marshmallow 3.22.0
marshmallow-oneofschema 3.1.1
matplotlib 3.9.2
matplotlib-inline 0.1.7
mdit-py-plugins 0.4.2
mdurl 0.1.2
meshio 5.3.5
mistune 0.8.4
more-itertools 10.5.0
msgpack 1.1.0
multidict 6.1.0
nbclassic 0.5.6
nbclient 0.10.0
nbconvert 6.5.4
nbformat 5.10.4
nest-asyncio 1.6.0
nh3 0.2.18
nltk 3.9.1
notebook 6.5.4
notebook_shim 0.2.4
numpy 1.26.4
oauthlib 3.2.2
overrides 7.7.0
packaging 24.1
pamela 1.1.0
pandas 1.5.3
pandocfilters 1.5.1
panel 1.4.4
param 2.1.1
paramiko 3.5.0
parso 0.8.4
pexpect 4.9.0
pickleshare 0.7.5
pillow 10.4.0
Pint 0.24.3
pip 23.3
pkginfo 1.10.0
pkgutil_resolve_name 1.3.10
platformdirs 3.11.0
plotly 5.24.1
pluggy 1.3.0
plumbum 1.8.3
poetry 1.7.1
poetry-core 1.8.1
poetry-plugin-export 1.6.0
pooch 1.8.2
prettytable 3.11.0
prometheus_client 0.21.0
prompt_toolkit 3.0.47
proto-plus 1.24.0
protobuf 3.20.3
psutil 5.9.8
ptyprocess 0.7.0
pure_eval 0.2.3
pyaedt 0.9.11
pyansys 2024.2.4
pyansys-tools-report 0.7.3
pyansys-tools-variableinterop 0.1.1
pyansys-tools-versioning 0.5.0
pyasn1 0.6.1
pyasn1_modules 0.4.1
pycosat 0.6.6
pycparser 2.22
pycryptodome 3.20.0
pycurl 7.45.1
pydantic 2.8.2
pydantic_core 2.20.1
pyedb 0.23.0
PyGithub 2.4.0
Pygments 2.18.0
pygranta 2024.2.0
pyiges 0.3.1
PyJWT 2.9.0
PyNaCl 1.5.0
pyOpenSSL 23.2.0
pyparsing 3.1.4
pypng 0.20220715.0
pyproj 3.6.1
pyproject_hooks 1.1.0
PyQt5 5.15.6
PyQt5-Qt5 5.15.2
PyQt5_sip 12.15.0
Pyro5 5.15
pyshp 2.3.1
PySide6 6.7.2
PySide6_Addons 6.7.2
PySide6_Essentials 6.7.2
PySocks 1.7.1
pyspnego 0.11.1
python-dateutil 2.9.0.post0
python-dotenv 1.0.1
python-jose 3.3.0
python-json-logger 2.0.7
pythreejs 2.4.2
pytomlpp 1.0.13
pytwin 0.7.0
pytz 2024.2
pyvista 0.43.4
pyvistaqt 0.7.0
pyviz_comms 3.0.3
PyYAML 6.0.2
pyzmq 26.2.0
QtPy 2.4.1
RapidFuzz 3.10.0
readme_renderer 44.0
referencing 0.35.1
regex 2024.9.11
requests 2.32.3
requests_ntlm 1.3.0
requests-toolbelt 1.0.0
rfc3339-validator 0.1.4
rfc3986 2.0.0
rfc3986-validator 0.1.1
rich 13.8.1
rpds-py 0.20.0
rpyc 6.0.0
rsa 4.9
Rtree 1.3.0
ruamel.yaml 0.17.39
ruamel.yaml.clib 0.2.7
rustworkx 0.12.0
s3transfer 0.10.2
scikit-rf 1.3.0
scipy 1.14.1
scooby 0.10.0
SecretStorage 3.3.3
semver 3.0.2
Send2Trash 1.8.3
serpent 1.41
setuptools 75.1.0
shapely 2.0.6
shellingham 1.5.4
shiboken6 6.7.2
simpervisor 1.0.0
simple-upload-server-client 0.0.1
six 1.16.0
sniffio 1.3.1
soupsieve 2.6
SQLAlchemy 2.0.22
sqlparse 0.5.1
sseclient-py 1.8.0
stack-data 0.6.3
tabulate 0.9.0
tenacity 9.0.0
terminado 0.18.1
tinycss2 1.3.0
toml 0.10.2
tomli 2.0.1
tomlkit 0.13.2
tornado 6.4.1
tqdm 4.66.5
traitlets 5.14.3
traittypes 0.2.1
trame 3.6.5
trame-client 3.3.1
trame-server 3.2.3
trame-vtk 2.8.10
trame-vuetify 2.7.1
trove-classifiers 2024.9.12
truststore 0.8.0
twine 5.1.1
types-python-dateutil 2.8.19.14
types-requests 2.31.0.6
types-six 1.16.21.20240513
types-urllib3 1.26.25.14
typing_extensions 4.12.2
typing-utils 0.1.0
tzdata 2024.1
uc-micro-py 1.0.3
uri-template 1.3.0
uritemplate 4.1.1
urllib3 1.26.20
virtualenv 20.26.5
vtk 9.3.1
vtk-osmesa 9.2.5
wakepy 0.10.1
wcwidth 0.2.13
webcolors 1.13
webencodings 0.5.1
websocket-client 1.8.0
websockets 12.0
wheel 0.41.2
widgetsnbextension 3.6.9
wrapt 1.16.0
wslink 2.2.1
xmlschema 2.5.1
xyzservices 2024.9.0
yarl 1.11.1
zipp 3.20.2
zstandard 0.21.0
```
Contributor guide
Research direction
Start by importing the parametric_static_mixer_1 example into Ansys Notebook and reproducing the failure at solver_session.tui.solve.set.number_of_iterations("100"). Trace why the TUI menu is not found in that environment; done means the example runs past this line without the RuntimeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100