Creating equidistant streamlines on a surface

Hi
I have a 3D flow and I want to create equidistant stramlines on a slice. For that i am using the streamtracer function but how can i create streamlines that has constant spacing of streamfunction values? Streamtracer is generating slightly more random streamlines but I want them to be seperated by constant streamfunction values.
Also how can i calculate the streamfunction from the flow?
thanks

Use “EvenlySpacedStreamlines2D”, which is a different filter.

Can you please let me know how to use that because it is not producing anything when i use it on a 2D slice extracted from 3D flow. Also can i calculate the streamfunction in Paraview? I want to plot specific values of streamfunction on the 2D slice.

Please share your data

I am asking my supervisor if i can share my data-but can you please let me know if i can calculate the streamfunction from the velocity field of the 3D pipe flow. I want to plot lines of constant streamfunction on a 2D cross-section.

maybe i am wrong, but what I do for me and it works:

  1. you have slice 1 where you want to do the evenly distributed streamlines (i actually use the inlet patch actually, for this i use extract block instead of slice 1)
  2. use slice filter over the filter in 1. (slice 1 or extract block), change its normal so it cuts in a line the filter of 1.) then toggle the advanced options, delete the 0 value, and use add a range of values (button under the “-”) and add eg. 10 points, this is slice 2 and will give you lines
  3. do the same as 2. but over the slice 2 in the other remaining direction, this will give you points, this will be slice 3.
  4. select your internal mesh which has U vector (if i am not wrong it should be data point type), and use stream line from custom source, then input select the internal mesh filter, and as seed source select the slice 3 filter.
    there you go in getting equadistant streamlines
1 Like