[Paraview] Stream tracer doe not show streamline

Moreland, Kenneth kmorel at sandia.gov
Tue Sep 17 16:42:01 EDT 2013


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 <parsani.matteo at gmail.com<mailto:parsani.matteo at gmail.com>>
Date: Monday, September 16, 2013 11:28 AM
To: "paraview at paraview.org<mailto:paraview at paraview.org>" <paraview at paraview.org<mailto:paraview at paraview.org>>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130917/36c7d7fc/attachment.htm>


More information about the ParaView mailing list