A general integral formulation for rotational flows in aerodynamics