[Wien] problem with DOS calculations

2010-02-26 Thread Md. Fhokrul Islam

Dear Dr Blaha and Dr Cottenier,

 Thanks for your suggestions. I think I have enough information to get the
job done.


Fhokrul


 Date: Thu, 25 Feb 2010 17:44:14 +0100
 From: pblaha at theochem.tuwien.ac.at
 To: wien at zeus.theochem.tuwien.ac.at
 Subject: Re: [Wien] problem with DOS calculations
 
 I guess we had these questions before.
 
 The TETRAHEDRON method calculates the DOS band by band.
 With one k-point a band consists only of ONE energy and thus would give a
 delta function.  In other words: even if your eigenvalues are at 0.09 
 (band 1) and 0.11
 (band 2), the DOS from tetra at 0.1 is exactly zero (while the integrated 
 DOS (see Stefaans comment)
 will increase by 2 electrons for the energies 0.099 and 0.100.
 
 For one k-point, one needs a histogramm method, i.e. you should specify an 
 energy mesh (eg. 0.005 Ry),
 then take case.energy (or case.qtl) and then simply count the eigenvalues 
 in each interval (remember,
 the DOS is the number of states/energy intervall). Finally you may smoothen 
 the curve and put some
 gauss broadening on it.
 
 
 Stefaan Cottenier schrieb:
  
  Addendum: you can take the intermediate output, put them into a
  spreadsheet such as Excel and plot the dos yourself with some
  broadening -- it works but is not so convenient.
  
  Two comments on this:
  
  1) you can specify a broadening in case.int (see Sec. 8.1.3 of the UG)
  
  2) there is a very robust integration of the DOS plotted in 
  case.outputt. Even if the energy step is too large to see a spike, it 
  will appear clearly as a sudden jump of the integrated value.
  
  Stefaan
  ___
  Wien mailing list
  Wien at zeus.theochem.tuwien.ac.at
  http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
 
 -- 
 -
 Peter Blaha
 Inst. Materials Chemistry, TU Vienna
 Getreidemarkt 9, A-1060 Vienna, Austria
 Tel: +43-1-5880115671
 Fax: +43-1-5880115698
 email: pblaha at theochem.tuwien.ac.at
 -
 ___
 Wien mailing list
 Wien at zeus.theochem.tuwien.ac.at
 http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
  
_
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969
-- next part --
An HTML attachment was scrubbed...
URL: 
http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20100226/8476ba17/attachment.htm


[Wien] Bad formation energies for the charged vacancies

2010-02-26 Thread John Pask

Hi Peter,

 In the integrals below, \rho is just the electronic charge density  
 (without nuclei).
 Thus c \int{\rho] does NOT vanish and gives c * NE (number of  
 electrons).
 However, if rho comes from electronic states, each eigenvalue is  
 shifted by the constant c
 and thus the sum of eigenvalues cancels the  c * NE term

 However, when I add a background charge to neutralize the unit  
 cell, this does not come
 from any eigenvalue, so if I handle this in the usual way, \rho  
 will now integrate to
 NE + Q, and I get an extra c * Q term, which is not compensated by  
 an eigenvalue.

Actually, in the integrals below, \rho is the *total* (electronic +  
nuclear) charge, which must be net neutral to have a well-defined  
total energy (otherwise energy diverges).

With regard to the present question on charged-cell calculations, the  
point is just that the calculation must be performed on a neutralized  
cell in order to have well-defined total energy. So the Kohn-Sham  
calculation is performed on a neutral cell, whether or not the  
physical system is charged, and the corrections for non-neutrality, if  
any (e.g., Makov-Payne, Eq. (15)), are added after.

So as long as the neutralizing charge enters all potential and energy  
expressions along with the physical charge, so that all expressions  
operate on a net-neutral total, the Kohn-Sham total energy must be  
invariant to arbitrary constants in V (because the total Coulomb  
energy is).

John


 John Pask schrieb:
 Dear Peter,
 Yes, the background charge must be taken into account as part of  
 the net-neutral total charge in order to have well-defined total  
 energy. Then as long as the compensation charge is then in exactly  
 the same way as the remaining physical charge (i.e., enters all  
 the same integrals), then the arbitrary constant in potential  
 should not matter since:
 \int{ \rho (V + c)}  = \int{ \rho V}  + c \int{ \rho} = \int {\rho  
 V},
 independent of arbitrary constant c.
 John
 On Feb 24, 2010, at 11:54 PM, Peter Blaha wrote:
 Is the question regarding the computation of total energy per  
 unit  cell in an infinite crystal with non-neutral unit cells? If  
 so, then  the total energy diverges -- and so is not well- 
 defined. (So  neutralizing backgrounds must be added in such  
 cases to obtain  meaningful results, etc.)

 Yes, this is the question and yes, of course we add a positive or  
 negative background.
 We are quite confident that the resulting potential is ok, but the  
 question is if there
 is a correction to the total energy due to the background charge.
 I believe: yes (something like Q * V-col_average / 2), but my  
 problem is that V-coul
 is in an infinite crystal only known up to an arbitrary constant  
 and thus this correction
 is arbitrary.

 -- 
 -
 Peter Blaha
 Inst. Materials Chemistry, TU Vienna
 Getreidemarkt 9, A-1060 Vienna, Austria
 Tel: +43-1-5880115671
 Fax: +43-1-5880115698
 email: pblaha at theochem.tuwien.ac.at
 -
 ___
 Wien mailing list
 Wien at zeus.theochem.tuwien.ac.at
 http://**zeus.theochem.tuwien.ac.at/mailman/listinfo/wien

 ___
 Wien mailing list
 Wien at zeus.theochem.tuwien.ac.at
 http://*zeus.theochem.tuwien.ac.at/mailman/listinfo/wien

 -- 
 -
 Peter Blaha
 Inst. Materials Chemistry, TU Vienna
 Getreidemarkt 9, A-1060 Vienna, Austria
 Tel: +43-1-5880115671
 Fax: +43-1-5880115698
 email: pblaha at theochem.tuwien.ac.at
 -
 ___
 Wien mailing list
 Wien at zeus.theochem.tuwien.ac.at
 http://*zeus.theochem.tuwien.ac.at/mailman/listinfo/wien