Preparing a POTCAR

From VASP Wiki
Revision as of 14:17, 17 October 2023 by Wolloch (talk | contribs) (Created page with "The {{FILE|POTCAR}} is a VASP input file which holds the pseudopotentials and needs to be present in the execution directory for VASP to run. ==Step-by-step instructions== '...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The POTCAR is a VASP input file which holds the pseudopotentials and needs to be present in the execution directory for VASP to run.

Step-by-step instructions

Step 1: Select a POTCAR family.

We recommend the use of the latest available potentials, currently the potpaw_LDA.64 and potpaw_PBE.64 sets, which can be downloaded from the VASP Portal. For compatibility reasons or to reproduce older calculations, it might be necessary to use another set, e.g. potpaw_LDA.54 or potpaw_GGA. All available potentials, grouped by their families, are listed in Available_PAW_potentials.

Step 2:: Choose a pseudopotential variant.

Depending on your system, the property you want to calculate, and the method you are using different potential variants might be optimal. This choice is often non-trivial and some testing might be required. See Construction:Choosing_a_pseudopotential_variant.

Step 3: Combine the potentials.

VASP expects a single POTCAR file in the working directory, containing all species present in the structure. To combine e.g. potpaw_PBE.64 potentials for titanium (with the 3p states in the valence), carbon, and hydrogen on a UNIX machine, you might type the line:

cat ~/potpaw_PBE.64/Ti_pv/POTCAR ~/potpaw_PBE.64/C/POTCAR ~/potpaw_PBE.64/H/POTCAR > ~/your/working/dir/POTCAR

The first file will correspond to the first species in the POSCAR. If species names are given in the POSCAR, and they do not match the order in the POTCAR, a warning is printed, but VASP will still run. The order given in the POTCAR will take precedence over the order in POSCAR! If you have only one element in your structure, you can just copy the POTCAR.

Recommendations and advice

Mind: Mismatched order of species in the POSCAR and POTCAR files is a common mistake!