QCriterion in Paraview

this is Warning: In C:\bbd\8fbebceb\build\superbuild\paraview\src\VTK\Filters\General\vtkGradientFilter.cxx, line 326
vtkGradientFilter (0000029BED8068A0): Input array must have exactly three components with ComputeDivergence, ComputeVorticity or ComputeQCriterion flag enabled.Skipping divergence, vorticity and Q-criterion computation.

Do you select the velocity vector as the input of Gradient of Unstructured Data set filter? I think you are selecting a scalar instead of a vector.

i imported the velocity in rotating reference frame scalar

Can you attach your data?

star9veloc.case (423 Bytes)

here it is

It’s not complete because the geometry file of the case is not attached. (.geo file is missing)

I don’t get you. This is the file I am importing to the Paraview.

You mean that your data is only 423 Bytes? It’s impossible! There must be some other files for geometry and data. You only attached one of them.

Your output data seems to be in EnSight format which must have a .geo file for the geometry case now I get this error in Paraview while loading your file:
Unable to open star9veloc00000.geo

@Muhammad_Zangeneh I exported the field function “Velocity in Rotating Reference frame”, by choosing mesh and solution data from STARCCM+ as a case file.

I have added other files here
https://drive.google.com/drive/folders/1EEeYt8WKpJ9qRAoJXXZ4fsBYI7hgCMUc

Your files in Google Drive are private and I can’t access them.

check this please
https://drive.google.com/drive/folders/1EEeYt8WKpJ9qRAoJXXZ4fsBYI7hgCMUc?usp=sharing

I found your problem. You are exporting the magnitude of the velocity vector in your CFD soft instead of the vector of the velocity which has 3 components. In order to calculate the QCriterion, you need the velocity vector. If you export the vector, Paraview automatically calculates it’s magnitude.

Okay so I have used velocity in rotating reference frame vector now but nothing shows up after creating Q_criterion. Can you please check the files star9vector.geo and star9vecor.case files in above link

Bro, this is what I have
image

I think you are simulating the flow around a wing. Now you extracted the wing (wall) itself without the fluid domain around it. QCriterion is visualizable over the fluid domain not on the wall because it’s a 3D property, not a 2D one.

Alright. I have included the domain and did the same as earlier. Does it take too muc time? Since I see the little progress bar on the bottom but it doesn’t show anything

It depends on the number of your grids.You can only extract the flow near the wall by different extraction filters in order to reduce the computation time.

Use the calculator to create a vector, then use it in the Gradient filter.

Hello,
I am also facing difficulty to get Q-criteria in 3d, could you please guide me where I can find the filter Gradient of Unstructured Data set?

In recent versions of ParaView, there is just the Gradient filter, and it handles unstructured grids as input.