Integration algorithm used in the function stream3?
1 view (last 30 days)
Show older comments
What is the integration algorithm used in the function stream3 to calculate the streamline coordinates (Euler ?, Runge-Kutta?, what order?). I need to report this in a paper for a description on how the results have been obtained.
3 Comments
Walter Roberson
on 14 Aug 2017
Using the definition from https://en.wikipedia.org/wiki/Streamlines,_streaklines,_and_pathlines that,
"Streamlines are a family of curves that are instantaneously tangent to the velocity vector of the flow. These show the direction in which a massless fluid element will travel at any point in time"
then given non-uniformly sampled 3D data and a sampling point, the processing could be to use interpolation on each of the U, V, W components, and calculate the surface normals. The interpolation from scattered coordinates could require Convex Hull or Delaunay Triangulation methods to figure out which are the influencing points for any one location to be interpolated at, but once those are known, probably a method such as bilinear interpolation would be used. I do not see any role for integration in this, unless you want to phrase linear interpolation in terms of integration.
Answers (0)
See Also
Categories
Find more on Vector Fields in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!