The Mathematics of Adsorption in Beds.