[CP2K-user] [CP2K:19096] Re: Ehrenfest dynamics, inconsistent results from versions 9.1 and 2023.1

Natalia K natalja.lipina at gmail.com
Mon Jul 10 07:43:42 UTC 2023


Dear Guillaume,

thank you for your answer. Unfortunately, it doesn't seem to be the case 
that the energy is recovered after the pulse is off. Neither the dipole 
moment is the same. Please see the updated figures attached.

Best regards,
Natalia

On Friday, July 7, 2023 at 11:16:37 AM UTC+2 Guillaume Le Breton wrote:

> Dear Natalia,
>
> I have modified recently the calculation of the electron-field energy for 
> real-time field. Previously, this calculation was made on the grid, now it 
> is done as an expectation value of the dipole operator. This was done in 
> order to compare the total electronic energy with the velocity gauge 
> approach (now available for Real-Time Propagation, not yet for Ehrenfest 
> MD). 
>
> This modification of the electronic energy calculation should have an 
> effect only when the electric field is on. If you continue this calculation 
> after the pulse end you should recover the same energy as for the previous 
> version of CP2K. 
> Moreover, the other quantities such as the dipole moment or the nuclei 
> displacement should be the same for this version and the 9.1 throughout the 
> whole simulation. 
>
> Please let us know if this is not the case.
>
> Best,
> Guillaume 
>
>
> Le jeudi 6 juillet 2023 à 12:45:27 UTC+2, Natalia K a écrit :
>
>> Dear community,
>>
>> I am performing test calculations for a system of 2 silver atoms under an 
>> external field. Using the same input files (attached), I get completely 
>> different energies from the two versions of the code (see images attached). 
>> The results from cp2k-9.1 look correct to me. Is this the code problem or 
>> should I modify the input file? It seems consistent when compared to the 
>> files from the /tests/regtests.. files. 
>>
>> P.S. the xyz file is obtained from the geometry optimization with the 
>> version 9.1, but I wouldn't think this is the problem.
>>
>

-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/09a51aa6-e8c8-4b0a-96a0-eb7a70e9f809n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20230710/80bd29d2/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Potential-energy-Ag2-efield.png
Type: image/png
Size: 37981 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20230710/80bd29d2/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dipole-moments-z-9_1-vs-2023.png
Type: image/png
Size: 51194 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20230710/80bd29d2/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Kinetic-energy-Ag2-efield.png
Type: image/png
Size: 26578 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20230710/80bd29d2/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Total-energy-Ag2-efield.png
Type: image/png
Size: 37250 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20230710/80bd29d2/attachment-0007.png>


More information about the CP2K-user mailing list