Hi everyone!

I am trying to simulate the nanotube filtration system as the figure shown below from ref [1] in Gromacs. Following the reference, I want to add a z-direction constant force for all the water molecules within the two thin blue lays on the top and bottom of the simulation box to form a pressure difference. The water molecules list within these lays, however, changes with simulation time, so the list has to be updated with 10 ps.

Could you please give me some advice on

How to set an updated atoms list within a given geometry area for the pull-group to use in Gromacs?

Thank you very much!

Best regards,

Qingran

Ref

[1] J. Chem. Phys. 141, 18C518 (2014); https://doi.org/10.1063/1.4896689

Similar questions and discussions