Thank you for your suggestions! I will take it into account.<div><br /></div><div>Best,</div><div>Diego<br /><br /></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">El miércoles, 24 de mayo de 2023 a las 16:44:19 UTC+2, Krack Matthias escribió:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">





<div lang="en-CH" link="blue" vlink="purple" style="word-wrap:break-word">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">That depends on your goals. I guess that you used a k point mesh with QE which you could apply likewise with CP2K to check if you get similar results. On the other hand,
 with k points less features are available and if you want to study larger unit cells (surface areas) later anyway then a supercell approach might be the better choice.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Matthias<u></u><u></u></span></p></div></div><div lang="en-CH" link="blue" vlink="purple" style="word-wrap:break-word"><div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
<b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black"><a href data-email-masked rel="nofollow">cp...@googlegroups.com</a> <<a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>> on behalf of Diego López <<a href data-email-masked rel="nofollow">diego...@gmail.com</a>><br>
<b>Date: </b>Wednesday, 24 May 2023 at 16:34<br>
<b>To: </b>cp2k <<a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>><br>
<b>Subject: </b>Re: [CP2K:18842] Unreal cell parameters obtained after CELL_OPT<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Thanks a lot for your suggestion Krack. Then, should I use k-points in the calculations or this
</span><span lang="EN-US" style="font-size:11.0pt"> MULTIPLE_UNIT_CELL option?</span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Best,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
<span style="font-size:11.0pt">Diego<u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">El miércoles, 24 de mayo de 2023 a las 15:39:06 UTC+2, Krack Matthias escribió:<u></u><u></u></span></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">
<span lang="EN-US" style="font-size:11.0pt">Without k points, I suggest to try </span>
<span lang="DE-CH" style="font-size:11.0pt"><a href="https://manual.cp2k.org/cp2k-2023_1-branch/CP2K_INPUT/FORCE_EVAL/SUBSYS/CELL.html#MULTIPLE_UNIT_CELL" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=es&q=https://manual.cp2k.org/cp2k-2023_1-branch/CP2K_INPUT/FORCE_EVAL/SUBSYS/CELL.html%23MULTIPLE_UNIT_CELL&source=gmail&ust=1685026049526000&usg=AOvVaw2lMc-ZZ1O1Uf0OspVeNGtj"><span lang="EN-US">MULTIPLE_UNIT_CELL</span></a>
</span><span lang="EN-US" style="font-size:11.0pt">3 3 1, i.e. a 3x3x1 supercell which has to be defined consistently in the &CELL and TOPOLOGY section.</span><span style="font-size:11.0pt"><u></u><u></u></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">
<span lang="EN-US" style="font-size:11.0pt"> </span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:72.0pt">
<b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black"><span><a href data-email-masked rel="nofollow">cp...@googlegroups.com</a></span> <<span><a href data-email-masked rel="nofollow">cp...@googlegroups.com</a></span>> on behalf of Diego López <<span><a href data-email-masked rel="nofollow">diego...@gmail.com</a></span>><br>
<b>Date: </b>Wednesday, 24 May 2023 at 14:08<br>
<b>To: </b>cp2k <<span><a href data-email-masked rel="nofollow">cp...@googlegroups.com</a></span>><br>
<b>Subject: </b>[CP2K:18839] Unreal cell parameters obtained after CELL_OPT</span><span style="font-size:11.0pt"><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt">Dear all,<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt">I have been trying to optimize a unit cell of the 2D semiconductor CrSBr using GPW method implemented in CP2K. The initial cell parameters were a = 3.6 A, b = 4.8 A and c = 25.0 A (obtained from previous calculations with Quantum
 Espresso and in good agreement with experimental data). After 128 optimization cycles the geometry is optimized and the obtained cell parameters were a = 3.64 A and b = 6.60 A, which leads to a meaningless structure since there is no longer a 2D structure.
 Also the geometry of the unit cell is really distorted. Any suggestions to improve the accuracy of my calculation? Thank you in advanced.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt">I used this input:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt">&GLOBAL<br>
  PROJECT test2<br>
  RUN_TYPE CELL_OPT<br>
  PRINT_LEVEL MEDIUM<br>
