You have defined everything 2D, so it is only natural that ParaView plots 
everything on the x-y plane.  There is a filter called Warp by Scalar that will 
take data defined on the plane and perturb the points in the z direction by a 
scalar field.  However, you have defined the two scalars you want to warp by in 
a vector, which further confuses ParaView.

To warp in the z direction by the components of the vector field, you will have 
to do something more tricky.  You can use the calculator filter to build 
expression that modifies the point coordinates in the z direction by one of the 
vector coordinates and write that to the point coordinates of the output.

To do this, add the calculator filter (third toolbar down, icon on the left).  
Click the "Coordinate Results" checkbox on and set the expression to "coords + 
vitesse_X*kHat" to view the <x, y, U(x,y)> field.  Likewise, use the expression 
"coords + vitesse_Y*kHat" to view the <x, y, V(x,y)> field.

-Ken


On 6/23/09 11:02 AM, "David Doria" <[email protected]> wrote:



On Wed, May 27, 2009 at 11:43 AM, ritesh kumar <[email protected]> wrote:
hi all,

I am a new user of paraview. I am having vtk files as out put of my simulation. 
I can visualize them using paraview but I get only 2D view i.e., x, y and 
vector W=(U(x), V(y) )  (which I think is default). I can understand the value 
of W in terms of color using color bar. Could somebody suggest me how can I see 
the 3D surface view of these quantities i.e., x,y, U(x)  and  x,y, and V(y). I  
am attaching one of my vtk file here for further detail. Any suggestion or 
remark in this regards will be a great help.

RKD

It looks to me like the data is only 2d... the z-range is [0,0]. Am I missing 
something?

Thanks,

David




   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: [email protected]
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

_______________________________________________
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

Reply via email to