# [Paraview] Help: Calculating Vorticity in paraview

David E DeMarle dave.demarle at kitware.com
Tue Oct 26 10:02:48 EDT 2010

```And although there is no button for it, the standard calulcator will
evaluate cross products if you type the expression in manually.

The full list of expressions the calculator knows about are (from
vtkFunctionParser.cxx)
static char funcNames[NUMBFUNCS][10] = {
"abs(",  "exp(",   "ceil(", "floor(",
"ln(",   "log10(", "log(",  "sqrt(",
"sin(",  "sinh(",  "cos(",  "cosh(",
"tan(",  "tanh(",  "asin(", "acos(",
"atan(", "min(",   "max(",  "cross(",
"sign(", "mag(",   "norm(", "if("
};

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109

2010/10/26 Aurélien Marsan <aur.marsan at gmail.com>

> Or you can use the python calculator
>
> http://www.paraview.org/Wiki/Python_Calculator
>
>
>
> Le 26 octobre 2010 13:51, Aurélien Marsan <aur.marsan at gmail.com> a écrit :
>
> Hi,
>>
>> In the calculator, you can see all the components of the vectors (in the
>> scalars list). You can use the iHat, jHat and kHat vectors too.
>> Then you should be able to calculate "manually" the cross product.
>>
>>
>> 2010/10/26 Mubashir Ali <mubashir at iitk.ac.in>
>>
>> Hi,
>>>
>>> I have some transient Ensight gold data (cell data). I want to calculate
>>> vorticity for each time step. I checked the calculator option in
>>> paraview.
>>> there i see dot product tab but not cross product tab. Can anyone please
>>> help me with it. I am very very new to Paraview
>>>
>>> Kind Regards
>>>
>>> Mubashir Ali
>>> mubashir at iitk.ac.in
>>> Senior Project Associate
>>> High Performance computing Lab,
>>> Aerospace Department,
>>> Indian Institute of Technology
>>> Kanpur, India
>>> _______________________________________________
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>>
>>
>
> _______________________________________________
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>