<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Dear pwscf users<br><br>answer to the comments:<br>(many thanks for your kind attention and help but I could not solve the problem)<br><br><b>to G. Scluuzero:</b> I have used the experimental C-C distance but then I have vc-relaxed the bulk cell and found the new positions. After vc-relax I have used <br>these coordinates to "relax" the atoms in the cell with vacuum. Also the innermost layer is not graphite-like and is rippled.&nbsp; <br><br><b>to D. C. Andera: </b>this pseudopotential reproduces the experimental cell parameter of the bulk correctly and exactly. the predicted cell parameter in z-direction (c) by the other pseudopotentials is not so exact and sometimes, a difference about 1 angstrom compared to experimental value appears.<br><br><b>to G. Mattioli:</b><br>london=.true. closes the atoms in the different layers to each other in the relax calculation and did not solve the problem.<br><br><b>Now</b> I am trying to relax a 5-layer sample and see the result. but it has not completed yet. really I do not know the surface of graphite is "ripple" in the nature (experimentally) or not? I appreciate your help.<br><br>&gt; On 07/05/2010 08:19 PM, Masoud Nahali wrote:<br>&gt; &gt; Dear Quantum Espresso users<br>&gt; &gt;<br>&gt; &gt; I optimized the graphite bulk and the layers were completely flat. But <br>&gt; &gt; when I try to "relax" the graphite surface (slab 2*2 with 3 monolayer) <br>&gt; &gt; with 10 angstrom vacuum all the layers become extremely ripple!!! I <br>&gt; &gt; can not find the problem. May it related to the number of layers? <br>&gt; &gt; anyhow the number of layers is like the bulk. Your help would be a <br>&gt; &gt; great gift.<br><b>G. Scluuzero:</b><br>&gt; &gt; __<br>&gt; Are you using the experimental or the theoretical value for the in-plane <br>&gt; (graphene) C-C distance? I guess that the PBE value is larger than the <br>&gt; experimental one, so that if you start from the experimental C-C <br>&gt; distance in the graphene layer and let everything relax, then the atoms <br>&gt; would like to go towards the theoretical equilibrium distance and this <br>&gt; may cause the rippled structure.<br>&gt; Secondly, I don't know if you can pretend that the innermost layer is <br>&gt; graphite bulk-like, having only three layers in total.<br><br><b>Dal Corso Andrea :</b><br><br>&gt; Check the pseudopotential. This is a PP with a core hole for special<br>&gt; purposes not for standard simulations.<br><br>&nbsp;<br> <b>Giuseppe Mattioli :</b><br>&gt; Dear Masoud<br>&gt; apart from the pseudo problem issued by Andrea, you could try the keyword<br>&gt; london=.true.<br>&gt; It adds a Van der Waals contribution to total energy and it is likely to <br>&gt; improve the interlayer interactions in your system.<br>&gt; Hope this helps<br>&gt; Giuseppe <br><br><u>input file:</u><br><br>&amp;CONTROL<br>&nbsp; 
calculation&nbsp; = "relax",<br>&nbsp; pseudo_dir&nbsp;&nbsp; = 
"/home/koa/soft/qe4.2/espresso-4.2/pseudo",<br>&nbsp; outdir&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
"/home/koa/tmp",<br>&nbsp; etot_conv_thr= 1.0D-4,<br>&nbsp; forc_conv_thr= 1.0D-3,<br>&nbsp;
 nstep=150,<br>&nbsp; /<br>&amp;SYSTEM<br>&nbsp; ibrav&nbsp;&nbsp;&nbsp;&nbsp; = 4,<br>&nbsp; a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
