[Paraview] How to see 3D Surface

Moreland, Kenneth kmorel at sandia.gov
Tue Jun 23 13:16:10 EDT 2009


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" <daviddoria at gmail.com> wrote:



On Wed, May 27, 2009 at 11:43 AM, ritesh kumar <mailtorkd at gmail.com> 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: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090623/1e9c9b91/attachment.htm>


More information about the ParaView mailing list