Water flowing from an oscillating sprinkler head produces a velocity field given by ~v = u0 sin[ω(t −y/v0)]ˆi + v0ˆj. where u0, v0 and ω are constants (which you are free to assign and experi- ment with). Thus, the y component of velocity remains constant (vy= v0) and the x component of velocity at y = 0 coincides with the velocity of the oscillating sprinkler head [vx= u0 sin(ωt) at y = 0]. (a) Write a program to plot the velocity field and a few streamlines for a fixed value of t. Include the capability of varying t in the streamlines and velocity field plot. (b) On a separate figure plot a few pathlines of particles which emerge from the point (0,0) at some time prior to time t and the corresponding streakline at time t. (c) Describe the pathlines and streakline for this flow.
Water flowing from an oscillating sprinkler head produces a velocity field
given by
~v = u0 sin[ω(t −y/v0)]ˆi + v0ˆj.
where u0, v0 and ω are constants (which you are free to assign and experi-
ment with). Thus, the y component of velocity remains constant (vy= v0)
and the x component of velocity at y = 0 coincides with the velocity of the
oscillating sprinkler head [vx= u0 sin(ωt) at y = 0].
(a) Write a program to plot the velocity field and a few streamlines for a
fixed value of t. Include the capability of varying t in the streamlines
and velocity field plot.
(b) On a separate figure plot a few pathlines of particles which emerge
from the point (0,0) at some time prior to time t and the corresponding
streakline at time t.
(c) Describe the pathlines and streakline for this flow.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 4 images