Streamlines on sphere surface


(Liang Wang) #1

Hi, what is the standard procedure to plot streamlines on the surface of an object, say, a sphere? Input is a 3d vector. I would like the map it onto the surface of a sphere and plot its contour/streamlines.

Examples:

Thank you.


(Mathieu Westphal) #2

You need to use the “Surface Streamlines” feature of the stream tracer.
Here is how to do it.

  • Open ParaView
  • Open your vector field, apply
  • Create a Sphere source, set the radius to a specific value, set the resolution to a high enough value (80, 80 should be ok), Apply
  • Click on your vector field in the pipeline browser
  • Add a resample with dataset filter, select your sphere as a source, Apply
  • Create a sphere source, set the radius to the same value as the other sphere, set the resolution to have enough seed for your streamlines (20, 20 should be ok), Apply
  • Click on the resample with dataset, in the pipeline browser
  • Add a StreamTracer with custom source, select the second sphere as a source, Apply


stream.pvsm (624.7 KB)