
In
fluid dynamics
In physics, physical chemistry and engineering, fluid dynamics is a subdiscipline of fluid mechanics that describes the flow of fluids – liquids and gases. It has several subdisciplines, including (the study of air and other gases in motion ...
, two types of stream function (or streamfunction) are defined:
* The two-dimensional (or Lagrange) stream function, introduced by
Joseph Louis Lagrange
Joseph-Louis Lagrange (born Giuseppe Luigi Lagrangia[incompressible
Incompressible may refer to:
* Incompressible flow, in fluid mechanics
* incompressible vector field, in mathematics
* Incompressible surface, in mathematics
* Incompressible string, in computing
{{Disambig ...](_blank)
(
divergence-free), two-dimensional
flows.
* The
Stokes stream function
In fluid dynamics, the Stokes stream function is used to describe the Streamlines, streaklines, and pathlines, streamlines and flow velocity in a three-dimensional incompressible flow with axisymmetry. A surface with a constant value of the Stokes ...
, named after
George Gabriel Stokes
Sir George Gabriel Stokes, 1st Baronet, (; 13 August 1819 – 1 February 1903) was an Irish mathematician and physicist. Born in County Sligo, Ireland, Stokes spent his entire career at the University of Cambridge, where he served as the Lucasi ...
, is defined for incompressible, three-dimensional flows with
axisymmetry.
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:
* The flow field can be described as two-dimensional plane flow, with velocity vector
:
* The velocity satisfies the
continuity equation
A continuity equation or transport equation is an equation that describes the transport of some quantity. It is particularly simple and powerful when applied to a conserved quantity, but it can be generalized to apply to any extensive quantity ...
for incompressible flow:
:
* The domain has no holes, or only has holes that have no net flux inwards or outwards.
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
In geometry, a Cartesian coordinate system (, ) in a plane (geometry), plane is a coordinate system that specifies each point (geometry), point uniquely by a pair of real numbers called ''coordinates'', which are the positive and negative number ...
with coordinates
.
Derivation
The test surface
Consider two points
and
in the
plane, and a continuous curve
, also in the
plane, that connects them. Then every point on the curve
has
coordinate
. Let the total length of the curve
be
.
Suppose a ribbon-shaped surface is created by extending the curve
upward to the horizontal plane
, where
is the thickness of the flow. Then the surface has length
, width
, and area
. Call this the ''test surface''.
Flux through the test surface

The total
volumetric flux through the test surface is
:
where
is an arc-length parameter defined on the curve
, with
at the point
and
at the point
.
Here
is the unit vector perpendicular to the test surface, i.e.,
:
where
is the
rotation matrix
In linear algebra, a rotation matrix is a transformation matrix that is used to perform a rotation (mathematics), rotation in Euclidean space. For example, using the convention below, the matrix
:R = \begin
\cos \theta & -\sin \theta \\
\sin \t ...
corresponding to a
anticlockwise rotation about the positive
axis:
:
The integrand in the expression for
is independent of
, so the outer integral can be evaluated to yield
:
Classical definition
Lamb and
Batchelor define the stream function
as follows.
:
Using the expression derived above for the total volumetric flux,
, this can be written as
:
.
In words, the stream function
is the volumetric flux through the test surface per unit thickness, where thickness is measured perpendicular to the plane of flow.
The point
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
In mathematics, an infinitesimal number is a non-zero quantity that is closer to 0 than any non-zero real number is. The word ''infinitesimal'' comes from a 17th-century Modern Latin coinage ''infinitesimus'', which originally referred to the " ...
shift
in the position of point
results in the following change of the stream function:
:
.
From the
exact differential
In multivariate calculus, a differential (infinitesimal), differential or differential form is said to be exact or perfect (''exact differential''), as contrasted with an inexact differential, if it is equal to the general differential dQ for som ...
:
so the flow velocity components in relation to the stream function
must be
:
Notice that the stream function is
linear
In mathematics, the term ''linear'' is used in two distinct senses for two different properties:
* linearity of a '' function'' (or '' mapping'');
* linearity of a '' polynomial''.
An example of a linear function is the function defined by f(x) ...
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
to
. Let
denote the stream function relative to the shifted reference point
:
:
Then the stream function is shifted by
:
which implies the following:
* A shift in the position of the reference point effectively adds a constant (for steady flow) or a function solely of time (for nonsteady flow) to the stream function
at every point
.
* The shift in the stream function,
, is equal to the total volumetric flux, per unit thickness, through the continuous surface that extends from point
to point
. Consequently
if and only if
and
lie on the same streamline.
In terms of vector rotation
The velocity
can be expressed in terms of the stream function
as
:
where
is the
rotation matrix corresponding to a
anticlockwise rotation about the positive
axis. Solving the above equation for
produces the equivalent form
:
From these forms it is immediately evident that the vectors
and
are
* perpendicular:
* of the same length:
.
Additionally, the compactness of the rotation form facilitates manipulations (e.g., see
Condition of existence).
In terms of vector potential and stream surfaces
In general, a divergence-free field like
, also known as a
solenoidal vector field, can always be represented as the curl of some
vector potential
In vector calculus, a vector potential is a vector field whose curl is a given vector field. This is analogous to a ''scalar potential'', which is a scalar field whose gradient is a given vector field.
Formally, given a vector field \mathbf, a ' ...
:
:
The stream function
can be understood as providing the strength of a vector potential that is directed perpendicular to the plane:
:
in other words
, where
is the unit vector pointing in the positive
direction.
This can also be written as the vector cross product
:
where we've used the
vector calculus identity
The following are important identities involving derivatives and integrals in vector calculus.
Operator notation
Gradient
For a function f(x, y, z) in three-dimensional Cartesian coordinate variables, the gradient is the vector field:
:
\o ...
:
Noting that
, and defining
, one can express the velocity field as
:
This form shows that the level surfaces of
and the level surfaces of
(i.e., horizontal planes) form a system of orthogonal
stream surfaces.
Alternative (opposite sign) definition
An alternative definition, sometimes used in
meteorology
Meteorology is the scientific study of the Earth's atmosphere and short-term atmospheric phenomena (i.e. weather), with a focus on weather forecasting. It has applications in the military, aviation, energy production, transport, agricultur ...
and
oceanography
Oceanography (), also known as oceanology, sea science, ocean science, and marine science, is the scientific study of the ocean, including its physics, chemistry, biology, and geology.
It is an Earth science, which covers a wide range of to ...
, is
:
Relation to vorticity
In two-dimensional plane flow, the
vorticity
In continuum mechanics, vorticity is a pseudovector (or axial vector) field that describes the local spinning motion of a continuum near some point (the tendency of something to rotate), as would be seen by an observer located at that point an ...
vector, defined as
, reduces to
, where
:
or
:
These are forms of
Poisson's equation
Poisson's equation is an elliptic partial differential equation of broad utility in theoretical physics. For example, the solution to Poisson's equation is the potential field caused by a given electric charge or mass density distribution; with t ...
.
Relation to streamlines
Consider two-dimensional plane flow with two infinitesimally close points
and
lying in the same horizontal plane. From calculus, the corresponding infinitesimal difference between the values of the stream function at the two points is
:
Suppose
takes the same value, say
, at the two points
and
. Then this gives
:
implying that the vector
is normal to the surface
. Because
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 (
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
satisfies the curl-divergence equation
:
where
is the
rotation matrix
In linear algebra, a rotation matrix is a transformation matrix that is used to perform a rotation (mathematics), rotation in Euclidean space. For example, using the convention below, the matrix
:R = \begin
\cos \theta & -\sin \theta \\
\sin \t ...
corresponding to a
anticlockwise rotation about the positive
axis. This equation holds regardless of whether or not the flow is incompressible.
If the flow is incompressible (i.e.,
), then the curl-divergence equation gives
:
.
Then by
Stokes' theorem
Stokes' theorem, also known as the Kelvin–Stokes theorem after Lord Kelvin and George Stokes, the fundamental theorem for curls, or simply the curl theorem, is a theorem in vector calculus on \R^3. Given a vector field, the theorem relates th ...
the line integral of
over every closed loop vanishes
:
Hence, the line integral of
is path-independent. Finally, by the converse of the
gradient theorem
The gradient theorem, also known as the fundamental theorem of calculus for line integrals, says that a line integral through a gradient field can be evaluated by evaluating the original scalar field at the endpoints of the curve. The theorem is ...
, a scalar function
exists such that
:
.
Here
represents the stream function.
Conversely, if the stream function exists, then
. Substituting this result into the curl-divergence equation yields
(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
In fluid dynamics, potential flow or irrotational flow refers to a description of a fluid flow with no vorticity in it. Such a description typically arises in the limit of vanishing viscosity, i.e., for an inviscid fluid and with no vorticity pre ...
, streamlines are perpendicular to
equipotential
In mathematics and physics, an equipotential or isopotential refers to a region (mathematics), region in space where every point is at the same Electric potential, potential. This usually refers to a scalar potential (in that case it is a level ...
lines. Taken together with the
velocity potential
A velocity potential is a scalar potential used in potential flow theory. It was introduced by Joseph-Louis Lagrange in 1788.
It is used in continuum mechanics, when a continuum occupies a simply-connected region and is irrotational. In such a ca ...
, the stream function may be used to derive a
complex
Complex commonly refers to:
* Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe
** Complex system, a system composed of many components which may interact with each ...
potential. In other words, the stream function accounts for the
solenoidal part of a two-dimensional
Helmholtz decomposition
In physics and mathematics, the Helmholtz decomposition theorem or the fundamental theorem of vector calculus states that certain differentiable vector fields can be resolved into the sum of an irrotational ( curl-free) vector field and a sole ...
, while the velocity potential accounts for the
irrotational
In vector calculus, a conservative vector field is a vector field that is the gradient of some function. A conservative vector field has the property that its line integral is path independent; the choice of path between two points does not chan ...
part.
Summary of properties
The basic properties of two-dimensional stream functions can be summarized as follows:
# The ''x''- and ''y''-components of the flow velocity at a given point are given by the
partial derivative
In mathematics, a partial derivative of a function of several variables is its derivative with respect to one of those variables, with the others held constant (as opposed to the total derivative, in which all variables are allowed to vary). P ...
s of the stream function at that point.
# 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.
# 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.,
:
,
then the
continuity equation
A continuity equation or transport equation is an equation that describes the transport of some quantity. It is particularly simple and powerful when applied to a conserved quantity, but it can be generalized to apply to any extensive quantity ...
(e.g., see
Continuity equation#Fluid dynamics) for two-dimensional plane flow becomes
:
In this case the stream function
is defined such that
:
and represents the mass flux (rather than volumetric flux) per unit thickness through the test surface.
See also
*
Elementary flow
References
Citations
Sources
*
*
*
*
*
*
{{refend
Continuum mechanics
Fluid dynamics
External links
Joukowsky Transform Interactive WebApp