CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Define Q in Python Calculator of Paraview (https://www.cfd-online.com/Forums/paraview/200843-define-q-python-calculator-paraview.html)

Melvins April 14, 2018 09:59

Define Q in Python Calculator of Paraview
 
Dear all,

I intend to use Q-criterion or Lambda-2 to visualize vortex in Paraview, can anyone show me the correct code I should type in the expression box?
For lambda-2, it should be something like "eigenvalue(strain(Velocity)**2 + (Gradients – strain(Velocity))**2), but there always appears syntax error.
Please help, thank you in advance.

Di


All times are GMT -4. The time now is 18:00.