Severe deformation of structure during geometry optimization

164 views
Skip to first unread message

ASSIDUO Network

unread,
Mar 2, 2021, 12:42:45 AM3/2/21
to cp2k
Hi there everyone, I am currently trying to geometry optimize a stack of Au (111) 2x2 surfaces, specifically by fixing the bottom 3 surfaces and relaxing the top 3.

Unfortunately, the top surfaces completely mess up and the final structure looks bad. When I turn KPOINTS on  (3x3x1 or 5x5x1), it no longer happens.
Finally, when I lower the cutoff to 300, but I leave KPOINTS off, I get a good optimized geometry, but when I try to perform a CO adsorption with that optimized structure, it severely deforms as well.

Does anyone have a solution to my problem, particularly one that doesn't change the ELECTRONIC_TEMPERATURE, KPOINTS or CUTOFF. Is it the need for KPOINTS in a small structure like this that messes up the results?

I have attached all my relevant files.

Kind regards,
Lenard
input.txt
structure.xyz
output.txt

fabia...@gmail.com

unread,
Mar 2, 2021, 4:33:40 AM3/2/21
to cp2k
Dear Lenard,

Yes, you have correctly answered your question. For metals you need a quite good sampling of the brillouin zone. Therefore a gamma-point calculation of a 5x5 angstrom unit cell is expected to yield unreasonable results.
The fact that you managed to get a good structure with a cutoff of 300 is probably due to a coincidental error cancelling. But as soon as you alter the configuration by adding a CO the error cancelling does not work anymore and the structure becomes unreasonable again.

You should make sure that your quantity of interest is converged w.r.t the size of the k-point grid. 3x3x1still seems small to me, but maybe its already enough for you.

Cheers,
Fabian

ASSIDUO Network

unread,
Mar 2, 2021, 4:37:24 AM3/2/21
to cp2k
Thank you for the quick response.

I understand what you are saying and it makes total sense to me. Thank you for clarifying.

The 3x3x1 was just to test how my final adsorption energy changes when I change various settings, including alpha, beta, kpoints and cutoff. I got similar results to the the 5x5x1 case, however the 5x5x1 result was more accurate compared to the ltierature.

Lucas Lodeiro

unread,
Mar 2, 2021, 9:55:39 AM3/2/21
to cp...@googlegroups.com
Just a comment, see your electrostatic potential profile. You are using a periodical slab picture, then when you add a polar molecule, there is not a flat potential into the vacuum, in that case, disable the periodicity in this direction or add an electrostatic field to correct it.
Also, to check the convergence of your quantities with respect to your model, you could explore bigger slabs than 6 layers.

Regards - Lucas Lodeiro

--
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 on the web visit https://groups.google.com/d/msgid/cp2k/d1100c7c-514e-4fbc-82e5-528bcdad45abn%40googlegroups.com.

Lenard Carroll

unread,
Mar 2, 2021, 10:07:58 AM3/2/21
to cp...@googlegroups.com
Just to be 100% clear, are you saying that for the &POISSON section which deals with the electrostatic potential, that I select PERIODIC XY?

Lucas Lodeiro

unread,
Mar 2, 2021, 11:04:03 AM3/2/21
to cp...@googlegroups.com
Yes, and in &CELL too, to avoid interaction between slab replicas and their electrostatic fields.

Matt W

unread,
Mar 2, 2021, 11:37:16 AM3/2/21
to cp2k
I normally use WAVELET poisson solver - then you need Y as the non-periodic direction (so PERIODIC XZ), the system must be in the centre of the cell and you need ~5 A vacuum each side to get converged results.

The ANALYTIC psolver is also usable for 2D poisson, but it requires a much bigger cell to converge (~2x), to my knowledge. 

Do check that you are converged with cell size if you go these routes. There is also a dipole correction method available somewhere (I've not used).

Matt

Lenard Carroll

unread,
Mar 3, 2021, 12:08:55 AM3/3/21
to cp...@googlegroups.com
I will look into those things, maybe I will get lucky.

In terms of dipole correction, it's been a nightmare for me to work. I have posted a few questions in this forum about it.

Matt W

unread,
Mar 3, 2021, 10:37:50 AM3/3/21
to cp2k
Wavelet should just work in my experience.

For the dipole correction - In 'other codes' you had to (approximately) converge the electronic stucture without correction and then turn it on. Just starting a fresh calculation tended to diverge. As I say, not tried in CP2K.

ASSIDUO Network

unread,
Mar 15, 2021, 3:46:09 AM3/15/21
to cp2k
Just wanted to say that you were right about the dipole correction. You need to perform the computation first without the dipole correction, use that optimized geometry then with dipole correction included. Just wanted to add this in case someone has any problems with it too.

Thanks Matt

Reply all
Reply to author
Forward
0 new messages