23vaspAS

Setup & Introduction Tutorials Tags / Variables Structures > crystals > surfaces > molecules Functions > electronic structure > ionic structure > formation energies > convergence tests > other functions 24vaspAS Database

...

Crystals


A list of all available crystal structures as of v.0.1.4 can be found here.

A handfull of variables are used to customize prebuilt POSCARs (see tags for more info):

$structure refers to the name of the structure in question. Typing $structure (after sourcing 23vaspAS) builds its POSCAR so you can easily inspect it.

Keep in mind that when setting your POTCARs (using the setpotcar function), the order of the potentials should follow the same order as in the chemical formula of the prototype of the structure you want to study. So check the list of supported crystals.

Monoclinic, triclinic and trigonal systems are not yet supported. The ability to use custom structures in a more user-friendly way will be added soon.


Vacancies:

You can add a vacancy to your (supercell) crystal POSCAR by using the following function:

addvacancy $potential $integer $integer_array v

$potential specifies the potential of the removed atom. $integer_array specifies the location of the subcell where the new vacancy shall be located. $integer_array is given as three integers in the form of "i j k" starting from "1 1 1". Lastly, $integer specifies that the n-th atom of the potential $potential in the subcell $array is the one that shall be removed. Note that $integer cannot be larger than the number of atoms (of potential $potential) per subcell! Also add the "v". Dont ask why.

If multiple vacancies shall be added, add them in decreasing order of $potential (order given by how they were supplied in the setpotcar function), $integer_array, and $integer.


Substitutions:

You can add a substitution to your (supercell) crystal POSCAR by using the following function:

addsubstitution $potential_1 $integer $integer_array $potential_2

$potential_1 specifies the potential of the removed atom. $potential_2 specifies the potential of the new atom. $integer_array specifies the location of the subcell where the new vacancy shall be located. $integer_array is given as three integers in the form of "i j k" starting from "1 1 1". Lastly, $integer specifies that the n-th atom of the potential $potential in the subcell $array is the one that shall be removed. Note that $integer cannot be larger than the number of atoms (of potential $potential) per subcell!

This function also updates the potentials automatically. No need to do an extra "setpotcar".

If multiple substitutions shall be made, add them in decreasing order of $potential (order given by how they were supplied in the setpotcar function), $integer_array, and $integer.


...