On the computation of transonic leading-edge vortices using the Euler equations