Version 2
Version 2
Installation
● Download phonopy
– http://sourceforge.net/projects/phonopy/
● Install Python libraries that phonopy relies
● Install phonopy
% sudo apt-get install python-dev python-numpy \
python-matplotlib python-tk python-lxml python-yaml
% cd example/Si % cd example/NaCl
% phonopy -p % phonopy -p –-nac
Phonopy is
● A phonon calculation toolbox and toolkit
● Easily installed on Ubuntu (or recent distributions)
– Currently Windows and Mac OS X are out of consideration.
– Windows and Mac users are encouraged to boot Ubuntu on a
virtual machine (e.g. VMware, Virtualbox)
● Phonopy requires force calculators, e.g., it work
togather with first-principles calculations, or any
calculation that can calculate forces on atoms.
● Processes of phonopy and force calculations are
completely separated. Therefore phonopy can be
applied to any force calculator with small effort.
● Written mainly in Python
– Phonopy Python module is prepared.
Calculation steps
SPOSCAR, POSCAR-*
DISP
band.yaml mesh.yaml
Work station
Recent PCs are enough strong that usually PC can be Work station.
Tips of force calculation in VASP
INCAR of phonon calculation
PREC = Accurate
LREAL = .FALSE.
ADDGRID = .TRUE.
EDIFF = 1.0e-08
Geometry optimization of unit cell
Set EDIFFG = -1.0e-08
and relax as much as possible watching the recidual forces
Recidual forces of ~1e-4 eV/Å may be acceptable, but depends on systems.
Maybe IBRION = 2; ISIF = 3
Unit
cell
2×2
½×½
supercell
Brief introduction to phonon theory
Harmonic oscillator
Harmonic potential well V
Spring constant k
Mass m x
x
Equation of motion
F=ma=-kx
A solution is
frequency
1D-lattice connected with N.N.
Nearest neighbor
a
Mass m
n-1 n n+1 n+2
…
… …
…
Diagonalization is needed.
Multiple atoms in a unit cell are considered.
Indices μνπ... are used for internal atomic labeling.
Orthonormality
Completeness
*Here indices i, j run over the Catesian components and atom indices.
(a>0, b<0)
… …… …
Entropy
F: face centre
I: body centre
C, A, B: base centre
Go to http://www.cryst.ehu.es/
click
Brillouin zone of Fm3m
Band structure
Sample q-points along specified paths
Mesh sampling
Sample q-points on a uniform mesh
List of q-points
Sample q-points listed in QPOINTS file
Band structure mode
q-point sampling paths:
% bandplot
MP = 10 10 10
DOS is obtained by
% pdosplot -i “1 2 4 5, 3 6”
Where numbers for -i option correspond to
1x, 1y, 1z, 2x, 2y, 2z, … (numbers are atom indices.)
DOS/Thermal properties
Helmholtz free energy, entropy, heat capacity at constant
volume are calculated from phonon frequencies by
% phonopy -t
% phonopy --nac
% phonopy-qha -p -s v-e.dat \
thermal_properties_yaml_of_volume1 \
thermal_properties_yaml_of_volume2 \
thermal_properties_yaml_of_volume3 ...
This point
Animation for v_sim and else
ANIME_TYPE = POSCAR
ANIME = 1 5 4
Plus-minus displacement
Take plus-minus as default
This often also compensates residual forces.
Only plus when symmetric (automatically searched from crystal symmetry)