Generalized drying curves for porous solids