Total Magnetization

Total energy, geometry optimization, DFT+U, spin....

Moderator: bguster

Locked
asmartins
Posts: 4
Joined: Sat Mar 06, 2010 12:48 pm

Total Magnetization

Post by asmartins » Sat Mar 06, 2010 12:55 pm

Hellow everybody,

I'm interested to get the total magnetization of 3d transition metal dimers adsorbed on surfaces. Starting from a relaxed configuration I did just a SCF calculation (without moving the ions), but ABINIT does not comput the total magnetization for the spin polarized option. I restart the calculation (moving the ions) using ionmov = 2 and even in this case, up to now, the program does not compute the total magnetization. Is it possible to get it after the run? For example, using the cut3d post-processing tool and the generated density file is it possible? Thank you very much,

Adriano de Souza Martins

mverstra
Posts: 655
Joined: Wed Aug 19, 2009 12:01 pm

Re: Total Magnetization

Post by mverstra » Sat Mar 06, 2010 6:24 pm

Ola' Adriano!

Have you set spinat to a non-zero value? If so, and nsppol = 2, you will calculate the magnetization (search for mag* in the log).

Note that with PAW it is not printed on the ETOT .... lines, but only towards the end of the SCF cycle. For PAW you may also want to add prtdensph http://www.abinit.org/documentation/helpfiles/for-v6.0/input_variables/vargs.html#prtdensph 1 to get more detail.

ciao

Matthieu
Matthieu Verstraete
University of Liege, Belgium

asmartins
Posts: 4
Joined: Sat Mar 06, 2010 12:48 pm

Re: Total Magnetization

Post by asmartins » Sat Mar 06, 2010 9:06 pm

Hi Mathieu!

Thank for your reply! Cheers,

Adriano

asmartins
Posts: 4
Joined: Sat Mar 06, 2010 12:48 pm

Re: Total Magnetization

Post by asmartins » Sun Mar 07, 2010 2:22 am

Olá Matthieu,

I was waiting for the calculations that I have submited to finish: the TOTAL magnatization is not given! Yes, I used nsspol = 2 option and I assigned Spinat = 1 to the two transition metal atoms (Co) and zero to all others. The program gives the maximun and the minimum value of the magnetization only.

Thank you again! Ciao ragazzo,

Adriano


The PRTDENSPH option works only to PAW calculations.

mverstra wrote:Ola' Adriano!

Have you set spinat to a non-zero value? If so, and nsppol = 2, you will calculate the magnetization (search for mag* in the log).

Note that with PAW it is not printed on the ETOT .... lines, but only towards the end of the SCF cycle. For PAW you may also want to add prtdensph http://www.abinit.org/documentation/helpfiles/for-v6.0/input_variables/vargs.html#prtdensph 1 to get more detail.

ciao

Matthieu

mverstra
Posts: 655
Joined: Wed Aug 19, 2009 12:01 pm

Re: Total Magnetization

Post by mverstra » Sun Mar 07, 2010 10:17 am

For NC pseudopotentials, (see test 83 of v2/ in tests/v2/Refs/t83.out) or for PAW (v4/08) you should get lines like

Code: Select all

 Magnetisation (Bohr magneton)=  4.27337486E-01
 Total spin up =  5.21366874E+00   Total spin down =  4.78633126E+00


which is what you want, right? Otherwise we'd need to see the output file. It could be that this is in output but not log...

Matthieu
Matthieu Verstraete
University of Liege, Belgium

mverstra
Posts: 655
Joined: Wed Aug 19, 2009 12:01 pm

Re: Total Magnetization

Post by mverstra » Sun Mar 07, 2010 12:26 pm

PS: you need to be sure that occopt >=3 and tsmear is set. If you leave semiconductor occupations, both spin channels are occupied the same way and you get 0 magnetization: indeed the magnetization is not even calculated, as you don't need to find the Fermi level. With metallic occopt the system has a common Ef and the 2 spin channels are shifted such that one is more filled than the other.

The only case you would want to do this in is for and AFM semiconductor, but even then I would recommend metallic occopt so you are sure you get a reasonable ground state and are not missing a metallic state by forcing semiconducor occupations (and you get a calculation of the magnetic moments, as you have noticed).
Matthieu Verstraete
University of Liege, Belgium

mverstra
Posts: 655
Joined: Wed Aug 19, 2009 12:01 pm

Re: Total Magnetization

Post by mverstra » Mon Mar 08, 2010 1:21 pm

> Thanks for the help! In fact, I'd like to enforce the AFM option, in order
> to comparing with the FM results. However, when I use nsym = 0 and keeping
> nspol = 1, the program generates an error:
>
> -----------
> chkinp: ERROR -
> When nsppol==1 and nspden==2, at least one of the symmetry operations
> must be anti-ferromagnetic (symafm=-1), in order to deduce the spin-down
> density from the spin-up density. However, it is observed that none of the
> symmetry operations is anti-ferromagnetic.
> Action : Check the atomic positions, the input variables spinat, symrel,
> tnons, symafm. In case your system is not antiferromagnetic (it might be
> ferrimagnetic ...), you must use nsppol=2 with nspden=2 (the latter being
> the default when nsppol=2).
> ------------


Hi again Adriano:

in order to use the afm symmetries and the nsppol 1 nspden 2 you need to have a (spatial) symmetry operation that relates the 2 spin equivalent states (up+down vs. down+up). Abinit then uses that symmetry to reconstruct the other wavefunction when it is needed. In your case you have no such symmetry, and you probably will not get exact AFM order, because one of the Co will be slightly closer to the surface, or adsorbed on a different site, whatever. If you do think the geometry is exactly symmetrical then you may need more precision in the positions for abinit to see the symmetry (or increase tolsym if you are using 6.0, but this is an ugly solution).

In your case you have to do the explicit nsppol=2 calculation, and hope that the AFM is the ground state, if that is what you are looking for. It may be that FM and AFM are both metastable, and then the initial value of spinat will determine which will be found after the SCF cycles. In a plane wave basis it is not as easy to impose a local magnetic moment as it is for localized basis sets.

Matthieu
Matthieu Verstraete
University of Liege, Belgium

Locked