Dear Linh,<br><br>I am trying to understand what you just explain.<br>If I keep the bottom and middle layer fixed (BN layers) and I only translate the third layer on the top of them (graphene) by an amount corresponding to the interlayer increase d. For example delta d =0.1 Ang.<br>
Originally, the interlayer distance is for example d=3.3 Ang  is increased to 3.4 Ang by moving top layer up by 0.1 Ang and increasing the supercell size in the z direction by 0.1 Ang. I mean adding 0.1 Ang more vacuum on the top layer to keep a vacuum distances on the top graphene and bottom BN layer of 8 Ang for each side.<br>
Is it the right way?<br><br>Thank you very much for your help.<br><br><div class="gmail_quote">On Tue, Jan 26, 2010 at 1:00 PM, Ngoc Linh Nguyen <span dir="ltr">&lt;<a href="mailto:nnlinh@sissa.it">nnlinh@sissa.it</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">mohamed sabri majdoub wrote:<br>
&gt; Dear Linh,<br>
&gt;<br>
&gt; Thank you for your response.<br>
&gt; So, do you suggest that I should increase the supercell size (by the<br>
&gt; same amount of d increase) each time I increase the value of d?<br>
</div>You should do that if d values change by moving 1st and 3rd layer and<br>
keep middle layer.<br>
Somehow, let try to keep away the interactions of the layers between<br>
neighbor supercells.<br>
<div class="im">&gt; Thanks,<br>
&gt;<br>
&gt; On Tue, Jan 26, 2010 at 11:02 AM, Ngoc Linh Nguyen &lt;<a href="mailto:nnlinh@sissa.it">nnlinh@sissa.it</a><br>
</div><div><div></div><div class="h5">&gt; &lt;mailto:<a href="mailto:nnlinh@sissa.it">nnlinh@sissa.it</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;      &gt; When I plot the graph, it looks like ecutwfc =60 is optimal. Is it<br>
&gt;     right? Is it the right way to do &gt; it? Is the final energy (obtained<br>
&gt;     from last relaxation step) the right quantity?<br>
&gt;     I think what you did for checking E vs. ecutwfc is right. However,<br>
&gt;     with<br>
&gt;     the big model it could be quite expensive. You can do like that: you<br>
&gt;     choose an ecutwfc value firstly, for example ecutwfc = 40 Ry, and<br>
&gt;     relax<br>
&gt;     your model with that value, then increase the value ecutwcf and<br>
&gt;     run scf<br>
&gt;     only, you can obtain a relation E vs. ecutwfc in similar.<br>
&gt;<br>
&gt;      &gt; For Final energy (obtained from last relaxation step) vs d<br>
&gt;     interlayer<br>
&gt;     distance at cutoff ecutwfc = 50.0:<br>
&gt;      &gt; .... ecutwfc = 60.0<br>
&gt;     I am confusing about increasing of d values in your models.<br>
&gt;         If you keep the sizes of supercell unchanged, when increasing the<br>
&gt;     value of d, the 3rd layer of the above supercell and 1st layer of the<br>
&gt;     below supercell should be approached too close together, i.e. ,<br>
&gt;     let try<br>
&gt;     visualizing by Xcryden at different values of d. And it can reduce an<br>
&gt;     increase of energy of your models as d is lager.<br>
&gt;<br>
&gt;     Good luck,<br>
&gt;     Linh<br>
&gt;     mohamed sabri majdoub wrote:<br>
&gt;     &gt; Dear all,<br>
&gt;     &gt;<br>
&gt;     &gt; I run calculations of 1 layer of graphene on bilyaer boron nitride.<br>
&gt;     &gt; I am trying to study the Energy vs cutoff and Energy vs interlayer<br>
&gt;     &gt; distance d between the graphene layer and top of BN layer.<br>
&gt;     &gt; I got the following results after several runs. Is it the right<br>
&gt;     way to<br>
&gt;     &gt; do it?<br>
&gt;     &gt; Here is the input file I am using:<br>
&gt;     &gt;<br>
&gt;     ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
&gt;     &gt;  &amp;control<br>
&gt;     &gt;              title = &#39;GphBN&#39;<br>
&gt;     &gt;        calculation = &#39;relax&#39;<br>
&gt;     &gt;             outdir = &#39;/pwscf/pwscftemp&#39;<br>
&gt;     &gt;             prefix = &#39;GphBN&#39;<br>
&gt;     &gt;         pseudo_dir = &#39;/pseudopot-C-B-N&#39;<br>
&gt;     &gt;           tprnfor  = .t.<br>
&gt;     &gt;       restart_mode = &#39;from_scratch&#39;<br>
&gt;     &gt;         wf_collect = .true.<br>
&gt;     &gt;            disk_io = &#39;low&#39;<br>
&gt;     &gt;  /<br>
&gt;     &gt;  &amp;system<br>
&gt;     &gt;              ibrav = 0,<br>
&gt;     &gt;          celldm(1) = 1.8897261<br>
&gt;     &gt;                nat = 72,<br>
&gt;     &gt;               ntyp = 3,<br>
&gt;     &gt;            ecutwfc = 60.0<br>
&gt;     &gt;        occupations = &#39;smearing&#39;<br>
&gt;     &gt;           smearing = &#39;gaussian&#39;<br>
&gt;     &gt;            degauss = 0.003675<br>
&gt;     &gt;<br>
&gt;     &gt;  /<br>
&gt;     &gt;  &amp;electrons<br>
&gt;     &gt;     mixing_mode = &#39;local-TF&#39;<br>
&gt;     &gt;     mixing_beta = 0.05<br>
&gt;     &gt;     diagonalization = &#39;david&#39;<br>
&gt;     &gt;     conv_thr = 1.D-5<br>
&gt;     &gt;  /<br>
&gt;     &gt;  &amp;ions<br>
&gt;     &gt;   trust_radius_ini = 0.10<br>
&gt;     &gt;<br>
&gt;     &gt;  /<br>
&gt;     &gt;  &amp;cell<br>
&gt;     &gt;<br>
&gt;     &gt; ATOMIC_SPECIES<br>
&gt;     &gt;  B    10.81100   B.pz-vbc.UPF<br>
&gt;     &gt;  C    12.01070   C.pz-vbc.UPF<br>
&gt;     &gt;  N    14.00674   N.pz-vbc.UPF<br>
&gt;     &gt; ATOMIC_POSITIONS angstrom<br>
&gt;     &gt;  B         0.710000        8.607000       11.306000<br>
&gt;     &gt;  B         0.710000       11.066000       11.306000<br>
&gt;     &gt;  B         2.840000        7.377000       11.306000<br>
&gt;     &gt;  B         0.710000        6.148000       11.306000<br>
&gt;     &gt;  B         6.390000        6.148000        8.000000<br>
&gt;     &gt;  B         6.390000        8.607000        8.000000<br>
&gt;     &gt;  B         6.390000       11.066000        8.000000<br>
&gt;     &gt;  B         2.840000        9.836000       11.306000<br>
&gt;     &gt;  B         7.100000        7.377000       11.306000<br>
&gt;     &gt;  B         7.100000        9.836000       11.306000<br>
&gt;     &gt;  B         7.100000       12.295000       11.306000<br>
&gt;     &gt;  B         4.970000       11.066000       11.306000<br>
&gt;     &gt;  B         2.840000       12.295000       11.306000<br>
&gt;     &gt;  B         4.970000        6.148000       11.306000<br>
&gt;     &gt;  B         4.970000        8.607000       11.306000<br>
&gt;     &gt;  B         4.260000        7.377000        8.000000<br>
&gt;     &gt;  B         2.130000       11.066000        8.000000<br>
&gt;     &gt;  B         2.130000        8.607000        8.000000<br>
&gt;     &gt;  B         2.130000        6.148000        8.000000<br>
&gt;     &gt;  B         4.260000        9.836000        8.000000<br>
&gt;     &gt;  B         0.000000        7.377000        8.000000<br>
&gt;     &gt;  B         0.000000        9.836000        8.000000<br>
&gt;     &gt;  B         4.260000       12.295000        8.000000<br>
&gt;     &gt;  B         0.000000       12.295000        8.000000<br>
&gt;     &gt;  C         2.130000        6.148000       14.106000<br>
&gt;     &gt;  C         2.130000        8.607000       14.106000<br>
&gt;     &gt;  C         2.130000       11.066000       14.106000<br>
&gt;     &gt;  C         0.000000       12.295000       14.106000<br>
&gt;     &gt;  C         0.000000        9.836000       14.106000<br>
&gt;     &gt;  C         0.000000        7.377000       14.106000<br>
&gt;     &gt;  C         0.710000       11.066000       14.106000<br>
&gt;     &gt;  C         0.710000        8.607000       14.106000<br>
&gt;     &gt;  C         0.710000        6.148000       14.106000<br>
&gt;     &gt;  C         6.390000        8.607000       14.106000<br>
&gt;     &gt;  C         6.390000        6.148000       14.106000<br>
&gt;     &gt;  C         4.970000       11.066000       14.106000<br>
&gt;     &gt;  C         6.390000       11.066000       14.106000<br>
&gt;     &gt;  C         7.100000       12.295000       14.106000<br>
&gt;     &gt;  C         7.100000        9.836000       14.106000<br>
&gt;     &gt;  C         7.100000        7.377000       14.106000<br>
&gt;     &gt;  C         4.970000        8.607000       14.106000<br>
&gt;     &gt;  C         2.840000       12.295000       14.106000<br>
&gt;     &gt;  C         2.840000        9.836000       14.106000<br>
&gt;     &gt;  C         2.840000        7.377000       14.106000<br>
&gt;     &gt;  C         4.260000        7.377000       14.106000<br>
&gt;     &gt;  C         4.970000        6.148000       14.106000<br>
&gt;     &gt;  C         4.260000       12.295000       14.106000<br>
&gt;     &gt;  C         4.260000        9.836000       14.106000<br>
&gt;     &gt;  N         0.000000       12.295000       11.306000<br>
&gt;     &gt;  N         0.000000        9.836000       11.306000<br>
&gt;     &gt;  N         0.000000        7.377000       11.306000<br>
&gt;     &gt;  N         2.840000        7.377000        8.000000<br>
&gt;     &gt;  N         2.840000        9.836000        8.000000<br>
&gt;     &gt;  N         2.840000       12.295000        8.000000<br>
&gt;     &gt;  N         4.970000       11.066000        8.000000<br>
&gt;     &gt;  N         4.970000        8.607000        8.000000<br>
&gt;     &gt;  N         4.970000        6.148000        8.000000<br>
&gt;     &gt;  N         7.100000       12.295000        8.000000<br>
&gt;     &gt;  N         7.100000        9.836000        8.000000<br>
&gt;     &gt;  N         7.100000        7.377000        8.000000<br>
&gt;     &gt;  N         0.710000        6.148000        8.000000<br>
&gt;     &gt;  N         0.710000        8.607000        8.000000<br>
&gt;     &gt;  N         0.710000       11.066000        8.000000<br>
&gt;     &gt;  N         6.390000       11.066000       11.306000<br>
&gt;     &gt;  N         6.390000        8.607000       11.306000<br>
&gt;     &gt;  N         6.390000        6.148000       11.306000<br>
&gt;     &gt;  N         2.130000       11.066000       11.306000<br>
&gt;     &gt;  N         2.130000        8.607000       11.306000<br>
&gt;     &gt;  N         2.130000        6.148000       11.306000<br>
&gt;     &gt;  N         4.260000       12.295000       11.306000<br>
&gt;     &gt;  N         4.260000        9.836000       11.306000<br>
&gt;     &gt;  N         4.260000        7.377000       11.306000<br>
&gt;     &gt; K_POINTS automatic<br>
&gt;     &gt; 10 10 1 1 1 0<br>
&gt;     &gt; CELL_PARAMETERS<br>
&gt;     &gt; 8.51980 0.00000 0.00000<br>
&gt;     &gt; 0.00000 7.37600 0.00000<br>
&gt;     &gt; 0.00000 0.00000 22.6120<br>
&gt;     &gt;<br>
&gt;     -------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
&gt;     &gt; The results are :<br>
&gt;     &gt;<br>
&gt;     &gt; 1- Final energy (obtained from last relaxation step) vs cutoff<br>
&gt;     (ecutwfc)<br>
&gt;     &gt;<br>
&gt;     &gt; cut20: Final energy   =    -857.6291985882 Ry<br>
&gt;     &gt; cut30: Final energy   =    -876.5012327526 Ry<br>
&gt;     &gt; cut40: Final energy   =    -885.4765196610 Ry<br>
&gt;     &gt; cut50: Final energy   =    -890.0493283821 Ry<br>
&gt;     &gt; cut60: Final energy   =    -892.0114549785 Ry<br>
&gt;     &gt; cut70: Final energy   =    -892.8706506804 Ry<br>
&gt;     &gt; cut80: Final energy   =    -893.2520149989 Ry<br>
&gt;     &gt;<br>
&gt;     &gt; When I plot the graph, it looks like ecutwfc =60 is optimal. Is it<br>
&gt;     &gt; right? Is it the right way to do it? Is the final energy (obtained<br>
&gt;     &gt; from last relaxation step) the right quantity?<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     ------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
&gt;     &gt; 2- For Final energy (obtained from last relaxation step) vs d<br>
&gt;     &gt; interlayer distance at cutoff ecutwfc = 60.0:<br>
&gt;     &gt;<br>
&gt;     &gt; d=2.5= Final energy   =    -892.0122348924 Ry<br>
&gt;     &gt; d=3.0= Final energy   =    -892.0119194861 Ry<br>
&gt;     &gt; d=3.1= Final energy   =    -892.0089055437 Ry<br>
&gt;     &gt; d=3.2= Final energy   =    -892.0104083862 Ry<br>
&gt;     &gt; d=3.3= Final energy   =    -892.0115677649 Ry<br>
&gt;     &gt; d=3.4= Final energy   =    -892.0113018510 Ry<br>
&gt;     &gt; d=3.5= Final energy   =    -892.0121118001 Ry<br>
&gt;     &gt; d=3.6= Final energy   =    -892.0113544429 Ry<br>
&gt;     &gt; d=3.7= Final energy   =    -892.0096184164 Ry<br>
&gt;     &gt; d=3.9= Final energy   =    -892.0041914533 Ry<br>
&gt;     &gt;<br>
&gt;     &gt; There are fluctuations in the data? Is it normal?<br>
&gt;     &gt;<br>
&gt;     -----------------------------------------------------------------------------------------------------------------------------------------------------<br>
&gt;     &gt;<br>
&gt;     &gt; 3-  For Final energy (obtained from last relaxation step) vs d<br>
&gt;     &gt; interlayer distance at cutoff ecutwfc = 50.0:<br>
&gt;     &gt;<br>
&gt;     &gt; d=2.5= Final energy   =    -890.0504214490 Ry<br>
&gt;     &gt; d=2.8= Final energy   =    -890.0503533642 Ry<br>
&gt;     &gt; d=2.9= Final energy   =    -890.0503471460 Ry<br>
&gt;     &gt; d=3.0= Final energy   =    -890.0486572147 Ry<br>
&gt;     &gt; d=3.1= Final energy   =    -890.0491375298 Ry<br>
&gt;     &gt; d=3.2= Final energy   =    -890.0480863744 Ry<br>
&gt;     &gt; d=3.3= Final energy   =    -890.0492074574 Ry<br>
&gt;     &gt; d=3.4= Final energy   =    -890.0501303488 Ry<br>
&gt;     &gt; d=3.6= Final energy   =    -890.0488317041 Ry<br>
&gt;     &gt; d=3.5= Final energy   =    -890.0492797825 Ry<br>
&gt;     &gt; d=3.7= Final energy   =    -890.0470527582 Ry<br>
&gt;     &gt; d=3.8= Final energy   =    -890.0443250729 Ry<br>
&gt;     &gt; d=3.9= Final energy   =    -890.0412177248 Ry<br>
&gt;     &gt;<br>
&gt;     &gt; Same thing for these data.<br>
&gt;     &gt; Is there any thing wrong?<br>
&gt;     &gt; Your suggestions are welcomed.<br>
&gt;     &gt;<br>
&gt;     &gt; Thank you in advance for your help!<br>
&gt;     &gt;<br>
&gt;     &gt; Regards,<br>
&gt;     &gt;<br>
&gt;     &gt; ME<br>
&gt;     &gt; University of Houston<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     ------------------------------------------------------------------------<br>
&gt;     &gt;<br>
&gt;     &gt; _______________________________________________<br>
&gt;     &gt; Pw_forum mailing list<br>
</div></div>&gt;     &gt; <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a> &lt;mailto:<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a>&gt;<br>
<div class="im">&gt;     &gt; <a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
&gt;     &gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Pw_forum mailing list<br>
</div>&gt;     <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a> &lt;mailto:<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a>&gt;<br>
<div><div></div><div class="h5">&gt;     <a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pw_forum mailing list<br>
&gt; <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
&gt; <a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
</div></div></blockquote></div><br>