Investigating permeability by forcing a fluid through a sample