Why Does the Stream Function Calculation Differ in Batchelor's Example?

In summary: If you substitute in the stream function for u and y and simplify, you get\begin{array}{l}u\quad = \quad x^3\\y\quad = \quad x^3 + C\end{array}which is the same as the Batchelor equation.
  • #1
tiredryan
51
0
In Batchelor's text (2000) on page 76, the stream function is defined as

[tex]
\psi - \psi_0 = \int\left(u dy - v dx\right)
[/tex]

where [itex] \psi_0 [/itex] is a constant

Now I begin with a simple function for [itex]u[/itex] where

[tex]
u = x^3
[/tex]

From mass conservation,

[tex]
\frac{\partial u}{\partial x} + \frac{\partial v}{\partial y} = 0
[/tex]

[tex]
3x^2 + \frac{\partial v}{\partial y} = 0
[/tex]

[tex]
v = -3x^2y
[/tex]

Plugging this into the equation for the stream function

[tex]
\psi - \psi_0 = \int\left(u dy - v dx\right)
[/tex]

[tex]
\psi - \psi_0 = \int\left(x^3 dy + 3x^2y dx\right)
[/tex]

[tex]
\psi - \psi_0 = \int\left(x^3 dy\right) + \int\left(3x^2y dx\right)
[/tex]

[tex]
\psi - \psi_0 = x^3y + x^3y + C
[/tex]

[tex]
\psi - \psi_0 = 2x^3y + C
[/tex]

Now using the equations for [itex] u [/itex] and [itex] v [/itex],

[tex]
u = \frac{\partial \psi}{\partial y}
[/tex]

[tex]
u = \frac{\partial (2x^3y + C - \psi_0)}{\partial y}
[/tex]

[tex]
u = 2x^3
[/tex]

[tex]
v = -\frac{\partial \psi}{\partial x}
[/tex]

[tex]
v = -\frac{\partial (2x^3y + C - \psi_0)}{\partial x}
[/tex]

[tex]
v = -6x^2y
[/tex]

I seems like the initial [itex]v=-3x^2y[/itex] and [itex]u=x^3[/itex] are off from the recalculated [itex]v = -6x^2y[/itex] and [itex]u = 2x^3[/itex] by a factor of two. Am I doing something wrong? Thanks.
 
Engineering news on Phys.org
  • #2
Hello Ryan.

First off I recommend revising partial differentiation and partial differential equations.

In general with ordinary differential equations we add an arbitrary constant when we integrate them.

With partials you add an arbitrary function.

So your solution of the continuity equation should be

[tex]\begin{array}{l}
\frac{{\partial v}}{{\partial y}}\quad = \quad - 3{x^2} \\
v\quad = \quad - 3{x^2}y\quad + \quad P(x) \\
\end{array}[/tex]

Where P(x) is an arbitrary function of x alone.

You can see that if this is so then differentiation with respect to y will yield the same result, for any P(x) whatsoever.

Now you need more information to evalutate P(x)

I suggest you read on a few pages and try the condition for irrotational flow.
I'm afraid Batchelor makes a bit of a meal of it but the condition boils down to

[tex]\frac{{\partial u}}{{\partial y}}\quad = \quad \frac{{\partial v}}{{\partial x}}[/tex]
 

Related to Why Does the Stream Function Calculation Differ in Batchelor's Example?

1. What is a stream function?

A stream function is a mathematical representation of a fluid flow field, which describes the motion of a fluid at any given point in space. It is a scalar function that maps the velocity components of a fluid flow to a single variable.

2. How is the stream function related to vorticity?

The stream function and vorticity are related through the continuity equation, which states that the curl of the velocity is equal to the negative of the vorticity. This means that the stream function is directly proportional to the vorticity, and can be used to calculate it in a fluid flow field.

3. Can the stream function be used for both 2D and 3D flows?

The stream function is primarily used for 2D flows, where the velocity components are only in two dimensions. However, it can also be extended to 3D flows by introducing an additional variable, known as the depth function, which represents the motion in the third dimension.

4. How is the stream function used in fluid mechanics?

The stream function is used in fluid mechanics to simplify the equations of motion for a fluid flow. It can be used to calculate important parameters such as vorticity, streamlines, and flow rates. It is also used in the study of potential flows, which are idealized flows that do not experience any viscous forces.

5. What are some common misconceptions about stream functions?

One common misconception is that the stream function represents the actual path of particles in a fluid flow. In reality, it only describes the motion of the fluid itself, and does not take into account the movement of individual particles. Another misconception is that the stream function is always constant along a streamline, when in fact it can vary along a streamline in non-uniform flows.

Similar threads

  • Advanced Physics Homework Help
Replies
3
Views
924
  • Advanced Physics Homework Help
Replies
10
Views
680
  • Calculus and Beyond Homework Help
Replies
6
Views
900
  • Calculus and Beyond Homework Help
Replies
3
Views
399
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
585
  • Calculus and Beyond Homework Help
Replies
8
Views
911
  • Calculus and Beyond Homework Help
Replies
25
Views
473
Replies
1
Views
1K
Replies
6
Views
2K
Back
Top