Poromechanics analysis of a flow-through permeameter with entrapped air