Hello Dr.warren, Thank you very much for your suggestion. i used the editconf -center option to center the molecule. first it is at the center. but afte 8 Ps it went out. what i understood is trjconv can be used after the simulation (for -pbc, -center options). is it correct? thanks once again. sincerely,