A numerical method for 3D turbomachinery aeroelasticity