How to run
The Wien2k-phonopy calculation works as follows:
Read a Wien2k struct file with the P lattice format and create supercells with the Wien2k struct format of P lattice using
--wien2koption (--wien2k):% phonopy --wien2k -d --dim="2 2 2" -c case.struct
In this example, 2x2x2 supercells are created.
case.structSandcase.structS-xxx(xxxare numbers) are the perfect supercell and the supercells with displacements, respectively. Perhaps these are renamed tocase-xxx.structand stored incase-xxxdirectories, then to be calculated using Wien2k.Calculate forces on atoms in the supercells with displacements. It is necessary to use
case.struct_nnfile when runninginit_lapw. Note thatcase.struct_sgroupfile can’t be used with phonopy. In the Wien2k calculations, the force convergence option of-fchas to be specified to obtaintotal forces. A first attempt of the force convergence criterion may be 0.1 (mRy/a.u.). It is recommended to try more strict convergence criteria with saving one by one usingsave_lapw.Create
FORCE_SETSUse
scf2forcesthat is found at http://www.wien2k.at/reg_user/unsupported/.Or try experimetal support of
-foption:% phonopy --wien2k -f case-001.scf case-002.scf ...
where
case-xxx.scfare the Wien2k results for the supercells.case-xxx.scfhas to containFGLxxxlines withtotal forces. When calculating supercells, the number of non-equivalent atoms determined bynnhas to match with the number of non-equivalent atoms determined byphonopy. The former is found to watchcase-xxx.structafternn(it is supposed thatcase-xxx.structcreated bynnis used to calculate forces), and the later is displayed in the step 1. An example is found inexample/NaCl-wien2k.The above procedure with
-foption may fail. In this case, Wien2k calculations ofcase-xxx.scfwith P1 symmetry may be used for phonopy testing purpose though it computationally demands a lot. If phonopy finds thatcase-xxx.scfare calculated with P1 symmetry, phonopy handles this as a special case. An example is found inexample/NaCl-wien2k-P1.
Run post-process of phonopy with the Wien2k unit cell struct file used in the step 1:
% phonopy --wien2k -c case.struct --dim="2 2 2" [other-OPTIONS] [setting-file]
Phonopy can read only the P lattice format. Therefore you have to
convert your struct file to that with the P lattice format. This may
be done using supercell script in the Wien2k package by making
1x1x1 supercell.

0 Comments