ross.rotor_example_6dof
Contents
ross.rotor_example_6dof#
- ross.rotor_example_6dof()#
Create a rotor as example.
This function returns an instance of a simple rotor with 6 shaft elements, 2 disks and 2 bearings with stiffness in the z direction.
- Returns:
- An instance of a rotor object.
Examples
>>> import ross as rs >>> import numpy as np >>> rotor = rs.rotor_example_6dof()
Plotting rotor model >>> fig = rotor.plot_rotor() >>> # fig.show()
Running modal >>> rotor_speed = 100.0 # rad/s >>> modal = rotor.run_modal(rotor_speed) >>> print(f”Undamped natural frequencies: {np.round(modal.wn, 2)}”) # doctest: +ELLIPSIS Undamped natural frequencies: [ 47.62 91.84 96.36 274.44 … >>> print(f”Damped natural frequencies: {np.round(modal.wd, 2)}”) # doctest: +ELLIPSIS Damped natural frequencies: [ 47.62 91.84 96.36 274.44 …
Plotting Campbell Diagram >>> camp = rotor.run_campbell(np.linspace(0, 400, 101), frequencies=6) >>> fig = camp.plot() >>> # fig.show()