Nonlinear crack problems with application to composites and geomechanics