functionGibbs_T