4.9318,<br>&nbsp; b&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 4.9318,<br>&nbsp; c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 16.7029,<br>&nbsp; 
cosab&nbsp;&nbsp;&nbsp;&nbsp; = -0.5,<br>&nbsp; cosac&nbsp;&nbsp;&nbsp;&nbsp; = 1.0,<br>&nbsp; cosbc&nbsp;&nbsp;&nbsp;&nbsp; = 1.0,<br>&nbsp; 
nat&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 24,<br>&nbsp; ntyp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1,<br>&nbsp; ecutwfc&nbsp;&nbsp; = 40.D0,<br>&nbsp; 
ecutrho&nbsp;&nbsp; = 400.D0,<br>&nbsp; occupations = 'smearing'<br>&nbsp; smearing ='mp', <br>&nbsp;
 degauss = 0.01,<br>&nbsp; nspin = 2,<br>&nbsp; starting_magnetization(1)= 1.0,<br>&nbsp;
 /<br>&amp;ELECTRONS<br>&nbsp; conv_thr&nbsp;&nbsp;&nbsp; = 1.D-6,<br>&nbsp; mixing_beta = 0.7D0,<br>&nbsp;
 diagonalization = "david",<br>/<br>&amp;IONS<br>&nbsp;ion_dynamics="bfgs"<br>/<br>ATOMIC_SPECIES<br>C&nbsp;
 12.0107&nbsp; C.star1s-pbe-rrkjus.UPF<br>ATOMIC_POSITIONS {angstrom}<br>C&nbsp;&nbsp;&nbsp;
 0.000000&nbsp;&nbsp;&nbsp; 0.000000&nbsp;&nbsp;&nbsp; 0.000000<br>C&nbsp;&nbsp;&nbsp; 2.465900&nbsp;&nbsp;&nbsp; 0.000000&nbsp;&nbsp;&nbsp; 
0.000000<br>C&nbsp;&nbsp;&nbsp; -1.232950&nbsp;&nbsp;&nbsp; 2.135532&nbsp;&nbsp;&nbsp; 0.000000<br>C&nbsp;&nbsp;&nbsp; 1.232950&nbsp;&nbsp;&nbsp; 
2.135532&nbsp;&nbsp;&nbsp; 0.000000<br>C&nbsp;&nbsp;&nbsp; 0.000000&nbsp;&nbsp;&nbsp; 1.423688&nbsp;&nbsp;&nbsp; 0.000000<br>C&nbsp;&nbsp;&nbsp; 
-1.232950&nbsp;&nbsp;&nbsp; 3.559220&nbsp;&nbsp;&nbsp; 0.000000<br>C&nbsp;&nbsp;&nbsp; 2.465900&nbsp;&nbsp;&nbsp; 1.423688&nbsp;&nbsp;&nbsp; 
0.000000<br>C&nbsp;&nbsp;&nbsp; 1.232950&nbsp;&nbsp;&nbsp; 3.559220&nbsp;&nbsp;&nbsp; 0.000000<br>C&nbsp;&nbsp;&nbsp; 0.000000&nbsp;&nbsp;&nbsp; 
0.000000&nbsp;&nbsp;&nbsp; 3.351450<br>C&nbsp;&nbsp;&nbsp; 2.465900&nbsp;&nbsp;&nbsp; 0.000000&nbsp;&nbsp;&nbsp; 3.351450<br>C&nbsp;&nbsp;&nbsp; 
-1.232950&nbsp;&nbsp;&nbsp; 2.135532&nbsp;&nbsp;&nbsp; 3.351450<br>C&nbsp;&nbsp;&nbsp; 1.232950&nbsp;&nbsp;&nbsp; 2.135532&nbsp;&nbsp;&nbsp; 
3.351450<br>C&nbsp;&nbsp;&nbsp; 1.232950&nbsp;&nbsp;&nbsp; 0.711844&nbsp;&nbsp;&nbsp; 3.351450<br>C&nbsp;&nbsp;&nbsp; 0.000000&nbsp;&nbsp;&nbsp; 
2.847376&nbsp;&nbsp;&nbsp; 3.351450<br>C&nbsp;&nbsp;&nbsp; 3.698850&nbsp;&nbsp;&nbsp; 0.711844&nbsp;&nbsp;&nbsp; 3.351450<br>C&nbsp;&nbsp;&nbsp; 
2.465900&nbsp;&nbsp;&nbsp; 2.847376&nbsp;&nbsp;&nbsp; 3.351450<br>C&nbsp;&nbsp;&nbsp; 0.000000&nbsp;&nbsp;&nbsp; 0.000000&nbsp;&nbsp;&nbsp; 
6.702900<br>C&nbsp;&nbsp;&nbsp; 2.465900&nbsp;&nbsp;&nbsp; 0.000000&nbsp;&nbsp;&nbsp; 6.702900<br>C&nbsp;&nbsp;&nbsp; -1.232950&nbsp;&nbsp;&nbsp; 
2.135532&nbsp;&nbsp;&nbsp; 6.702900<br>C&nbsp;&nbsp;&nbsp; 1.232950&nbsp;&nbsp;&nbsp; 2.135532&nbsp;&nbsp;&nbsp; 6.702900<br>C&nbsp;&nbsp;&nbsp; 
0.000000&nbsp;&nbsp;&nbsp; 1.423688&nbsp;&nbsp;&nbsp; 6.702900<br>C&nbsp;&nbsp;&nbsp; -1.232950&nbsp;&nbsp;&nbsp; 3.559220&nbsp;&nbsp;&nbsp; 
6.702900<br>C&nbsp;&nbsp;&nbsp; 2.465900&nbsp;&nbsp;&nbsp; 1.423688&nbsp;&nbsp;&nbsp; 6.702900<br>C&nbsp;&nbsp;&nbsp; 1.232950&nbsp;&nbsp;&nbsp; 
3.559220&nbsp;&nbsp;&nbsp; 6.702900<br>K_POINTS {automatic}<br>4 4 1 1 1 1<br><br><br><u>out
 put (optimized positions):</u><br><br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.000000000&nbsp; 
