How to solve stream function
25 views (last 30 days)
I am trying to get stream function which expressed as s(x,y)
syms s(x,y) x y
eqn =[diff(s,y) ==u,diff(s,x)==v]
ySol(x,y) = dsolve(eqn)
It seems wrong. Can you please help me ?
Sulaymon Eshkabilov on 7 Sep 2020
dsolve() can't be used here.
Here is the good explantion how to solve your exercise: https://www.mathworks.com/matlabcentral/answers/362434-stream-function-from-velocity-vector-map
You'd need to employ pdepe() to solve this exercise.