[Paraview] calculating divergence of a velocity vector

David Doria daviddoria at gmail.com
Thu Nov 18 08:16:36 EST 2010


On Thu, Nov 18, 2010 at 1:36 AM, Mubashir Ali <mubashir at iitk.ac.in> wrote:

>
> Hello All,
>
> I have a 3D lid driven cavity data in ensight format. I did laminar
> unsteady state simulation with a Finite volume code named Code Saturne.
>
> I wish to calculate divergence of velocity vector i.e. DEL U = 0
>
> Does anyone have an idea how to do it. Your suggestions would be surely of
> great help for me.
>
> Kind Regards
>
> Mubashir Ali
>

In VTK there is a vtkImageDivergence filter:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageDivergence

<http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageDivergence>It doesn't
look like there is an interface to this in Paraview. You can write one - it
is actually quite easy:
http://www.paraview.org/Wiki/Plugin_HowTo#Adding_a_new_VTK_filter

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20101118/45a2417a/attachment.htm>


More information about the ParaView mailing list