[CP2K-user] [CP2K:16474] Re: Prevent Cell Geometry/Vectors From Changing

fabia...@gmail.com fabianducry at gmail.com
Thu Jan 20 12:20:26 UTC 2022

Hi Lenard,

in cp2k there are two types of optimizations, GEO_OPT and CELL_OPT. In 
GEO_OPT the lattice vectors are fixed and only the atomic positions are 
optimized. In a CELL_OPT both the lattice vactors and the atomic positions 
can be relaxed simultaneously.

So if you don't want the box to change you need 
and  the

If the SCF does not converge the forces (and pressure) are probably very 
bad and thus the optimizer (e.g. BFGS) takes unreasonable steps. If the SCF 
does not converge you should probably stop the simulation and improve SCF 

On Thursday, 20 January 2022 at 05:50:59 UTC+1 lenardc... at gmail.com wrote:

> Hi there. So, I've been doing a few geometry optimizations and I have seen 
> that for some of them, the cell vectors change, sometimes a bit other times 
> a lot. This especially happens when the SCF run is not converged multiple 
> times in a row. The thing is, I don't want the cell vectors to change, I 
> don't want the atoms to go outside of the box, yet it still happens. Can 
> you give me any tips/ideas on how to do a geometry optimizations where 
> atomic positions can only change and the cell geometry cannot, or is this 
> not feasible?
> Kind regards,
> Lenard

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 on the web visit https://groups.google.com/d/msgid/cp2k/1f67dbc5-83d0-45ce-a41e-b5b6df0ec7dan%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20220120/26dbf4a9/attachment.htm>

More information about the CP2K-user mailing list