-0.000000000&nbsp; -0.686394528<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.465900000&nbsp; -0.003714144&nbsp; 
-0.758610095<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1.229733457&nbsp;&nbsp; 2.137389072&nbsp; -0.758610095<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 1.229733457&nbsp;&nbsp; 2.137389072&nbsp; -0.758610095<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.000000000&nbsp;&nbsp; 
1.427474855&nbsp; -0.213813075<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1.229670488&nbsp;&nbsp; 3.557326573&nbsp; 
-0.213813075<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.465900000&nbsp;&nbsp; 1.423688000&nbsp; -0.285079086<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 1.229670488&nbsp;&nbsp; 3.557326573&nbsp; -0.213813075<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -0.000000000&nbsp;&nbsp; 
0.000000000&nbsp;&nbsp; 3.630366631<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.465900000&nbsp; -0.014904710&nbsp;&nbsp; 
3.544792504<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1.220042143&nbsp;&nbsp; 2.142984355&nbsp;&nbsp; 3.544792504<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 1.220042143&nbsp;&nbsp; 2.142984355&nbsp;&nbsp; 3.544792504<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.220249305&nbsp;&nbsp; 
0.704511250&nbsp;&nbsp; 3.106073641<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.000000000&nbsp;&nbsp; 2.847376000&nbsp;&nbsp; 
3.022325711<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.711550695&nbsp;&nbsp; 0.704511250&nbsp;&nbsp; 3.106073641<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 2.465900000&nbsp;&nbsp; 2.862041499&nbsp;&nbsp; 3.106073641<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.000000000&nbsp;&nbsp; 
0.000000000&nbsp;&nbsp; 7.468882932<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.465900000&nbsp;&nbsp; 0.008344370&nbsp;&nbsp; 
7.466151214<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1.240176436&nbsp;&nbsp; 2.131359815&nbsp;&nbsp; 7.466151214<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 1.240176436&nbsp;&nbsp; 2.131359815&nbsp;&nbsp; 7.466151214<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.000000000&nbsp;&nbsp; 
1.414904155&nbsp;&nbsp; 6.963129179<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1.240557033&nbsp;&nbsp; 3.563611923&nbsp;&nbsp; 
6.963129179<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.465900000&nbsp;&nbsp; 1.423688000&nbsp;&nbsp; 6.961528237<br>C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 1.240557033&nbsp;&nbsp; 3.563611923&nbsp;&nbsp; 6.963129179<br><br><br><br>Many Thanks<br>Masoud Nahali<br>Sharif
 University of Technology<br><br>                                               <br /><hr />Hotmail: Free, trusted and rich email service. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Get it now.</a></body>
</html>