Definition
Stokes streamfunction for an axisymmetric meridional field
A scalar S representing u_r=-S_z/r and u_z=S_r/r in cylindrical coordinates.
For an axisymmetric field with radial and axial components depending only on , a Stokes streamfunction uses the convention
Substitution in the cylindrical divergence formula shows that the meridional field is divergence-free. The swirl component is separate and, if axisymmetric, also has zero divergence.
Potential and axis
The azimuthal potential has curl . If with smooth on a neighborhood of the relevant half-plane, then
is smooth at the axis, so its curl is smooth there too. An arbitrary smooth function of need not have this property. Authors sometimes choose the opposite sign for ; the component formulas fix the convention.
Meridional motion
In an axisymmetric fluid, the streamfunction represents the meridional velocity. The swirl component is additional velocity data.