Modeling and simulation of rotor bearing friction