Getting the potential energy of a subsystem

63 views
Skip to first unread message

Simone Ritarossi

unread,
Apr 18, 2024, 9:30:56 AM4/18/24
to cp2k
Dear all,

I am simulating (MD) a system consisting of two well-defined subsystems. Clearly from the output I can know the total potential energy and the total kinetic energy. I would like to be able to obtain the potential energy of a subsystem (as a list of atoms?).
(Kinetic energy can be calculated from TEMP_KIND, no problem).

I really appriciate your help.

Best regards,
Simone

Jürg Hutter

unread,
Apr 19, 2024, 9:18:56 AM4/19/24
to cp...@googlegroups.com
Hi

such an energy decomposition is not unique as you have to decide what to do
with the interaction energy.
In CP2K available are Atomic Energy Decompositions

FORCE_EVAL / PROPERTIES / ATOMIC / ENERGY

and

FORCE_EVAL / DFT / PRINT / ENERGY_DECOMPOSITION_ANALYSIS

If one or both of these options is available depends on what method
you are actually using.

regards
JH

________________________________________
From: cp...@googlegroups.com <cp...@googlegroups.com> on behalf of Simone Ritarossi <sim.ri...@gmail.com>
Sent: Thursday, April 18, 2024 3:30 PM
To: cp2k
Subject: [CP2K:20116] Getting the potential energy of a subsystem
--
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<mailto:cp2k+uns...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/1a6da3aa-98c1-40ee-a2ba-acbbd0ce5f00n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/1a6da3aa-98c1-40ee-a2ba-acbbd0ce5f00n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Simone Ritarossi

unread,
Apr 25, 2024, 8:06:26 AM4/25/24
to cp2k
Thank you for your reply.

My goal is to obtain the potential energy of only one part of my system. During MD, for each timestep, I have the total potential energy and the total kinetic energy. Can I obtain (or reconstruct) the potential energy of only one group of atoms in my system?

I have tried both recommended options, but I get 1) either overly detailed information or 2) a 'total atomic energy' and not that of a subsystem.


Thank you very much for your help!
Reply all
Reply to author
Forward
0 new messages