Re: [Paraview] Broken Streamlines

2018-02-08 Thread Berk Geveci
Hi Louis,

Very cool dataset. My guess is that there is a topology problem with this
dataset - some cells that are neighbors but don't exactly share vertices on
neighboring faces. Maybe hanging nodes because of some sort of refinement?
This is usually when the point locator fails. To locate a cell containing a
point, it first locates the closest point and then walks neighboring cells
until it finds a match. The walk will fail if two neighbor cells don't
actually share points because of some weird topology. The cell locators is
the fix to these issues. The reason it is not currently the default is
performance. We are working on improving the cell locator performance so
that it can be the default behavior in the future.

Also, as Andy mentioned, the ReasonForTermination array provides good info
for debugging such issues. Here are the possible values:

OUT_OF_DOMAIN = 0,
NOT_INITIALIZED = 1 ,
UNEXPECTED_VALUE = 2,
OUT_OF_LENGTH = 4,
OUT_OF_STEPS = 5,
STAGNATION = 6,

If you see OUT_OF_DOMAIN inside the mesh, it is usually an indication that
you should either fix your mesh or use the cell locator.

Best,
-berk


On Wed, Feb 7, 2018 at 3:28 PM, Steytler, Louis Louw <steyt...@illinois.edu>
wrote:

> Hi Everyone,
>
> Thanks very much for all the suggestions.
>
> Setting the streamline interpolator type to:
>
>
>
> *streamTracer1.InterpolatorType = 'Interpolator with Cell Locator' *solved
> the problem!
>
> Thanks  again,
>
> Louis Steytler
> Department of Mechanical Science and Engineering
> University of Illinois at Urbana-Champaign
> 1206 West Green Street
> Urbana, Il 61801
> steyt...@illinois.edu
> --
> *From:* Burlen Loring [blor...@lbl.gov]
> *Sent:* 07 February 2018 12:50 PM
> *To:* Steytler, Louis Louw
> *Subject:* Re: [Paraview] Broken Streamlines
>
> Hi Louis,
>
> Is there any chance this is the rendering precision issue called depth
> buffer fighting? What happens when you turn off display of the plane? Are
> the streamlines still broken?
>
> Burlen
>
>
> On 02/07/2018 09:06 AM, Steytler, Louis Louw wrote:
>
> Hi Everyone,
>
> When generating streamlines from a 3D computation, in some parts, the
> streamlines appear broken. This is shown in the attached image (the arrows
> point to the broken parts).
>
> Increasing the "Maximum Streamline Length" parameter did not help.
>
> Using the "Point to Cell Data" filter, and then generating streamlines on
> the cell data did not help.
>
> Although in the image shown the broken parts are in an area of low
> velocity, this happens in regions of high velocity as well. It also does
> not seem to depend on grid resolution, as the broken parts show up all over.
>
> Has anyone experienced anything like this? Any ideas how to work around
> this?
>
> Thanks very much,
>
> Louis Steytler
> Department of Mechanical Science and Engineering
> University of Illinois at Urbana-Champaign
> 1206 West Green Street
> Urbana, Il 61801
> steyt...@illinois.edu
>
>
> ___
> Powered by www.kitware.com 
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com=DwMC-g=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag=qqTUEqt0cjqcdFN73T7fpbvcX2uThRX9v_QqbqZpQYs=UHk492okk8tg_SUSRW5hSk-l6_zeqZSqRRMXl11_ZOI=tNQN6iCNuPdjlE7hGLzqpDcD2pR2b_oyYPD3KJlKLqs=>
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html 
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html=DwMC-g=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag=qqTUEqt0cjqcdFN73T7fpbvcX2uThRX9v_QqbqZpQYs=UHk492okk8tg_SUSRW5hSk-l6_zeqZSqRRMXl11_ZOI=RN5bAXNoUf7aWElKoAmuHJl-GIHaVP1xSVESeFHWNjw=>
>
> Please keep messages on-topic and check the ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView 
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__paraview.org_Wiki_ParaView=DwMC-g=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag=qqTUEqt0cjqcdFN73T7fpbvcX2uThRX9v_QqbqZpQYs=UHk492okk8tg_SUSRW5hSk-l6_zeqZSqRRMXl11_ZOI=WJjLQw8EYaHhax_wGDnmIK-AEZg4_JwHNHJL-OGKZ60=>
>
> Search the list archives at: http://markmail.org/search/?q=ParaView 
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_search_-3Fq-3DParaView=DwMC-g=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag=qqTUEqt0cjqcdFN73T7fpbvcX2uThRX9v_QqbqZpQYs=UHk492okk8tg_SUSRW5hSk-l6_zeqZSqRRMXl11_ZOI=x9QYkJ-360aYcyuVtoNAZGN3N0Ccm8PIUR7iV-L1z38=>
>
> Follow this link to 
> subscribe/unsubscribe:https://paraview.org/mailman/listinfo/paraview 
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__paraview.org_mailman_listinfo_paraview=DwMC-g=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag=qqTUEqt0cjqcdFN73T7f

