GROMACS version:
GROMACS modification: Yes/No
Here post your question
Hi,
I want to pull the center of mass of a group of atoms in x-direction by using the harmonic potential, but I also want each atom in the group to stay static relative to the group’s center of mass. I can freeze y and z coordinates, but what should I do with the x-coordinates so that they travel at the constant designated pulling velocity without diffusing in x? Is this done through position restrains?
Hi di_jin,
Did you find a way to achieve relative position restrains? I would like to do a similar thing, but I fear this may not be supported in the current Gromacs release. In any case I would be interested in any follow-up on this question.
I don’t see why position restraints would not work for this. You can turn on free-energy and supply an “A” and “B” position restraint file which differ only in x-coordaintes and then pull using delta-lambda.
This solution may be sufficient for di_jin’s particular problem, but I think the general problem is a bit more complicated. We would like to restrain atoms to distances related to the centre of mass, but not the centre of mass itself. That is, the COM is free to move (or be pulled), while atoms are restrained to a fixed x/y/z coordinate w.r.t it.
E.g this might be necessary for an accurate calculation of solid liquid friction, I can explain why in person.