phonopy/example/Si-abinit
Atsushi Togo d0cb626b0f Refactoring using formatter 2021-10-17 08:11:06 +09:00
..
README User interface is largely modified to accept various force calculators. 2014-10-31 12:38:13 +09:00
Si.in Abinit example 2014-10-30 13:00:11 +09:00
disp.yaml Abinit example 2014-10-30 13:00:11 +09:00
supercell-001.out Refactoring using formatter 2021-10-17 08:11:06 +09:00

README

This is an example of Abinit interface.

To create supercells with displacements:

% phonopy --abinit -c Si.in -d --dim="2 2 2"

A perfect 2x2x2 supercell (supercell.in) and one 2x2x2 supercells
(supercell-xxx.in) of the conventional unit cell written in Si.in are
created. In addition, disp.yaml file is created. After force
calculation with the crystal structure in supercell-001.in, it is
needed to create FORCE_SETS file by

% phonopy --abinit -f supercell-001.out

Here .out files are supposed to contain the forces on atoms calculated
by Abinit and filenames can be chosen freely. The disp.yaml file has
to be put in the current directory. Now you can run phonon
calculation, e.g.,

% phonopy --abinit -c Si.in -p --dim="2 2 2" --pa="0 1/2 1/2 1/2 0 1/2 1/2 1/2 0" --band="1/2 1/2 1/2 0 0 0 1/2 0 1/2"