<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">Hi,<br><br>A&nbsp; couple of comments that might be useful.<br><br>1. As you use an US pseudopotential, reduce ecutwfc down to ~30Ry. I do not see any reason for such kind of high cutoff energy, unless you performed some tests and proved that 60Ry is better. Besides, for the same reason (US PsP), you should use more ecutrho (8-12 times of&nbsp; ecutwfc). By default ecutrho=4*ecutwfc (why so, think about) and this works for norm-conserving PsPs. <br><br>As a reference see&nbsp; N.Mounet and N. Marzari, Phys. Rev. B 71, 205214 (2005), where they used ecutoff=40Ry for graphene and other C-based structures.<br><br>2. I have noticed that the job started to converge when I used smaller efield_cart(3)=0.05,&nbsp; after 49&nbsp; iteration&nbsp; I had<br><br>&nbsp;&nbsp;&nbsp;&nbsp; estimated scf
 accuracy&nbsp;&nbsp;&nbsp; &lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.00007068 Ry<br><br>but then my notebook turned off due to a heating problem, I suggest. As I just tried to test the problem I used only 2x2x1 k-points set, and mixing_beta(1)=0.05. <br>But when I used&nbsp;&nbsp; efield_cart(3)=0.005 (with mixing coefficient&nbsp; 0.1) the job finished after 11 iterations. <br><div><br>Hope this helps.<br><br>Bests,<br>Eyvaz. <br>-------------------------------------------------------------------<br></div>Prof. Eyvaz Isaev, <br>Department of Physics, Chemistry, and Biology (IFM), Linkoping University, Sweden <br>Theoretical Physics Department, Moscow State Institute of Steel &amp; Alloys, Russia, <br>isaev@ifm.liu.se, eyvaz_isaev@yahoo.com<div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr
 size="1"><b><span style="font-weight: bold;">From:</span></b> Elie Moujaes &lt;elie.moujaes@hotmail.co.uk&gt;<br><b><span style="font-weight: bold;">To:</span></b> pw_forum@pwscf.org<br><b><span style="font-weight: bold;">Sent:</span></b> Mon, December 13, 2010 1:57:36 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [Pw_forum] Bilayer graphene subject to an electric field<br></font><br>
<meta http-equiv="x-dns-prefetch-control" content="off">

<style><!--
.hmmessage P
{
margin:0px;padding:0px;}
body.hmmessage
{
font-size:10pt;font-family:Tahoma;}
--></style>

<font size="3">Dear all,</font><br>
<font size="3"></font>&nbsp;<br>
<font size="3">I am trying to get the band structure of bilayer graphene under the effect of an external electric field. I have done the scf calculations without the inclusion of an electric field , then again did teh scf calculation with an electric field included in the z-direction (of value 0.1 Ry). However the convergence is not achieved and it stopped after 100 iterations giving the following message:</font><br>
&nbsp;<br>
&nbsp;<br>
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>total cpu time spent up to now is<span style="">&nbsp; </span>83435.11 secs<br><br><span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>total energy<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>=<span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>-52.83248336 Ry<br><span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>Harris-Foulkes estimate<span style="">&nbsp;&nbsp; </span>=<span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>-45.80937450 Ry<br><span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>estimated scf accuracy<span style="">&nbsp;&nbsp;&nbsp; </span>&lt; <span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>0.00524127 Ry<br><br><span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>End of self-consistent calculation<br><br><span
 style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>convergence NOT achieved after 100 iterations: stopping</font><br></span></p>
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"></span>&nbsp;</p>
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font style="font-size: 12pt;" face="Tahoma" size="3">You will find below the inout file for the scf calculation when an electric field is applied:</font></span></p>
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font face="Tahoma" size="3"></font></span>&nbsp;</p>
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font face="Tahoma" size="3"></font></span>&nbsp;</p><span style="font-family: 'Courier New';" lang="EN-GB">
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp;&nbsp; </span>&amp;control</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp;&nbsp; </span>prefix='bielgraphene',</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp;&nbsp; </span>calculation='scf',</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp;&nbsp; </span>restart_mode='from_scratch',</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp;&nbsp; </span>lelfield = .true.,</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><font size="3"><span style="font-family: 'Courier New';" lang="EN-GB"><span style="">&nbsp;&nbsp;&nbsp; </span></span><span style="font-family: 'Courier New';" lang="PT-BR">nberrycyc= 1,</span></font></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="PT-BR"><font size="3"><span style="">&nbsp;&nbsp;&nbsp; </span>pseudo_dir = '/espresso-4.2/pseudo/',</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><font size="3"><span style="font-family: 'Courier New';" lang="PT-BR"><span style="">&nbsp;&nbsp;&nbsp; </span></span><span style="font-family: 'Courier New';" lang="EN-GB">outdir='/tmp/results_MOUJAES/'</span></font></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;</span>/</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp; </span>&amp;system<span style="">&nbsp;&nbsp;&nbsp; </span></font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp;&nbsp; </span>ibrav=<span style="">&nbsp; </span>4, celldm(1) =4.608737, celldm(3)=5.330410, nat=4, ntyp= 1,</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp;&nbsp; </span>ecutwfc = 60.D0,occupations='smearing',smearing='methfessel-paxton', degauss=0.01</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3">/</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;</span>&amp;electrons</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp;&nbsp; </span>conv_thr=1.D-5,<span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp;&nbsp; </span>mixing_mode='local-TF'</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp;&nbsp; </span>mixing_beta=0.1D0</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp;&nbsp; </span>efield_cart(1) = 0.000,</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp;&nbsp; </span>efield_cart(2) = 0.000,</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp;&nbsp; </span>efield_cart(3) = 0.10,</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp;&nbsp; </span></font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;</span>/</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3">ATOMIC_SPECIES</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;</span>C<span style="">&nbsp; </span>12.0107<span style="">&nbsp; </span>C.pz-rrkjus.UPF</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3">ATOMIC_POSITIONS crystal</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;</span>C 0.000000<span style="">&nbsp; </span>0.000000<span style="">&nbsp; </span>0.000000<span style="">&nbsp; </span></font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;</span>C 0.000000<span style="">&nbsp; </span>0.000000<span style="">&nbsp; </span>0.257692 </font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;</span>C 0.333333<span style="">&nbsp; </span>-0.33333<span style="">&nbsp; </span>0.000000<span style="">&nbsp; </span></font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;</span>C -0.333333<span style="">&nbsp; </span>0.33333<span style="">&nbsp; </span>0.257692<span style="">&nbsp; </span></font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3">&nbsp;</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3">K_POINTS automatic</font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New';" lang="EN-GB"><font size="3"><span style="">&nbsp;&nbsp; </span>25 25 1<span style="">&nbsp; </span>0 0 0<span style="">&nbsp; </span></font></span></p> 
<p class="MsoPlainText" style="margin: 0in 0in 0pt;">&nbsp;</p>
<p class="MsoPlainText" style="margin: 0in 0in 0pt;">&nbsp;</p>
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><font face="Tahoma" size="3">Thanks</font></p>
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><font face="Tahoma" size="3"></font>&nbsp;</p>
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><font face="Tahoma" size="3">Elie Moujaes</font></p>
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><font face="Tahoma" size="3">University of Nottingham</font></p>
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><font face="Tahoma" size="3">NG7 2RD</font></p>
<p class="MsoPlainText" style="margin: 0in 0in 0pt;"><font face="Tahoma" size="3">UK</font></p></span>                                               <meta http-equiv="x-dns-prefetch-control" content="on"></div></div>
</div><br>







      </body></html>