Analytical method to calculate the effective permeability tensor of a grid block and its application in an outcrop study