Eigenvalue calculation procedure for an Euler/Navier-Stokes solver with application to flows over airfoils