Porosity as a Geomechanical Indicator: An Application of Core and Log Data and Rock Mechanics