[Paraview] confused with getting nan values in plot over line

Moreland, Kenneth kmorel at sandia.gov
Thu Oct 6 13:34:06 EDT 2011


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.rostai at gmail.com]
Sent: Thursday, October 06, 2011 08:12 AM
To: Moreland, Kenneth; paraview at paraview.org <paraview at 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 <kmorel at sandia.gov<mailto:kmorel at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111006/5a6e0dec/attachment.htm>


More information about the ParaView mailing list