<div dir="ltr">Thanks very much!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 2, 2015 at 1:03 AM, Giovanni Cantele <span dir="ltr"><<a href="mailto:giovanni.cantele@spin.cnr.it" target="_blank">giovanni.cantele@spin.cnr.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><blockquote type="cite"><div><div class="h5"><div>On 31 Oct 2015, at 03:35, Safa Alzaim <<a href="mailto:safa.alzaim@gmail.com" target="_blank">safa.alzaim@gmail.com</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr"><p>Dear All,</p><p>In quantum espresso, how do we define X number of atomic layers, for example, for a surface vs a bulk calculation? In our System and Atomic Positions block, the unit cell is the same for various thicknesses of material, so how do we set the calculation differently for a surface rather than bulk? </p><p>Thanks!</p><p>Safa Alzaim</p>
<br><br></div></div></div>
_______________________________________________<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" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a></div></blockquote></div><br><div><br></div><div>surface calculations are set up by defining a surface supercell. That means that you should : i) to identify the surface primitive cell, defined by two vectors a1_surf and a2_surf ; ii) to build a slab  along the third direction (orthogonal to a1_surf and a2_surf), by replicating one or more bulk atomic layers (the number of independent layers does depend on the specific system) and by adding (when setting the length of the a3_surf layer) vacuum space so as to get rid of spurious interactions between periodic replicas of the slab.</div><div><br></div><div>If the third direction is the non-periodic one, the k-point grid (against which convergence should be always checked!) will be in the form n x m x 1 .</div><div><br></div><div>For various thickness materials, a1_surf and a2_surf are the same, whereas the card ATOMIC_POSITIONS and the length of a3_surf change.</div><div><br></div><div>There are examples within espresso-x.y.z/PW/examples and lot of tutorials/documentation on the web. For example, just by googling "quantum espresso surface calculation how to” I found, among the many, <a href="http://people.sissa.it/~degironc/2011/tutorial_surface.pdf" target="_blank">http://people.sissa.it/~degironc/2011/tutorial_surface.pdf</a></div><div><br></div><div><br></div><div>Giovanni</div><br><br><div>
-- <br><br>Giovanni Cantele, PhD<br>CNR-SPIN<br>c/o Dipartimento di Fisica<br>Universita' di Napoli "Federico II"<br>Complesso Universitario M. S. Angelo - Ed. 6<br>Via Cintia, I-80126, Napoli, Italy<br>e-mail: <a href="mailto:giovanni.cantele@spin.cnr.it" target="_blank">giovanni.cantele@spin.cnr.it</a><br>Phone: <a href="tel:%2B39%20081%20676910" value="+39081676910" target="_blank">+39 081 676910</a><br>Skype contact: giocan74<br><br>ResearcherID: <a href="http://www.researcherid.com/rid/A-1951-2009" target="_blank">http://www.researcherid.com/rid/A-1951-2009</a><br>Web page: <a href="http://people.na.infn.it/~cantele" target="_blank">http://people.na.infn.it/~cantele</a><br>

</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>