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.
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}.
\nabla ⋅ u=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)
Consider two points
A
P
xy
AP
xy
AP
z
z=0
AP
L
Suppose a ribbon-shaped surface is created by extending the curve
AP
z=b
(b>0)
b
L
b
bL
The total volumetric flux through the test surface is
Q(x,y,t)=
b | |
\int | |
0 |
L | |
\int | |
0 |
u ⋅ ndsdz
s
AP
s=0
A
s=L
P
n
nds=-Rdr=\begin{bmatrix} dy\\ -dx\\ 0 \end{bmatrix}
R
3 x 3
90\circ
z
R=
\circ) | |
R | |
z(90 |
=\begin{bmatrix} 0&-1&0\ 1&0&0\\ 0&0&1\end{bmatrix}.
Q
z
Q(x,y,t)=b
P | |
\int | |
A |
\left(udy-vdx\right)
Lamb and Batchelor define the stream function
\psi
\psi(x,y,t)=
P | |
\int | |
A |
\left(udy-vdx\right)
Using the expression derived above for the total volumetric flux,
Q
\psi(x,y,t)=
Q(x,y,t) | |
b |
In words, the stream function
\psi
The point
A
An infinitesimal shift
dP=(dx,dy)
P
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
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.
Consider a shift in the position of the reference point, say from
A
A'
\psi'
A'
\psi'(x,y,t)=
P | |
\int | |
A' |
\left(udy-vdx\right).
\begin{align} \Delta\psi(t)&=\psi'(x,y,t)-\psi(x,y,t)\\ &=
A | |
\int | |
A' |
\left(udy-vdx\right), \end{align}
\psi
P
\Delta\psi
A'
A
\Delta\psi=0
A
A'
The velocity
u
\psi
u=-R\nabla\psi
R
3 x 3
90\circ
z
\nabla\psi
\nabla\psi=Ru.
u
\nabla\psi
u ⋅ \nabla\psi=0
|u|=|\nabla\psi|
\boldsymbol{\psi}
u=\nabla x \boldsymbol{\psi}
\boldsymbol{\psi}=\psiz
z
z
u=\nabla\psi x z
\nabla x \left(\psiz\right)=\psi\nabla x z+\nabla\psi x z.
z=\nablaz
\phi=z
u=\nabla\psi x \nabla\phi.
\psi
z
An alternative definition, sometimes used in meteorology and oceanography, is
\psi'=-\psi.
See also: Vorticity. In two-dimensional plane flow, the vorticity vector, defined as
\boldsymbol{\omega}=\nabla x u
\omegaz
\omega=-\nabla2\psi
\omega=+\nabla2\psi'
Consider two-dimensional plane flow with two infinitesimally close points
P=(x,y,z)
P'=(x+dx,y+dy,z)
\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\psi ⋅ dr \end{align}
Suppose
\psi
C
P
P'
0=\nabla\psi ⋅ dr,
implying that the vector
\nabla\psi
\psi=C
u ⋅ \nabla\psi=0
z
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.
It's straightforward to show that for two-dimensional plane flow
u
(\nabla ⋅ u)z=-\nabla x (Ru)
R
3 x 3
90\circ
z
If the flow is incompressible (i.e.,
\nabla ⋅ u=0
0=\nabla x (Ru)
Ru
\oint\partial\Sigma(Ru) ⋅ d\Gamma=0.
Ru
\psi(x,y,t)
Ru=\nabla\psi
\psi
Conversely, if the stream function exists, then
Ru=\nabla\psi
\nabla ⋅ u=0
In summary, the stream function for two-dimensional plane flow exists if and only if the flow is incompressible.
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.
The basic properties of two-dimensional stream functions can be summarized as follows:
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
\rhou=
\partial\psi | |
\partialy |
, \rhov=-
\partial\psi | |
\partialx |
and represents the mass flux (rather than volumetric flux) per unit thickness through the test surface.