&END GLOBAL<br>
<br>
&FORCE_EVAL<br>
  METHOD Quickstep              ! Electronic structure method (DFT,...)<br>
  STRESS_TENSOR ANALYTICAL<br>
  &DFT<br>
    BASIS_SET_FILE_NAME  /BASIS_MOLOPT<br>
    POTENTIAL_FILE_NAME  /GTH_POTENTIALS<br>
    MULTIPLICITY 7<br>
    &POISSON                    ! Solver requested for non periodic calculations<br>
      PERIODIC XYZ<br>
    &END POISSON<br>
     &XC<br>
      &XC_FUNCTIONAL PBE<br>
      &END XC_FUNCTIONAL<br>
     &END XC<br>
    &SCF<br>
      SCF_GUESS SPARSE<br>
      MAX_SCF 100<br>
      &OT<br>
      PRECONDITIONER FULL_KINETIC<br>
      MINIMIZER CG<br>
      &END OT<br>
      &OUTER_SCF<br>
       MAX_SCF 50<br>
      &END<br>
    &END SCF<br>
    &MGRID<br>
      NGRIDS 4<br>
      CUTOFF 550<br>
      REL_CUTOFF 90<br>
    &END MGRID<br>
    &QS<br>
       METHOD GPW<br>
    &END<br>
  &END DFT<br>
  &SUBSYS<br>
    &CELL<br>
      ABC 3.601367151 4.818258107 25.0<br>
      ALPHA_BETA_GAMMA 90 90 90<br>
      PERIODIC XYZ<br>
      SYMMETRY ORTHORHOMBIC<br>
    &END CELL<br>
    &TOPOLOGY                    ! Section used to center the atomic coordinates in the given box. Useful for big molecules<br>
      COORD_FILE_FORMAT xyz<br>
      COORD_FILE_NAME  ./<a href="http://crsbr.xyz" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=es&q=http://crsbr.xyz&source=gmail&ust=1685026049526000&usg=AOvVaw0PHdaNFJ0zbKRPh81ktw3n">crsbr.xyz</a><br>
    &END<br>
    &KIND Cr<br>
      ELEMENT Cr<br>
      BASIS_SET DZVP-MOLOPT-SR-GTH<br>
      POTENTIAL GTH-PBE-q14<br>
      MAGNETIZATION 3.0<br>
    &END KIND<br>
    &KIND S<br>
      ELEMENT S<br>
      BASIS_SET TZV2P-MOLOPT-GTH<br>
      POTENTIAL GTH-PBE-q6<br>
    &END KIND<br>
    &KIND Br<br>
      ELEMENT Br<br>
      BASIS_SET DZVP-MOLOPT-SR-GTH<br>
      POTENTIAL GTH-PBE-q7<br>
    &END KIND<br>
  &END SUBSYS<br>
&END FORCE_EVAL<br>
&MOTION<br>
  &CELL_OPT<br>
    TYPE DIRECT_CELL_OPT<br>
    MAX_DR    1.0E-03<br>
    MAX_FORCE 1.0E-03<br>
    RMS_DR    1.0E-03<br>
    RMS_FORCE 1.0E-03<br>
    MAX_ITER 200<br>
    OPTIMIZER BFGS<br>
    KEEP_SYMMETRY<br>
  &END CELL_OPT<br>
 &GEO_OPT<br>
    MAX_DR    1.0E-03<br>
    MAX_FORCE 1.0E-03<br>
    RMS_DR    1.0E-03<br>
    RMS_FORCE 1.0E-03<br>
    OPTIMIZER BFGS<br>
  &END GEO_OPT<br>
&END MOTION<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt"> <u></u><u></u></span></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt">-- <br>
You received this message because you are subscribed to the Google Groups "cp2k" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to
<span><a href data-email-masked rel="nofollow">cp2k+uns...@googlegroups.com</a></span>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/ffb8824d-4222-4ba7-8a85-f0a99c49ee46n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=es&q=https://groups.google.com/d/msgid/cp2k/ffb8824d-4222-4ba7-8a85-f0a99c49ee46n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1685026049526000&usg=AOvVaw0jK3rONTMmS6eWi4avV_KQ">
https://groups.google.com/d/msgid/cp2k/ffb8824d-4222-4ba7-8a85-f0a99c49ee46n%40googlegroups.com</a>.<u></u><u></u></span></p>
</div>
</div>
</blockquote>
</div>
</div></div><div lang="en-CH" link="blue" vlink="purple" style="word-wrap:break-word"><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">--
<br>
You received this message because you are subscribed to the Google Groups "cp2k" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to
<a href data-email-masked rel="nofollow">cp2k+uns...@googlegroups.com</a>.<br></span></p></div></div><div lang="en-CH" link="blue" vlink="purple" style="word-wrap:break-word"><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/ae820a14-e3e5-4be2-8dd6-5e60c6abc282n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=es&q=https://groups.google.com/d/msgid/cp2k/ae820a14-e3e5-4be2-8dd6-5e60c6abc282n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1685026049526000&usg=AOvVaw2j_iECqdLScbGIDZszznbm">
https://groups.google.com/d/msgid/cp2k/ae820a14-e3e5-4be2-8dd6-5e60c6abc282n%40googlegroups.com</a>.<u></u><u></u></span></p>
</div>
</div>

</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/c2b15e42-3770-4236-972a-1e87ce23eeden%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/c2b15e42-3770-4236-972a-1e87ce23eeden%40googlegroups.com</a>.<br />