ansys / ansys/pyfluent

solve/animate/pulse/write command fails on Linux but works on Windows

Open
#4,364 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
497
Forks
77
Avg merge
22h 37m
Merged PRs (30d)
45

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

The TUI command `solve/animate/pulse/write` for saving pathline files works correctly on Windows but fails on Linux (Ubuntu 24.04) when executed through PyFluent. The exact command works fine when executed directly in the Fluent GUI on Linux.

**Error message on Linux:**
```solve/animate/pulse/w Error: invalid command Error Object: "pulse"```

Is this a known limitation with PyFluent on Linux?

### 📝 Steps to reproduce

1. Launch PyFluent session on Linux (Ubuntu 24.04)
2. Load a case file with pathlines configured
3. Execute the following command:
```python
solver_session.execute_tui(f'solve/animate/pulse/write {specific_result_filename} {frames_output_dir}')

**Expected behavior**: Command should execute successfully and save pathline image files (as it does on Windows)
**Actual behavior**: Command fails with "invalid command Error Object: pulse" error

### Alternative approaches attempted
I also tried using the native PyFluent TUI interface methods, but these also resulted in errors:

#### Method 1 - Direct TUI path
```solver_session.tui.solve.animate.pulse.write(specific_result_filename, frames_output_dir)```

#### Method 2 - Settings API
```solver_session.settings.results.graphics.pulse.write(object_name=specific_result_filename, file_name=frames_output_dir)```

### 💻 Which operating system are you using?

Linux

### 📀 Which ANSYS version are you using?

Ansys R251

### 🐍 Which Python version are you using?

3.12

### 📦 Installed packages

```shell
ansys-api-fluent==0.3.36
ansys-api-platform-instancemanagement==1.1.3
ansys-api-tools-filetransfer==0.1.1
ansys-fluent-core==0.34.1
ansys-fluent-visualization==0.21.1
ansys-platform-instancemanagement==1.1.2
ansys-tools-filetransfer==0.1.1
ansys-units==0.7.0
certifi==2025.8.3
charset-normalizer==3.4.3
click==8.2.1
contourpy==1.3.3
cycler==0.12.1
defusedxml==0.7.1
Deprecated==1.2.18
docker==7.1.0
fonttools==4.59.0
googleapis-common-protos==1.70.0
grpcio==1.74.0
grpcio-health-checking==1.62.3
grpcio-status==1.62.3
idna==3.10
importlib_metadata==8.7.0
joblib==1.5.1
kiwisolver==1.4.8
matplotlib==3.10.5
nltk==3.9.1
numpy==2.2.6
opencv-python==4.12.0.88
packaging==25.0
pandas==2.3.1
pillow==11.3.0
platformdirs==4.3.8
pooch==1.8.2
protobuf==4.25.8
pyansys-tools-report==0.8.2
pyparsing==3.2.3
python-dateutil==2.9.0.post0
pytz==2025.2
pyvista==0.46.0
PyYAML==6.0.2
regex==2025.7.34
requests==2.32.4
scipy==1.16.1
scooby==0.10.1
setuptools==80.9.0
six==1.17.0
tqdm==4.67.1
typing_extensions==4.14.1
tzdata==2025.2
urllib3==2.5.0
vtk==9.5.0
wrapt==1.17.2
zipp==3.23.0
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure on Ubuntu 24.04 using solver_session.execute_tui with solve/animate/pulse/write, then compare it with the direct TUI and settings API calls described in the issue. Check whether the same command succeeds in the Fluent GUI on Linux and Windows. Done means the PyFluent command saves the pathline image files successfully on Linux or the limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python
Domain
api, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.