As a first step, we need to create a supercell (we generate a supercell, just to illustrate that some atoms are equivalent). FHI-vibes can automatically suggest a cubic supercell (or at least as close as possible to the cubic shape) for a certain number of atoms. Type:
As a first step, we need to create a supercell (we generate a supercell, just to illustrate that some atoms are equivalent and in practice the calculations should be done with just a primitive cell). FHI-vibes can automatically suggest a cubic supercell (or at least as close as possible to the cubic shape) for a certain number of atoms. Type:
@@ -147,6 +147,11 @@ Note that because of the cubic symmetry the BEC and dielectric tensors are diago
```
The script `postprocessing.py` extracted the value for the full polarization and calculates the BEC according to the Eq. (1).
Note that BEC's of Mg and O in principle should sum up to zero -- slight deviation from this rule comes from the accuracy of our calculations.
*FHI-aims* contains a bunch of scripts, which can be used to simplify the work. These scripts are stored in the `utilities` folder in root directory of *FHI-aims* distribution. Among all the utilities there is a script
`BEC.py`, which can be used for the calculations of the BEC. In the `solutions` folder for this exercise you could find an example of calculations done with this script. Information about the usage of the script can be found in the
*FHI-aims* manual.
## Calculation of phonon band structure including NAC