Steady vortex flows obtained from an inverse problem