<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="en-CH" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">Matthias<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:0cm;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">cp2k@googlegroups.com <cp2k@googlegroups.com> on behalf of Diego López <diegolopal@gmail.com><br>
<b>Date: </b>Wednesday, 24 May 2023 at 16:34<br>
<b>To: </b>cp2k <cp2k@googlegroups.com><br>
<b>Subject: </b>Re: [CP2K:18842] Unreal cell parameters obtained after CELL_OPT<o:p></o:p></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"><o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Best,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
<span style="font-size:11.0pt">Diego<o:p></o:p></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ó:<o:p></o:p></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="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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"><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"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt">
<span lang="EN-US" style="font-size:11.0pt"> </span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;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 class="MsoHyperlink">cp...@googlegroups.com</span> <<span class="MsoHyperlink">cp...@googlegroups.com</span>> on behalf of Diego López <<span class="MsoHyperlink">diego...@gmail.com</span>><br>
<b>Date: </b>Wednesday, 24 May 2023 at 14:08<br>
<b>To: </b>cp2k <<span class="MsoHyperlink">cp...@googlegroups.com</span>><br>
<b>Subject: </b>[CP2K:18839] Unreal cell parameters obtained after CELL_OPT</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span style="font-size:11.0pt">Dear all,<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span style="font-size:11.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span style="font-size:11.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span style="font-size:11.0pt">I used this input:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span style="font-size:11.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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">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<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span style="font-size:11.0pt"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span style="font-size:11.0pt"> <o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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 class="MsoHyperlink">cp2k+uns...@googlegroups.com</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">
https://groups.google.com/d/msgid/cp2k/ffb8824d-4222-4ba7-8a85-f0a99c49ee46n%40googlegroups.com</a>.<o:p></o:p></span></p>
</div>
</div>
</blockquote>
</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="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/ae820a14-e3e5-4be2-8dd6-5e60c6abc282n%40googlegroups.com?utm_medium=email&utm_source=footer">
https://groups.google.com/d/msgid/cp2k/ae820a14-e3e5-4be2-8dd6-5e60c6abc282n%40googlegroups.com</a>.<o:p></o:p></span></p>
</div>
</body>
</html>

<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/ZRAP278MB08275D3489E0A895261CD2F2F4419%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/ZRAP278MB08275D3489E0A895261CD2F2F4419%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM</a>.<br />