Constrained molecular dynamics: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div id="SHAKE"></div> | <div id="SHAKE"></div> | ||
Constrained molecular dynamics is performed using the SHAKE algorithm.<ref name="Ryckaert77"/>. | Constrained molecular dynamics is performed using the SHAKE{{cite|ryckaertt:jcp:1977}} algorithm.<ref name="Ryckaert77"/>. | ||
In this algorithm, the Lagrangian for the system <math>\mathcal{L}</math> is extended as follows: | In this algorithm, the Lagrangian for the system <math>\mathcal{L}</math> is extended as follows: | ||
:<math> | :<math> | ||
Line 40: | Line 40: | ||
== References == | == References == | ||
<references> | <references> | ||
</references> | </references> | ||
---- | ---- | ||
[[Category:Constrained molecular dynamics]][[Category:Theory]] | [[Category:Constrained molecular dynamics]][[Category:Theory]] |
Revision as of 09:57, 15 October 2024
Constrained molecular dynamics is performed using the SHAKE[1] algorithm.[2]. In this algorithm, the Lagrangian for the system is extended as follows:
where the summation is over r geometric constraints, is the Lagrangian for the extended system, and λi is a Lagrange multiplier associated with a geometric constraint σi:
with ξi(q) being a geometric parameter and ξi is the value of ξi(q) fixed during the simulation.
In the SHAKE algorithm, the Lagrange multipliers λi are determined in the iterative procedure:
- Perform a standard MD step (leap-frog algorithm):
- Use the new positions q(t+Δt) to compute Lagrange multipliers for all constraints:
- Update the velocities and positions by adding a contribution due to restoring forces (proportional to λk):
- repeat steps 2-4 until either |σi(q)| are smaller than a predefined tolerance (determined by SHAKETOL), or the number of iterations exceeds SHAKEMAXITER.
References
- ↑ J. P. Ryckaert, G. Ciccotti, and H. J. C. Berendsen, J. Comp. Phys. 23, 327 (1977).
- ↑ Cite error: Invalid
<ref>
tag; no text was provided for refs namedRyckaert77