Page 1 of 1

Zr pseudopotential

Posted: Sun Nov 07, 2010 10:05 pm
by maxim
Hi, All:
Thank you for a nice tutorial at http://www.abinit.org/documentation/hel ... _paw2.html.
I am going to perform calculations of the tetragonal ZrO2-(12 mol. %)CeO2 system. Could you give me some hints about Zr pseudopotential generation. I've selected 4s24p64d25s25p0 configuration as valence. Can I add two s functions to the 4s and 5s, or only one, or to avoid adding to them. If I need to add, then please tell me how to do it. Perhaps an electronic configuration that I chose (12 electrons) is too high? Yet I could only add to 4d, since my system does not have 3d. How do I add to the 4s and 5s, and should it be done?

Here is my input:
Zr 40
GGA-PBE scalarrelativistic loggrid 700
5 5 4 0 0 0
4 2 2
5 1 0
0 0 0
c
c
c
v
v
c
c
v
v
c
v
2
2.4
n
n
y
0.
n
bloechl
3 0. troulliermartins
0

How close should be the values "evale" and "evale from matrix elements" (-306.672551210258 and -306.672645257582080 -is it enought?).
Do I chose the correct rpaw (the smallest Zr-O interatomic distance at ZrO2-(12 mol. %)CeO2 system is 3.99 bohr, rpaw for oxygen pseudopotential is 0.14 bohr).
Are my files wfn4 and wfn6 (wfn4.jpg and wfn6.jpg attached here) correct?

Best regards,
Maxim.

Re: Zr pseudopotential

Posted: Mon Nov 08, 2010 6:05 pm
by Alain_Jacques
Hello Maxim,

The 12e- valence configuration looks fine to me. If you plot the radial wavefunctions of Zr, you can see that only 4s 4p 4d and 5s have significant contributions above 2 a.u. 3d is core. I would start with a rpaw between 1.9 to 2.2 a.u. 4s and 5s are valence; add at least one s projector. 4p is valence, you added 5p empty as valence then add one more p projector and probably add two projectors for d.

For the valence electrons energy comparison, it looks fair to me - the closest the best.

To add the four projectors as mentioned earlier. A quick test input for atompaw follows; it's better than a thousand words (maybe launch atompaw interactively to follow the meaning of the different parameters) ...

Code: Select all

Zr 40
GGA-PBE scalarrelativistic loggrid 800
5 5 4 0 0
4 2 2
5 1 0
0 0 0
c
c
c
v
v
c
c
v
v
c
v
2
2.2
y
5.0
n
y
6.0
n
y
2.0
y
6.0
n
Vanderbilt
3 0. ultrasoft
2.1
2.1
2.1
2.1
2.1
2.1
2.1
2.1
2.1
0


Kind regards,

Alain

Re: Zr pseudopotential

Posted: Mon Nov 08, 2010 7:10 pm
by jzwanzig
First, for oxygen: do you really mean 0.14 Bohr? that's really small--maybe you mean 1.4 Bohr? Anyway, here is what I use mostly:

O 8
GGA-PBE loggrid 1201
2 2 0 0 0 0
2 1 4
0 0 0
c
v
v
1
1.45
y
-0.676
n
y
-1.742
n
custom rrkj
2 0 ultrasoft
1.45
1.45
1.45
1.45
1
2 1 4
0 0 0
2
default
0

Next, for Zr, the following is a good starting point:

Zr 40
GGA-PBE scalarrelativistic loggrid 1200
5 5 4 0 0 0
4 2 2
5 0 2
5 1 0
0 0 0
c
c
c
v
v
c
c
v
v
c
v
2
2.5
n
n
y
2
n
custom polynom2 7 10.0 vanderbiltortho besselshape
3 0 ultrasoft
2.5
2.5
2.5
2.5
2.5
2.5
1
4 2 2
5 0 2
5 1 0
0 0 0
2
default
0

If you are not using the very recent release of atompaw you have to remove the two lines just before the end (2 \cr default).

I tried the above pair on monoclinic ZrO2 and it seems to converge reasonably.

