equation fof streamline in flui mechanics
Show older comments
Given the steady two-dimensional velocity distribution
u =Kx and v=-Ky where K is a positive constant, how do we compute and plot the streamlines of the flow?
Answers (1)
KSSV
on 8 May 2019
[x,y] = meshgrid(0:0.1:1,0:0.1:1);
k = 1 ;
u = k*x;
v = -k*y;
figure
quiver(x,y,u,v)
startx = 0.1:0.1:1;
starty = ones(size(startx));
streamline(x,y,u,v,startx,starty)
1 Comment
Feven Tamrat
on 8 May 2019
Categories
Find more on Numerical Integration and Differentiation 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!