ArticleslgStudy

mathematics

Stream function

Stream function is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Stream function rather than just read about it. In short: 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 (divergence-free), two-dimensional flows. The Stokes stream function, named after George Gabriel Stokes, is defined for incompressible, three-dimensional flows with axisymmetry.

Stream function — main illustration
Stream function — illustration

Key takeaways

  • Stream function belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Stream function to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Stream function from memory before moving on to harder problems.

Reference excerpt

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 (divergence-free), two-dimensional flows. The Stokes stream function, named after George Gabriel Stokes, 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 𝐮=[u(x,y,t)v(x,y,t)0]. The velocity satisfies the continuity equation for incompressible flow: ∇⋅𝐮=0. 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 with coordinates (x,y,z).

Derivation

The test surface Consider two points A and P in the xy plane, and a continuous curve AP, also in the xy plane, that connects them where 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)=∫0b∫0L𝐮⋅𝐧̂dsdz 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 𝐧̂ is the unit vector perpendicular to the test surface, i.e.,

𝐧̂ds=−Rd𝐫=[dy−dx0] where R is the 3×3 rotation matrix corresponding to a 90∘ anticlockwise rotation about the positive z axis:

R=Rz(90∘)=[0−10100001]. 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∫AP(udy−vdx)

Classical definition Lamb and Batchelor define the stream function ψ as follows.

ψ(x,y,t)=∫AP(udy−vdx) Using the expression derived above for the total volumetric flux, Q, this can be written as

ψ(x,y,t)=Q(x,y,t)b. 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 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ψ=udy−vdx. From the exact differential

dψ=∂ψ∂xdx+∂ψ∂ydy, so the flow velocity components in relation to the stream function ψ must be

u=∂ψ∂y,v=−∂ψ∂x. 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 ψ′ denote the stream function relative to the shifted reference point A′:

ψ′(x,y,t)=∫A′P(udy−vdx). Then the stream function is shifted by

Δψ(t)=ψ′(x,y,t)−ψ(x,y,t)=∫A′A(udy−vdx), 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 P. The shift in the stream function, Δψ, is equal to the total volumetric flux, per unit thickness, through the continuous surface that extends from point A′ to point A. Consequently Δψ=0 if and only if A and A′ lie on the same streamline.

In terms of vector rotation The velocity 𝐮 can be expressed in terms of the stream function ψ as

𝐮=−R∇ψ where R is the 3×3 rotation matrix corresponding to a 90∘ anticlockwise rotation about the positive z axis. Solving the above equation for ∇ψ produces the equivalent form

∇ψ=R𝐮. From these forms it is immediately evident that the vectors 𝐮 and ∇ψ are

perpendicular: 𝐮⋅∇ψ=0 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 𝑨:

𝐮=∇×𝑨. The stream function ψ can be understood as providing the strength of a vector potential that is directed perpendicular to the plane:

𝑨(x,y,t)=[00ψ(x,y,t)], in other words 𝑨=ψ𝐳̂, where 𝐳̂ is the unit vector pointing in the positive z direction. This can also be written as the vector cross product

𝐮=∇ψ×𝐳̂ where we've used the vector calculus identity

∇×(ψ𝐳̂)=ψ∇×𝐳̂+∇ψ×𝐳̂. Noting that 𝐳̂=∇z, and defining ϕ=z, one can express the velocity field as

𝐮=∇ψ×∇ϕ. This form shows that the level surfaces of ψ 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

ψ′=−ψ.

Relation to vorticity

In two-dimensional plane flow, the vorticity vector, defined as 𝝎=∇×𝐮, reduces to ω𝐳̂, where

ω=−∇2ψ or

ω=+∇2ψ′ 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

dψ(x,y,t)=ψ(x+dx,y+dy,t)−ψ(x,y,t)=∂ψ∂xdx+∂ψ∂ydy=∇ψ⋅d𝐫 Suppose ψ takes the same value, say C, at the two points P and P′. Then this gives

… excerpt ends here. Continue reading the full article.

Illustrations

Stream function: For an incompressible-flow velocity vector field (red, top), its streamlines (dashed) can be computed as the contours of the stream function (bottom).
For an incompressible-flow velocity vector field (red, top), its streamlines (dashed) can be computed as the contours of the stream function (bottom).
Stream function: The volume flux through the test surface connecting the points A and P.
The volume flux through the test surface connecting the points A and P.

Worked examples

Example 1 — a first encounter with Stream function

Start with the simplest possible case. Write down what Stream function claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Stream function before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Stream function ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Stream function

In research
Stream function appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Stream function in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Stream function is common in secondary-school and first-year university syllabi. It links to neighbouring topics Continuum mechanics, Fluid dynamics, so understanding it makes those chapters shorter.
In everyday life
Look for Stream function outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Stream function” →

How to study Stream function in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Stream function means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Stream function out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Stream function in simple terms?

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 (divergence-free), two-dimensional flows. The Stokes stream function, named after George Gab…

Why does Stream function matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Stream function?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Stream function.

Tags

  • Continuum mechanics
  • Fluid dynamics

Keep exploring