[CP2K-user] [CP2K:21877] Periodic system + CHARGEs (constant charge DFT)

Michela Cavalieri bnzmichela at gmail.com
Sat Oct 4 18:44:00 UTC 2025


Hello everyone,

I was wondering if there is any way to add explicit charges with SCCS 
without giving up PBC. My SCF did not converge and I got this error:

*** WARNING in qs_sccs.F:474 :: The system (solute) has a non-negligible 
*** *** charge of -6.000000. It is recommended to use non-periodic boundary 
*** *** conditions (PERIODIC none) combined with an appropriate Poisson *** 
*** solver (POISSON_SOLVER MT or analytic) ***

I am trying to make a calibration curve after adding different numbers of 
charges, and then calculate the electrode potential as follows:
1.  Extract Fermi energy at every step (E_F)
2. Print V_HARTREE_CUBE
3. Convert electrostatic potential to planar-averaged (E_Har). This 
corresponds to the energy required to get one electron to the vacuum.
4. Get the work function for each charge state as phi = E_Har-E_F
5. Get the electrode potential vs SHE as U_SHE = phi – 4.44
6. Make calibration curve and find charges needed for target potential


-- 
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+unsubscribe at googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/f670fe04-b1ed-4d4e-8d05-9678652e09a7n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20251004/3190c008/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2145497.out
Type: application/octet-stream
Size: 166596 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20251004/3190c008/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 288h_edge_added_electrons-1.restart
Type: application/octet-stream
Size: 21698 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20251004/3190c008/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 288h_edge-pos-1.xyz
Type: chemical/x-xyz
Size: 232200 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20251004/3190c008/attachment-0001.xyz>


More information about the CP2K-user mailing list