Hi Rohit,

I had a look at your data file and I don't understand where your problem is. I can visualize the X and Y component of velocity and get seemingly correct results (i.e. X and Y have negative and positive values). The magnitude of the velocity vector is as expected everywhere positive.

Also the Glyph filter produces reasonable results with the default settings (e.g. the arrows can be colored by X or Y component with positive and negative values or by magnitude with only positive values).

So my question would be: What exactly do you want to visualize?

-Armin












On 04/06/2015 03:29 PM, Rohit Narurkar wrote:
Hello!

I tried applying the "Glyph" filter, but still the negative values
aren't being considered. It considers only the magnitude.

Can somebody please explain in detail how I should go about this? Please
have a look at the .vtk file I have attached above, I am stuck at this
point.

Thank you

On Thu, Mar 19, 2015 at 9:13 PM, Samuel Key <samuel...@bresnan.net
<mailto:samuel...@bresnan.net>> wrote:

    Rohit,

    Assuming that the x-component of VecVelocity has negative values,
    then from the selection [Magnitude|x|y|z] pick x and then only
    VecVelocity_x will be displayed.

    On the other hand, if "vector plots" are your goal, use PV's Glyph
    filter.

    Sam


    On 3/19/2015 5:49 AM, Rohit Narurkar wrote:
    Is there no simple feature or option that considers negative
    values as well?

    On Wed, Mar 18, 2015 at 5:50 PM, Utkarsh Ayachit
    <utkarsh.ayac...@kitware.com <mailto:utkarsh.ayac...@kitware.com>>
    wrote:

        Try applying the "Glyph" filter or using the "Surface LIC"
        plugin[1]

        [1]
        http://www.paraview.org/Wiki/ParaView/Line_Integral_Convolution

        Utkarsh

        On Tue, Mar 17, 2015 at 8:37 AM, Rohit Narurkar
        <rohitnarur...@gmail.com <mailto:rohitnarur...@gmail.com>> wrote:
        > Hello
        >
        > I wish to simulate fluid flow using ParaView. I have 1000
        .vtk files for the
        > 1000 time steps.
        > I have attached along with this mail one of the .vtk files.
        When I open this
        > collection in ParaView, and change the 'coloring' to the
        velocity name I
        > have given i.e. "VecVelocity" as you can see in the sample
        .vtk file. There
        > is another option to its right which offers 'magnitude',
        'x', 'y' and 'z'.
        > But there are some points with negative velocities and
        ParaView is only
        > considering the magnitude (hence positive). I wish to
        display even the
        > negative values. How do I do that?
        >
        > Any help would be great!
        >
        > Thank you!
        >
        > _______________________________________________
        > Powered by www.kitware.com <http://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
        >
        > Search the list archives at:
        http://markmail.org/search/?q=ParaView
        >
        > Follow this link to subscribe/unsubscribe:
        > http://public.kitware.com/mailman/listinfo/paraview
        >




    _______________________________________________
    Powered bywww.kitware.com  <http://www.kitware.com>

    Visit other Kitware open-source projects 
athttp://www.kitware.com/opensource/opensource.html

    Please keep messages on-topic and check the ParaView Wiki 
at:http://paraview.org/Wiki/ParaView

    Search the list archives at:http://markmail.org/search/?q=ParaView

    Follow this link to subscribe/unsubscribe:
    http://public.kitware.com/mailman/listinfo/paraview


    _______________________________________________
    Powered by www.kitware.com <http://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

    Search the list archives at: http://markmail.org/search/?q=ParaView

    Follow this link to subscribe/unsubscribe:
    http://public.kitware.com/mailman/listinfo/paraview




_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to