Replies: 1 comment 4 replies
-
Could you also let me know if you also provided the box? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
When I perform molecular dynamic with a Neural Network Potential trained with DeepMD-Kit (v2.2.10) on lammps, I have found that when I extract the new structures/energy and forces to make a new set, and then dp test with the same NNP on this data set, I have a big shift in energy and the forces are totally different.
![energy](https://private-user-images.githubusercontent.com/122008786/406420493-2b40ec59-5b61-40af-9b1f-1e6c3ddbb6b0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTQ1MTMsIm5iZiI6MTczOTM1NDIxMywicGF0aCI6Ii8xMjIwMDg3ODYvNDA2NDIwNDkzLTJiNDBlYzU5LTViNjEtNDBhZi05YjFmLTFlNmMzZGRiYjZiMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwOTU2NTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lY2MxNmU1MjIwMzZmOWEzZDM3MGQ0ZjBkOTExMDc2MzBiM2MyZGYwNGRkNDJlOWE4MzMyNzRmYWE1ZTQyNWZhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.gmueLGSpawl0LjtnJMQgVrB-W4GwmUJ9bZIePrJXJBo)
![forces](https://private-user-images.githubusercontent.com/122008786/406420497-ee38bf59-543a-4d85-85b8-b8c9adadaabd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTQ1MTMsIm5iZiI6MTczOTM1NDIxMywicGF0aCI6Ii8xMjIwMDg3ODYvNDA2NDIwNDk3LWVlMzhiZjU5LTU0M2EtNGQ4NS04NWI4LWI4YzlhZGFkYWFiZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwOTU2NTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yZGIyNTZiYzE4ODhkZDk1NmNkMTJmYmMxMWZlYWE1MzlhYTBiZWZkMDI0ZTcyYjAxNDlhYTIwOTkwNTQ5NjE4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.-JqHIOzCKxqPKwMYDHxLq7HbttwW4fWXAEPlLLHZao0)
But I should find exactly the same energy ad forces as the dynamic was propagate thanks to this NNP...
There should be no units problems as I use "units metal" in lammps.
There is how I ask for the potential energy (pe) :
thermo_style custom step time etotal ke pe temp press vol density
thermo_modify flush yes
thermo 100
And how I ask for the coordinates and forces :
dump forces_dump all custom 100 traj.out id type x y z fx fy fz
Does someone understand what is happening ?
Beta Was this translation helpful? Give feedback.
All reactions