The theoretical treatment of a porous solid using a mixture theory