S U M M A R YThe orientation of fracture growth 0 can be determined by using the maximum strain-energy release-rate criterion G,,,. When a fracture is under compression, the evaluation of G(8) involves the solution to frictional contact problems, where the fracture faces are constrained by the non-interpenetration condition and a friction law. We propose a repulsion scheme to handle these constraints on the fracture faces: the interpenetration is iteratively eliminated by adjusting the normal compressive force (repulsion), and the friction law is satisfied by modifying the friction resistance at each iteration.Under uniaxial compression, the numerical results show that an artificial cut extends by a kink, which is consistent with laboratory observations. Fractures under pure mode I1 (simple shearing) and under mixed-mode loading (transtension) grow by a kink and along a smooth, slightly convex trajectory; the computed path is almost identical to the one obtained in the laboratory.