ross.rotor_example

Contents

ross.rotor_example#

ross.rotor_example()#

Create a rotor as example.

This function returns an instance of a simple rotor without damping with 6 shaft elements, 2 disks and 2 simple bearings. The purpose of this is to make available a simple model so that doctest can be written using this.

Returns:
An instance of a rotor object.

Examples

>>> rotor = rotor_example()
>>> modal = rotor.run_modal(speed=0)
>>> np.round(modal.wd[:4])
array([ 92.,  96., 275., 297.])