The gradient filter is broken in paraview 6.0- taking a simple filter over unstructured data will lead to paraview completely bailing and shutting down.
Attached simple example: load → gradient → crash
Maybe for discussion on another forum but the server implementation also feels a little flakier, with more “server unexpectedly disconnected” errors than before.
ShockVortexVis_6999.vtp.zip (3.9 MB)
tl;dr You can work around the problem by running the Clean to Grid
filter before running the Gradient
filter.
I was able to replicate your crash with the data you posted. This problem does not seem to be limited to ParaView 6.0. I got the same behavior with ParaView 5.13.
I did a little exploring. The problem seems to be limited to the Gradient
filter operating on poly data that is in the x-y plane. Maybe other polygons in a poly data that are perpendicular to an axis also crash, but I did not explore that far. It just seems like polygons in general position work fine. I opened up an issue for that:
https://gitlab.kitware.com/paraview/paraview/-/issues/23095
I’m surprised no one has run into this problem before. The condition is specific, but not that specific.
At any rate, there does not seem to be a problem with taking the gradients of the same cells in an unstructured grid. Thus, an easy workaround is to convert your data to an unstructured grid. You can do that by running the Clean to Grid
filter.
1 Like