Graph function help - fluid mechanics/streamlines related

Click For Summary

Homework Help Overview

The discussion revolves around fluid mechanics, specifically the plotting of a streamfunction related to a given 2D velocity field. The original poster expresses uncertainty about the correct formulation and representation of the streamlines derived from the function psi = xy + c.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore the possibility of plotting the function xy + c and question the definitions of stream functions versus velocity potentials. There is a discussion about the implications of the equations derived from the velocity field and how they relate to the graphing of streamlines.

Discussion Status

Some participants have provided clarifications regarding the nature of the equations and their graphical representations. There is an acknowledgment of the need to set the streamfunction equal to a constant to obtain the correct form for graphing. Multiple interpretations of the stream function and its relationship to the velocity field are being explored.

Contextual Notes

Participants note potential confusion regarding the definitions and applications of stream functions in fluid dynamics, as well as the relationship to hyperbolas in the context of plotting. There is also mention of the original poster's uncertainty about the appropriate forum section for their question.

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 [itex]\nabla \psi= x\vec{i}- y\vec{j}[/itex], right?
So
[tex]\frac{\partial \psi}{\partial x}= x[/tex]
and
[tex]\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 "stream function". I get the orthogonal family to xy= C which would be the potential function.[/tex]
 
You are confusing "stream function" with "velocity potential", HallsofIvy!

A stream function may always be defined if the velocity field is solenoidal, i.e, [tex]\nabla\cdot{\vec{v}}=0[/tex]
In the 2-D case, we may define: [tex]\vec{v}=\nabla\times\psi\vec{k}[/tex], where [itex]\psi[/itex] 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
[tex]\frac{\partial \phi}{\partial x}= y[/tex]
and
[tex]\frac{\partial \phi}{\partial x}= x[/tex]

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

elle, perhaps your only problem was not realizing that you get an equation to graph by setting your solution for [itex]\phi[/itex] 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
[tex]\frac{\partial \phi}{\partial x}= y[/tex]
and
[tex]\frac{\partial \phi}{\partial x}= x[/tex]

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

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


ohh yeah! I forgot that its equal to a constant :redface: Thanks guys for the help :smile:
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
4K
  • · 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
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K