# Example 5 - Cross-coupled bearings.ΒΆ

In this example, we use the rotor seen in Example 5.9.4 from .

This system is the same as that of Example 3, except that some coupling is introduced in the bearings between the x and y directions. The bearings have direct stiffnesses of $$1 MN/m$$ and cross-coupling stiffnesses of $$0.5 MN/m$$.

import ross as rs
import numpy as np

# Classic Instantiation of the rotor
shaft_elements = []
bearing_seal_elements = []
disk_elements = []
Steel = rs.steel
for i in range(6):
shaft_elements.append(rs.ShaftElement(L=0.25, material=Steel, n=i, idl=0, odl=0.05))

disk_elements.append(
rs.DiskElement.from_geometry(n=2, material=Steel, width=0.07, i_d=0.05, o_d=0.28)
)

disk_elements.append(
rs.DiskElement.from_geometry(n=4, material=Steel, width=0.07, i_d=0.05, o_d=0.35)
)

bearing_seal_elements.append(
rs.BearingElement(n=0, kxx=1e6, kyy=1e6, kxy=0.5e6, cxx=0, cyy=0)
)
bearing_seal_elements.append(
rs.BearingElement(n=6, kxx=1e6, kyy=1e6, kxy=0.5e6, cxx=0, cyy=0)
)

rotor594c = rs.Rotor(
shaft_elements=shaft_elements,
bearing_elements=bearing_seal_elements,
disk_elements=disk_elements,
)

rotor594c.plot_rotor()