<span class="Apple-style-span" style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Dear <span style="font-size:13px;font-family:arial,sans-serif">Muhammad,</span><div><font face="arial, sans-serif"><br>
</font></div><div><font face="arial, sans-serif">Their is an easier way to calculate the optimized the lattice constant which is based on calculation of stress and forces on the system. In the flag "calculation" put "vc-relax" and in "ion_dynamics" put "bfgs" (there are other options too) and in the  "cell_dynamics" put "bfgs" (again there are other options also) and run the job. When the calculation is over the code will print the final lattice vectors by which you can calculate the optimized lattice constant. For further details look into /quantum-espresso-folder/Doc/INPUT_PW.html<br>
</font></div><div><font face="arial, sans-serif"><br></font></div></span><br><div class="gmail_quote">On Sun, May 13, 2012 at 2:52 AM, zafar rasheed <span dir="ltr"><<a href="mailto:zafartariq2003@yahoo.com" target="_blank">zafartariq2003@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit"><p style="margin-bottom:0in;font-weight:bold">
<font size="5">Dear All<br></font></p><p style="margin-bottom:0in;font-weight:bold"><font size="5">I want to calculate lattice constants
a, and c and bulk modulus of w-ZnO. For this purpose:</font></p>
<ol><li style="font-weight:bold"><p style="margin-bottom:0in"><font size="5">I take experimental lattice
        constants (a= 3.25 Ang. and c = 5.206 Ang. and by changing these values into bohr.) and first take different
        values above and below a and do scf calculations to optimize a. As
        in case of W ZnO (Hexagonal and Trigonal P) ibrav= 4 and celldm(3)
        =c/a is used. So when I change a (celldm (1))I have to change celldm
        (3). In this way I get lattice constant a which is nearly same as
        experimental with  2 percent error. 
        </font></p>
        </li><li style="font-weight:bold"><p style="margin-bottom:0in"><font size="5">Then I fix this lattice constant a
        (celldm (1)) and change lattice constant c (By taking different
        values above and below experimental value of c). As c changes celldm
        (3) also changes. In this way I get lattice constant c which is very
        close to experimental lattice constant with a little error of 2
        percent.</font></p>
        </li><li style="font-weight:bold"><p style="margin-bottom:0in"><font size="5">The output data for the
        calculation of c by fixing a I use to calculate BULK modulus for
        ZnO. Again these results are comparable with experimental and already calculated
        results by different techniques .</font></p>
        </li><li><p style="margin-bottom:0in;font-weight:bold"><font size="5">Now I want to know that, Is my
        calculation procedure is right?</font></p>
        
</li></ol>
<span style="font-weight:bold">Best Regards</span><br><br>Muhammad Zafar<br>
PhD Scholar<br>
Department of Physics<br>
The Islamia University of Bahawalpur,Pakistan</td></tr></tbody></table><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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>MOHNISH,<br>-----------------------------------------------------------------<br>Mohnish Pandey<div>BTech-Mtech, IIT Kanpur<br>Senior Project Associate,<br>
Department of Chemical Engineering,<br>IIT KANPUR, UP, INDIA<br>-----------------------------------------------------------------</div><br>