Menu

(no subject)

Elk Users
2020-06-13
2020-06-30
  • Andrea Pedrielli

    Hi,
    I'm trying to relaxing the Ce2O3 structure, however I find various problems such as the symmetry broken of the unit cell and the difficult to converge the RMS change in Kohn-Sham potential.
    I'd like any advice on possible improvement to my input.

    Best,
    Andrea

    tasks
       2
    
    dft+u
      1 1                             : dftu,inpdftu
      1 3  0.220496  0.0                    : is, l, U, J
    
    latvopt
      1
    
     xctype
      3
    
      mixtype
      1
    
    ! highq
    ! .true.
    
    nempty
      20
    
    reducebf
      0.8
    
    swidth
      0.001
    
    spinpol
      .true.
    
    spinorb
      .true.
    
     scale
      1.00000000000
    
    avec
       7.239804820       0.000000000       0.000000000
      -3.619902410       6.269846270       0.000000000
       0.000000000       0.000000000       11.47246979
    
    atoms
       2                                    : nspecies
    'Ce.in'                                 : spfname
       2                                    : natoms; atpos, bfcmt below
        0.666667  0.333333  0.754120         0.00000000  0.00000000 -0.10000000
        0.333333  0.666667  0.245880         0.00000000  0.00000000  0.10000000
    'O.in'                                  : spfname
       3                                    : natoms; atpos, bfcmt below
        0.666667  0.333333  0.357418    0.00000000  0.00000000  0.00000000
        0.333333  0.666667  0.642582    0.00000000  0.00000000  0.00000000
        0.000000  0.000000  0.000000    0.00000000  0.00000000  0.00000000
    
    sppath
      '../../species/'
    
    !autokpt
    ! .true.
    
    ngridk
     3 3 3
    
     
  • Andrea Pedrielli

    In particular the cell is strongly deformed, I attach the initial and final structure.

     
  • J. K. Dewhurst

    J. K. Dewhurst - 2020-06-13

    Hi Andrea,

    Is it your intention that the unit cell be hexagonal?

    Regards,
    Kay.

     
  • Andrew Shyichuk

    Andrew Shyichuk - 2020-06-17

    Dear Andrea,

    I am doing a related calculation right now, on Lu2O3.

    The problem with convergence is the first thing to solve. Having a stable SCF (task 0/1) is the basis for further calculations.
    I recommend trying the following:

    1. This setting generally helps in geometry-related jobs, just make sure that there is no atom at fractional coordinates 0.25 0.125 0.625.
    vkloff
      0.25 0.125 0.625
    
    1. Use high quality:
    highq
    t 
    
    1. I prefer using manual MT radii. Check different values for Ce in the 2-2.5 range. Use the largest at which the calculation converges. My usual value for O is 1.45. Small O RMT decreases chances of RMTs being changed during the optimization. Changing RMTs mean changing basis, which renders the whole optimization unstable.

    2. Try larger k-point grid. Your 3 3 3 is way too small for this tiny cell. I bet it should be 7 7 7 or something like that.

    radkpt
    50
    
    autokpt
     t
    

    See what kind of grid this will create, and then specify it with ngridk.
    Also, best way is to do a series of SCFs with different grids - total energy should converge with the increasing grid.

    1. Try using momfix and fsmtype=2 to specify target moments on atoms, it is generally better than reducebf:
    mommtfix
    1          : species 
    1          : atom
    0 0 1  : xyz moment
    1
    2
    0 0 -1
    
    fsmtype
    2 
    

    That, however, might not work due to the fact that some portion of the moment might end up in the interstitial region, resulting in MT moments smaller than 1. If that happens, replace the target moment value (1) with the "converging" value.

    1. Try optimizing your +U parameters, there are approaches to do that self-consistently. However, I'd made sure the calculation runs smoothly without +U, and then apply +U.

    2. Try using SCAN meta-GGA (with libxc), without +U. The system is small, it might work in reasonable time. With SCAN, however, set ptnucl to false, nuclei will not be point charges (they will be spheres of the experimental nucleus radii), resulting in smaller jumps in potential at the nuclei.

    ptnucl
     f
    

    Hope that helps.
    Good luck!
    Andrew

     
  • J. K. Dewhurst

    J. K. Dewhurst - 2020-06-30

    Dear Andrea and Andrew,

    The first problem is that Elk was not recognising the crystal structure as trigonal. This is because you have not specified the cell parameters precisely enough.

    Elk uses the parameter 'epslat' to determine if two lattice vectors or atomic coordinates are the same. By default, epslat is set to 10⁻⁶. Your lattice parameters are not within this tolerance and hence Elk found only one crystal symmetry. See the files SYMLAT.OUT and SYMCRYS.OUT for the list of lattice and crystal symmetries.

    Second, the structural opimisation code has been improved since version 6.3.2. One of the problems with performing lattice optimisation with most codes is that the number of plane waves (or augmented plane waves in the case of Elk) change discontinuously as the lattice vectors are changed. This is hard to mitigate for APW codes. Consequently, the energy can change discontinuously with lattice parameter.

    Anyway, I've managed to optimise your structure with Elk version 6.8.4. Here is the updated input file:

    tasks
      2
    
    latvopt
      1
    
    deltast
      0.01
    
    maxlatvstp
      100
    
    highq
     .true.
    
    ngridk
      4  4  4
    
    ptnucl
     .false.
    
    epsengy
      1.e-5
    
    dft+u
      1 1                             : dftu,inpdftu
      1 3  0.220496  0.0                    : is, l, U, J
    
    reducebf
      0.8
    
    spinorb
      .true.
    
    cmagz
      .true.
    
    avec
       7.239804820   0.000000000      0.000000000
      -3.619902410   6.269854892561   0.000000000
       0.000000000   0.000000000      11.47246979
    
    atoms
       2                                    : nspecies
    'Ce.in'                                 : spfname
       2                                    : natoms; atpos, bfcmt below
        0.666666667  0.333333333  0.754120         0.00000000  0.00000000 -0.10000000
        0.333333333  0.666666667  0.245880         0.00000000  0.00000000  0.10000000
    'O.in'                                  : spfname
       3                                    : natoms; atpos, bfcmt below
        0.666666667  0.333333333  0.357418    0.00000000  0.00000000  0.00000000
        0.333333333  0.666666667  0.642582    0.00000000  0.00000000  0.00000000
        0.000000000  0.000000000  0.000000    0.00000000  0.00000000  0.00000000
    

    I've attached various output files generated during the optimisation run

    Regards,
    Kay.

     

Log in to post a comment.