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

ASSIDUO Network lenardcarroll27 at gmail.com
Tue Jan 25 11:24:01 UTC 2022


Great, thanks for letting me know. 

On Monday, January 24, 2022 at 3:24:58 PM UTC+2 fabia... at gmail.com wrote:

> No, for MD the ensemble type determines if the cell dimensions are fixed 
> or not: 
> https://manual.cp2k.org/cp2k-9_1-branch/CP2K_INPUT/MOTION/MD.html#ENSEMBLE
> The cell only changes if you choose NPT, otherwise it is fixed.
>
> Fabian
>
> On Monday, 24 January 2022 at 08:46:45 UTC+1 lenardc... at gmail.com wrote:
>
>> Thanks for feedback Fabian, I appreciate it. Does the above also apply to 
>> AIMD simulations where you have the
>> &MOTION
>>   &GEO_OPT
>>   &END
>> &END
>> section still included?
>> On Thursday, January 20, 2022 at 2:20:26 PM UTC+2 fabia... at gmail.com 
>> wrote:
>>
>>> 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 
>>> RUN_TYPE GEO_OPT 
>>> and  the
>>> &MOTION
>>>   &GEO_OPT
>>>   &END
>>> &END
>>> section.
>>>
>>> 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 
>>> stability.
>>>
>>> Cheers,
>>> Fabian
>>> 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/368587f7-7d0e-4eab-a96e-97f2fdfad539n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20220125/4e26292c/attachment.htm>


More information about the CP2K-user mailing list