Using the analytic solution of stream function obtained in previous studies, this study resolved the problem of producing flow in a long circular cavity filled with a highly viscous fluid by partially rotating the boundary. The results demonstrated that rotating the boundary length significantly influences the corresponding flow patterns with a one-eddy structure. As the length increases, the vortex center of the eddy approaches the center of the container. The function used to describe the dependences of the vortex center position on the rotating boundary length is highly nonlinear. In addition, the shear stress distribution on the wall is quantitatively discussed.