with a porosity gradient in the vertical or horizontal plane