<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Dear Mina,</p>
<p>The first thing to do is to make a bandstructure calculation as usual, being careful that the disk_io variable is at least set to its default value 'medium' (probably 'low' will work too, but I haven't tried). In fact you need QE to access wavefunctions for the projection.</p>
<p>Once the band structure calculation is over, you post-process the output with projwfc.x. The outdir and prefix variables must be set as in the previous calculation in order to access the wavefunctions. Pay attention in setting the variable kresolvedddos = .TRUE.</p>
<p>You may play with the other parameters. I usually set </p>
<p>ngauss = 0</p>
<p>degauss = 0.036748 </p>
<p>DeltaE = 0.01</p>
<p>and that's it.</p>
<p>At the end of the projwfc.x run, basically you have all the information. Then it's just a matter of rearranging the data. You can use the script 'projwfc_to_bands.awk' that you can find here : <a href="https://gitlab.com/QEF/q-e/-/tree/develop/PP/examples/projected_bands_example">https://gitlab.com/QEF/q-e/-/tree/develop/PP/examples/projected_bands_example</a> . Personally I find handy to use a home-made python script that wraps the .awk and re-writes the output in a more convenient way for me. I'm not sure I can append it to this response. In case you want it, just contact me privately.</p>
<p>Hope that has been useful.</p>
<p>Best regards</p>
<p>-- </p>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Dr. Lorenzo Sponza<br />Chargé de Recherche au CNRS<br />Laboratoire d'étude de microstructures (LEM), CNRS-ONERA<br />29 Avenue de la division Leclerc, 92322 Châtillon<br />Tel: +33146734464</div>
<p><br /></p>
<p id="reply-intro">Le 2023-12-01 06:23, Mina Hemati via users a écrit :</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<div>
<div class="v1ydpff6f400dyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">
<div>Dear all</div>
<div> I would like to calculate projected band structure. could you please guide me regarding this?</div>
<div> </div>
<div>Best regards</div>
<div>Mina</div>
<div>PHD of solid state physics</div>
<div>Iran University of science and technology. </div>
</div>
</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br />The Quantum ESPRESSO community stands by the Ukrainian<br />people and expresses its concerns about the devastating<br />effects that the Russian military offensive has on their<br />country and on the free and peaceful scientific, cultural,<br />and economic cooperation amongst peoples<br />_______________________________________________<br />Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" target="_blank" rel="noopener noreferrer">www.max-centre.eu</a>)<br />users mailing list <a href="mailto:users@lists.quantum-espresso.org">users@lists.quantum-espresso.org</a><br /><a href="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank" rel="noopener noreferrer">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div>
</blockquote>
<p><br /></p>
</body></html>