A contribution to the Finite Element Analysis of High-Speed compressible flows and aerodynamic shape optimization