Hi<br><br>I tried to use the H2O-32_SPME.inp in the tests/Fist directory by changing only the length of the simulation (1 ns) and I got also a significant energy drift (see attachment). Then I tried to reduce the integration time step to 1.0 fs. The drift become lower but it do not vanish. I did also 1ns of NVE dynamics (starting from the last restart of the previous simulations) and here the drift become even more clear.<br>The inputs that I used are below.<br>Best regards<br>Paolo<br><br>NVT input: <br>&FORCE_EVAL<br> METHOD FIST<br> &MM<br> &FORCEFIELD<br> &BEND<br> ATOMS H O H<br> K 0.<br> THETA0 1.8<br> &END BEND<br> &BOND<br> ATOMS O H<br> K 0.<br> R0 1.8<br> &END BOND<br> &CHARGE<br> ATOM O<br> CHARGE -0.8476<br> &END CHARGE<br> &CHARGE<br> ATOM H<br> CHARGE 0.4238<br> &END CHARGE<br> &NONBONDED<br> &LENNARD-JONES<br> atoms O O<br> EPSILON 78.198<br> SIGMA 3.166<br> RCUT 11.4<br> &END LENNARD-JONES<br> &LENNARD-JONES<br> atoms O H<br> EPSILON 0.0<br> SIGMA 3.6705<br> RCUT 11.4<br> &END LENNARD-JONES<br> &LENNARD-JONES<br> atoms H H<br> EPSILON 0.0<br> SIGMA 3.30523<br> RCUT 11.4<br> &END LENNARD-JONES<br> &END NONBONDED<br> &END FORCEFIELD<br> &POISSON<br> &EWALD<br> EWALD_TYPE spme<br> ALPHA .5<br> GMAX 21<br> O_SPLINE 6<br> &END EWALD<br> &END POISSON<br> &END MM<br> &SUBSYS<br> &CELL<br> ABC 9.865 9.865 9.865<br> &END CELL<br> &COORD<br> O -4.583 5.333 1.560 H2O<br> H -3.777 5.331 0.943 H2O<br> H -5.081 4.589 1.176 H2O<br>...<br> &END COORD<br> &END SUBSYS<br>&END FORCE_EVAL<br>&GLOBAL<br> PROJECT H2O<br> RUN_TYPE MD<br>&END GLOBAL<br>&MOTION<br> &CONSTRAINT<br> &G3X3<br> DISTANCES 1.8897268 1.8897268 3.0859239<br> MOLECULE 1<br> ATOMS 1 2 3<br> &END G3X3<br> &END CONSTRAINT<br> &MD<br> ENSEMBLE NVT<br> STEPS 1000000<br> TIMESTEP 1.0<br> TEMPERATURE 300.0<br> &THERMOSTAT<br> REGION MOLECULE<br> &NOSE<br> LENGTH 3<br> YOSHIDA 3<br> TIMECON 1000<br> MTS 2<br> &END NOSE<br> &END<br> &END MD<br>&END MOTION<br><br>NVE input:<br>&FORCE_EVAL<br> METHOD FIST<br> &MM<br> &FORCEFIELD<br> &BEND<br> ATOMS H O H<br> K 0.<br> THETA0 1.8<br> &END BEND<br> &BOND<br> ATOMS O H<br> K 0.<br> R0 1.8<br> &END BOND<br> &CHARGE<br> ATOM O<br> CHARGE -0.8476<br> &END CHARGE<br> &CHARGE<br> ATOM H<br> CHARGE 0.4238<br> &END CHARGE<br> &NONBONDED<br> &LENNARD-JONES<br> atoms O O<br> EPSILON 78.198<br> SIGMA 3.166<br> RCUT 11.4<br> &END LENNARD-JONES<br> &LENNARD-JONES<br> atoms O H<br> EPSILON 0.0<br> SIGMA 3.6705<br> RCUT 11.4<br> &END LENNARD-JONES<br> &LENNARD-JONES<br> atoms H H<br> EPSILON 0.0<br> SIGMA 3.30523<br> RCUT 11.4<br> &END LENNARD-JONES<br> &END NONBONDED<br> &END FORCEFIELD<br> &POISSON<br> &EWALD<br> EWALD_TYPE spme<br> ALPHA .5<br> GMAX 21<br> O_SPLINE 6<br> &END EWALD<br> &END POISSON<br> &END MM<br>&END FORCE_EVAL<br>&GLOBAL<br> PROJECT H2O<br> RUN_TYPE MD<br>&END GLOBAL<br>&MOTION<br> &CONSTRAINT<br> &G3X3<br> DISTANCES 1.8897268 1.8897268 3.0859239<br> MOLECULE 1<br> ATOMS 1 2 3<br> &END G3X3<br> &END CONSTRAINT<br> &MD<br> ENSEMBLE NVE<br> STEPS 1000000<br> TIMESTEP 1.0<br> TEMPERATURE 300.0<br> &END MD<br>&END MOTION<br>&EXT_RESTART<br> RESTART_FILE_NAME H2O-1_1000000.restart <br>&END EXT_RESTART<br><br><br><br>On Monday, September 17, 2012 1:09:54 PM UTC+2, jgh wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi
<br>
<br>I did some tests with the inputs from
<br>../tests/Fist
<br>and get much better energy conservation that you show.
<br>Probably your input use a not optimal setting for the
<br>cutoffs and Ewald parameters (I was using SPME).
<br>
<br>regards
<br>
<br>Juerg
<br>
<br>------------------------------<wbr>------------------------------<wbr>--
<br>Juerg Hutter Phone : ++41 44 635 4491
<br>Physical Chemistry Institute FAX : ++41 44 635 6838
<br>University of Zurich E-mail: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="BckEGd5oO7QJ">hut...@pci.uzh.ch</a>
<br>Winterthurerstrasse 190
<br>CH-8057 Zurich, Switzerland
<br>------------------------------<wbr>------------------------------<wbr>---
<br>
<br>-----<a href="javascript:" target="_blank" gdf-obfuscated-mailto="BckEGd5oO7QJ">cp...@googlegroups.com</a> wrote: -----
<br>To: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="BckEGd5oO7QJ">cp...@googlegroups.com</a>
<br>From: marco masia
<br>Sent by: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="BckEGd5oO7QJ">cp...@googlegroups.com</a>
<br>Date: 09/12/2012 03:39PM
<br>Subject: [CP2K:4029] Re: Energy conservation NVT/NVE simulation
<br>
<br>Dear all,
<br>
<br>recently I have noticed the same problem with FIST simulations. I took the H2O-32_ewald.inp input, equilibrated it for 1 ns and run a 1ns NVE simulation from the thermalized configuration. I have tried to refine many simulation parameters (e.g. time step, RCUT, Ewald pars) and also (thinking that there was a bad implementation of constraints) I run the simulations for a flexible model. I always get a non-negligible drift (see attachment); the graph shows block averaged energies of 1 ns simulations performed with cp2k and obeli.x (a program of mine). The values are shifted for a better comparison. I have been looking into this, thinking that the problem was in the input file...but since other people are experiencing it with QS, I wonder if there is some bug in the velocity verlet routines. The results are platform independent (I tried both on mac and linux).
<br>
<br>best
<br>
<br>marco
<br>
<br>On Wednesday, September 5, 2012 3:32:26 AM UTC-4, <a>albe...@virgilio.it</a> wrote:
<br>Dear all,
<br>
<br>I'm carrying out some tests to reproduce the VDOS of water and I used as
<br>starting points the input files 'H2O-32.inp' and 'H2O-64.inp' in
<br>tests/QS/benchmark directory.
<br>
<br>In both cases I ran a NVT simulation at 300K for 15 ps followed by an NVE
<br>simulation on the equilibrated system.
<br>
<br>I'm puzzled about the results in the energies: in both NVT and NVE the plot of
<br>"Cons Qty" show a constant and linear drift while temperature, kinetic and
<br>potential energy are equilibrated and stable.
<br>
<br>Since "Cons Qty" should be conserved and this is not the case I think that
<br>there are some problems in the setup of the simulation.
<br>I did not modify the parameters of the benchmark inputs but I just added the
<br>thermostat section in NVT and I modified only the printing option.
<br>
<br>Thank you very much for your help and suggestions,
<br>
<br>Alberto
<br>
<br>
<br> --
<br> You received this message because you are subscribed to the Google Groups "cp2k" group.
<br> To view this discussion on the web visit <a href="https://groups.google.com/d/msg/cp2k/-/sAiVZ2dob1sJ" target="_blank">https://groups.google.com/d/<wbr>msg/cp2k/-/sAiVZ2dob1sJ</a>.
<br> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="BckEGd5oO7QJ">cp...@googlegroups.com</a>.
<br> To unsubscribe from this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="BckEGd5oO7QJ">cp2k+uns...@googlegroups.<wbr>com</a>.
<br> For more options, visit this group at <a href="http://groups.google.com/group/cp2k?hl=en" target="_blank">http://groups.google.com/<wbr>group/cp2k?hl=en</a>.
<br>
<br>
<br>
<br>[attachment "energy-conservation.pdf" removed by Jürg Hutter/at/UZH]</blockquote>