Suppose we have 2 runs for evaluating surface tension of water vapor/liquid equilibrium system.
First one : is for 5 ns . Surface tension is evaluated over the last 2 ns.
Second one: Same system with continuous run for 3 ns from the start , followed by another 2 ns run using the restart file of the previous 3 ns run. For this system as well, the surface tension is evaluated over the last 2 ns
Should the results be the same in both the scenarios? Or does using the restart file to resume the simulation give different results?Being new to Lammps, I am confused.
Suppose we have 2 runs for evaluating surface tension of water
vapor/liquid equilibrium system.
*First one :* is for 5 ns . Surface tension is evaluated over the last 2
ns.
*Second one:* Same system with continuous run for 3 ns from the start ,
followed by another 2 ns run using the restart file of the previous 3 ns
run. For this system as well, the surface tension is evaluated over the
last 2 ns
Should the results be the same in both the scenarios? Or does using the
restart file to resume the simulation give different results?Being new to
Lammps, I am confused.
this is less a question about LAMMPS, but on MD in general. i suggest you
grab an MD text book and read up about statistical errors in MD,
statistical efficiency, statistical relevance and convergence of results.
you should also check out lyapunov stability (or instability), more
popularly known as "the butterfly effect".
a simple strategy to get some sense of convergence and statistical errors
of your computed properties is the following:
suppose you have 2ns worth of production simulation data. then you do your
analysis for chunks of 250ps each, then 500ps each, then 1ns each and 2ns.
statistically, you should expect a larger variance of the small chunk
results and those should converge to the 2ns result. if the variance is
"too large", you may need a longer production simulation, if the results
are very close, you have already collected sufficient simulation data
(assuming there are no "rare events" that trigger a significant change).