[gmx-users] Re: Energy is not conserved

K.A. Feenstra Feenstra at chem.vu.nl
Thu Dec 5 09:09:40 CET 2002


Vishal Vaidyanathan wrote:
> Hi,
>   We ran some simulations of a water box (the one provided with gromacs)
> in the NVE ensemble (no temperature or pressure coupling) and found the
> energy to fluctuate wildly.

It might be instructive to have a short list of energy-spoiling factors:
- cut-off effects (can be solved by using PME or worked around by shifted functions)
- time step (can be solved by decreasing timestep)
- precision; after other factors are fixed, you can see the effect of
   using single or double precision.
One of the more counter-intuitive factors is, that decreasing timestep below
a certain point (fractions of a fs), actually *decreases* energy conservation;
this is caused by an increased relative effect of the round-off errors.

In one of my papers, I've discussed several of the more detailed effects:
K. Anton Feenstra, Berk Hess and Herman J. C. Berendsen. Improving
       Efficiency of Large Time-scale Molecular Dynamics Simulations of
       Hydrogen-rich Systems. (1999) J. Comput. Chem. 20 (8), 786-798
http://www.chem.vu.nl/staf/feenstra/articles/jcc-20-8-789-798-(1999).pdf


-- 
Groetjes,

Anton
  ________ ___________________________________________________________
|        | Anton Feenstra                                            |
| .      | Dept. of Pharmacochemistry - Vrije Universiteit Amsterdam |
| |----  | De Boelelaan 1083 - 1081 HV Amsterdam - The Netherlands   |
| |----  | Tel: +31 20 44 47608 - Fax: +31 20 44 47610               |
| ' __   | Feenstra at chem.vu.nl - http://www.chem.vu.nl/afdelingen/FAR|
|  /  \  |-----------------------------------------------------------|
| (    ) | Dept. of Biophysical Chemistry - University of Groningen  |
|  \__/  | Nijenborgh 4 - 9747 AG Groningen - The Netherlands        |
|   __   | Tel +31 50 363 4327 - Fax +31 50 363 4800                 |
|  /  \  | K.A.Feenstra at chem.rug.nl - http://md.chem.rug.nl/~anton   |
| (    ) |-----------------------------------------------------------|
|  \__/  | "If You See Me Getting High, Knock Me Down"               |
|        | (Red Hot Chili Peppers)                                   |
|________|___________________________________________________________|




More information about the gromacs.org_gmx-users mailing list