Open
Description
Before submitting the issue
- I have checked for Compatibility issues
- I have searched among the existing issues
- I am using a Python virtual environment
Description of the bug
The issue is strange. The rst does not appear corrupt, the result values are availlable in Mechanical, but when pypdf is used externally to gray the results for each of the 14 load steps, it will fail at load step 10.
We have done some testing on smaller files and there is no issue. We have solved on the same machine with more load steps and still no problem.
The traceback:
Traceback (most recent call last):
File "c:\Users\maretom02\Documents_LOCAL\GT_TOOLS\Crack_Initiation\Troubleshooting\script_for_temperature.py", line 36, in <module>
stress_comp = stressop.outputs.fields_container()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\maretom02\AppData\Local\Programs\Python\Python311\Lib\site-packages\ansys\dpf\core\outputs.py", line 73, in __call__
return self.get_data()
^^^^^^^^^^^^^^^
File "C:\Users\maretom02\AppData\Local\Programs\Python\Python311\Lib\site-packages\ansys\dpf\core\outputs.py", line 70, in get_data
return self._operator.get_output(self._pin, type_output)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\maretom02\AppData\Local\Programs\Python\Python311\Lib\site-packages\ansys\dpf\core\dpf_operator.py", line 494, in get_output
parameters = {type_tuple[2]: type_tuple[1](self, pin)}
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\maretom02\AppData\Local\Programs\Python\Python311\Lib\site-packages\ansys\dpf\gate\generated\operator_capi.py", line 404, in operator_getoutput_fields_container
raise errors.DPFServerException(sError.value)
ansys.dpf.gate.errors.DPFServerException: S:8<-to_nodal_fc:14<-mapdl::rst::S:11<-mapdl::rst::S<-the requested set is out of range, failed to read stresses from rst file.
Steps To Reproduce
This will require some interfacing.
Which Operating System causes the issue?
Windows
Which DPF/Ansys version are you using?
Ansys 2023 R2
Which Python version causes the issue?
3.10
Installed packages
Code ran until recently. Not quite sure why. The .rst is not shareable.