Hello!
I have a plot3d grid file plot3dg.bin.xyz (25.2 KB) and a plot3d q file plot3dq.bin.q (33.6 KB). I tried to get the vorticity field using the ComputeDerivatives filter and the Gradient of Unstructured Dataset filter, but both result in a vorticity field which is constant or at least it appears constant as the same color is shown throughout the domain. Can anyone help me with what I am doing wrong?
Plot3D reader has option to compute vorticity. I used that and I get a Vorticity array generated without having to use any filter.
Split view and create histogram view. Show the Plot3D data in this view and then under Display properties, choose VorticityMagnitute. You see something like this:
I tried to run a case where I do have an appreciable region of vorticity plot3dg.bin.xyz (620.6 KB),plot3dq.bin.q (827.6 KB) and I tried your method and got this
This could be a scaling issue. Perhaps there are parts of the mesh (like on boundaries and pinch points) where the Vorticity gets unnaturally big due to, say, a small or degenerate cell. Maybe the color bar needs to be scaled with the maximum more like 100 rather than 3000. Or maybe the colors need to have log scaling. It would help if @Sangeet’s correct example had a scalar bar to show the scaling used there.
I changed the upper limit to 1.00 instead of 3000. I do see some structure but why is this happening? I assumed that Paraview would automatically choose the appropriate min-max values.
ParaView simply finds the smallest number and the largest number in your field and uses that to scale. My guess is that there is a funny-shaped cell in your data that is throwing off the vortex calculation (with a divide by near-zero), which is creating an unrealistically large value.
I checked with others in my research group and they have the same problem. This grid is from NASA CFL3D website and my colleague generated his own grid from ICEM CFD, both are having this scaling problem for vorticity and the cells are all normal.