For starters, the going to infinity thing in the plot is weird. There should 
just be gaps in the curve. You may have hit a bug.

As far as why you are getting nans in the first place I'm not sure. I can't 
really tell from your screenshots, but it looks your geometry might be a bunch 
of polygons on a plane. Is that the case? If so, make sure that all z 
coordinates are zero. If all the coordinates in pone dimension are exactly the 
same, then I would expect it to work. Otherwise the line will not be completely 
on it.

If that is not the case, another problem could be with your topology. The find 
cell method could fail if your mesh is not fully connected. For example, if you 
have repeated coincident points, then VTK won't be able to find neighbors and 
trace to a cell. Try running one of the clean filter on the data. I think that 
should fix the problem. I think there are some corner cases where even that 
might not work, but your mesh looks like it has good quality triangles or 
tetrahedra, so that seems unlikely unless you have degenerate cells or gaps I 
cannot see.

-Ken


From: ali rostai [mailto:ali.ros...@gmail.com]
Sent: Thursday, October 06, 2011 08:12 AM
To: Moreland, Kenneth; paraview@paraview.org <paraview@paraview.org>
Subject: Re: [Paraview] confused with getting nan values in plot over line

Hi,

I tried and tried to move the start and end of line inside the domain.
Actually I see two lines going to infinity (nan) in xyplot pane now! (screen 
shot attached)

Regards,
Ali

On Thu, Oct 6, 2011 at 5:08 AM, Moreland, Kenneth 
<kmo...@sandia.gov<mailto:kmo...@sandia.gov>> wrote:
Like I said previously, it looks like the line you define is right on the 
boarder of your volume. Try moving the line slightly more inside the volume.

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