Shear Fracture Growth in Granular Rocks and Porosity-Permeability Relationships in Mudstones