Total electrostatic potential of nuclei and electrons

87 views
Skip to first unread message

chaizi...@gmail.com

unread,
Jan 9, 2025, 4:52:14 PM1/9/25
to cp2k
Hello CP2K developers and users,

I would like to inquire about the possibility of representing the total electrostatic potential of nuclei and electrons on a grid (for output as a cube file), in both the GAPW and GPW cases. Specifically, is there a convenient way to collocate the contribution of the nuclear potential, as represented in the core Hamiltonian, onto the grid?

Thank you in advance for your assistance.

Kind regards,
Ziwei

Jürg Hutter

unread,
Jan 10, 2025, 4:54:23 AM1/10/25
to cp...@googlegroups.com
Hi

have a look at

FORCE_EVAL / DFT / PRINT / V_HARTREE_CUBE

GAPW output might not be available.

regards
JH

________________________________________
From: cp...@googlegroups.com <cp...@googlegroups.com> on behalf of chaizi...@gmail.com <chaizi...@gmail.com>
Sent: Thursday, January 9, 2025 10:52 PM
To: cp2k
Subject: [CP2K:21025] Total electrostatic potential of nuclei and electrons
--
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 visit https://groups.google.com/d/msgid/cp2k/33164c95-6465-4263-bd1c-5f8e4ea55df9n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/33164c95-6465-4263-bd1c-5f8e4ea55df9n%40googlegroups.com?utm_medium=email&utm_source=footer>.

chaizi...@gmail.com

unread,
Jan 10, 2025, 7:03:44 AM1/10/25
to cp2k
Dear Prof. Hutter,

Many thanks! I'm sorry I might have give the non precise information in the question. I would like to inquire about how to calculate a grid form of the <a|V|b> term in the attached figures (I would like to print the .cube file at the end.) Many thanks in advance!
125534.png
125901.png
Kind regards,
Ziwei

chaizi...@gmail.com

unread,
Jan 10, 2025, 8:03:48 AM1/10/25
to cp2k
Dear Prof. Hutter,

I would like to ask if there are any ways to correctly print out the Hartree potential (contributed by ions and electrons) in the GAPW scheme, by modifing the codes?

Many thanks!

Kind regards,
Ziwei

在2025年1月10日星期五 UTC+1 10:54:23<Jürg Hutter> 写道:

Jürg Hutter

unread,
Jan 10, 2025, 10:02:40 AM1/10/25
to cp...@googlegroups.com
Hi

What you show there are matrix elements, not potentials. V_HARTREE_CUBE prints a cube file of the total electrostatic potential,
i.e. the potential of rho(electrons) + rho(core).  For GAPW this is not available. If you want to program it yourself, see the corresponding
Routine for the density cube files.
Regards
JH

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/eadf6a36-7333-4d8b-abf6-e3a51f8fbee4n%40googlegroups.com.

chaizi...@gmail.com

unread,
Jan 11, 2025, 3:23:19 PM1/11/25
to cp2k
Dear  Prof. Hutter,

Thank you very much for your explanation!

Kind regards,
Ziwei

Reply all
Reply to author
Forward
0 new messages