by Sebastian Tillack for exciting neon
Purpose: In this tutorial, you will learn how to compute Born effective charges from the macroscopic polarization in zincblende crystals.
0. Theoretical background
The Born effective charge (or dynamical charge) ${\bf Z}_\alpha^\star$ of an atom $\alpha$ describes the effective dipole ${\bf p}$ that is induced in the unit cell due to a displacement ${\bf d}$ of the atom from its equilibrium position:
(1)Note, that in general, ${\bf Z}_\alpha^\star$ is a 3$\times$3 tensor and the dipole moment is not necessarily parallel to the displacement. The Born effective charge tensor is defined as the negative second derivative of the total energy with respect to an external electric field ${\bf \mathcal{E}}$ and the atomic position ${\bf \tau}_\alpha$ evaluated at the equilibrium position:
(2)In practice, we compute the Born effective charges from the macroscopic polarization ${\bf \mathcal{P}}$ that is given by
(3)where $\Omega$ is the unit cell volume. With that, the charge tensor reads
(4)In order to evaluate the macroscopic polarization, we employ the so-called Berry phase approach.
Being defined via the derivative of the polarization with respect to nuclei displacements, Born charges are naturally closely connected to phonons. Therefore, we will use the phonons element to compute them. See also Lattice Dynamics of Diamond and Zincblende-Structure Crystals.
1. Born effective charges using finite differences
In order to compute Born charges using finite differences, we have to run supercell phonon calculation at the Γ-point. First create and enter the new directories.
$ cd /home/tutorials/
$ mkdir cBN-Borncharges
$ cd cBN-Borncharges
$ mkdir supercell
$ cd supercell
We need to displace each atom in the unit cell in each of the Cartesian directions and evaluate the macroscopic polarization. This procedure is very similar to a Γ-point phonon calculation. Therefore, the Born effective charges are implemented as a side product of a regular Γ-point phonon calculation. I.e., in order to trigger a Born effective charge calculation, we need to include the phonons element in the input file.
<input> <title>cBN Born effective charges - supercell</title> <structure speciespath="$EXCITINGROOT/species/"> <crystal scale="6.850832"> <basevect>0.0 0.5 0.5</basevect> <basevect>0.5 0.0 0.5</basevect> <basevect>0.5 0.5 0.0</basevect> </crystal> <species speciesfile="B.xml"> <atom coord="0.00 0.00 0.00"/> </species> <species speciesfile="N.xml"> <atom coord="0.25 0.25 0.25"/> </species> </structure> <groundstate do="fromscratch" ngridk="4 4 4" rgkmax="4.0" gmaxvr="14" xctype="GGA_PBE" swidth="0.0001" /> <phonons do="fromscratch" method="sc" ngridq="1 1 1" > </phonons> </input>
Note, that we set the attribute ngridq = "1 1 1" which corresponds to a phonon calculation at Γ only.
Start the calculation with
$ SETUP-excitingroot.sh
$ time exciting_smp
Once the calulcation is finished, you will find the result for the Born effective charges in the file ZSTAR.OUT. Its content looks like
# Born effective charge tensors for all atoms.
# Rows correspond to E-field direction.
# Columns correspond to atom displacement direction.
# Acoustic sum rule has been imposed.
#
# species 1 atom 1 (B 1) : 0.000000 0.000000 0.000000
2.0047794515 0.0000088342 0.0000087245
0.0000146861 2.0052228010 0.0000146861
0.0000675616 0.0000675616 2.0019760711
# species 2 atom 1 (N 1) : 0.250000 0.250000 0.250000
-2.0047794515 -0.0000088342 -0.0000087245
-0.0000146861 -2.0052228010 -0.0000146861
-0.0000675616 -0.0000675616 -2.0019760711
# Acoustic sum rule correction (add to each tensor above to get original value)
-0.0000045591 0.0000017879 0.0000017451
0.0000005652 -0.0000045701 0.0000005652
0.0000005367 0.0000005367 -0.0000052148
For each atom in the unit cell, it gives the full charge tensor in units of the elementary charge. In cubic zincblende crystals, the charge tensor is diagonal and isotropic and can effectively be described by a scalar value. In this example, we obtain an effective charge of about ±2.00 for the boron and nitrogen atom, respectively.
In theory, the Born effective charge tensors obey the acoustic sum rule, i.e., that the sum over all atoms is zero. We automatically impose the acoustic sum rule by subtracting the actual sum of all charge tensors divided by the total number of atoms from the charge tensor of each atom. The last block in the file gives the correction that was necessary to impose the acoustic sum rule. Ideally, it should be zero.
Note, that the actual values for the macroscopic polarization for each displacement can be found the files POLARIZATION_fileext.OUT in the directories Q0000_0000_0000_S##_A###_P#, where fileext is the filename extension described in Lattice Dynamics of Diamond and Zincblende-Structure Crystals. See also the input element polarization.
2. Born effective charges from DFPT
Alternatively, the derivatives can be evaluated using density-functional perturbation theory (DFPT) instead of finite differences. Create a new directory and copy the input file there.
$ cd ..
$ mkdir dfpt
$ cp supercell/input.xml dfpt/
$ cd dfpt
We only need to make a small change to the input file. We have to change method to dfpt.
<input> <title>cBN Born effective charges - DFPT</title> ... <phonons do="fromscratch" method="dfpt" ngridq="1 1 1" > </phonons> </input>
Run the calculation with
$ SETUP-excitingroot.sh
$ time exciting_smp
ZSTAR.OUT now looks like
# Born effective charge tensors for all atoms.
# Rows correspond to E-field direction.
# Columns correspond to atom displacement direction.
# Acoustic sum rule has been imposed.
#
# species 1 atom 1 (B 1) : 0.000000 0.000000 0.000000
2.0052077990 0.0000000000 0.0000000000
0.0000000000 2.0052077990 0.0000000000
0.0000000000 0.0000000000 2.0052077990
# species 2 atom 1 (N 1) : 0.250000 0.250000 0.250000
-2.0052077990 0.0000000000 0.0000000000
0.0000000000 -2.0052077990 0.0000000000
0.0000000000 0.0000000000 -2.0052077990
# Acoustic sum rule correction (add to each tensor above to get original value)
0.0002667400 0.0000000000 0.0000000000
0.0000000000 0.0002667400 0.0000000000
0.0000000000 0.0000000000 0.0002667400
Note, that in the case of a DFPT calculation, the charge tensors are symmetrized using the crystal symmetries (in contrast to the supercell result).
Exercises
- The calculation presented here for cubic boron nitride can be repeated for silicon carbide. Use the PBE exchange-correlation functional and an equilibrium lattice parameter of 8.27884 Bohr.
- Which result do you expect for the Born effective charges in diamond? Examine the file ZSTAR.OUT in the directory diamond-phonons/ in your home directory and explain the result.