Calculation of steady compressible flowfields with the finite element method