Computational modeling of the transition from damage to fracture in intrinsically anisotropic porous media