121
General Questions and Answers / Re: Molecular Dynamics Error
« on: January 19, 2016, 15:14 »
Yes, you are right, you are using DFT so the forces are probably not totally wrong.
I made some tests, and it looks as if the problem is that you initially have quite large forces on the atoms of the molecule, as the molecule is a little compressed (it expands quite a bit if you optimize the molecule alone).
That means that in the beginning of your MD the large forces accelerate the atoms in the molecule away from the center of the molecule.
Then you use zero initial velocities (initial_velocities=None). As the average temperature is below the target temperature of 300K the thermostat additionally accelerates the atoms in order to reach the target temperature. This will cause that the atoms of the molecule will be driven apart even further, and for a moment it looks as if the bonds are broken.
However, remember that the bonds in the viewer are just a graphical representation based on the atom distance, and it doesn't necessarily mean that the bonds really are broken. If you'd continue the MD for longer times they'd very likely find their equilibrium bond lengths in the end.
To prevent this effect, I suggest you use the Langevin thermostat instead of the NVT Berendsen thermostat. The Langevin thermostat couples each atom more tightly to the heat bath and the friction force prevents that atoms become accelerated to much (see the MD tutorial http://www.docs.quantumwise.com/tutorials/md_basics.html).
I made some tests, and it looks as if the problem is that you initially have quite large forces on the atoms of the molecule, as the molecule is a little compressed (it expands quite a bit if you optimize the molecule alone).
That means that in the beginning of your MD the large forces accelerate the atoms in the molecule away from the center of the molecule.
Then you use zero initial velocities (initial_velocities=None). As the average temperature is below the target temperature of 300K the thermostat additionally accelerates the atoms in order to reach the target temperature. This will cause that the atoms of the molecule will be driven apart even further, and for a moment it looks as if the bonds are broken.
However, remember that the bonds in the viewer are just a graphical representation based on the atom distance, and it doesn't necessarily mean that the bonds really are broken. If you'd continue the MD for longer times they'd very likely find their equilibrium bond lengths in the end.
To prevent this effect, I suggest you use the Langevin thermostat instead of the NVT Berendsen thermostat. The Langevin thermostat couples each atom more tightly to the heat bath and the friction force prevents that atoms become accelerated to much (see the MD tutorial http://www.docs.quantumwise.com/tutorials/md_basics.html).
