[vtkusers] vtkStreamTracer not connecting through boundaries

da remywendy at gmail.com
Thu Feb 11 19:20:15 EST 2010


Using the nightly works for my case. Thanks Berk!



On Thu, Feb 11, 2010 at 3:31 PM, da <remywendy at gmail.com> wrote:

> Hey Berk,
>
> I am not using the development version. I will try that next (what is the
> development version? Is this a CMAKE flag when compiling VTK?). I have
> tested my file with Paraview's streamtracer (using the same integration
> units, and even smaller integration units), and it does not have this
> problem regardless of what integration unit I use. Is this because Paraview
> applies a filter before stream tracer? (I noticed it took a much longer time
> to do it in Paraview).
>
> Here is the latest thing I've tried: I was thinking that it had to do with
> the tolerance (const double vtkInterpolatedVelocityField::TOLERANCE_SCALE =
> 1.0E-8; ) when calling FindCell(), so I implemented a subclass of
> vtkInterpolatedVelocityField that used a tolerance of 1E-03 which didn't
> change a thing - so it seems to be a problem with vtkPointSet's FindCell
> method?
>
> I'll let you know if the development version improves things.
>
> Thanks,
> Da
>
>
> On Thu, Feb 11, 2010 at 3:01 PM, Berk Geveci <berk.geveci at kitware.com>wrote:
>
>> This is a known issue for which we now have a solution (crossing fingers).
>> Are you using the development version of VTK? If yes, try calling
>> SetInterpolatorType(vtkStreamTracer::INTERPOLATOR_WITH_CELL_LOCATOR)
>>
>> Please let me know whether this works or not.
>>
>> Best,
>> -berk
>>
>> On Thu, Feb 11, 2010 at 3:33 PM, da <remywendy at gmail.com> wrote:
>>
>>> Hey guys,
>>>
>>> I have a single structured grid that is split in the middle (see
>>> picture). When I try to run a vtkStreamTracer through it, the stream lines
>>> will be cut off at this boundary if the Integration Unit is set too fine.
>>> However, if I make the integration unit big enough so that the line goes
>>> through okay, I lose too much resolution elsewhere. I tried using a
>>> vtkConnectivityFilter before the stream tracer, but it didn't seem to
>>> connect the cells on the boundary. Any ideas?
>>>
>>> -Da
>>>
>>>
>>> _______________________________________________
>>> 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 VTK FAQ at:
>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100211/e7c54860/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: streamline-boundary-good.jpg
Type: image/jpeg
Size: 12417 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100211/e7c54860/attachment.jpg>


More information about the vtkusers mailing list