FEM formulation for dynamic instability of fluid-conveying pipe on non-uniform elastic foundation