-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AMOEBA water model: best practice for calculating the total dipole moment #3141
Comments
No idea! This seems like something @jayponder might have insight on. |
If I understand your question (which I may not...), and from looking at the Sansom paper you cited, I think you want to use the molecular center of mass as the reference point (presumably this is what Sansom, et al. mean by "center of geometry" in their paper and code). |
Thanks so much for getting back to me! So do you think that if I calculate each water molecule's individual dipole moment, made up of the three contributions, and then bin the z component of this dipole moment on the centre of mass of each water molecule, this would be the correct approach in creating a profile of the dipole moment density P(z)? |
Hello,
I've been using OpenMM to run simulations of the AMOEBA14 water model in a capacitor-type set up and would like to calculate a dipole moment profile across the simulation box.
There are three contributions: monopole charge weighted relative positions from a molecular reference (q*r), lab frame permanent dipoles and induced dipoles, however I am a little confused as to which molecular reference point I should be using to bin the location of the resulting dipole vector.
I came across a published study (https://www.biorxiv.org/content/10.1101/2020.03.01.971853v1.full) which uses the center of geometry of the water molecules to calculate the charge weighted positions from. They then bin the vector sum of all three contributions on the center of geometry (their code is here: https://github.com/Inniag/openmm-scripts-amoeba/blob/master/scripts/postproc/dipole_profile_amoeba.py).
Ideally, should the monopole charge weighted positions term not be calculated using the oxygen atom and binned at the location of the oxygen atom, and the induced/lab frame permanent dipoles also be binned at their respective atomic centers?
This is a problem for me since I am calculating the dipole moment density across my simulation box and integrating from the bulk to one of the walls to get the potential there. By changing the molecular reference point on which the dipole moment sits I get quite different results for the final potential at the capacitor walls.
Thanks for reading!
The text was updated successfully, but these errors were encountered: