[DFTB-Plus-User] Atomic Forces at every step and Potential Energy

Bálint Aradi aradi at uni-bremen.de
Tue Feb 8 15:09:30 CET 2022


Dear Oreoluwa,

currently there is no option to print the forces during an MD, so you 
would have to re-run single point simulations for those images of the 
MD, for which the forces are interesting.

On the other hand, it is really trivial to implement the feature you ask 
for. I've created a branch (mdForces) in my personal DFTB+ fork:

https://github.com/aradi/dftbplus/tree/mdForces

which contains a version of DFTB+, where the forces are written in 
md.out at every step. Feel free to check it out, to compile the code and 
to test it. Let me know how it runs, we may add that as an official 
feature later, if it turns out to be useful.

Best regards,

Bálint



On 02.02.22 18:56, Oreoluwa Adesina wrote:
> Hello,
> 
> I am trying to calculate the forces per atom per iteration and potential 
> energy per atom per iteration during a molecular dynamics calculation in 
> dftb+.
> 
> I have tried modifying the writing options, having set CalculateForces 
> to Yes under the Analysis block, but have not been able to export the 
> atom-resolved forces/energies at every step, or save the detailed.out at 
> every step.
> 
> Is there a way to get the forces per atom per iteration and potential 
> energy per atom per iteration for an MD calculation? I am currently 
> using the VelocityVerlet driver.
> 
> Thank you.
> 
>> 
> Kind regards,
> 
> Oreoluwa Adesina.
> 
> Graduate Student (https://de-sousa-oliveira.xyz/groupmembers/ 
> <https://de-sousa-oliveira.xyz/groupmembers/>)
> 
> 
> _______________________________________________
> DFTB-Plus-User mailing list
> DFTB-Plus-User at mailman.zfn.uni-bremen.de
> https://mailman.zfn.uni-bremen.de/cgi-bin/mailman/listinfo/dftb-plus-user


-- 
Dr. Bálint Aradi
Bremen Center for Computational Materials Science, University of Bremen
http://www.bccms.uni-bremen.de/cms/people/b-aradi/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.zfn.uni-bremen.de/pipermail/dftb-plus-user/attachments/20220208/dbf90419/attachment.sig>


More information about the DFTB-Plus-User mailing list