<div dir="ltr">Dear Ari Paavo Seitsonen,<div><br></div><div>Thanks for your advice. I will try your suggestion and see what will happen.</div><div><br></div><div><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Best Regards,<div><br></div><div><b>Ben Liew</b></div><div>Ph.D Student</div><div>Fuel Cell Institute,</div><div>The National University of Malaysia,</div><div>43600 Bangi,</div><div>Selangor, Malaysia.</div><div>Contact no. : +6016 552 0878</div><div>Email           : <a href="mailto:liewkienben@gmail.com" target="_blank">liewkienben@gmail.com</a></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Aug 7, 2015 at 1:28 AM, Mahya Zare <span dir="ltr"><<a href="mailto:mahyazare68@gmail.com" target="_blank">mahyazare68@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span lang="en"><span>I want</span> <span>electronic and optical properties</span> <span>of cerium</span> <span>oxide</span> <span>do</span> <span>I</span> <span>check</span> <span>my</span> <span>inputs</span> <span>to</span> <span>check</span> <span>the</span> <span>correct</span> <span>sheet</span> <span>is</span> <span>Nano</span><span>?</span></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 6, 2015 at 7:17 PM, Ari P Seitsonen <span dir="ltr"><<a href="mailto:Ari.P.Seitsonen@iki.fi" target="_blank">Ari.P.Seitsonen@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Dear Ben Liew,<br>
<br>
  If one is lucky, the system might converge to the right magnetic ground state with a "random guess". Yet if the system has several local minima, or the initial guess is very far from the true magnetic ordering, one might get very bad initial densities (total and spin density, or spin-up and spin-down densities), leading to difficulties in convergence and maybe even divergence. Yet-another-issue might be bad description of the electronic structure with the GGA's, I seem to remember that in the case of MnO2 the GGA gives reasonable results, even if the electronic band gap is naturally much too small (and using the smearing should help to get a convergence anyway).<br>
