next up previous contents
Next: Bulk calculations with internal Up: Examples Previous: Examples   Contents


Simple bulk calculations

Bulk calculations are the easiest calculations which can be performed using VASP.

About which files do you have to worry:


param.inc
INCAR
POSCAR
POTCAR
KPOINTS
A minimal INCAR file is strongly encouraged: the smaller the INCAR file the smaller the number of possible errors. In general the INCAR file might look like:

SYSTEM = Pd: fcc

 Electronic minimisation
   ENCUT  = 200.00 eV  ! energy cut-off for the calculation (optional)
   ENAUG  = 350.00 eV  ! energy cut-off for the augmentation charges

 DOS related values
   ISMEAR =    -5;     ! tetrahedron method with Bloechel corrections
For bulk calculation without internal degrees of freedom we recommend the tetrahedron method with Bloechel corrections. The method converges rapidly with the number of k-points and requires only minimal interference of the user. It is a good practice to specify the energy cutoffs (ENCUT and ENAUG) manually in the INCAR file, but please always check the POTCAR file ( grep ENMAX POTCAR and grep EAUG POTCAR, the maximal ENMAX corresponds to ENCUT, and the maximal EAUG to ENAUG).

VASP.3.2 only:
If your cell contains only one atomic species the param.inc file will be similar to (use the makeparam utility to create this file, before running makeparam be sure that you POSCAR file corresponds to the most expanded volume):


C-----General parameters always needed ...
      PARAMETER(NGX=12,NGY=12,NGZ=12,NGXF=16,NGYF=16,NGZF=16)
      PARAMETER(NTYPD=1,NIOND=1,NBANDS=10,NKDIM=200)
      PARAMETER(NRPLWV=257,NPLINI=10)
      PARAMETER(NRPLWL=1,NBLK=16,MCPU=1)

C-----Parameter for non-local contribution
      PARAMETER(LDIM=8,LMDIM=18,LDIM2=LDIM*(LDIM+1)/2,LMYDIM=10)
      PARAMETER(IRECIP=1,IRMAX=1000,IRDMAX= 10000)
The NGX,Y,Z setting given above will be sufficient even for relatively accurate calculations, the augmentation part (NGXF...) will be also sufficient in most cases. With this file it is possible to use reciprocal and the real space projectors (for reasons of efficiency only reciprocal projectors should be used for such a small cell).

The KPOINTS file might have the following contents:


Monkhorst Pack
0
Monkhorst Pack
 11 11 11
 0  0  0
The number of k-points and therefore the mesh-size depends on the necessary precision. In most cases, a $11\times 11\times 11$ mesh (leading to a mesh containing approximately 60 points) is sufficient to converge the energy to within $10$ meV (see also section 8.6), and might be used as some kind of default for bulk calculations. If the system is semiconducting, you can often reduce the grid to $4\times 4\times 4$ (also read section 8.6). For very accurate calculations (energy differences 1 meV), it might be necessary to increase the number of k-points continuously, and to check when the band-structure energy is converged (for most transition metals a mesh of $15\times 15\times 15$ is sufficient).

A typical task performed for bulk materials is the calculation of the equilibrium volume. Unless absolute convergence with respect to the basis set is achieved, volume relaxation's using the stress tensor are not recommended and calculations with a constant energy cut-off (CEC) are considered to be preferable to calculations with a constant basis set (CBS) (see section 7.6). Due to the same reason you should not try to obtain the equilibrium volume from calculations which differ in the lattice constant by a few hundreds of an Angstrom. These calculations tend to be CBS calculation and not a CEC calculation (for a very small change in the lattice constant the basis set will remain unchanged). It is preferable to fit the energy over a certain energy range to a equation of states. A simple loop over different bulk parameters might be done using a UNIX shell script:


rm WAVECAR
for i in 3.7 3.8 3.9 4.0 4.1
do
cat >POSCAR <<!
fcc:
   $i
 0.5 0.5 0.0
 0.0 0.5 0.5
 0.5 0.0 0.5
   1
cartesian
0 0 0
!
echo "a= $i" ; vasp
E=`tail -1 OSZICAR` ; echo $i $E >>SUMMARY.fcc
done
cat SUMMARY.fcc
After a run the file SUMMARY.fcc contains the energy for different lattice parameters. The total energy can be fitted to some equation of states to obtain the equilibrium volume, the bulk-modulus and so on. Using the script and the parameter files given above a simple energy-volume calculation is possible.

Exercise 1: Perform a simple calculation using the INCAR file given above. Read the OUTCAR-file carefully. Somewhere in the OUTCAR file a set of parameters is written beginning with the line


 SYSTEM =  Pd: fcc
These lines give a complete parameter setting for the job and might be cut from the OUTCAR file and used as a new INCAR file. Go through the lines and figure out, what each parameter means. Using the INCAR and the batch file given above, what is the default setting of ISTART for the first and for all following runs? Is this a convenient setting (constant energy cut-off -- constant basis set) ?

Exercise 2: Increase the number of KPOINTS till the total energy is converged to 10 meV. Start with a $5\times5\times5$ k-points mesh. Is the equilibrium volume still correct for the $5\times5\times5$ k-points mesh? Repeat the calculation for a different smearing (ISMEAR=1). Which choice is reasonable for SIGMA?

Exercise 3: Calculate the equilibrium lattice constant for different bulk phases (e.g. fcc, sc, bcc) and for different cut-offs ENCUT. The energy differences between different bulk phases (e.g. $\delta E = E_{\rm fcc} - E_{\rm bcc}$) will converge rapidly with the cut-off.

Exercise 4: Calculate the Pulay stress for a specific energy cut-off. Then relax the configuration by setting the Pulay stress explicitly (see section 7.6). Such a calculation requires to set the following parameters in the INCAR file:

\begin{eqnarray*}\vspace*{1mm}
NSW & = &\mbox{number of ionic steps} \\
ISIF & ...
...he relaxation} \\
POTIM & = &\mbox{size of trial step for ions}
\end{eqnarray*}




Use the conjugate-gradient algorithm.


next up previous contents
Next: Bulk calculations with internal Up: Examples Previous: Examples   Contents
Georg Kresse
2007-03-01