Fixed atoms (mass=0) are moving with pressure coupling
Posted: Tue Jun 12, 2018 12:55 am
Hi all,
I recently encountered this problem of using pressure coupling with position restraints for some of the atoms. It looks like both the MonteCarloAnisotropicBarostat and MonteCarloMembraneBarostat are scaling the positions of all the particles, even the particles fixed in position with mass=0. I'm trying to model some slab geometry of metal oxide with water and wants to fix the position of the metal oxide. With each pressure coupling, the crystalline packing of the metal oxide is disturbed due to the scaling of the entire particle positions.
It would be nice if one can set an option of scaling only COM positions but keeping internal coordinates with the barostat instead of scaling all the positions independently.
Is there any work-around for this issue, or have somebody wrote a custom python api for this type of simulation?
Thanks,
ChangYun
I recently encountered this problem of using pressure coupling with position restraints for some of the atoms. It looks like both the MonteCarloAnisotropicBarostat and MonteCarloMembraneBarostat are scaling the positions of all the particles, even the particles fixed in position with mass=0. I'm trying to model some slab geometry of metal oxide with water and wants to fix the position of the metal oxide. With each pressure coupling, the crystalline packing of the metal oxide is disturbed due to the scaling of the entire particle positions.
It would be nice if one can set an option of scaling only COM positions but keeping internal coordinates with the barostat instead of scaling all the positions independently.
Is there any work-around for this issue, or have somebody wrote a custom python api for this type of simulation?
Thanks,
ChangYun