Joe

Re: Zr pseudopotential

Posted: Mon Nov 08, 2010 11:25 pm
by maxim
Dear jzwanzig and Alain_Jacques,
Thanks for your help.

Of course, it was typo: rpaw for oxygen was 1.4 Bohr.

Another question. Why if we have e. g. 6 basis functions, the atompaw produces 10 wfni files?
Also if we have the largest l=2 in our system, why atompaw produces logderiv.3?
Does these "extra" files have any important information?

maxim

Re: Zr pseudopotential

Posted: Tue Feb 01, 2011 11:06 pm
by maxim
Dear jzwanzig!
Ssory for this late reply.
I have just started working on this theme and I would like to know your opinion.
I have studied your dataset and found that:
1. the PS Partial waves and Projectors doesn't have the order of some units for the wfni files.
Do I have to do anything here?
2. the PS Partial wave and Projector don't have the same order of magnitude for the the wfn6 file and the logarithmic derivatives for l = 0 have a ghost state:
1.jpg

Should I add the additional partial-wave here?

I've tried to solve the ghost state problem. I have used the bessel scheme and rvloc = 2.0

Code: Select all

Zr 40
GGA-PBE scalarrelativistic loggrid 1200
5 5 4 0 0 0
4 2 2
5 0 2
5 1 0
0 0 0
c
c
c
v
v
c
c
v
v
c
v
2
2.5 2.5 2.0 2.5
n
n
y
2
n
custom polynom2 7 10.0 vanderbiltortho besselshape
3 0 bessel
2.5
2.5
2.5
2.5
2.5
2.5
1
4 2 2
5 0 2
5 1 0
0 0 0
0

and here is what I got:
2.jpg

Using another method (setting rc = 1.8 for 4s2)

Code: Select all

Zr 40
GGA-PBE scalarrelativistic loggrid 1200
5 5 4 0 0 0
4 2 2
5 0 2
5 1 0
0 0 0
c
c
c
v
v
c
c
v
v
c
v
2
2.5
n
n
y
2
n
custom polynom2 7 10.0 vanderbiltortho besselshape
3 0 ultrasoft
1.8
2.5
2.5
2.5
2.5
2.5
1
4 2 2
5 0 2
5 1 0
0 0 0
0

I've got this:
3.jpg

Which variant is correct and how to deal with the wfn6 file?
Are these datasets ready for use in abinit?

Re: Zr pseudopotential

Posted: Wed Feb 02, 2011 7:49 pm
by blackburn
Hi maxim,

I recently made a pseudo for Zr. Here's the input for atompaw:

Code: Select all

Zr 40
GGA-PBE loggrid 3001
5 5 4 0 0 0   
4 2 2
5 0 2
5 1 0
0 0 0
c
c
c
v
v
c
c
v
v
c
v
2
3.2
y
5.0
n
n
y
2.0
n
VANDERBILT   
3 0
2.0
5.0
2.5
3.0
2.0
2.0
2.0
0


It has 12 electrons. It's probably not optimal but it worked great for the system I was interested in. The projectors should be good.

Let me know if it helped / worked.

Simon

Re: Zr pseudopotential

