Sponsored Links
-->

Monday, August 27, 2018

Stream Function | Fluid Mechanics - YouTube
src: i.ytimg.com

The stream function is defined for incompressible (divergence-free) flows in two dimensions - as well as in three dimensions with axisymmetry. The flow velocity components can be expressed as the derivatives of the scalar stream function. The stream function can be used to plot streamlines, which represent the trajectories of particles in a steady flow. The two-dimensional Lagrange stream function was introduced by Joseph Louis Lagrange in 1781. The Stokes stream function is for axisymmetrical three-dimensional flow, and is named after George Gabriel Stokes.

Considering the particular case of fluid dynamics, the difference between the stream function values at any two points gives the volumetric flow rate (or volumetric flux) through a line connecting the two points.

Since streamlines are tangent to the flow velocity vector of the flow, the value of the stream function must be constant along a streamline. The usefulness of the stream function lies in the fact that the flow velocity components in the x- and y- directions at a given point are given by the partial derivatives of the stream function at that point. A stream function may be defined for any flow of dimensions greater than or equal to two, however the two-dimensional case is generally the easiest to visualize and derive.

For two-dimensional potential flow, streamlines are perpendicular to equipotential lines. Taken together with the velocity potential, the stream function may be used to derive a complex potential. In other words, the stream function accounts for the solenoidal part of a two-dimensional Helmholtz decomposition, while the velocity potential accounts for the irrotational part.


Video Stream function



Two-dimensional stream function

Definitions

Lamb and Batchelor define the stream function ? ( x , y , t ) {\displaystyle \psi (x,y,t)} - in the point P {\displaystyle P} with two-dimensional coordinates ( x , y ) {\displaystyle (x,y)} and as a function of time t {\displaystyle t} - for an incompressible flow by:

? = ? A P ( u d y - v d x ) . {\displaystyle \psi =\int _{A}^{P}\left(u\,{\text{d}}y-v\,{\text{d}}x\right).}

So the stream function ? {\displaystyle \psi } is the volume flux through the curve A P {\displaystyle AP} , that is: the integral of the dot product of the flow velocity vector ( u , v ) {\displaystyle (u,v)} and the normal ( + d y , - d x ) {\displaystyle (+{\text{d}}y,-{\text{d}}x)} to the curve element ( d x , d y ) . {\displaystyle ({\text{d}}x,{\text{d}}y).} The point A {\displaystyle A} is a reference point defining where the stream function is zero: a shift of A {\displaystyle A} results in adding a constant to the stream function ? . {\displaystyle \psi .}

An infinitesimal shift ? P = ( ? x , ? y ) {\displaystyle \delta P=(\delta x,\delta y)} of the position P {\displaystyle P} results in a stream function shift:

? ? = u ? y - v ? x , {\displaystyle \delta \psi =u\,\delta y-v\,\delta x,}

which is an exact differential provided

? u ? x + ? v ? y = 0. {\displaystyle {\frac {\partial u}{\partial x}}+{\frac {\partial v}{\partial y}}=0.}

This is the condition of zero divergence resulting from flow incompressibility. Since

? ? = ? ? ? x ? x + ? ? ? y ? y , {\displaystyle \delta \psi ={\frac {\partial \psi }{\partial x}}\,\delta x+{\frac {\partial \psi }{\partial y}}\,\delta y,}

the flow velocity components have to be

u = + ? ? ? y {\displaystyle u=+{\frac {\partial \psi }{\partial y}}}   and   v = - ? ? ? x {\displaystyle v=-{\frac {\partial \psi }{\partial x}}}

in relation to the stream function ? . {\displaystyle \psi .}

Definition by use of a vector potential

The sign of the stream function depends on the definition used.

One way is to define the stream function ? {\displaystyle \psi } for a two-dimensional flow such that the flow velocity can be expressed through the vector potential ? : {\displaystyle {\boldsymbol {\psi }}:}

u = ? × ? {\displaystyle \mathbf {u} =\nabla \times {\boldsymbol {\psi }}}

Where ? = ( 0 , 0 , ? ) {\displaystyle {\boldsymbol {\psi }}=(0,0,\psi )} if the flow velocity vector u = ( u , v , 0 ) {\displaystyle \mathbf {u} =(u,v,0)} .

