MATLAB Answers

stream function from velocity vector map

73 views (last 30 days)
shadi Ansari
shadi Ansari on 20 Oct 2017
Answered: Arvind Narayanan on 6 Nov 2017
I am wondering how stream function can be calculated from velocity vector map. I have a .VC7 which has velocity in 2 directions and the position of each velocity vector. What is the approach to calculate the stream function from stream lines plotted from "showvec" or "streamline" function? Thanks for your help in advance.
  1 Comment
Rik on 21 Oct 2017
This sounds like a specific case of a multidimensional function fit. I would advise trying to convert your problem to the generic case and searching for a solution for that.

Sign in to comment.

Answers (1)

Arvind Narayanan
Arvind Narayanan on 6 Nov 2017
There is no specific MATLAB function to calculate the stream function from the streamlines plotted. You can refer to online references to know the original PDEs that comprise the formulae for streamlines and stream functions and derive the relationship from there. This wiki page might be a good place to start:

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!