Posted: Thu Feb 03, 2011 9:21 am
by jzwanzig
First, to Maxim: in my experience the custom polynom2 choice is almost always best for transition metals (like Zr), but also this choice seems in general to give projectors with larger amplitudes. I don't know why (Marc Torrent or Natalie Holzwarth would know I'm sure) but in general they are still usable (unless they get too big, but you won't know until you run test calculations). When you are building the PAW sets you should be also running them in abinit (at least if they look at all reasonable) on something very simple and fast; use pawprtvol -3 and look at the output, it will show you if you are getting occupations and or D_ij's that are too big for the code to work well. What I'm trying to say here is that the log derivatives etc tests in atompaw are not enough, you can make a set that looks good at this level and still doesn't give good performance in abinit. Unfortunately PAW and pseudopotential generation in general is something of an ill-posed problem (non-unique solution) so it is iterative. A critical step to success is to identify a test solid you can run in abinit quickly enough to get useful feedback. So anyway, based on the two pictures you posed, the first one looks better than the second, but try them both.

Next, regarding the input set that Simon posted, you should give that a try (see how it compares to the one I posted to you originally). The one thing you might do though is try to reduce the loggrid value, I see Simon has this set at 3001 (this is very large at least in my experience, Simon, was this really necessary? It will eat a LOT of memory--usually for transition metals something like 1500 is enough).

Joe

Re: Zr pseudopotential

Posted: Thu Feb 03, 2011 2:35 pm
by blackburn
The loggrid is indeed quite large. I don't think it's necessary to keep it at that value. I just tried it with loggrid=2001 and it looks ok (from the logderivate and wfn point-of-view).

Simon

Re: Zr pseudopotential

Posted: Sat Feb 05, 2011 9:31 pm
by maxim
Thank you.
Dear jzwanzig, blackburn - One more question. If I need to calculate the total energy to within 0.1 eV (3.68 mHartree), then I should use ecut, which converges total energy witnin 3.68 mHartree, not 1 mHartree. Right?

Re: Zr pseudopotential

Posted: Mon Feb 07, 2011 5:50 pm
by jzwanzig
Well, yes, but going from 3.68 to 1.00 seems like a small extra step to make sure you are converged to where you want to be. Also it depends a little bit what you will use your results for--remember that the total energy of the GS converges faster than many other quantities do (stress, for example).

Re: Zr pseudopotential

Posted: Thu Feb 10, 2011 11:17 am
by maxim
Alain_Jacques wrote:The 12e- valence configuration looks fine to me. If you plot the radial wavefunctions of Zr, you can see that only 4s 4p 4d and 5s have significant contributions above 2 a.u. 3d is core. I would start with a rpaw between 1.9 to 2.2 a.u. 4s and 5s are valence; add at least one s projector. 4p is valence, you added 5p empty as valence then add one more p projector and probably add two projectors for d.

Thank you.
Should I increase rpaw to a value maximally close to the interatomic distance in my solid (and what benefits it gives - the gain in speed?) or can I leave 2.2 a.u.

Best regards,
Maxim.

Re: Zr pseudopotential

Posted: Thu Feb 10, 2011 12:21 pm
by jzwanzig
Yes, you can increase r_paw in the way you indicate. You will then converge with a lower e_cut and hence faster calculations, with no loss in accuracy (PAW is equivalent to an all-electron calculation for the valence electrons, provided your set of projectors is complete). As always, though, you must test your results carefully. The most precise way to test PAW, although it's time-consuming, is by comparison with the results of a FLAPW calculation, which you can do for example with another open source code called ELK.

Re: Zr pseudopotential

Posted: Sat Feb 26, 2011 4:05 pm
by maxim
jzwanzig wrote:When you are building the PAW sets you should be also running them in abinit (at least if they look at all reasonable) on something very simple and fast; use pawprtvol -3 and look at the output, it will show you if you are getting occupations and or D_ij's that are too big for the code to work well.


Thank you all!
I've done physical quantities test of cubic zro2 using pawprtvol -3 and that's what I got:
table.jpg

Graph1.jpg

It seems that all pseudopotentials are close to FP-LAPW values. But the number of errors differs significantly: we have 0 warnings for Alain Jacques's pseudopotential, and from 44 to 76 warnings for others. The errors are:
"print_ij: WARNING - The matrix seems to have high value(s) !"
"mkdenpos : WARNING - Density went < 0 at ... points"
etc.

I posted the input, output and log files here http://www.speedyshare.com/files/270921 ... tities.zip
Thanks again.

Re: Zr pseudopotential

Posted: Wed Mar 09, 2011 10:57 pm
by maxim
I used ecut=24 Ha for the 2x2x2 cell of solid solution ZrO2-CeO2 with the vacancy. Are pseudopotentials good enough?
If not - I ran the idea of - what else can be adjusted in pseudopotential?
Thanks for your help.

Best regards,
Maxim.