equation fof streamline in flui mechanics
10 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
KSSV
2019-5-8
[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)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Vector Fields 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!