Simulation of the Dynamics of a Rotor on Foil Bearings