# Best Practice For Plotting Streamlines Around a Cylinder

**URL:** <https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351>\
**Category:** ParaView Support\
**Created:** [August 2, 2019, 2:53pm UTC](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351 "2019-08-02T14:53:14Z")\
**Posts on this page:** 14\
**Page:** 2

<div class="post-metadata">

**Author:** ![JMir](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5e925/32.png) [@JMir](https://discourse.paraview.org/u/JMir)\
**Post date:** [January 31, 2020, 3:13pm UTC](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351/21 "2020-01-31T15:13:14Z")

</div>

Thanks a lot. I will have a look.

---

<div class="post-metadata">

**Author:** ![danlipsa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/danlipsa/32/1563_2.png) [@danlipsa](https://discourse.paraview.org/u/danlipsa)\
**Post date:** [January 31, 2020, 3:24pm UTC](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351/22 "2020-01-31T15:24:00Z")

</div>

You are welcome.

Here is the paraview statefile I used  
But you’ll have to wait for the change to be propagated to ParaView master or build ParaView from source using my VTK branch.

Dan

[streamlines.pvsm](https://discourse.paraview.org/uploads/short-url/8AsgxVfu6w0C2BAqQoeML7RgqfD.pvsm) (490 KB)

---

<div class="post-metadata">

**Author:** ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)\
**Post date:** [January 31, 2020, 5:53pm UTC](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351/23 "2020-01-31T17:53:37Z")

</div>

By the way, ParaView master is always available as binary installs on the [paraview.org](http://paraview.org) website. Go to downloads, and change “Version” to Nightly.

---

<div class="post-metadata">

**Author:** ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)\
**Post date:** [February 3, 2020, 3:17am UTC](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351/24 "2020-02-03T03:17:25Z")

</div>

I believe that @danlipsa change are not available in the nightlies nor in master since his VTK branch is not even merged in VTK yet.

---

<div class="post-metadata">

**Author:** ![JMir](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5e925/32.png) [@JMir](https://discourse.paraview.org/u/JMir)\
**Post date:** [March 4, 2020, 8:54am UTC](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351/25 "2020-03-04T08:54:38Z")

</div>

Hello Everyone,  
Thanks a lot for the help!  
I downloaded the new Paraview 5.8 but still got the same error. Has the change been pushed to the VTK branch? If not, is there any timeline?

Thanks a lot once again.  
Best wishes,

João

---

<div class="post-metadata">

**Author:** ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)\
**Post date:** [March 4, 2020, 9:16am UTC](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351/26 "2020-03-04T09:16:11Z")

</div>

It should be in the nightlies :  
[https://www.paraview.org/download/](https://www.paraview.org/download/)

---

<div class="post-metadata">

**Author:** ![JMir](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5e925/32.png) [@JMir](https://discourse.paraview.org/u/JMir)\
**Post date:** [March 5, 2020, 12:36pm UTC](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351/27 "2020-03-05T12:36:07Z")

</div>

Dear Mathieu,  
Thanks a lot for the answer  
I downloaded the ParaView 5.8 for windows 10.  
I tried to run the data I provided but still got the same error (related to data not being on xy plane). I used the stateFile provided by Dan Lipsa above. Can you confirm that it has been merged?  
Thanks a lot for all the help!

Best wishes,  
João

---

<div class="post-metadata">

**Author:** ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)\
**Post date:** [March 5, 2020, 12:36pm UTC](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351/28 "2020-03-05T12:36:57Z")

</div>

Did you download a nightly like this one :  
[https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=nightly&type=binary&os=Windows&downloadFile=ParaView-latest-Windows-Python3.7-msvc2015-64bit.exe](https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=nightly&type=binary&os=Windows&downloadFile=ParaView-latest-Windows-Python3.7-msvc2015-64bit.exe)

?

---

<div class="post-metadata">

**Author:** ![JMir](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5e925/32.png) [@JMir](https://discourse.paraview.org/u/JMir)\
**Post date:** [March 5, 2020, 12:38pm UTC](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351/29 "2020-03-05T12:38:24Z")

</div>

Dear Mathieu,  
Yes, exactly that one!  
thanks a lot.

Best wishes,

João

---

<div class="post-metadata">

**Author:** ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)\
**Post date:** [March 5, 2020, 12:40pm UTC](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351/30 "2020-03-05T12:40:39Z")

</div>

I confirm that this nightly release contains the fix from @danlipsa

---

<div class="post-metadata">

**Author:** ![JMir](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5e925/32.png) [@JMir](https://discourse.paraview.org/u/JMir)\
**Post date:** [March 5, 2020, 12:50pm UTC](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351/31 "2020-03-05T12:50:45Z")

</div>

I tried again, but still got errors. I used the data I provided before and the stateFile by @danlipsa

The error log is:  
[errors\_paraview.txt](https://discourse.paraview.org/uploads/short-url/rdkqtLBjNzYKAVnnPue8TBWoaja.txt) (1.6 KB)

```
ERROR: In C:\bbd\ecd3383f\build\superbuild\paraview\src\VTK\Filters\FlowPaths\vtkEvenlySpacedStreamlines2D.cxx, line 125
vtkEvenlySpacedStreamlines2D (000001B47CA1A080): vtkEvenlySpacedStreamlines2D does not support planes not aligned with XY.

ERROR: In C:\bbd\ecd3383f\build\superbuild\paraview\src\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 753
vtkPVCompositeDataPipeline (000001B47CB8F480): Algorithm vtkEvenlySpacedStreamlines2D(000001B47CA1A080) returned failure for request: vtkInformation (000001B47E072120)
  Debug: Off
  Modified Time: 1923613
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1
  FROM_OUTPUT_PORT: 0

ERROR: In C:\bbd\ecd3383f\build\superbuild\paraview\src\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 753
vtkCompositeDataPipeline (000001B47D76FA30): Algorithm vtkPVGeometryFilter(000001B47D94BF20) returned failure for request: vtkInformation (000001B47E2277A0)
  Debug: Off
  Modified Time: 1923657
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA_OBJECT
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1
  FROM_OUTPUT_PORT: 0

ERROR: In C:\bbd\ecd3383f\build\superbuild\paraview\src\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 753
vtkCompositeDataPipeline (000001B47D76FA30): Algorithm vtkPVGeometryFilter(000001B47D94BF20) returned failure for request: vtkInformation (000001B47E2277A0)
  Debug: Off
  Modified Time: 1923657
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA_OBJECT
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1
  FROM_OUTPUT_PORT: 0
```

---

<div class="post-metadata">

**Author:** ![danlipsa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/danlipsa/32/1563_2.png) [@danlipsa](https://discourse.paraview.org/u/danlipsa)\
**Post date:** [March 5, 2020, 2:44pm UTC](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351/32 "2020-03-05T14:44:06Z")

</div>

Make sure you use nightly not 5.8.0. I just tried and works fine.  
There are a number of warnings

vtkMath.cxx:1314 WARN| Unable to factor linear system

but those don’t seem to affect the result.

---

<div class="post-metadata">

**Author:** ![JMir](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5e925/32.png) [@JMir](https://discourse.paraview.org/u/JMir)\
**Post date:** [March 10, 2020, 1:02pm UTC](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351/33 "2020-03-10T13:02:37Z")

</div>

Worked perfectly! Thanks a lot.  
Last question, will the Nightly version be merged on the standard distribution?  
Thanks a lot.

---

<div class="post-metadata">

**Author:** ![danlipsa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/danlipsa/32/1563_2.png) [@danlipsa](https://discourse.paraview.org/u/danlipsa)\
**Post date:** [March 10, 2020, 1:07pm UTC](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351/34 "2020-03-10T13:07:24Z")

</div>

It is going to be picked up by the next ParaView release about 6 months from now.

[Previous page](https://discourse.paraview.org/t/best-practice-for-plotting-streamlines-around-a-cylinder/2351.md?page=1)
