A new methodology to evaluate the flying shape of a sail