Inplane Streamlines Dean Vortices Error

Hello ParaView Community,

I am trying to visualize in-plane streamlines on a cross-sectional slice of a pipe in ParaView, but I keep running into errors regardless of the filter pipeline I use.

My Setup is OpenFOAM-13 / Build: 13-cde978a97c9

My goal is to create streamlines from a simple s-bended pipe on a 2D Slice (Y-Z plane) to visualize vortices/secondary flow.

Like here:

[Source: Dean vortices in turbulent flows: rocking or rolling? | Journal of Visualization | Springer Nature Link ]

My current pipeline:

  1. Slice (Normal: 1 0 0, Origin: inside the pipe)
  2. Surface Vectors (Select Input Vectors: U, Constraint Mode: Parallel)
  3. Cell Data to Point Data (to ensure point data for the tracer)
  4. Stream Tracer (Vectors: U, Seed Type: Line or Cloud I tried both which failed)

The error which results is: ERR| vtkPStreamTracer: Bad velocity array.
I think my velocity array is falsely defined. But I cant get it to work.

Thanks in advance for your help!

Please share your data.

1 Like

realGasTube.zip (3.5 MB)

In this zip there is the .cgns file. :slight_smile:

like that ?

stream.pvsm (643.9 KB)

1 Like

Thanks a lot (especially for the fast answer),

How can I adjust the density/resolution of the lines. I know there is a field in the normal StreamTracer Filter, but I cant find it with the CustomSource StreamTracer or ConvertToPointCloud Filter. And is there a possibility to recreate also the arrows with the corresponding direction.

I tried to recreate it (without state file), but it doesnt work. Is there any special setting for ConverttoPointCloud or StreamTracerwithCustomSource (Input=Slice1 and Seed=ConvertToPointCloud1)

:slight_smile:

By reducing the number of seed, you can use MaskPoints for that.

is there a possibility to recreate also the arrows with the corresponding direction.

Add a Glyph filter.

Is there any special setting for ConverttoPointCloud or StreamTracerwithCustomSource (Input=Slice1 and Seed=ConvertToPointCloud1)

Nothing special, you can send your state file here if you want me to take a look.