Dear Matteo,<br><br>i had a look to the NiO example at the link:<br><br><a href="http://www.quantum-espresso.org/wiki/images/f/f4/Handson_ldau.pdf">http://www.quantum-espresso.org/wiki/images/f/f4/Handson_ldau.pdf</a><br><br>
There, one can find the possibility to look at magnetic system with the flag &quot;magn&quot; in the file <a href="http://resp_mat.in">resp_mat.in</a>.<br><br>However resp_mat.f90 has not such variable in the file.<br>do i think it wrong?<br>
<br>thank you.<br><br>Gianluca<br><br><div class="gmail_quote">On Tue, Feb 16, 2010 at 8:13 PM, Matteo Cococcioni <span dir="ltr">&lt;<a href="mailto:matteo@umn.edu">matteo@umn.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Gianluca Giovannetti wrote:<br>
&gt; Dear Matteo,<br>
&gt;<br>
&gt; thank you for the link.<br>
&gt; now it is fine.<br>
&gt; i can calculate U with your scheme. :-)<br>
&gt;<br>
&gt; what about J ?<br>
&gt;<br>
<br>
</div>Dear Gianluca<br>
<br>
the formal extension of the linear-response machinery to compute U to a<br>
spin-resolved case (using magnetization instead of<br>
occupations) doesn&#39;t work to obtain J.<br>
this is at least my experience.<br>
<br>
regards,<br>
<br>
Matteo<br>
<div class="im">&gt; cheers,<br>
&gt;<br>
&gt; Gianluca<br>
&gt;<br>
&gt; On Mon, Feb 15, 2010 at 2:45 AM, Matteo Cococcioni &lt;<a href="mailto:matteo@umn.edu">matteo@umn.edu</a><br>
</div><div><div></div><div class="h5">&gt; &lt;mailto:<a href="mailto:matteo@umn.edu">matteo@umn.edu</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;     Dear Gianluca,<br>
&gt;<br>
&gt;     here is the link to a tutorial on how to compute the U:<br>
&gt;<br>
&gt;     <a href="http://media.quantum-espresso.org/santa_barbara_2009_07/index.php" target="_blank">http://media.quantum-espresso.org/santa_barbara_2009_07/index.php</a><br>
&gt;<br>
&gt;     This method uses the atomic occupations defined as in the PRB &#39;05<br>
&gt;     paper<br>
&gt;     you refer to in your email.<br>
&gt;<br>
&gt;     For sure one could use Wannier functions ainstead of atomic orbitals.<br>
&gt;     HoweverI have no direct experience with that<br>
&gt;     so I cannot tell you how to do this in practice.<br>
&gt;<br>
&gt;     regards,<br>
&gt;<br>
&gt;     Matteo<br>
&gt;<br>
&gt;     Gianluca Giovannetti wrote:<br>
&gt;<br>
&gt;     &gt; Dear All,<br>
&gt;     &gt;<br>
&gt;     &gt; i would like to calculate the U and J for a given material Fe based.<br>
&gt;     &gt; I can do LDA+U calculations without problems is such system<br>
&gt;     using PW.<br>
&gt;     &gt;<br>
&gt;     &gt; The paper &quot;Phys. Rev. B 71, 035105 (2005)&quot; well explains how to<br>
&gt;     &gt; calculate the parameter U.<br>
&gt;     &gt; i have however troubles in setting the input files to do the<br>
&gt;     calculations.<br>
&gt;     &gt; could some examples be provided?<br>
&gt;     &gt;<br>
&gt;     &gt; I have also another question.<br>
&gt;     &gt;<br>
&gt;     &gt; In the current distribution of PW in the directory PP there is a<br>
&gt;     file<br>
&gt;     &gt; wannier_ham.f90.<br>
&gt;     &gt; I believe it is referring to the paper:<br>
&gt;     &gt;<br>
&gt;     &gt; <a href="http://xxx.lanl.gov/pdf/0801.3500" target="_blank">http://xxx.lanl.gov/pdf/0801.3500</a><br>
&gt;     &gt;<br>
&gt;     &gt; The subroutines are reading wfs and eigenvalues of a given<br>
&gt;     &gt; self-consistent calculation and they calculate the Hamiltonian in<br>
&gt;     &gt; Wannier basis set.<br>
&gt;     &gt; This gives the possibility to calculate on-site energy of given<br>
&gt;     d states.<br>
&gt;     &gt; If now we change the occupancy at a given site by the flag<br>
&gt;     &gt; Hubbard_alpha() and we recalculate the Hamiltonian in Wannier basis<br>
&gt;     &gt; set for such self-consistent calculation, the variation of<br>
&gt;     eigenvalues<br>
&gt;     &gt; respect to the occupations should give the U and J parameters.<br>
&gt;     &gt; Is this correct?<br>
&gt;     &gt; Is this the procedure used in the mentioned paper?<br>
&gt;     &gt;<br>
&gt;     &gt; thank you.<br>
&gt;     &gt;<br>
&gt;     &gt; cheers,<br>
&gt;     &gt;<br>
&gt;     &gt; Gianluca<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     ------------------------------------------------------------------------<br>
&gt;     &gt;<br>
&gt;     &gt; _______________________________________________<br>
&gt;     &gt; Pw_forum mailing list<br>
</div></div>&gt;     &gt; <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a> &lt;mailto:<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a>&gt;<br>
<div class="im">&gt;     &gt; <a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
&gt;     &gt;<br>
&gt;<br>
&gt;<br>
&gt;     --<br>
&gt;     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
&gt;     Matteo Cococcioni<br>
&gt;     Department of Chemical Engineering and Materials Science,<br>
&gt;     University of Minnesota<br>
&gt;     421 Washington Av. SE<br>
&gt;     Minneapolis, MN 55455<br>
&gt;     Tel. +1 612 624 9056    Fax +1 612 626 7246<br>
&gt;     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Pw_forum mailing list<br>
</div>&gt;     <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a> &lt;mailto:<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a>&gt;<br>
<div><div></div><div class="h5">&gt;     <a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pw_forum mailing list<br>
&gt; <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
&gt; <a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
&gt;<br>
<br>
<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>
</div></div></blockquote></div><br>