<div dir="auto">To easily get the gap, from a terminal do "head -20 case.scf2" if non-sp, similarly case.scf2up/dn. Then calculate it from the highest occupied/lowest unoccupied.<br><br><div data-smartmail="gmail_signature">_____<br>Professor Laurence Marks<br>"Research is to see what everybody else has seen, and to think what nobody else has thought", Albert Szent-Gyorgi<br><a href="http://www.numis.northwestern.edu">www.numis.northwestern.edu</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 14, 2020, 07:23 Peter Blaha <<a href="mailto:pblaha@theochem.tuwien.ac.at">pblaha@theochem.tuwien.ac.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> If I understand correctly, I need to initialize the bulk case and use <br>
> its case.grr file for the surface calculation and remove case.in0_grr <br>
> file from the surface calculation.<br>
Yes. But not only "initialize, but also run it to scf with mBJ.<br>
<br>
<br>
> With TEMP(S), I can not get the band gap value with the grep command on <br>
> the terminal. Is there any workaround for this?<br>
<br>
Calculate it yourself. You have the "band-ranges" and occupations in the <br>
scf file. It should be easy to form the difference. (Anyway, the printed <br>
gap is only ok if the k-point (eg. Gamma) where the gap is minimal is <br>
also in your klist.<br>
<br>
> <br>
> Is there any tentative date for the new release of the Wien2k version?<br>
<br>
No.<br>
<br>
> <br>
> <br>
> Thank you<br>
> Fatima<br>
> <br>
> <br>
> On Wed, Oct 14, 2020 at 7:03 PM Peter Blaha <br>
> <<a href="mailto:pblaha@theochem.tuwien.ac.at" target="_blank" rel="noreferrer">pblaha@theochem.tuwien.ac.at</a> <mailto:<a href="mailto:pblaha@theochem.tuwien.ac.at" target="_blank" rel="noreferrer">pblaha@theochem.tuwien.ac.at</a>>> wrote:<br>
> <br>
> Actually, for a 2D system one should NEVER use TETRA, but always<br>
> TEMP/TEMPS. (For systems with a band gap it does not really matter)<br>
> <br>
> mBJ: You should NOT use normal mBJ for surfaces. mBJ uses an average<br>
> over the unit cell and this is meaningless for a system with vacuum.<br>
> <br>
> Instead you should use the case.grr file for a corresponding bulk<br>
> calculation and remove case.in0_grr from the surface calculation.<br>
> <br>
> PS: In the next release a "local-mBJ" will be available, which can be<br>
> applied also to surfaces.<br>
> <br>
> On 10/14/20 9:38 AM, fatima DFT wrote:<br>
> > Dear Wien2k Users,<br>
> > I am running a 2D case (vacuum in c -direction) with Wien2k 19.1<br>
> version.<br>
> > The case is relaxed with optB-88-vdw. PBE case was okay but for<br>
> mBJ the<br>
> > ground state energy is oscillating and the band gap is also<br>
> > overestimating by twice.<br>
> > After going through, I found that I should use "TEMPS 0.018" [1].<br>
> ><br>
> > I have two questions now:<br>
> > Can I use the scf case of PBE (finished with TETRA) and update TEMPS<br>
> > 0.018 in case.in2c for mBJ or I need to do a fresh calculation<br>
> starting<br>
> > from PBE?<br>
> ><br>
> > Or should I use PRATT for the first few cycles and then update<br>
> TETRA/TEMPS?<br>
> ><br>
> ><br>
> > [1]<br>
> ><br>
> <a href="https://urldefense.com/v3/__https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg09993.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVhqc05gcg$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg09993.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVhqc05gcg$</a> <br>
> ><br>
> > Thank you<br>
> > Fatima<br>
> ><br>
> > _______________________________________________<br>
> > Wien mailing list<br>
> > <a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank" rel="noreferrer">Wien@zeus.theochem.tuwien.ac.at</a><br>
> <mailto:<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank" rel="noreferrer">Wien@zeus.theochem.tuwien.ac.at</a>><br>
> > <a href="https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVjwghvaGw$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVjwghvaGw$</a> <br>
> > SEARCH the MAILING-LIST at:<br>
> <a href="https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVi2h9IuDg$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVi2h9IuDg$</a> <br>
> ><br>
> <br>
> -- <br>
> <br>
> P.Blaha<br>
> --------------------------------------------------------------------------<br>
> Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna<br>
> Phone: +43-1-58801-165300 FAX: +43-1-58801-165982<br>
> Email: <a href="mailto:blaha@theochem.tuwien.ac.at" target="_blank" rel="noreferrer">blaha@theochem.tuwien.ac.at</a><br>
> <mailto:<a href="mailto:blaha@theochem.tuwien.ac.at" target="_blank" rel="noreferrer">blaha@theochem.tuwien.ac.at</a>> WIEN2k: <a href="https://urldefense.com/v3/__http://www.wien2k.at__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVhEDMGGew$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://www.wien2k.at__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVhEDMGGew$</a> <br>
> WWW: <a href="https://urldefense.com/v3/__http://www.imc.tuwien.ac.at/TC_Blaha__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVhqFptZYg$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://www.imc.tuwien.ac.at/TC_Blaha__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVhqFptZYg$</a> <br>
> --------------------------------------------------------------------------<br>
> _______________________________________________<br>
> Wien mailing list<br>
> <a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank" rel="noreferrer">Wien@zeus.theochem.tuwien.ac.at</a> <mailto:<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank" rel="noreferrer">Wien@zeus.theochem.tuwien.ac.at</a>><br>
> <a href="https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVjwghvaGw$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVjwghvaGw$</a> <br>
> SEARCH the MAILING-LIST at:<br>
> <a href="https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVi2h9IuDg$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVi2h9IuDg$</a> <br>
> <br>
> <br>
> _______________________________________________<br>
> Wien mailing list<br>
> <a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank" rel="noreferrer">Wien@zeus.theochem.tuwien.ac.at</a><br>
> <a href="https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVjwghvaGw$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVjwghvaGw$</a> <br>
> SEARCH the MAILING-LIST at: <a href="https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVi2h9IuDg$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVi2h9IuDg$</a> <br>
> <br>
<br>
-- <br>
<br>
P.Blaha<br>
--------------------------------------------------------------------------<br>
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna<br>
Phone: +43-1-58801-165300 FAX: +43-1-58801-165982<br>
Email: <a href="mailto:blaha@theochem.tuwien.ac.at" target="_blank" rel="noreferrer">blaha@theochem.tuwien.ac.at</a> WIEN2k: <a href="https://urldefense.com/v3/__http://www.wien2k.at__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVhEDMGGew$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://www.wien2k.at__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVhEDMGGew$</a> <br>
WWW: <a href="https://urldefense.com/v3/__http://www.imc.tuwien.ac.at/TC_Blaha__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVhqFptZYg$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://www.imc.tuwien.ac.at/TC_Blaha__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVhqFptZYg$</a> <br>
--------------------------------------------------------------------------<br>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank" rel="noreferrer">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVjwghvaGw$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVjwghvaGw$</a> <br>
SEARCH the MAILING-LIST at: <a href="https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVi2h9IuDg$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!CJsF6WfGG0FlQchlYtUfI3XS3lHqYMY_Rkevd9UNKiHJcMLbWQ7mTZGgf5_3uVi2h9IuDg$</a> <br>
</blockquote></div>