I suspect you have two problems, both related to the fact that your data is 2D 
and the stream tracer performs its calculations in 3D.

The first problem is that the default seed source, named Point Source, is 
really a point cloud of random points within a sphere of a given radius. When 
picking points in this 3D sphere, it is unlikely that any will happen to hit 
the surface. Change to the line source, which will by default lie on the 
correct plane.

The second problem is that your vectors are not quite parallel with the plane. 
They have a Z component that is, while small, not exactly 0. Thus, after one 
step the particle advection has moved off the plane enough for the locator to 
determine that the stream has left the mesh. You can fix this by first passing 
your data through the calculator filter and give the expression 
"momentum_X*iHat + momentum_Y*jHat".

After doing those two things I got streamlines to work fine on the data you 
posted.

-Ken

From: Matteo Parsani <[email protected]<mailto:[email protected]>>
Date: Monday, September 16, 2013 11:28 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [EXTERNAL] [Paraview] Stream tracer doe not show streamline

Dear Paraview users,
I am trying to plot the stream lines with paraview but I do not get anything.
I have played with the parameters without success.

Could you please advice?

In attachment I added a simple .vtu file that I am using to draw them. It is 
just a piece of a mesh

Thank you.

Best Regards

--
Matteo
_______________________________________________
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