unable to see stress results #144
-
Dear all, I have tried to use PyANSYS to convert a .rst into a .vtk (readable by Paraview) Nodal results are well displayed (displacements) but strain and stress are displayed uniformly in a NaN colour (but the max and min values are there in all directions, I can see it in the vtk opening it as a text file, but seems something is wrong with the display). I did: rst.save_as_vtk('results.vtk', [0], ['ENF', 'ENS', 'ENS']) Any hints will be really appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @indominus-hub, pydpf-core supports exporting results to vtk, but if you need to use |
Beta Was this translation helpful? Give feedback.
-
Seems that it works! Thanks a lot for the support, this was very helpful! |
Beta Was this translation helpful? Give feedback.
I know the issue. You'll want to load in the file, convert all the elements to their linear elements using linear_copy, and then output it again via:
The issue is that stresses are not evaluated at the midside nodes but those values are included in the output file. Best to simply ignore then using
linear_copy
.