The stresses are shown as NaN in ParaView
- Dominant language
- Python
- Stars
- 60
- Forks
- 32
- Avg merge
- 5h 50m
- Merged PRs (30d)
- 8
Description
### 🤓 Before submitting the issue
- [X] I have visited the [Troubleshooting section](https://mapdl.docs.pyansys.com/troubleshoot/index.html).
- [X] I have searched among the [existing issues](https://github.com/ansys/pymapdl/issues?q=).
- [X] I am using a [Python virtual environment](https://docs.python.org/3/library/venv.html).
- [X] I am using the [latest version of PyMAPDL](https://github.com/ansys/pymapdl/releases) and its dependencies (fully updated virtual environment). You can update them using ``pip install --upgrade --upgrade-strategy eager ansys-mapdl-core`` in your activated virtual environment.
### 🔍 Description of the bug
I open the Result File and export the results to ParaView with the following code:
`from ansys.mapdl import reader as pymapdl_reader`
`result = pymapdl_reader.read_binary('file.rst')`
`result.save_as_vtk('Test_Simple_solid.vtk', result_types=["ENS", "ENF","ELF", "ESF"]) `
The deformations are correctly visualized in ParaView:

However, the stresses are (all) represented as NaN:

Although I can see the stress components via Python:

Must be the output method, or is it the Paraview version that can't display the results?
I am using:
- Windows 10
- Python 3.11
- ParaView 5.12.0-RC2
### 🕵️ Steps To Reproduce
```Python
The log will automatically be formatted as Python code! No need to type backticks.
```
### 💻 Which Operating System are you using?
Windows
### 🐍 Which Python version are you using?
3.11
### 📝 PyMAPDL Report
Show the Report!
```text
# PASTE HERE THE OUTPUT OF `python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())"` here
```
### 📝 Installed packages
Show the installed packages!
```text
# PASTE HERE THE OUTPUT OF `python -m pip freeze` here
```
### 📝 Logger output file
Show the logger output file.
```text
# PASTE HERE THE CONTENT OF THE LOGGER OUTPUT FILE.
```
Contributor guide
Research direction
Start with pymapdl_reader.read_binary and result.save_as_vtk using the issue's result_types, then compare the exported stress fields with the stress components visible through Python in ParaView. Reproduce with the reported Windows, Python 3.11, and ParaView 5.12.0-RC2 setup; done means the exported stresses display as values rather than NaN.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100