How to map streamlines onto a surface

Hello everyone,

i’m evaluating the residence time by applying a stream tracer filter to the velocity field inside a mesh. The result is streamlines that develop from the source point (sphere), from where i can select IntegrationTime field to visualize the residence time.
Now the question is, is it possible to map the streamlines onto the surface of the mesh? Or even interpolate the streamlines into a volume. Thanks!

I’m not an expert, but I’m trying to help.
Could you please check if filters like Resample With Dataset and Resample To Volume might be useful for the problem?

You can enable SurfaceStreamlines property in the stream tracer.

even interpolate the streamlines into a volume.

What do you mean ?

Hi Matteo!
This is a useful and interesting discussion to me. :slight_smile:
Just wanted to add some more clarity about the experience I had with the filters I mentioned in my response. In one of my research papers, https://doi.org/10.2312/vcbm.20211346 I have used those filters in the preprocessing pipeline as part of mapping streamtubes (made from streamlines) to the brain surface. In that problem, just like yours, I had stream lines developing from the source, in my case it was the ventricle of a human brain. Figure 11 in my paper talks about mapping streamtubes to the surface. This was done because the user was interested to see the streamline data on a surface. Also in my preprocessing code, the resample/convert to volume (FResample to IMage filter in ParaView) was helpful. Once I had the volume, I was able to do probing the volume using a surface so that the information on the volume can be showed on the surface.

Sorry, my random inputs may not be helpful in your case but wait for the discussion to grow and you will get inputs from other community users as well.

All the best!