Please download the word document, which contains the details on setting up the Python Calculator filter to calc lambda2, and use the advanced option of ‘Gradient’ filter to calculate vorticity, Q-Criterion.
This code is not tested, some user has already report error, please use it as a starting point in your application.
eigenvalue(strain(Velocity)**2 + (Gradients – strain(Velocity)**)2)
it should be
eigenvalue(strain(Velocity)**2 + (Gradients – strain(Velocity))**2)BSD documentation licensed Free for non-commercial usage only
Author: Qingfeng XIA copyright (C) 2011-2013 http://www.iesensor.com
please keep the original link in your reference. http://www.iesensor.com/blog/2016/01/24/using-paraview-to-visualise-vorticity-lambda2-vorticity-q-criterion/