phonopy/example/NaCl-pwscf
Atsushi Togo 737a1c62ef Update examples 2016-09-14 16:57:58 +09:00
..
BORN Update examples 2016-09-14 16:57:58 +09:00
NaCl-001.in Update examples 2016-09-14 16:57:58 +09:00
NaCl-001.out Update examples 2016-09-14 16:57:58 +09:00
NaCl-002.in Update examples 2016-09-14 16:57:58 +09:00
NaCl-002.out Update examples 2016-09-14 16:57:58 +09:00
NaCl.in Update examples 2016-09-14 16:57:58 +09:00
NaCl.ph.in Update examples 2016-09-14 16:57:58 +09:00
NaCl.ph.out Update examples 2016-09-14 16:57:58 +09:00
README Update examples 2016-09-14 16:57:58 +09:00
band.conf Add Pwscf example 2014-10-30 23:22:49 +09:00
disp.yaml Update Pwscf NaCl example 2016-09-03 19:37:20 +09:00
header.in Update examples 2016-09-14 16:57:58 +09:00

README

This is an example of Pwscf interface.

To create supercells with displacements:

% phonopy --pwscf -c NaCl.in -d --dim="2 2 2"

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

% phonopy --pwscf -f NaCl-001.out NaCl-002.out

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

% phonopy --pwscf -c NaCl.in -p band.conf

Non-analytical term correction can be applied using --nac option by

% phonopy --pwscf --nac -c NaCl.in -p band.conf

BORN file is created running DFPT calculation using ph.x (phonon) code in the quantum espresso package. The details of howto are found in the phonopy documentation. The input and output files of the ph.x DFPT calculation are NaCl.ph.in and NaCl.ph.out.