Stream function explained

In fluid dynamics, two types of stream function are defined:

The properties of stream functions make them useful for analyzing and graphically illustrating flows.

The remainder of this article describes the two-dimensional stream function.

Two-dimensional stream function

Assumptions

The two-dimensional stream function is based on the following assumptions:

u=\begin{bmatrix} u(x,y,t)\\ v(x,y,t)\\ 0 \end{bmatrix}.

\nablau=0.

Although in principle the stream function doesn't require the use of a particular coordinate system, for convenience the description presented here uses a right-handed Cartesian coordinate system with coordinates

(x,y,z)

.

Derivation

The test surface

Consider two points

A

and

P

in the

xy

plane, and a curve

AP

, also in the

xy

plane, that connects them. Then every point on the curve

AP

has

z

coordinate

z=0

. Let the total length of the curve

AP

be

L

.

Suppose a ribbon-shaped surface is created by extending the curve

AP

upward to the horizontal plane

z=b

(b>0)

, where

b

is the thickness of the flow. Then the surface has length

L

, width

b

, and area

bL

. Call this the test surface.

Flux through the test surface

The total volumetric flux through the test surface is

Q(x,y,t)=

b
\int
0
L
\int
0

undsdz

where

s

is an arc-length parameter defined on the curve

AP

, with

s=0

at the point

A

and

s=L

at the point

P

.Here

n

is the unit vector perpendicular to the test surface, i.e.,

nds=-Rdr=\begin{bmatrix} dy\\ -dx\\ 0 \end{bmatrix}

where

R

is the

3 x 3

rotation matrix corresponding to a

90\circ

anticlockwise rotation about the positive

z

axis:

R=

