Free energy calculations using deepmd model and fix adapt/fep command #1739
Replies: 2 comments 3 replies
-
DP is a multi-body potential, so it is not easy to separate and to switch-on/off a certain pair of interaction. What I would suggest for your case is training two DPs one including ion-water interaction and one only for water, and you may use FEP to calculate the free energy between the two DPs. Please note that always set the type of H and O to 0 and 1, and any ion type to >= 2. Running lammps with the water-only model on a water-ion configuration will ignore the types >= 2. The |
Beta Was this translation helpful? Give feedback.
-
You can also refer the alchemical protocol used in OpenMM Deepmd Plugin. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to perform free energy calculations of ions in water using the deepmd model and 'fix adapt/fep N pair deepmd scale' command in lammps. However, looks like all interactions are scaled even though in fix adapt/fep function I am choosing only atom types related to ions. For example, when I try to scale interactions of ions by 0, I am getting 0 potential energy, even though I did not include atom types of water in fix adapt/fep. I tried also to include interactions of water in fix adapt/fep with a scaling factor of 1, however, this didn't help. Do you know what can be a reason for this? Any help is appreciated.
Thanks,
Dina
Beta Was this translation helpful? Give feedback.
All reactions