Numerical prediction of flap losses in a transonic wind tunnel