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