16: Stream Function, Vorticity Equations
( \newcommand{\kernel}{\mathrm{null}\,}\)
Stream function
A streamline at time t is defined as the curve whose tangent is everywhere parallel to the velocity vector. With dx along the tangent, we have
u×dx=0
and with u=(u,v,w) and dx=(dx,dy,dz), the cross product yields the three equations
vdz=wdy,udz=wdx,udy=vdx
or equivalently,
dxu=dyv=dzw
Streamlines have the following two properties. They cannot intersect except at a point of zero velocity, and as streamlines converge the fluid speed increases. The latter is a consequence of the incompressibility of the fluid: as the same flow rate of fluid passes through a smaller cross-sectional area, the fluid velocity must increase.
Related to streamlines is the stream function. We specialize here to a two dimensional flow, with
u=(u(x,y),v(x,y),0)
The incompressibility condition becomes
∂u∂x+∂v∂y=0
which can be satisfied by defining the scalar stream function ψ=ψ(x,y) by
u(x,y)=∂ψ∂y,v(x,y)=−∂ψ∂x
Now, the differential of the stream function ψ(x,y) satisfies
dψ=∂ψ∂xdx+∂ψ∂ydy=−vdx+udy
which from (16.1) is equal to zero along streamlines. Thus the contour curves of constant ψ represent the streamlines of the flow field, and can provide a good visualization of a fluid flow in two dimensions.
Vorticity
The vector vorticity field is defined from the vector velocity field by
ω=∇×u
The vorticity is a measure of the local rotation of the fluid as can be seen from an application of Stokes’ theorem:
∫Sω⋅ˆndS=∫S(∇×u)⋅ˆndS=∮Cu⋅dr.
Flows without vorticity are called irrotational, or potential flow, and vorticity is sometimes called swirl.
The governing equation for vorticity may be found by taking the curl of the Navier-Stokes equation; that is,
∇×{∂u∂t+(u⋅∇)u}=∇×{−1ρ∇p+v∇2u}
Computing term-by-term, we have
∇×{∂u∂t}=∂∂t(∇×u)=∂ω∂t
And because the curl of a gradient is zero,
∇×{−1ρ∇p}=0.
Also,
∇×{v∇2u}=v∇2(∇×u)=v∇2ω
The remaining term to compute is the curl of the convection term in the Navier-Stokes equation. We first consider the following equality (where the subscript i signifies the i-th component of the vector):
{u×(∇×u)}i=ϵijkujϵklm∂um∂xl=ϵkijϵklmuj∂um∂xl=(δilδjm−δimδjl)uj∂um∂xl=um∂um∂xi−ul∂ui∂xl=12∂∂xiumum−ul∂ui∂xl
Therefore, in vector form,
u×(∇×u)=12∇(u2)−(u⋅∇)u
This identity allows us to write
(u⋅∇)u=12∇(u2)−u×(∇×u)
Taking the curl of both sides and making use of the curl of a gradient equals zero and ∇×u=ω, results in
∇×{(u⋅∇)u}=−∇×(u×ω)=∇×(ω×u)
Combining all the above terms, we have thus obtained the vorticity equation
∂ω∂t+∇×(ω×u)=v∇2ω
An alternative form of the vorticity equation rewrites the convection term to explicitly include the substantive derivative. We have
{∇×(ω×u)}i=ϵijk∂∂xjϵklmωlum=ϵkijϵklm∂∂xj(ωlum)=(δilδjm−δimδjl)∂∂xj(ωlum)=∂∂xm(ωium)−∂∂xl(ωlui)=um∂wi∂xm−ωl∂ui∂xl
where to obtain the last equality we have used both ∂um/∂xm=0 and ∂ωl/∂xl=0. Therefore, in vector form,
∇×(ω×u)=(u⋅∇)ω−(ω⋅∇)u
The vorticity equation can then be rewritten as
∂ω∂t+(u⋅∇)ω=(ω⋅∇)u+v∇2ω
Compared to the Navier-Stokes equation, there is an extra term, called the vortex stretching term, on the right-hand-side of (16.13).
Two-dimensional Navier-Stokes equation
We have already seen that in two dimensions, the incompressibility condition is automatically satisfied by defining the stream function ψ(x,t). Also in two dimensions, the vorticity can be reduced to a scalar field. With u=(u(x,y),v(x,y)), we have
ω=∇×u=|ˆxˆyˆz∂/∂x∂/∂y∂/∂zu(x,y)v(x,y)0|=ˆz(∂v∂x−∂u∂y)=ω(x,y)ˆz,
where we have now defined the scalar field ω to be the third component of the vector vorticity field. Making use of the stream function, we then have
ω=∂v∂x−∂u∂y=−∂2ψ∂x2−∂2ψ∂y2
Therefore, in vector form, we have
∇2ψ=−ω
where
∇2=∂2∂x2+∂2∂y2
is the two-dimensional Laplacian.
Now, with ω=ω(x,y)ˆz, the third component of the vorticity equation (16.13) becomes
∂ω∂t+(u⋅∇)ω=v∇2ω
where the vortex stretching term can be seen to vanish. We can also write
u⋅∇=u∂∂x+v∂∂y=∂ψ∂y∂∂x−∂ψ∂x∂∂y
The vorticity equation in two dimensions then becomes
∂ω∂t+(∂ψ∂y∂ω∂x−∂ψ∂x∂ω∂y)=v∇2ω
For a stationary flow, this equation becomes the Poisson equation,
∇2ω=1v(∂ψ∂y∂ω∂x−∂ψ∂x∂ω∂y)
We have thus obtained for a stationary flow two coupled Poisson equations for ψ(x,y) and ω(x,y) given by (16.14) and (16.18).