-
Notifications
You must be signed in to change notification settings - Fork 62
Description
🔍 Before submitting the issue
- I have searched among the existing issues
- I am using a Python virtual environment
🐞 Description of the bug
Standalone Fluent, both via UI and TUI, permits a user enter any minimum and maximum for custom range associated with a volume render, pyFluent does not. The range needs to be fixed so any volume render animation is on a fixed color range.
📝 Steps to reproduce
We use of the mixing elbow example packaged with pyFluent, with the addition of volume rendering, as per the attached script.
mixing_elbow_volume_rendering.py
1. Create a new virtual environment, install pyFluent package
python -m venv test
test/Scripts/Activate
pip install ansys-fluent-core=="0.37.1"
2. Run the provided script
cd <script_folder>
python mixing_elbow_volume_rendering.py
You will see a series of images output every 10 iterations, like the following.
3. Uncomment lines 231 to 234 in the provided script
temperature_volume.home_options.range_options={
'type': 'custom',
'minimum': 295,
'maximum': 310}
4. Re-run script -> following error will terminate the script
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
2026 R1
🐍 Which Python version are you using?
3.10
📦 Installed packages
ansys-api-fluent==0.3.38
ansys-api-platform-instancemanagement==1.1.3
ansys-api-tools-filetransfer==0.2.0
ansys-fluent-core==0.37.1
ansys-platform-instancemanagement==1.1.2
ansys-tools-common==0.5.0
ansys-tools-filetransfer==0.2.2
ansys-units==0.11.0
certifi==2026.2.25
charset-normalizer==3.4.6
click==8.3.1
colorama==0.4.6
defusedxml==0.7.1
Deprecated==1.3.1
docker==7.1.0
googleapis-common-protos==1.73.0
grpcio==1.78.0
grpcio-health-checking==1.78.0
grpcio-status==1.78.0
idna==3.11
importlib_metadata==9.0.0
joblib==1.5.3
nltk==3.9.3
numpy==2.2.6
pandas==2.3.3
platformdirs==4.9.4
protobuf==6.33.6
pyansys-tools-report==0.9.0
python-dateutil==2.9.0.post0
pytz==2026.1.post1
pywin32==311
PyYAML==6.0.3
regex==2026.2.28
requests==2.32.5
scooby==0.11.0
six==1.17.0
tqdm==4.67.3
typing_extensions==4.15.0
tzdata==2025.3
urllib3==2.6.3
wrapt==2.1.2
zipp==3.23.0