Numerical study and control method of interaction of nucleation and boundary layer separation in condensing flow