
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 ...
, the Stokes stream function is used to describe the
streamlines and
flow velocity
In continuum mechanics the flow velocity in fluid dynamics, also macroscopic velocity in statistical mechanics, or drift velocity in electromagnetism, is a vector field used to mathematically describe the motion of a continuum. The length of the f ...
in a three-dimensional
incompressible flow
In fluid mechanics, or more generally continuum mechanics, incompressible flow is a flow in which the material density does not vary over time. Equivalently, the divergence of an incompressible flow velocity is zero. Under certain conditions, t ...
with
axisymmetry
Rotational symmetry, also known as radial symmetry in geometry, is the property a shape has when it looks the same after some rotation by a partial turn. An object's degree of rotational symmetry is the number of distinct orientations in whic ...
. A surface with a constant value of the Stokes stream function encloses a
streamtube, everywhere
tangential
In geometry, the tangent line (or simply tangent) to a plane curve at a given point is, intuitively, the straight line that "just touches" the curve at that point. Leibniz defined it as the line through a pair of infinitely close points on ...
to the flow velocity vectors. Further, the
volume
Volume is a measure of regions in three-dimensional space. It is often quantified numerically using SI derived units (such as the cubic metre and litre) or by various imperial or US customary units (such as the gallon, quart, cubic inch) ...
flux
Flux describes any effect that appears to pass or travel (whether it actually moves or not) through a surface or substance. Flux is a concept in applied mathematics and vector calculus which has many applications in physics. For transport phe ...
within this streamtube is constant, and all the streamlines of the flow are located on this surface. The
velocity field
In continuum mechanics the flow velocity in fluid dynamics, also macroscopic velocity in statistical mechanics, or drift velocity in electromagnetism, is a vector field used to mathematically describe the motion of a continuum. The length of the f ...
associated with the Stokes stream function is
solenoidal—it has zero
divergence
In vector calculus, divergence is a vector operator that operates on a vector field, producing a scalar field giving the rate that the vector field alters the volume in an infinitesimal neighborhood of each point. (In 2D this "volume" refers to ...
. This stream function is named in honor of
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 ...
.
Cylindrical coordinates

Consider a
cylindrical coordinate system
A cylindrical coordinate system is a three-dimensional coordinate system that specifies point positions around a main axis (a chosen directed line) and an auxiliary axis (a reference ray). The three cylindrical coordinates are: the point perpen ...
( ''ρ'' , ''φ'' , ''z'' ), with the ''z''–axis the line around which the incompressible flow is axisymmetrical, ''φ'' the
azimuthal angle
An azimuth (; from ) is the horizontal angle from a cardinal direction, most commonly north, in a local or observer-centric spherical coordinate system.
Mathematically, the relative position vector from an observer ( origin) to a point of in ...
and ''ρ'' the distance to the ''z''–axis. Then the flow velocity components ''u
ρ'' and ''u
z'' can be expressed in terms of the Stokes stream function
by:
:
The azimuthal velocity component ''u
φ'' does not depend on the stream function. Due to the axisymmetry, all three velocity components ( ''u
ρ'' , ''u
φ'' , ''u
z'' ) only depend on ''ρ'' and ''z'' and not on the azimuth ''φ''.
The volume flux, through the surface bounded by a constant value ''ψ'' of the Stokes stream function, is equal to ''2π ψ''.
Spherical coordinates
In
spherical coordinates
In mathematics, a spherical coordinate system specifies a given point in three-dimensional space by using a distance and two angles as its three coordinates. These are
* the radial distance along the line connecting the point to a fixed point ...
( ''r'' , ''θ'' , ''φ'' ), ''r'' is the
radial distance from the
origin, ''θ'' is the
zenith angle
The zenith (, ) is the imaginary point on the celestial sphere directly "above" a particular location. "Above" means in the vertical direction ( plumb line) opposite to the gravity direction at that location ( nadir). The zenith is the "highest" ...
and ''φ'' is the
azimuthal angle
An azimuth (; from ) is the horizontal angle from a cardinal direction, most commonly north, in a local or observer-centric spherical coordinate system.
Mathematically, the relative position vector from an observer ( origin) to a point of in ...
. In axisymmetric flow, with ''θ'' = 0 the rotational symmetry axis, the quantities describing the flow are again independent of the azimuth ''φ''. The flow velocity components ''u
r'' and ''u
θ'' are related to the Stokes stream function
through:
:
Again, the azimuthal velocity component ''u
φ'' is not a function of the Stokes stream function ''ψ''. The volume flux through a stream tube, bounded by a surface of constant ''ψ'', equals ''2π ψ'', as before.
Vorticity
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 ...
is defined as:
:
, where
with
the
unit vector
In mathematics, a unit vector in a normed vector space is a Vector (mathematics and physics), vector (often a vector (geometry), spatial vector) of Norm (mathematics), length 1. A unit vector is often denoted by a lowercase letter with a circumfle ...
in the
–direction.
:
As a result, from the calculation the vorticity vector is found to be equal to:
:
Comparison with cylindrical
The cylindrical and spherical coordinate systems are related through
:
and
Alternative definition with opposite sign
As explained in the general
stream function
In fluid dynamics, two types of stream function (or streamfunction) are defined:
* The two-dimensional (or Lagrange) stream function, introduced by Joseph Louis Lagrange in 1781, is defined for incompressible flow, incompressible (divergence-free ...
article, definitions using an opposite sign convention – for the relationship between the Stokes stream function and flow velocity – are also in use.
Zero divergence
In cylindrical coordinates, the
divergence
In vector calculus, divergence is a vector operator that operates on a vector field, producing a scalar field giving the rate that the vector field alters the volume in an infinitesimal neighborhood of each point. (In 2D this "volume" refers to ...
of the velocity field u becomes:
:
as expected for an incompressible flow.
And in spherical coordinates:
[Batchelor (1967), p. 601.]
:
Streamlines as curves of constant stream function
From calculus it is known that the
gradient
In vector calculus, the gradient of a scalar-valued differentiable function f of several variables is the vector field (or vector-valued function) \nabla f whose value at a point p gives the direction and the rate of fastest increase. The g ...
vector
is normal to the curve
(see e.g.
Level set#Level sets versus the gradient). If it is shown that everywhere
using the formula for
in terms of
then this proves that level curves of
are streamlines.
;Cylindrical coordinates:
In cylindrical coordinates,
:
.
and
:
So that
:
;Spherical coordinates:
And in spherical coordinates
:
and
:
So that
:
Notes
References
*
* Originally published in 1879, the 6th extended edition appeared first in 1932.
*
Reprinted in:
{{DEFAULTSORT:Stokes stream function
Fluid dynamics