\circ)
R
z(90

=\begin{bmatrix} 0&-1&0\1&0&0\\ 0&0&1\end{bmatrix}.

The integrand in the expression for

Q

is independent of

z

, so the outer integral can be evaluated to yield

Q(x,y,t)=b

P
\int
A

\left(udy-vdx\right)

Classical definition

Lamb and Batchelor define the stream function

\psi

as follows.[2]

\psi(x,y,t)=

P
\int
A

\left(udy-vdx\right)

Using the expression derived above for the total volumetric flux,

Q

, this can be written as

\psi(x,y,t)=

Q(x,y,t)
b
.

In words, the stream function

\psi

is the volumetric flux through the test surface per unit thickness, where thickness is measured perpendicular to the plane of flow.

The point

A

is a reference point that defines where the stream function is identically zero. Its position is chosen more or less arbitrarily and, once chosen, typically remains fixed.

An infinitesimal shift

dP=(dx,dy)

in the position of point

P

results in the following change of the stream function:

d\psi=udy-vdx

.

d\psi=

\partial\psi
\partialx

dx+

\partial\psi
\partialy

dy,

so the flow velocity components in relation to the stream function

\psi

must be

u=

\partial\psi
\partialy

,    v=-

\partial\psi
\partialx

.

Notice that the stream function is linear in the velocity. Consequently if two incompressible flow fields are superimposed, then the stream function of the resultant flow field is the algebraic sum of the stream functions of the two original fields.

Effect of shift in position of reference point

Consider a shift in the position of the reference point, say from

A

to

A'

. Let

\psi'

denote the stream function relative to the shifted reference point

A'

:

\psi'(x,y,t)=

P
\int
A'

\left(udy-vdx\right).

Then the stream function is shifted by

\begin{align} \Delta\psi(t)&=\psi'(x,y,t)-\psi(x,y,t)\\ &=

A
\int
A'

\left(udy-vdx\right), \end{align}

which implies the following:

\psi

at every point

P

.

\Delta\psi

, is equal to the total volumetric flux, per unit thickness, through the surface that extends from point

A'

to point

A

. Consequently

\Delta\psi=0

if and only if

A

and

A'

lie on the same streamline.

In terms of vector rotation

The velocity

u

can be expressed in terms of the stream function

\psi

as

u=-R\nabla\psi

where

R

is the

3 x 3

rotation matrix corresponding to a

90\circ

anticlockwise rotation about the positive

z

axis. Solving the above equation for

\nabla\psi

produces the equivalent form

\nabla\psi=Ru.

From these forms it is immediately evident that the vectors

u

and

\nabla\psi

are

u\nabla\psi=0

|u|=|\nabla\psi|

.Additionally, the compactness of the rotation form facilitates manipulations (e.g., see Condition of existence).

In terms of vector potential and stream surfaces

\boldsymbol{\psi}

u=\nabla x \boldsymbol{\psi}

where

\boldsymbol{\psi}=\psiz

, and

z

is the unit vector pointing in the positive

z

direction. This can also be written as the vector cross product

u=\nabla\psi x z

where we've used the vector calculus identity

\nabla x \left(\psiz\right)=\psi\nabla x z+\nabla\psi x z.

Noting that

z=\nablaz

, and defining

\phi=z

, one can express the velocity field as

u=\nabla\psi x \nabla\phi.

This form shows that the level surfaces of

\psi

and the level surfaces of

z

(i.e., horizontal planes) form a system of orthogonal stream surfaces.

Alternative (opposite sign) definition

An alternative definition, sometimes used in meteorology and oceanography, is

\psi'=-\psi.

Relation to vorticity

See also: Vorticity. In two-dimensional plane flow, the vorticity vector, defined as

\boldsymbol{\omega}=\nabla x u

, reduces to

\omegaz

, where

\omega=-\nabla2\psi

or

\omega=+\nabla2\psi'

These are forms of Poisson's equation.

Relation to streamlines

Consider two-dimensional plane flow with two infinitesimally close points

P=(x,y,z)

and

P'=(x+dx,y+dy,z)

lying in the same horizontal plane. From calculus, the corresponding infinitesimal difference between the values of the stream function at the two points is

\begin{align} d\psi(x,y,t)&=\psi(x+dx,y+dy,t)-\psi(x,y,t)\\ &={\partial\psi\over\partialx}dx+{\partial\psi\over\partialy}dy\\ &=\nabla\psidr \end{align}

Suppose

\psi

takes the same value, say

C

, at the two points

P

and

P'

. Then this gives

0=\nabla\psidr,

implying that the vector

\nabla\psi

is normal to the surface

\psi=C

. Because

u\nabla\psi=0

everywhere (e.g., see In terms of vector rotation), each streamline corresponds to the intersection of a particular stream surface and a particular horizontal plane. Consequently, in three dimensions, unambiguous identification of any particular streamline requires that one specify corresponding values of both the stream function and the elevation (

z

coordinate).

The development here assumes the space domain is three-dimensional. The concept of stream function can also be developed in the context of a two-dimensional space domain. In that case level sets of the stream function are curves rather than surfaces, and streamlines are level curves of the stream function. Consequently, in two dimensions, unambiguous identification of any particular streamline requires that one specify the corresponding value of the stream function only.

Condition of existence

It's straightforward to show that for two-dimensional plane flow

u

satisfies the curl-divergence equation

(\nablau)z=-\nabla x (Ru)

where

R

is the

3 x 3

rotation matrix corresponding to a

90\circ

anticlockwise rotation about the positive

z

axis. This equation holds regardless of whether or not the flow is incompressible.

If the flow is incompressible (i.e.,

\nablau=0

), then the curl-divergence equation gives

0=\nabla x (Ru)

.Then by Stokes' theorem the line integral of

Ru

over every closed loop vanishes

\oint\partial\Sigma(Ru)d\Gamma=0.

Hence, the line integral of

Ru

is path-independent. Finally, by the converse of the gradient theorem, a scalar function

\psi(x,y,t)

exists such that

Ru=\nabla\psi

.Here

\psi

represents the stream function.

Conversely, if the stream function exists, then

Ru=\nabla\psi

. Substituting this result into the curl-divergence equation yields

\nablau=0

(i.e., the flow is incompressible).

In summary, the stream function for two-dimensional plane flow exists if and only if the flow is incompressible.

Potential flow

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.

Summary of properties

The basic properties of two-dimensional stream functions can be summarized as follows:

  1. The x- and y-components of the flow velocity at a given point are given by the partial derivatives of the stream function at that point.
  2. The value of the stream function is constant along every streamline (streamlines represent the trajectories of particles in steady flow). That is, in two dimensions each streamline is a level curve of the stream function.
  3. The difference between the stream function values at any two points gives the volumetric flux through the vertical surface that connects the two points.

Two-dimensional stream function for flows with time-invariant density

If the fluid density is time-invariant at all points within the flow, i.e.,

\partial\rho
\partialt

=0

,

then the continuity equation (e.g., see Continuity equation#Fluid dynamics) for two-dimensional plane flow becomes

\nabla(\rhou)=0.

In this case the stream function

\psi

is defined such that

\rhou=

\partial\psi
\partialy

,\rhov=-

\partial\psi
\partialx

and represents the mass flux (rather than volumetric flux) per unit thickness through the test surface.

See also

References

Sources

External links

Notes and References


  1. Reprinted in:
  2. and