[Paraview] StreamTracer: Combined ReasonForTermination or select individual polylines?
Andy Bauer
andy.bauer at kitware.com
Tue Mar 14 15:17:25 EDT 2017
Hi,
What version of ParaView are you using?
>From my testing it looks like each direction for the stream tracer seeds
has a separate reason for termination in PV 5.3 -- see the attached image.
The domain is a box with length 20 on each side, the velocity is [1, 0, 0],
the seeds are a line source going from min to max of the bounding box
([-10, -10, -10] to [10,10,10]). The red is for when the maximum
streamline length has exceeded my specified max length of 5 and the blue is
for when the streamline exited the domain.
Is there a case where the same reason for termination value is being used
for multiple termination criteria?
You can use the SeedIds cell data array in the Threshold filter or use the
Edit->Find Data option to select a given streamline from the seed id.
Cheers,
Andy
On Tue, Mar 14, 2017 at 2:24 PM, Liang Wang <frank0734 at gmail.com> wrote:
> If the IntegrationDirection is set to BOTH, the two segments of the
> streamlines from the seed might terminate for different reasons. For
> example, one end might end due to STAGNATION, the other due
> to OUT_OF_DOMAIN. When coloring by ReasonForTermination, then the two
> segments are colored differently.
>
> My question is: Can a user create more cases of ReasonForTermination so
> that we can tell examples like above? Or, how can I select individual
> streamlines by its SeedIds (I tried IdsSelection, but that appears to work
> for cell/point data only, not for polydata?)
>
> My current solution is to use threshold filter to select lines in the
> different regions and apply different solid colors. But it would be nice if
> I can handle a few different cases more directly, even if that involves
> some coding in C++ or Python.
>
> Thanks.
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170314/22c6bdba/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reasonfortermination.png
Type: image/png
Size: 62706 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170314/22c6bdba/attachment.png>
More information about the ParaView
mailing list