Kinematically consistent velocity fields for hydrodynamic calculations in curvilinear coordinates