Problem 2. An incompressible, inviscid (or frictionless) flow field is specified by the stream function, Ax²y - Ay³/3, where x and y are coordinates in meters and A = 1 /m . s. (a) Solve for u and v, the x and y components of velocity, respectively. (b) Use the contour() function in Matlab to make a contour plot of for-3 m≤x≤ 3 m and 0 m≤ y ≤ 6 m. On top of the contour plot of the streamlines (use the "hold on" command to overlay the plots), use the quiver() function to add velocity vectors. For both functions, use the meshgrid()function to set values for x and y at which to evaluate u, u, and v. Use 100 and 20 locations in each direction for the contour lines and velocity vectors, respectively. HINT: you will need to use "element-wise" operations with your x and y vectors. For example, for use: psi = A*(x.^2.*y - y.^3/3). (c) Determine the magnitude of the flowrate per unit width between the streamlines passing through ( 0 m, y 3 m) and ( x = 0 m, y = 6 m). =

Principles of Heat Transfer (Activate Learning with these NEW titles from Engineering!)
8th Edition
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Kreith, Frank; Manglik, Raj M.
Chapter5: Analysis Of Convection Heat Transfer
Section: Chapter Questions
Problem 5.13P: 5.13 The torque due to the frictional resistance of the oil film between a rotating shaft and its...
icon
Related questions
Question
Problem 2. An incompressible, inviscid (or frictionless) flow field is specified by the stream function,
Ax²y - Ay³/3, where x and y are coordinates in meters and A = 1 /m . s. (a) Solve for u and v, the x
and y components of velocity, respectively. (b) Use the contour() function in Matlab to make a contour plot of
for-3 m≤x≤ 3 m and 0 m≤ y ≤ 6 m. On top of the contour plot of the streamlines (use the "hold on"
command to overlay the plots), use the quiver() function to add velocity vectors. For both functions, use the
meshgrid()function to set values for x and y at which to evaluate u, u, and v. Use 100 and 20 locations in each
direction for the contour lines and velocity vectors, respectively. HINT: you will need to use "element-wise"
operations with your x and y vectors. For example, for use: psi = A*(x.^2.*y - y.^3/3). (c) Determine the
magnitude of the flowrate per unit width between the streamlines passing through ( 0 m, y 3 m) and (
x = 0 m, y = 6 m).
=
Transcribed Image Text:Problem 2. An incompressible, inviscid (or frictionless) flow field is specified by the stream function, Ax²y - Ay³/3, where x and y are coordinates in meters and A = 1 /m . s. (a) Solve for u and v, the x and y components of velocity, respectively. (b) Use the contour() function in Matlab to make a contour plot of for-3 m≤x≤ 3 m and 0 m≤ y ≤ 6 m. On top of the contour plot of the streamlines (use the "hold on" command to overlay the plots), use the quiver() function to add velocity vectors. For both functions, use the meshgrid()function to set values for x and y at which to evaluate u, u, and v. Use 100 and 20 locations in each direction for the contour lines and velocity vectors, respectively. HINT: you will need to use "element-wise" operations with your x and y vectors. For example, for use: psi = A*(x.^2.*y - y.^3/3). (c) Determine the magnitude of the flowrate per unit width between the streamlines passing through ( 0 m, y 3 m) and ( x = 0 m, y = 6 m). =
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Principles of Heat Transfer (Activate Learning wi…
Principles of Heat Transfer (Activate Learning wi…
Mechanical Engineering
ISBN:
9781305387102
Author:
Kreith, Frank; Manglik, Raj M.
Publisher:
Cengage Learning
International Edition---engineering Mechanics: St…
International Edition---engineering Mechanics: St…
Mechanical Engineering
ISBN:
9781305501607
Author:
Andrew Pytel And Jaan Kiusalaas
Publisher:
CENGAGE L
Refrigeration and Air Conditioning Technology (Mi…
Refrigeration and Air Conditioning Technology (Mi…
Mechanical Engineering
ISBN:
9781305578296
Author:
John Tomczyk, Eugene Silberstein, Bill Whitman, Bill Johnson
Publisher:
Cengage Learning
Automotive Technology: A Systems Approach (MindTa…
Automotive Technology: A Systems Approach (MindTa…
Mechanical Engineering
ISBN:
9781133612315
Author:
Jack Erjavec, Rob Thompson
Publisher:
Cengage Learning
Precision Machining Technology (MindTap Course Li…
Precision Machining Technology (MindTap Course Li…
Mechanical Engineering
ISBN:
9781285444543
Author:
Peter J. Hoffman, Eric S. Hopewell, Brian Janes
Publisher:
Cengage Learning