I am studying about 2-dimensional Euler equation's fluid vorticity, and I want to know how to calculate it.
$\omega = ∇\times u$ if $\omega$ is a fluid vorticity and u is the velocity vector of the fluid.
I tried to calculate it using polar coordinates and since $∇=(\frac{\partial}{\partial r},\frac{1}{r}\frac{\partial}{\partial \theta})$, it becomes $∇\times u=(\frac{\partial}{\partial r},\frac{1}{r}\frac{\partial}{\partial \theta},\frac{\partial}{\partial z})\times(u_r,u_\theta,0)=(0,0,\partial_r u_\theta - \frac{1}{r}\partial_\theta u_r)$.
But my book says it should be $\omega = \frac{1}{r}\partial_r (ru_\theta)-\frac{1}{r}\partial_\theta u_r$.
I think this difference is from the general definition of curl. When I studied divergence in polar coordinate, I saw that the general definition of dot product is $\textrm{div(F)}=\frac{1}{\rho}\frac{\partial(\rho F^i)}{\partial x^i},$ where $\rho=\sqrt{\det(g)}$ and g is an metric tensor.
So similarly, I want to know what is the general definition of curl, and how to evaluate exact fluid vorticity in that case. Does anyone help me?