What exactly are you looking for ? http://www.gromacs.org/Documentation/Tutorials/GROMACS_USA_Workshop_and_Conference_2013/Computing_potentials_of_mean_force%3A_Justin_Lemkul,_Session_2A