In view of the limitation of the current various Q-Morph algorithms that can generate isolated triangles in the process of generating quadrilateral mesh,a new advancing front method with constraint was proposed.The method is a kind of Q-Morph algorithm based on advancing front.First,the two side edges and one top edge are generated according to the current front.Then the triangles in the quadrangle are eliminated from the triangular domain.Finally a quadrilateral mesh is generated.Moreover,some constraining conditions are imposed on the advancing procedure to avoid generating isolated triangles,which can improve algorithm efficiency and mesh quality.Numerical experiments are presented to demonstrate that the new method could generate high-quality quadrilateral meshes for complex surface automatically.