Porosity Evolution in Rate and State Friction