<br>
  I would myself start by trying a weakly ferromagnetic guess (for example 'starting_magnetization(1) = 0.2' and seeing if something happens. If it converges, or doesn't, I would then see if an anti-ferromagnetic solution might also make sense (two types of Mn atoms in cell, etc).<div><div class="h5"><br>
<br>
    Greetings,<br>
<br>
       apsi<br>
<br>
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-<br>
  Ari Paavo Seitsonen / <a href="mailto:Ari.P.Seitsonen@iki.fi" target="_blank">Ari.P.Seitsonen@iki.fi</a> / <a href="http://www.iki.fi/~apsi/" rel="noreferrer" target="_blank">http://www.iki.fi/~apsi/</a><br>
  Ecole Normale Supérieure (ENS), Département de Chimie, Paris<br>
  Mobile (F) : +33 789 37 24 25    (CH) : +41 79 71 90 935<br>
<br>
<br>
On Wed, 5 Aug 2015, ben liew wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Bahadir,<br>
Thanks for your comments. I will try using a lower mixing_beta and change<br>
the mixing_mode='local-TF'.<br>
<br>
Dear Ari Paavo Seitsonen,<br>
<br>
Thanks. I have no knowledge on the magnetism of my system. How could I know<br>
what value of starting_magnetization that I should use in my slab<br>
calculation? Does the starting_magnetization affect the convergence of my<br>
calculation?<br>
<br>
Thank you<br>
<br>
<br>
Best Regards,<br>
Ben Liew<br>
Ph.D Student<br>
Fuel Cell Institute,<br>
The National University of Malaysia,<br>
43600 Bangi,<br>
Selangor, Malaysia.<br>
Contact no. : <a href="tel:%2B6016%20552%200878" value="+60165520878" target="_blank">+6016 552 0878</a><br>
Email           : <a href="mailto:liewkienben@gmail.com" target="_blank">liewkienben@gmail.com</a><br>
<br>
On Wed, Aug 5, 2015 at 5:20 PM, Bahadır salmankurt <<a href="mailto:bsalmankurt@gmail.com" target="_blank">bsalmankurt@gmail.com</a>><br>
wrote:<br>
      Dear Ari P Seitsonen, <br>
I didnt know that mixing_mode='local-TF' effect initial magnetic<br>
moments. thanks for this. By the way, Do you know about e field<br>
configuration? for example, for slab + molecule systems whose atomic<br>
positions are in 0.5 and 0.65 along z direction , respectively, what<br>
must values of the  emaxpos and eopreg be?  <br>
Bests<br>
Bahadir<br>
<br>
2015-08-05 10:59 GMT+03:00 Ari P Seitsonen <<a href="mailto:Ari.P.Seitsonen@iki.fi" target="_blank">Ari.P.Seitsonen@iki.fi</a>>:<br>
<br>
      Dear Ben Liew,<br>
<br>
        Without looking at the structure itself, adding to the<br>
      previous comment about the algorithm for mixing, you have<br>
      not really given any initial magnetic moments even if you<br>
      have 'nspin = 2': The 'starting_magnetization(1) = 0.0'<br>
      does not give any preferential spin ordering. Do you know<br>
      something about this, is the system expected to be<br>
      ferromagnetic, antiferromagnetic, ...?<br>
<br>
        Tiny issues, I usually do the first calculation without<br>
      the surface dipole as it makes the convergence always a<br>
      bit trickier; and your<br>
      'B ~= 2 * A', but you give the same number of k points in<br>
      both directions. (I usually tend to use smearing schemes<br>
      where the occupations are guaranteed to be in the physical<br>
      range of [0:1], but this is just a personal preference and<br>
      should thus be ignored)<br>
<br>
          Greetings,<br>
<br>
             apsi<br>
<br>
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*<br>
      =-<br>
        Ari Paavo Seitsonen / <a href="mailto:Ari.P.Seitsonen@iki.fi" target="_blank">Ari.P.Seitsonen@iki.fi</a> /<br>
      <a href="http://www.iki.fi/~apsi/" rel="noreferrer" target="_blank">http://www.iki.fi/~apsi/</a><br>
        Ecole Normale Supérieure (ENS), Département de Chimie,<br>
      Paris<br>
        Mobile (F) : +33 789 37 24 25    (CH) : +41 79 71 90 935<br>
<br>
<br>
      On Wed, 5 Aug 2015, ben liew wrote:<br>
<br>
            Dear PWSCF users,<br>
<br>
            Hi, I am a new user of Pwscf. I am working on<br>
            slab calculation for pyrolusite MnO2 (110)<br>
            surface with 3 atomic layers calculation and<br>
            fixed bottom 2 layers and only top atomic<br>
            layer is allowed to be relaxed. I have also<br>
            include the dipole correction for the<br>
            calculation to counteract with the interaction<br>
            between slabs. However, my calculation doesn't<br>
            seems to be converged as the scf accuracy is<br>
            not decreasing over each iteration. Below is<br>
            the estimated scf accuracy after hundreds of<br>
            iterations, it is not converging <br>
<br>
                 estimated scf accuracy    <    <br>
            373.64728976 Ry<br>
                 estimated scf accuracy    <    <br>
            106.52177156 Ry<br>
                 estimated scf accuracy    <    <br>
             96.97567125 Ry<br>
                 estimated scf accuracy    <    <br>
            207.03807187 Ry<br>
                 estimated scf accuracy    <    <br>
            132.53045831 Ry<br>
                 estimated scf accuracy    <    <br>
             77.19101827 Ry<br>
                 estimated scf accuracy    <    <br>
            112.41885075 Ry<br>
                 estimated scf accuracy    <    <br>
             93.27430429 Ry<br>
                 estimated scf accuracy    <    <br>
            116.68049786 Ry<br>
                 estimated scf accuracy    <    <br>
            587.09711027 Ry<br>
                 estimated scf accuracy    <    <br>
            374.45312501 Ry<br>
                 estimated scf accuracy    <    <br>
            106.89811469 Ry<br>
                 estimated scf accuracy    <    <br>
             96.84898888 Ry<br>
                 estimated scf accuracy    <    <br>
            207.83006869 Ry<br>
                 estimated scf accuracy    <    <br>
            132.74588293 Ry<br>
                 estimated scf accuracy    <    <br>
             77.09445200 Ry<br>
                 estimated scf accuracy    <    <br>
            112.41688597 Ry<br>
                 estimated scf accuracy    <    <br>
             93.57796273 Ry<br>
                 estimated scf accuracy    <    <br>
            116.25663912 Ry<br>
                 estimated scf accuracy    <    <br>
            587.39968959 Ry<br>
                 estimated scf accuracy    <    <br>
            374.91438307 Ry<br>
                 estimated scf accuracy    <    <br>
            106.71641516 Ry<br>
                 estimated scf accuracy    <    <br>
             96.75392736 Ry<br>
<br>
            I have include my input file as followed. Can<br>
            anyone tell me is that any problem with my<br>
            input file? <br>
<br>
             &control<br>
                calculation = 'relax'<br>
                tstress=.true.<br>
                tprnfor=.true.<br>
               <br>
            pseudo_dir='/home/ben/Downloads/espresso-5.1.2/pseudo'<br>
                outdir='./vc3'<br>
                prefix='pyrolusite'<br>
                tefield=.true.<br>
                dipfield=.true.<br>
             /<br>
             &system<br>
                ibrav=8,<br>
                A=2.8563, B=6.2199, C=20.0<br>
                nat=18, ntyp=2,<br>
                starting_magnetization(1)=0.0<br>
                nspin=2<br>
                ecutwfc=37.0<br>
                ecutrho=250.0<br>
                occupations='smearing'<br>
                smearing='m-v'<br>
                degauss=0.01<br>
                edir=3<br>
                emaxpos=0.5<br>
                eopreg=0.1<br>
                eamp=0.001<br>
             /<br>
             &electrons<br>
                electron_maxstep=500<br>
                conv_thr=1.0d-6<br>
                mixing_beta=0.7<br>
             /<br>
             &ions<br>
                ion_dynamics='bfgs'<br>
            /<br>
            ATOMIC_SPECIES<br>
              Mn 54.9380  Mn.pbe-spn-kjpaw_psl.0.3.1.UPF<br>
              O  15.9994  O.pbe-kjpaw.UPF<br>
            ATOMIC_POSITIONS (angstrom)<br>
            O         1.428129   3.109734   0.000000  0  0<br>
             0<br>
            O         1.428129   0.000241   0.652526  0  0<br>
             0<br>
            Mn       1.428129   3.109896   1.883398  0  0<br>
             0<br>
            O         0.000000   1.885646   1.883398  0  0<br>
             0<br>
            O         0.000000   4.334118   1.883398  0  0<br>
             0<br>
            Mn       0.000000   0.000062   1.883398  0  0<br>
             0<br>
            O         0.000000   5.014614   4.987475  0  0<br>
             0<br>
            O         0.000000   1.205401   4.987475  0  0<br>
             0<br>
            Mn       0.000000   3.109816   4.987475  0  0<br>
             0<br>
            Mn       1.428129   0.000027   4.987475  0  0<br>
             0<br>
            O         1.428129   3.109734   3.767387  0  0<br>
             0<br>
            O         1.428129   0.000241   3.114269  0  0<br>
             0<br>
            O         1.428129   3.109734   6.207560<br>
            O         1.428129   0.000241   6.860698<br>
            Mn       1.428129   3.109896   8.091569<br>
            O         0.000000   1.885646   8.091569<br>
            O         0.000000   4.334118   8.091569<br>
            Mn       0.000000   0.000062   8.091569<br>
            K_POINTS (automatic)<br>
              5 5 1 0 0 0<br>
<br>
            Your comments and suggestion is much<br>
            appreciated.Thank you.<br>
<br>
<br>
            Best Regards,<br>
            Ben Liew<br>
            Ph.D Student<br>
            Fuel Cell Institute,<br>
            The National University of Malaysia,<br>
            43600 Bangi,<br>
            Selangor, Malaysia.<br>
            Contact no. : <a href="tel:%2B6016%20552%200878" value="+60165520878" target="_blank">+6016 552 0878</a><br>
            Email           : <a href="mailto:liewkienben@gmail.com" target="_blank">liewkienben@gmail.com</a><br>
<br>
<br>
_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org" target="_blank">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
<br>
<br>
<br>
_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org" target="_blank">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
<br>
<br>
<br>
</blockquote>
<br>_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org" target="_blank">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br></div></div></blockquote></div><br></div>
<br>_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br></blockquote></div><br></div></div>