In Cartesian coordinate system this is equivalent to

u = ? ? ? y , v = - ? ? ? x {\displaystyle u={\frac {\partial \psi }{\partial y}},\qquad v=-{\frac {\partial \psi }{\partial x}}}

Where u {\displaystyle u} and v {\displaystyle v} are the flow velocity components in the cartesian x {\displaystyle x} and y {\displaystyle y} coordinate directions, respectively.

Alternative definition (opposite sign)

Another definition (used more widely in meteorology and oceanography than the above) is

u = z × ? ? ? ? ( - ? y ? , ? x ? , 0 ) {\displaystyle \mathbf {u} =\mathbf {z} \times \nabla \psi '\equiv (-\psi '_{y},\psi '_{x},0)} ,

where z = ( 0 , 0 , 1 ) {\displaystyle \mathbf {z} =(0,0,1)} is a unit vector in the + z {\displaystyle +z} direction and the subscripts indicate partial derivatives.

Note that this definition has the opposite sign to that given above ( ? ? = - ? {\displaystyle \psi '=-\psi } ), so we have

u = - ? ? ? ? y , v = ? ? ? ? x {\displaystyle u=-{\frac {\partial \psi '}{\partial y}},\qquad v={\frac {\partial \psi '}{\partial x}}}

in Cartesian coordinates.

All formulations of the stream function constrain the velocity to satisfy the two-dimensional continuity equation exactly:

? u ? x + ? v ? y = 0 {\displaystyle {\frac {\partial u}{\partial x}}+{\frac {\partial v}{\partial y}}=0}

The last two definitions of stream function are related through the vector calculus identity

? × ( ? z ) = ? ? × z + ? ? × z = ? ? × z = z × ? ? ? . {\displaystyle \nabla \times \left(\psi \mathbf {z} \right)=\psi \nabla \times \mathbf {z} +\nabla \psi \times \mathbf {z} =\nabla \psi \times \mathbf {z} =\mathbf {z} \times \nabla \psi '.}

Note that ? = ? z {\displaystyle {\boldsymbol {\psi }}=\psi \mathbf {z} } in this two-dimensional flow.

Derivation of the two-dimensional stream function

Consider two points A and B in two-dimensional plane flow. If the distance between these two points is very small: ?n, and a stream of flow passes between these points with an average velocity, q perpendicular to the line AB, the volume flow rate per unit thickness, ?? is given by:

? ? = q ? n {\displaystyle \delta \psi =q\delta n\,}

As ?n -> 0, rearranging this expression, we get:

q = ? ? ? n {\displaystyle q={\frac {\partial \psi }{\partial n}}\,}

Now consider two-dimensional plane flow with reference to a coordinate system. Suppose an observer looks along an arbitrary axis in the direction of increase and sees flow crossing the axis from left to right. A sign convention is adopted such that the flow velocity is positive.

Flow in Cartesian coordinates

By observing the flow into an elemental square in an x-y Cartesian coordinate system, we have:

? ? = u ? y {\displaystyle \delta \psi =u\delta y\,}
? ? = - v ? x {\displaystyle \delta \psi =-v\delta x\,}

where u is the flow velocity parallel to and in the direction of the x-axis, and v is the flow velocity parallel to and in the direction of the y-axis. Thus, as ?n -> 0 and by rearranging, we have:

u = ? ? ? y {\displaystyle u={\frac {\partial \psi }{\partial y}}\,}
v = - ? ? ? x {\displaystyle v=-{\frac {\partial \psi }{\partial x}}\,}

Continuity: the derivation

Consider two-dimensional plane flow within a Cartesian coordinate system. Continuity states that if we consider incompressible flow into an elemental square, the flow into that small element must equal the flow out of that element.

The total flow into the element is given by:

? ? i n = u ? y + v ? x . {\displaystyle \delta \psi _{in}=u\delta y+v\delta x.\,}

The total flow out of the element is given by:

? ? o u t = ( u + ? u ? x ? x ) ? y + ( v + ? v ? y ? y ) ? x . {\displaystyle \delta \psi _{out}=\left(u+{\frac {\partial u}{\partial x}}\delta x\right)\delta y+\left(v+{\frac {\partial v}{\partial y}}\delta y\right)\delta x.\,}

Thus we have:

? ? i n = ? ? o u t {\displaystyle \delta \psi _{in}=\delta \psi _{out}\,}
u ? y + v ? x   = ( u + ? u ? x ? x ) ? y + ( v + ? v ? y ? y ) ? x {\displaystyle u\delta y+v\delta x\ =\left(u+{\frac {\partial u}{\partial x}}\delta x\right)\delta y+\left(v+{\frac {\partial v}{\partial y}}\delta y\right)\delta x\,}

and simplifying to:

? u ? x + ? v ? y = 0. {\displaystyle {\frac {\partial u}{\partial x}}+{\frac {\partial v}{\partial y}}=0.}

Substituting the expressions of the stream function into this equation, we have:

? 2 ? ? x ? y - ? 2 ? ? y ? x = 0. {\displaystyle {\frac {\partial ^{2}\psi }{\partial x\partial y}}-{\frac {\partial ^{2}\psi }{\partial y\partial x}}=0.}

Vorticity

The stream function can be found from vorticity using the following Poisson's equation:

? 2 ? = - ? {\displaystyle \nabla ^{2}\psi =-\omega }

or

? 2 ? ? = + ? {\displaystyle \nabla ^{2}\psi '=+\omega }

where the vorticity vector ? = ? × u {\displaystyle {\boldsymbol {\omega }}=\nabla \times \mathbf {u} } - defined as the curl of the flow velocity vector u {\displaystyle \mathbf {u} } - for this two-dimensional flow has ? = ( 0 , 0 , ? ) , {\displaystyle {\boldsymbol {\omega }}=(0,0,\omega ),} i.e. only the z {\displaystyle z} -component ? {\displaystyle \omega } can be non-zero.

Proof that a constant value for the stream function corresponds to a streamline

Consider two-dimensional plane flow within a Cartesian coordinate system. Consider two infinitesimally close points P = ( x , y ) {\displaystyle P=(x,y)} and Q = ( x + d x , y + d y ) {\displaystyle Q=(x+dx,y+dy)} . From calculus we have that

? ( x + d x , y + d y ) - ? ( x , y ) = ? ? ? x d x + ? ? ? y d y {\displaystyle \psi (x+dx,y+dy)-\psi (x,y)={\partial \psi \over \partial x}dx+{\partial \psi \over \partial y}dy}
= ? ? ? d r {\displaystyle \qquad \qquad =\nabla \psi \cdot d{\boldsymbol {r}}}

Say ? {\displaystyle \psi } takes the same value, say C {\displaystyle C} , at the two points P {\displaystyle P} and Q {\displaystyle Q} , then d r {\displaystyle d{\boldsymbol {r}}} is tangent to the curve ? = C {\displaystyle \psi =C} at P {\displaystyle P} and

0 = ? ( x + d x , y + d y ) - ? ( x , y ) = ? ? ? d r {\displaystyle 0=\psi (x+dx,y+dy)-\psi (x,y)=\nabla \psi \cdot d{\boldsymbol {r}}}

implying that the vector ? ? {\displaystyle \nabla \psi } is normal to the curve ? = C {\displaystyle \psi =C} . If we can show that everywhere u ? ? ? = 0 {\displaystyle {\boldsymbol {u}}\cdot \nabla \psi =0} , using the formula for u {\displaystyle {\boldsymbol {u}}} in terms of ? {\displaystyle \psi } , then we will have proved the result. This easily follows,

u ? ? ? = ? ? ? y ? ? ? x + ( - ? ? ? x ) ? ? ? y = 0. {\displaystyle {\boldsymbol {u}}\cdot \nabla \psi ={\partial \psi \over \partial y}{\partial \psi \over \partial x}+{\Big (}-{\partial \psi \over \partial x}{\Big )}{\partial \psi \over \partial y}=0.}

Properties of the stream function

  1. The stream function ? {\displaystyle \psi } is constant on any streamline.
  2. For a continuous flow (no sources or sinks), the volume flow rate across any closed path is equal to zero.
  3. For two incompressible flow patterns, the algebraic sum of the stream functions is equal to another stream function obtained if the two flow patterns are super-imposed.
  4. The rate of change of stream function with distance is directly proportional to the velocity component perpendicular to the direction of change.

Maps Stream function



References

Citations

Sources

Source of article : Wikipedia