Re: [Paraview] Broken Streamlines

2018-02-07 Thread Berk Geveci
Hey Louis,

Can you provide the data and example script?

Best,
-berk

On Wed, Feb 7, 2018 at 12:06 PM, Steytler, Louis Louw  wrote:

> Hi Everyone,
>
> When generating streamlines from a 3D computation, in some parts, the
> streamlines appear broken. This is shown in the attached image (the arrows
> point to the broken parts).
>
> Increasing the "Maximum Streamline Length" parameter did not help.
>
> Using the "Point to Cell Data" filter, and then generating streamlines on
> the cell data did not help.
>
> Although in the image shown the broken parts are in an area of low
> velocity, this happens in regions of high velocity as well. It also does
> not seem to depend on grid resolution, as the broken parts show up all over.
>
> Has anyone experienced anything like this? Any ideas how to work around
> this?
>
> Thanks very much,
>
> Louis Steytler
> Department of Mechanical Science and Engineering
> University of Illinois at Urbana-Champaign
> 1206 West Green Street
> Urbana, Il 61801
> steyt...@illinois.edu
>
> ___
> 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:
> https://paraview.org/mailman/listinfo/paraview
>
>
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Broken Streamlines

2018-02-07 Thread Steytler, Louis Louw
Hi Everyone,

Thanks very much for all the suggestions.

Setting the streamline interpolator type to:

streamTracer1.InterpolatorType = 'Interpolator with Cell Locator'

solved the problem!

Thanks  again,

Louis Steytler
Department of Mechanical Science and Engineering
University of Illinois at Urbana-Champaign
1206 West Green Street
Urbana, Il 61801
steyt...@illinois.edu

From: Burlen Loring [blor...@lbl.gov]
Sent: 07 February 2018 12:50 PM
To: Steytler, Louis Louw
Subject: Re: [Paraview] Broken Streamlines

Hi Louis,

Is there any chance this is the rendering precision issue called depth buffer 
fighting? What happens when you turn off display of the plane? Are the 
streamlines still broken?

Burlen

On 02/07/2018 09:06 AM, Steytler, Louis Louw wrote:
Hi Everyone,

When generating streamlines from a 3D computation, in some parts, the 
streamlines appear broken. This is shown in the attached image (the arrows 
point to the broken parts).

Increasing the "Maximum Streamline Length" parameter did not help.

Using the "Point to Cell Data" filter, and then generating streamlines on the 
cell data did not help.

Although in the image shown the broken parts are in an area of low velocity, 
this happens in regions of high velocity as well. It also does not seem to 
depend on grid resolution, as the broken parts show up all over.

Has anyone experienced anything like this? Any ideas how to work around this?

Thanks very much,

Louis Steytler
Department of Mechanical Science and Engineering
University of Illinois at Urbana-Champaign
1206 West Green Street
Urbana, Il 61801
steyt...@illinois.edu<mailto:steyt...@illinois.edu>



___
Powered by 
www.kitware.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com=DwMC-g=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag=qqTUEqt0cjqcdFN73T7fpbvcX2uThRX9v_QqbqZpQYs=UHk492okk8tg_SUSRW5hSk-l6_zeqZSqRRMXl11_ZOI=tNQN6iCNuPdjlE7hGLzqpDcD2pR2b_oyYPD3KJlKLqs=>

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html=DwMC-g=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag=qqTUEqt0cjqcdFN73T7fpbvcX2uThRX9v_QqbqZpQYs=UHk492okk8tg_SUSRW5hSk-l6_zeqZSqRRMXl11_ZOI=RN5bAXNoUf7aWElKoAmuHJl-GIHaVP1xSVESeFHWNjw=>

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView<https://urldefense.proofpoint.com/v2/url?u=http-3A__paraview.org_Wiki_ParaView=DwMC-g=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag=qqTUEqt0cjqcdFN73T7fpbvcX2uThRX9v_QqbqZpQYs=UHk492okk8tg_SUSRW5hSk-l6_zeqZSqRRMXl11_ZOI=WJjLQw8EYaHhax_wGDnmIK-AEZg4_JwHNHJL-OGKZ60=>

