[CP2K-user] Energy differences with identical relative coordinates

Miguel Steiner stein... at gmail.com
Wed Mar 3 12:49:29 UTC 2021


Dear Cp2k developers,

just by coincidence I noticed that I get different electronic energies 
depending on the absolute coordinates of my input molecule.
I tried a simple test system with O2 in a 15x15x15x angstrom cube. I set-up 
2 different xyz files, one with 3.xx angstrom in the z coordinates and one 
with 34.xx angstrom in the z coordinate. However, both O2 molecules are 
identical in their bond length, they are simply translated to each other.
As long as I center the coordinates, I get the identical electronic energy 
of
-31.929620495691506
But if I don't center the coordinates, I get different results:
-31.929366281248029 (inside)
-31.929298672694223 (outside)

I mean, I can imagine that it leads to difficulties, if the molecule is 
placed outside of the defined cell, but especially the different energy for 
the O2 molecules that is placed within the cell, albeit not the exact 
center, confuses me.

Am I doing something wrong here or is this expected behavior? If the latter 
is the case, why aren't all coordinates centered by default (which I guess 
I will do from now on)?

Input and systems see attachment.

Thanks in advance and best regards,
Miguel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20210303/e7a01c6c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: center-outside.inp
Type: chemical/x-gamess-input
Size: 728 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20210303/e7a01c6c/attachment.inp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: system-outside.xyz
Type: chemical/x-xyz
Size: 107 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20210303/e7a01c6c/attachment.xyz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: center-inside.inp
Type: chemical/x-gamess-input
Size: 727 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20210303/e7a01c6c/attachment-0001.inp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: system-inside.xyz
Type: chemical/x-xyz
Size: 105 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20210303/e7a01c6c/attachment-0001.xyz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nocenter-inside.inp
Type: chemical/x-gamess-input
Size: 696 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20210303/e7a01c6c/attachment-0002.inp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nocenter-outside.inp
Type: chemical/x-gamess-input
Size: 697 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20210303/e7a01c6c/attachment-0003.inp>


More information about the CP2K-user mailing list