there's something surely easy that eludes me.

I have a rigid bar of known characteristics, free to rotate along a perpendicular axis through its center. The bar is sitting on the ground (which should provide the friction).

An instantaneous bump is applied to one of its edges.

So, the bar starts a rotation and after some seconds stops. I need to know the final angle.

I considered the momentum of inertia of the bar, I could estimate the initial bump force applied to it, but how do I determine the friction so to evalutate the time for the rotation and consequentely the final angle?

I'd like to program a model where I could change any of the elements above (bar characteristics, friction, bump force, axis of rotation..) but as of now I'll be glad to simulate a simple "make it turn and see where it stops" situation.

TIA