Search the list archives at: 
http://markmail.org/search/?q=ParaView<https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_search_-3Fq-3DParaView=DwMC-g=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag=qqTUEqt0cjqcdFN73T7fpbvcX2uThRX9v_QqbqZpQYs=UHk492okk8tg_SUSRW5hSk-l6_zeqZSqRRMXl11_ZOI=x9QYkJ-360aYcyuVtoNAZGN3N0Ccm8PIUR7iV-L1z38=>

Follow this link to subscribe/unsubscribe:
https://paraview.org/mailman/listinfo/paraview<https://urldefense.proofpoint.com/v2/url?u=https-3A__paraview.org_mailman_listinfo_paraview=DwMC-g=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag=qqTUEqt0cjqcdFN73T7fpbvcX2uThRX9v_QqbqZpQYs=UHk492okk8tg_SUSRW5hSk-l6_zeqZSqRRMXl11_ZOI=ZBc6VXmGfFYDamKnUzQbCkiqJFQsFi73Qc4lavq5GKY=>


___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Broken Streamlines

2018-02-07 Thread Andy Bauer
Additionally, you can view the ReasonForTermination cell data output to see
why the streamlines terminated. Click on the ? button to see what the
values correspond to.


On Wed, Feb 7, 2018 at 12:23 PM, Andy Bauer  wrote:

> Hi,
>
> You may want to try playing with some of the advanced options for
> computing streamlines (click on the gear button in the upper right corner
> of the parameters for the filter).
>
> If that doesn't help, you may want to share your dataset so that we can
> investigate. Also, is this a 2D simulation? It may be that the streamline
> is going out of the plane of your grid and therefore terminating.
>
> --Andy
>
> On Wed, Feb 7, 2018 at 12:06 PM, Steytler, Louis Louw <
> steyt...@illinois.edu> wrote:
>
>> Hi Everyone,
>>
>> When generating streamlines from a 3D computation, in some parts, the
>> streamlines appear broken. This is shown in the attached image (the arrows
>> point to the broken parts).
>>
>> Increasing the "Maximum Streamline Length" parameter did not help.
>>
>> Using the "Point to Cell Data" filter, and then generating streamlines on
>> the cell data did not help.
>>
>> Although in the image shown the broken parts are in an area of low
>> velocity, this happens in regions of high velocity as well. It also does
>> not seem to depend on grid resolution, as the broken parts show up all over.
>>
>> Has anyone experienced anything like this? Any ideas how to work around
>> this?
>>
>> Thanks very much,
>>
>> Louis Steytler
>> Department of Mechanical Science and Engineering
>> University of Illinois at Urbana-Champaign
>> 1206 West Green Street
>> Urbana, Il 61801
>> steyt...@illinois.edu
>>
>> ___
>> 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:
>> https://paraview.org/mailman/listinfo/paraview
>>
>>
>
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Broken Streamlines

2018-02-07 Thread Andy Bauer
Hi,

You may want to try playing with some of the advanced options for computing
streamlines (click on the gear button in the upper right corner of the
parameters for the filter).

If that doesn't help, you may want to share your dataset so that we can
investigate. Also, is this a 2D simulation? It may be that the streamline
is going out of the plane of your grid and therefore terminating.

--Andy

On Wed, Feb 7, 2018 at 12:06 PM, Steytler, Louis Louw  wrote:

> Hi Everyone,
>
> When generating streamlines from a 3D computation, in some parts, the
> streamlines appear broken. This is shown in the attached image (the arrows
> point to the broken parts).
>
> Increasing the "Maximum Streamline Length" parameter did not help.
>
> Using the "Point to Cell Data" filter, and then generating streamlines on
> the cell data did not help.
>
> Although in the image shown the broken parts are in an area of low
> velocity, this happens in regions of high velocity as well. It also does
> not seem to depend on grid resolution, as the broken parts show up all over.
>
> Has anyone experienced anything like this? Any ideas how to work around
> this?
>
> Thanks very much,
>
> Louis Steytler
> Department of Mechanical Science and Engineering
> University of Illinois at Urbana-Champaign
> 1206 West Green Street
> Urbana, Il 61801
> steyt...@illinois.edu
>
> ___
> 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:
> https://paraview.org/mailman/listinfo/paraview
>
>
___
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:
https://paraview.org/mailman/listinfo/paraview