Thermodynamic Resistance to Matter Flow at The Interface of a Porous Membrane.