Consider a cylindrical coordinate system ( ρ , φ , z ), with the z–axis the line around which the incompressible flow is axisymmetrical, φ the azimuthal angle and ρ the distance to the z–axis. Then the flow velocity components uρ and uz can be expressed in terms of the Stokes stream function by:[1]
The azimuthal velocity component uφ does not depend on the stream function. Due to the axisymmetry, all three velocity components ( uρ , uφ , uz ) 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
A point plotted using the spherical coordinate system
In spherical coordinates ( r , θ , φ ), r is the radial distance from the origin, θ is the zenith angle and φ is the azimuthal angle. In axisymmetric flow, with θ = 0 the rotational symmetry axis, the quantities describing the flow are again independent of the azimuth φ. The flow velocity components ur and uθ are related to the Stokes stream function through:[2]
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.
First notice that the and components are equal to 0. Secondly substitute and into The result is:
Next the following algebra is performed:
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 article, definitions using an opposite sign convention – for the relationship between the Stokes stream function and flow velocity – are also in use.[3]
Zero divergence
In cylindrical coordinates, the divergence of the velocity field u becomes:[4]
Consider two dimensional plane flow within a Cartesian coordinate system. Consider two infinitesimally close points and . From calculus we have that
Say takes the same value, say , at the two points and , then is tangent to the curve at and
implying that the vector is normal to the to the curve . If we can show that everywhere using the formula for in terms of then we will have proved the result. This easily follows,
Streamlines as curves of in cylindrical and spherical coordinates
It can be shown that if then the level curves of that is curves defined by correspond to streamlines.
^E.g. Brenner, Howard (1961). "The slow motion of a sphere through a viscous fluid towards a plane surface". Chemical Engineering Science. 16 (3–4): 242–251. doi:10.1016/0009-2509(61)80035-3.
Lamb, H. (1994). Hydrodynamics (6th ed.). Cambridge University Press. ISBN978-0-521-45868-9. Originally published in 1879, the 6th extended edition appeared first in 1932.