[Paraview] Plotting velocity vectors
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Mon Sep 20 09:16:56 EDT 2010
You can use the "Calculator" after Table to Points to create a vector
from 3 scalar values using the following expression:
iHat*x_velocity+jHat*y_velocity+kHat*z_velocity
You can also scale the values in the calculator itself to do any unit
conversions needed. Then you can apply the Glyph filter.
Utkarsh
On Tue, Sep 14, 2010 at 6:29 PM, Jaakko Laaksonen <jaakko.laa at gmail.com> wrote:
> Hi,
> I have a CSV file which contains velocities u, v and w in different points
> x, y, z. One line of the file is list structured as follows:
> nodenumber, x-coordinate, y-coordinate, z-coordinate, x-velocity u,
> y-velocity v, z-velocity w
> The y-coordinate is constant and y-velocity ~= 0 so therefore the situation
> is practically 2D. I know how to make a plot of scalar values using the
> filter 'Table to points' but now I have vectors instead of scalars. How
> should I proceed in order to plot the vectors, as in the example picture
> http://courses.cit.cornell.edu/fluent/airfoil/step6_clip_image005_0000.jpg
> Another question, the velocities have the unit of m/s but I would like to
> have them plotted in mm/s. Is there any way to do this in Paraview or would
> it be easier to manipulate the CSV file itself?
> BR
> Jaakko
> _______________________________________________
> Powered by www.kitware.com
>
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
More information about the ParaView
mailing list