NPT_F stress tensor calculation

40 views
Skip to first unread message

James

unread,
Jul 17, 2025, 11:40:06 AM7/17/25
to cp2k
Hello,

I am trying to train a machine learning interatomic potential on NPT_F trajectory data generated in CP2K. The training is performed on the trajectory positions, energy, forces, and stress.

My question is, what does the stress output from NPT_F in CP2K depend on? Would I be able to take a frame of a trajectory generated from my machine learning interatomic potential, and perform a single point calculation in CP2K, and make a valid comparison between the values of stress given by the two systems? Or does the stress given by CP2K NPT_F depend on other factors like temperature and velocities which may invalidate this comparison?

Thanks
James

Krack Matthias

unread,
Jul 18, 2025, 7:47:51 AM7/18/25
to cp...@googlegroups.com

Hi James

 

The stress tensor printed in the CP2K output file does not include any kinetic contributions even during MD runs by contrast to the stress tensor printed to the <project_name>-1.stress file during an MD run for instance. The latter one is not printed (available) during single point calculations.

 

Best

 

Matthias

 

--
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+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/cc84b1f4-c4da-4078-8e0b-3daab24422can%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages