How to output atomic force without the contribution from the constraint using PLUMED

32 views
Skip to first unread message

zhouk...@gmail.com

unread,
Sep 2, 2024, 8:29:02 PM9/2/24
to cp2k
Dear All,

Now I am using CP2K to generate the training set for machine learning potential. For good sampling, the plumed is used.

In this case, the atomic force output by the Motion/Print section includes the contribution from the constraint using PLUMED. It cannot be used for training only if picking out the position and running SCF calculations again. 

The total force = Hellman-Feynman force + force from constraint, the components are calculated independently. 

Can I output the Hellman-Feynman force using CP2K? If OK, the output from CP2K + plumed can directly be used for training.

Best,
Ke 

Somayeh Ahmadkhani

unread,
5:00 AM (6 hours ago) 5:00 AM
to cp2k
Dear Ke,
I am trying to use ML FF in CP2K, Can you share your input file, or tell me how I can handle it?

Reply all
Reply to author
Forward
0 new messages