Using paraview to visualise vorticity (Lambda2, vorticity, Q-Criterion)

copyright (C) qingfeng Xia 2011-2020 CC-BY-NC 4.0

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.

Using Paraview to visualise vortex by lambda2

 

update:

eigenvalue(strain(Velocity)**2 + (Gradients – strain(Velocity)**)2)

it should be

eigenvalue(strain(Velocity)**2 + (Gradients – strain(Velocity))**2)



CC-BY-NC 4.0 licensed free for non-commercial usage
Author: Qingfeng XIA
copyright (C) 2011-2020
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/
This entry was posted in Programming, Research. Bookmark the permalink.