GROMACS version: 2022.3
GROMACS modification: Yes
Hello, Gromacs developers,
In a previous merge request, it was mentioned that the SD integrator requires different damping coefficients for the various MTS forces:
(Disable MTS with SD integrator (!822) · Merge requests · GROMACS / GROMACS · GitLab)
Otherwise, it may cause temperature control issues in certain systems:
(issues/3775)
According to the comments, the temperature rise may occur because: “An increase in temperature at the fluctuation-dissipation balance is not met.”
(issues/5053)
Recently, while conducting Free Energy (FE) calculations, we found that SD performs better in terms of stability for constraints (i.e., it’s less prone to LINCS warnings or breakdowns). In contrast, using the MD integrator can lead to instability. We are also attempting to accelerate long-range nonbonded forces using MTS (without applying MTS to other forces):
mts = yes
mts-levels = 2
mts-level2-forces = longrange-nonbonded
mts-level2-factor = 2
We would like to use the combination of SD + MTS (longrange-nonbonded, factor=2) to ensure the stability of our FE calculations.
We’ve tested this combination on multiple FE systems, monitoring the transient temperature fluctuations over time, and we observed that:
- The temperature fluctuates stably without gradual increase.
- The temperature’s average is 0.4K higher compared to SD simulations without MTS, but the average is stable across multiple systems.
Thus, we have a few questions:
- Given that the system’s temperature stabilizes within a reasonable range during our simulations, can we consider the SD + MTS (longrange-nonbonded, factor=2) combination to be valid? Specifically, does the current damping coefficient ensure that friction is controlling the temperature, leading to correct sampling?
Additionally, we would like to explore potential improvements to this issue and have some theoretical questions:
- We assume that F_slow (4fs) contains only the long-range coul force (PME), and other forces are contained in F_fast (2fs).
- Are the damping coefficients referring to the friction coefficient in the friction term, i.e., α in eq. (116) from the stochastic dynamics documentation?
- Regarding the implementation, are the following steps correct?
- First, decompose the force F into F_fast and F_slow (longrange-nonbonded is F_slow, MTS factor=2 as an example; this generalizes to multiple force groups).
- Calculate the velocity updates v′ and delta_v corresponding to each force.
- Apply different friction coefficients α to the delta_v terms for each force. The difference in α would only affect the timestep (δt) used in the expression exp(−γδt), where δt should be the timestep corresponding to each force (e.g., F_slow =4 fs, F_fast =2 fs), but γ remains the same.
- Finally, sum the two sets of v′ and delta_v to update the positions and velocities.
- Are there any relevant papers we can refer to for further understanding?
Thank you so much for any assistance you can provide!