[Paraview] Group scalars into a vector

Nick Szapiro nickszap at gmail.com
Thu Nov 1 17:16:53 EDT 2012


Hi,
Thank you for your reply. This works perfectly.
For those it may help, I had to create a glyph filter of the vector to
visualize the result.
Simply toggling the display options from surface to 3D glyphs does not work
for me.

Cheers,
Nick

On Thu, Nov 1, 2012 at 3:44 PM, Cory Quammen <cquammen at cs.unc.edu> wrote:

> Hi Nick,
>
> You can use the Calculator to create a vector field from your three
> scalar fields.
>
> Say your three scalar fields are named X_VELOCITY, Y_VELOCITY, and
> Z_VELOCITY. Then in the main text field just above the various
> functions/operators, you should enter
>
> (iHat*X_VELOCITY) + (jHat*Y_VELOCITY) + (kHat*Z_VELOCITY)
>
> You can name the output field in the "Result Array Name" text field.
>
> Best,
> Cory
>
> On Thu, Nov 1, 2012 at 4:27 PM, Nick Szapiro <nickszap at gmail.com> wrote:
> > Hi,
> > Using a reader I would prefer not to edit, x,y,z velocities at vertices
> are
> > read as 3 scalars.
> > How can I group them or create another variable that is the vector
> > representation of these three?
> > I would like to create glyphs of the velocity field at the vertices.
> >
> > I would appreciate any help.
> > Thanks,
> > Nick
> >
> > _______________________________________________
> > 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
> >
>
>
>
> --
> Cory Quammen
> Research Associate
> Department of Computer Science
> The University of North Carolina at Chapel Hill
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121101/56042462/attachment.htm>


More information about the ParaView mailing list