Flying ice cube

From Wikipedia, the free encyclopedia
Jump to: navigation, search

In molecular dynamics (MD) simulations, the flying ice cube effect is a numerical integration artifact in which the energy of high-frequency fundamental modes is drained into low-frequency modes, particularly into zero-frequency motions such as overall translation and rotation of the system. The artifact derives its name from a particularly noticeable manifestation that arises in simulations of particles in vacuum, where the system being simulated acquires high linear momentum and experiences extremely damped internal motions, freezing the system into a single conformation reminiscent of an ice cube or other rigid body flying through space. The artifact is entirely a consequence of molecular dynamics algorithms and is wholly unphysical, since it violates the principle of equipartition of energy.[1] This is one of several unphysical artifacts that can be observed in molecular dynamics simulations, often arising from the need to balance numerical accuracy with computational efficiency sufficient to achieve adequate sampling of dynamics.[2] The artifact can also occur in generalizations of classical MD simulations, as with Drude oscillators.[3]


The flying ice cube artifact arises from repeated rescalings of the velocities of the particles in the simulation system. The artifact will not occur if the center-of-mass velocity of the system is kept separate and apart from those velocities being rescaled. Velocity rescaling is a means of imposing a thermostat on the system, forcing it to maintain a roughly constant temperature. These rescalings are traditionally done, as in the Berendsen thermostat, by multiplying the system's velocities by a factor α, which equals the ratio of the desired mean kinetic energy divided by the instantaneous amount of kinetic energy. This scheme fails, however, because the instantaneous kinetic energy is located in the denominator of the ratio α; fluctuations in the kinetic energy make positive second-order contributions to α, making its average value greater than one even when the instaneous kinetic energy has the proper mean. This causes the constant energy terms — such as those of overall translation and rotation — to grow continuously. Since these energies are constantly increasing, the same rescaling decreases the internal energies, diminishing the internal vibrations. This may be shown mathematically as well; the fluctuating internal kinetic energy has its highs and lows, but its highs are decreased more by velocity rescaling than its lows are increased, leading to a net decrease on average with every rescaling.

When the rotation and translation of the system center of mass are not periodically removed, a particularly noticeable form of the artifact occurs in which nearly all of the system's kinetic energy accrues to these two forms of motion, resulting in a system with essentially no energy associated with internal motions which therefore appears to move as a rigid body. This problem can arise in explicit solvent under unusual circumstances, particularly when the Berendsen barostat is used or when the simulation parameters do not respect conservation of energy, but the artifact occurs most visibly in simulations in vacuum.[1]


The flying ice cube problem in its rigid-body form can be largely avoided by periodically removing the center-of-mass motions, although this does not necessarily cure the less blatant equipartition artifacts. In systems that are simulated as an isolated cluster, such as a single molecule in vacuum, both the translational and rotational motion about the center of mass should be removed; however, for systems in which there is sufficient friction to prevent substantial rotation and many closely spaced fundamental modes between which energy can be transferred - such as those using explicitly represented solvent under periodic boundary conditions - only the translational motion should be removed. Although it does not produce a perfectly continuous trajectory, periodic reassignment of velocities as in the Andersen thermostat method also minimizes the problem.[1]

In complex inhomogeneous systems, such as simulations of membrane proteins in a lipid bilayer, equipartition artifacts are difficult to avoid and may simply be post-processed.[4] Use of Langevin dynamics has been shown to reduce equipartition artifacts in systems containing both structured and unstructured components (i.e., a protein with an intrinsically disordered region).[5]


  1. ^ a b c Harvey, Stephen C.; Tan, Robert K.-Z.; Cheatham, Thomas E. (May 1998). "The flying ice cube: Velocity rescaling in molecular dynamics leads to violation of energy equipartition". Journal of Computational Chemistry. 19 (7): 726–740. doi:10.1002/(SICI)1096-987X(199805)19:7<726::AID-JCC4>3.0.CO;2-S. 
  2. ^ Chiu, See-Wing; Clark, Michael; Subramaniam, Shankar; Jakobsson, Eric (30 January 2000). "Collective motion artifacts arising in long-duration molecular dynamics simulations". Journal of Computational Chemistry. 21 (2): 121–131. doi:10.1002/(SICI)1096-987X(20000130)21:2<121::AID-JCC4>3.0.CO;2-W. 
  3. ^ Lamoureux, Guillaume; Roux, Benoı̂t (2003). "Modeling induced polarization with classical Drude oscillators: Theory and molecular dynamics simulation algorithm". The Journal of Chemical Physics. 119 (6): 3025. Bibcode:2003JChPh.119.3025L. doi:10.1063/1.1589749. 
  4. ^ Baker, Michelle K.; Abrams, Cameron F. (26 November 2014). "Dynamics of Lipids, Cholesterol, and Transmembrane α-Helices from Microsecond Molecular Dynamics Simulations". The Journal of Physical Chemistry B. 118 (47): 13590–13600. doi:10.1021/jp507027t. 
  5. ^ Mor, Amit; Ziv, Guy; Levy, Yaakov (September 2008). "Simulations of proteins with inhomogeneous degrees of freedom: The effect of thermostats". Journal of Computational Chemistry. 29 (12): 1992–1998. doi:10.1002/jcc.20951.