Non-isothermal water retention curve model for adsorption