For an axisymmetric field with radial and axial components depending only on (r,z)(r,z), a Stokes streamfunction SS uses the convention

ur=1rzS,uz=1rrS,r>0.u_r=-\frac1r\partial_z S,\qquad u_z=\frac1r\partial_r S,\qquad r>0.

Substitution in the shows that the meridional field urer+uzezu_re_r+u_ze_z is divergence-free. The swirl component uθeθu_\theta e_\theta is separate and, if axisymmetric, also has zero divergence.

Potential and axis

The azimuthal potential A=(S/r)eθA=(S/r)e_\theta has curl urer+uzezu_re_r+u_ze_z. If S=r2a(r2,z)S=r^2a(r^2,z) with aa smooth on a neighborhood of the relevant half-plane, then

A=(ya(x2+y2,z), xa(x2+y2,z), 0)A=(-y\,a(x^2+y^2,z),\ x\,a(x^2+y^2,z),\ 0)

is smooth at the axis, so its curl is smooth there too. An arbitrary smooth function of (r,z)(r,z) need not have this property. Authors sometimes choose the opposite sign for SS; the component formulas fix the convention.

Meridional motion

In an , the streamfunction represents the . The is additional velocity data.