Phonons from finite differences: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The phonon calculations using a finite differences approach are carried out by setting {{TAG|IBRION}}=5 or {{TAG|IBRION}}=6 in the {{TAG|INCAR}} file. | The [[Phonons:_Theory#Finite_differences|phonon calculations using a finite differences approach]] are carried out by setting {{TAG|IBRION}}=5 or {{TAG|IBRION}}=6 in the {{TAG|INCAR}} file. | ||
When these flags are set the second-order force constants are computed using finite differences, the dynamical matrix is constructed and diagonalized and the phonon modes and frequencies of the system are reported in the {{FILE|OUTCAR}} file. | |||
If {{TAG|ISIF}}>=3 the internal strain tensors are computed as well. | |||
{{NB|mind|Only zone-center (Γ-point) frequencies are calculated.}} | {{NB|mind|Only zone-center (Γ-point) frequencies are calculated.}} | ||
It is possible to [[Computing_the_phonon_dispersion |obtain the phonon dispersion at different '''q''' points]] by computing the force constants on a sufficiently large supercell and Fourier interpolating the dynamical matrices in the primitive cell. | It is possible to [[Computing_the_phonon_dispersion |obtain the phonon dispersion at different '''q''' points]] by computing the force constants on a sufficiently large supercell and Fourier interpolating the dynamical matrices in the primitive cell. | ||
== Input == | == Input == |
Revision as of 09:39, 2 August 2022
The phonon calculations using a finite differences approach are carried out by setting IBRION=5 or IBRION=6 in the INCAR file. When these flags are set the second-order force constants are computed using finite differences, the dynamical matrix is constructed and diagonalized and the phonon modes and frequencies of the system are reported in the OUTCAR file. If ISIF>=3 the internal strain tensors are computed as well.
Mind: Only zone-center (Γ-point) frequencies are calculated. |
It is possible to obtain the phonon dispersion at different q points by computing the force constants on a sufficiently large supercell and Fourier interpolating the dynamical matrices in the primitive cell.
Input
There are two options to compute the second order force-constants using finite differences:
- IBRION=5, all atoms are displaced in all three Cartesian directions, resulting in a significant computational effort even for moderately sized high-symmetry systems.
- IBRION=6, only symmetry inequivalent displacements are considered, and the remainder of the force constants matrix is filled using symmetry operations.
POTIM determines the step size. The step size is defaulted to 0.015 Å (starting from VASP.5.1), if too large values are supplied in the input file. Expertise shows that this is a very reasonable compromise.
The NFREE tag determines how many displacements are used for each direction and ion:
- NFREE=2 uses central differences, i.e., each ion is displaced by a small positive and negative displacement, ±POTIM, along each of the Cartesian directions.
- NFREE=4 uses four displacements along each of the Cartesian directions ±POTIM and ±2×POTIM.
- NFREE=1 uses a single displacement (this is strongly discouraged since it can ).
Output
The main output is written to the OUTCAR file and starts with the following lines:
Eigenvectors and eigenvalues of the dynamical matrix ----------------------------------------------------
The following lines are repeated for each normal mode and a should look like the following example output:
1 f = 14.329944 THz 90.037693 2PiTHz 477.995462 cm-1 59.263905 meV X Y Z dx dy dz 0.000000 0.000000 0.000000 0.009046 -0.082007 -0.006117 0.000000 2.731250 2.731250 0.009046 0.106244 0.006563 0.000000 5.462500 5.462500 0.009046 0.082007 0.006117 0.000000 8.193750 8.193750 0.009046 -0.106244 -0.006563 ... 2 f = 14.329944 THz 90.037693 2PiTHz 477.995462 cm-1 59.263905 meV X Y Z dx dy dz 0.000000 0.000000 0.000000 0.003458 0.021825 -0.093181 0.000000 2.731250 2.731250 0.003458 0.005416 0.094689 0.000000 5.462500 5.462500 0.003458 -0.021825 0.093181 0.000000 8.193750 8.193750 0.003458 -0.005416 -0.094689 ... ...
The first number is the number for the normal mode. If it is followed by f, it is a mode on the real axis (vibrationally stable). Otherwise if it is followed by f/i, the mode is an imaginary mode ("soft mode"). The following entries are just the eigenfrequency of the mode in different units.
The following column is the label for the atomic positions in Cartesian coordinates (x,y,z) and the normalized eigenvectors of the eigenmodes in direct coordinates.
There should be 3 normal modes, where is the number of atoms in the supercell (POSCAR). The modes are ordered in descending order with respect to the eigenfrequency. The last three modes are the translational modes (they are usually disregarded).
Practical hints
To get the phonon frequencies quickly on the command line simply type the following:
grep THz OUTCAR