If we have a bar AB which can rotate about A and there is a force applied on AB, make it rotate. Is there any formula for us to calculate the angular velocity of this bar?

If the applied force is constant, sum the moments about the point of rotation. This value is equivalent to the product of the angular acceleration and the moment of inertia. The velocity of the rotating object will be the sum of its initial velocity and the acceleration x time.