Since the flow is irrotational, velocity vector may be written as $\mathbf{u}=\nabla\phi$, where $\phi$ is a scalar potential. The cylinder moves with constant velocity $\mathbf{U}$ (vectors are denoted by bold-face font). At the cylinder's surface, normal velocity of both cylinder and fluid must be the same. This means that if $\mathbf{n}$ is the normal vector at the cylinder's surface then $\mathbf{n}\cdot\mathbf{u}=\mathbf{n}\cdot\nabla\phi=\mathbf{n}\cdot\mathbf{U}$. [![enter image description here][1]][1] Consider a cylindrical coordinate system whose origin is instantaneously coincident with the center of the cylinder. Now the normal to the surface of the cylinder is the unit radial vector $\mathbf{e}_r$. Therefore, at the cylinder's surface, we have: $$\mathbf{e}_r\cdot\nabla\phi=\mathbf{e}_r\cdot\mathbf{U}\\\Rightarrow\quad\frac{\partial\phi}{\partial r}=U\cos\theta$$ in which $U$ is the magnitude of cylinder's velocity. [1]: https://i.sstatic.net/0hUaX.png