Graph function help - fluid mechanics/streamlines related

Click For Summary
The discussion focuses on plotting the function x*y + c in the context of fluid mechanics and streamlines. The original poster is unsure if they have correctly derived the streamfunction for a given 2D velocity field and seeks clarification on plotting the equation. Participants clarify that the expression can represent a family of hyperbolas when set equal to a constant. They emphasize the distinction between stream functions and velocity potentials, noting that streamlines correspond to constant values of the derived function. Overall, the conversation aids in understanding how to visualize the streamlines in fluid dynamics.
elle
Messages
91
Reaction score
0
Graph function help please - fluid mechanics/streamlines related

I'm not too sure whether I should have posted this in the Physics section or in the maths :confused: Please move this topic if its in the wrong place!

this probably seems like a silly question but is it possible to plot x*y + c on a graph where c = a constant? :confused: I'm working on a question on fluid mechanics where I have to find the streamfunction and plot the stream lines. However I'm in doubt whether i have done the question correctly in the first place.

Please help!

Homework Statement



For the 2D velocity field u = xi - yj find the streamfunction 'psi' (apologises, I'm not too familiar with Latex)


Homework Equations



given above

The Attempt at a Solution



After partially differentiating and using formulas from my notes, i got psi = x*y + c :confused:
 
Physics news on Phys.org
elle said:
I'm not too sure whether I should have posted this in the Physics section or in the maths :confused: Please move this topic if its in the wrong place!

this probably seems like a silly question but is it possible to plot x*y + c on a graph where c = a constant? :confused: I'm working on a question on fluid mechanics where I have to find the streamfunction and plot the stream lines. However I'm in doubt whether i have done the question correctly in the first place.
What do you mean by "plot x*y+ c". That's neither a function nor an equation. If you mean xy= c or xy+ c= 0, then, yes, of course, you can plot it- it's a family of hyperbolas.

Please help!

Homework Statement



For the 2D velocity field u = xi - yj find the streamfunction 'psi' (apologises, I'm not too familiar with Latex)
Then \nabla \psi= x\vec{i}- y\vec{j}, right?
So
\frac{\partial \psi}{\partial x}= x
and
\frac{\partial \psi}{\partial y}= -y[/itex]<br /> That should be easy to integrate.<br /> <br /> <blockquote data-attributes="" data-quote="" data-source="" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch"> <div class="bbCodeBlock-content"> <div class="bbCodeBlock-expandContent js-expandContent "> <h2>Homework Equations</h2><br /> <br /> given above<br /> <br /> <h2>The Attempt at a Solution</h2><br /> <br /> After partially differentiating and using formulas from my notes, i got psi = x*y + c <img src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f615.png" class="smilie smilie--emoji" loading="lazy" width="64" height="64" alt=":confused:" title="Confused :confused:" data-smilie="5"data-shortname=":confused:" /> </div> </div> </blockquote> Perhaps I am misunderstanding your &quot;stream function&quot;. I get the orthogonal family to xy= C which would be the potential function.
 
You are confusing "stream function" with "velocity potential", HallsofIvy!

A stream function may always be defined if the velocity field is solenoidal, i.e, \nabla\cdot{\vec{v}}=0
In the 2-D case, we may define: \vec{v}=\nabla\times\psi\vec{k}, where \psi is the scalar stream function.

The analogue in electro-magnetism is called the magnetic vector potential, I believe..
 
Last edited:
Very likely- it's been a long time since I have looked at fluid dynamics.

So the equations are
\frac{\partial \phi}{\partial x}= y
and
\frac{\partial \phi}{\partial x}= x

Yes, that tells us that \phi(x,y)= xy+ c.
Since the stream lines (again, if I remember correctly!) are the lines on which \phi is a constant they are given by xy+ c= c' or xy= C, the hyperbolas that my family, x^2- y^2= c are orthogonal to.

elle, perhaps your only problem was not realizing that you get an equation to graph by setting your solution for \phi equal to a constant.
 
HallsofIvy said:
Very likely- it's been a long time since I have looked at fluid dynamics.

So the equations are
\frac{\partial \phi}{\partial x}= y
and
\frac{\partial \phi}{\partial x}= x

Yes, that tells us that \phi(x,y)= xy+ c.
Since the stream lines (again, if I remember correctly!) are the lines on which \phi is a constant they are given by xy+ c= c' or xy= C, the hyperbolas that my family, x^2- y^2= c are orthogonal to.

elle, perhaps your only problem was not realizing that you get an equation to graph by setting your solution for \phi equal to a constant.


ohh yeah! I forgot that its equal to a constant :redface: Thanks guys for the help :smile:
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
Replies
2
Views
955
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K