GROMACS version:2020
GROMACS modification: No
Here post your question
Dear all,
When I simulate the freezing of saline under an external electric field, the simulation system gets compressed when the set electric field is >0.4 V/nm. How should I set up the mdp file during the simulation to achieve a normal simulation process?
I guess you are using PME. Are you aware that the electric field is enhanced by the dielectric of your solution? This will be more than two orders of magnitude for saline. See: Electric fields - GROMACS 2025.3 documentation
Yes, I used PME. I did overlook the influence of electric fields on the dielectric properties of solutions, but I also simulated the freezing of pure water under electric fields, and this problem also occurred in this system. I saw that Bug with electric field simulation using gromacs2020 (#3800) · Issues · GROMACS / GROMACS · GitLab Mentioning that this is a bug in GROMACS2020, does it have any reference value?
thanks for your suggestion. The electric field that literature mentioned is applied in GROMACS, and the GROMACS I used is 2020 version, it maybe cause the question.
I just ran a simulation with an input field of 0.4 V/nm and PME and get an extreme water orientation, more than 50%. A field of 0.4/epsilon is still high, but leads to less extreme orientation.
When the system consists of neutral update groups, e.g. only water, you can set epsilon-surface=1 and you actually get the field you set in the mdp file.
Thank you for your feedback. What I mean is, could you provide an MDP file setting that simulates this system. I will install your feedback and simulate it again.
If you want an external field of 0.4 while using PME, you need to specify a field of 0.4/epsilon, where epsilon is the dielectric permittivity of your solution. You can obtain that using gmx dipoles -eps with a simulation of your system without electric field.