Question: Create a function, mystreamline ( u , v , x , y ) to compute the streamlines for a given velocity field u ( x

Create a function, mystreamline (u,v,x,y) to compute the streamlines for a given velocity field
u(x,y) and v(x,y). Assume the following: (30 marks)
Groups I and II
u(x,y)=cxx2+y2
v(x,y)=cyx2+y2
Groups III and IV
u(x,y)=cyx2+y2
v(x,y)=-cxx2+y2
Groups V, VI and VII
u(x,y)=cx
v(x,y)=-cy
where c is a constant. Compute the streamlines analytically. Thereafter compute the
streamlines numerically and compare them with the analytical solution in a domain [x,y]sube
[-11-11]. Use the inbuilt matlab function to compare the streamlines. Now, compute
the pathlines numerically using a similar method mypathline(u,v,x,y,t for 20 particles starting
from random locations on the domain and show that they lie on the streamlines. Identify the
stagnation points if any. please answer every part
Create a function, mystreamline ( u , v , x , y )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!