equation fof streamline in flui mechanics
6 views (last 30 days)
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?
0 Comments
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)
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!