Suppose we want to compute the flux through a cylinder of radius R, whose axis is aligned with the z-axis. An element of surface area for the cylinder is
as seen from the picture below.
What is the outward normal vector for this surface? It should point in the straight out from the z-axis, so it should be a unit vector in the direction of . Thus,
This gives us the result that the flux through a portion of the surface of a cylinder of radius R oriented along the z-axis is where T is the -region corresponding to S.Here's a quick example: Compute the flux of the vector field through the piece of the cylinder of radius 3, centered on the z-axis, with and .The cylinder is oriented along the z-axis and has an inward pointing normal vector.