IR spectra¶
The infrared (IR) spectrum calculation in vibrant is based on the post-processing of either Berry-phase dipole moments or Wannier centers. In principle, vibrant can compute both static or molecular-dynamics (MD)-based IR spectra. More details are provided in the following sections.
a) Static IR intensities¶
The static IR calculation in vibrant relies on the normal mode analysis within the harmonic approximation. The static IR intensities are computed from the derivatives of the dipole moments \(\boldsymbol{\mu}\) with respect to the mass-weighted normal mode coordinates \(Q_{p}\). The following equation is used to generate the final static IR spectrum static IR spectrum:
where \(\varepsilon_{0}\) is the vacuum permittivity, \(N_{A}\) is the Avogadro constant and \(c\) is the speed of light. \(\tilde{\nu_{p}}\) is the wavenumber defined as \(\tilde{\nu_{p}}=\nu_{p}/c\). The derivative is in practice calculated for dipole moment component \(\alpha \in {x,y,z}\)
where \(\tilde{u}_p(kl)\) is the mass-weighted, orthonormal eigenvector component for atom \(k\) along Cartesian coordinate \(l\) and \(m_k\) is the atomic mass.
For each displaced structure (see Section Frequencies for details) the user must provide the dipole moments appended in a single file (see File Formats for more details.) For the derivatives along the normal modes, the user can either provide the normal mode coordinates or alternatively the forces for each displaced structure, together with the cartesian coordinates of the optimized geometry. An example input for the static section may look like:
&global
spectra IR
fwhm <full_width_at_half_maximum>
&end global
&system
filename <optimized_geometry_file_name>
&end system
&static
diag_hessian y
&hessian
force_file <FORCE_FILE_NAME>
&end hessian
displacement <amount_of_displacement>
&end static
or if the user wants to skip the Hessian diagonalization and give the normal mode frequencies and eigenvectors externally, the input section becomes:
&global
spectra IR
fwhm <full_width_at_half_maximum>
&end global
&system
filename <optimized_geometry_file_name>
&end system
&static
diag_hessian n
normal_freq_file <normal_mode_frequency_file>
normal_displ_file <normal_mode_displacement_file>
displacement <amount_of_displacement>
write_mol_file
&end static
vibrant applies Gaussian broadening to the final discrete set of frequencies and intensities. The fwhm keyword controls the full width at half-maximum (FWHM) value in cm \({^{-1}}\) and if not specified, it is set to 5 cm \({^{-1}}\).
Note
The keyword write_mol_file is optional and it executes the printing of a <filename>.mol file, which includes the optimized geometry (Å), normal mode frequencies (cm\(^{-1}\)), non-mass-weighted eigenvectors in atomic units (Bohr) and the non-broadened IR intensities. The <filename>.mol file can be opened with MOLDEN to visualize the normal modes alongside the IR spectrum.
The final static IR intensities are reported in km/mol.
b) MD-based IR intensities¶
In an MD-based IR calculation, the dipole moment derivatives along the normal mode coordinates \(Q_{p}\) are replaced with the time derivatives of the dipole moment autocorrelation functions. We applied fast Fourier transformations to the time-domain dipole autocorrelations using the FFTW library to convert them into the frequency-domain. The following equation is used to generate the final MD-based IR spectrum:
where \(\tau\) and \(t\) refer to the times for two different snapshots, \(\varepsilon_{0}\) is the vacuum permittivity, \(N_{A}\) is the Avogadro constant, \(c\) is the speed of light, \(k_{B}\) is the Boltzmann constant, \(T\) is the temperature and \(\tilde{\nu}\) is the wavenumber. The final MD-based IR intensities are reported in K cm km\mol.
The MD-based IR intensities can be computed either from the Berry phase dipole moments or Wannier centers. The latter can also be used to extract spectra of user-specified molecular blocks or fragments.
Warning
The MD-based spectrum should contain the cell subsection alongside the md section. Because the dipole moment in periodic systems is ill-defined (i.e. only defined modulo a polarization quantum), it may exhibit discontinuous jumps. vibrant automatically detects and corrects these jumps by subtracting the integer multiples of polarization quantum, ensuring continuous dipole trajectories. cell subsection provides the cell parameters which are necessary to calculate the polarization quantum.
An example input section may look like:
&global
spectra MD-IR
&end global
&system
&cell
box_x <x_vector_of_cell>
box_y <y_vector_of_cell>
box_z <z_vector_of_cell>
angle_alpha <angle_between_x_and_z>
angle_beta <angle_between_y_and_z>
angle_gamma <angle_between_x_and_y>
&end cell
&end system
&md
time_step <MD_time_step>
correlation_depth <correlation_depth>
&end md
Note
vibrant applies the same post-processing to the final MD-based IR intensities as given in the subsection Spectral refinement, including the application of data mirroring and Hann Window function to the autocorrelation data and the application of the sinc function to the final intensities.
c) Dipole moment types¶
As stated above, the MD-based IR intensities can be computed either from the Berry phase dipole moments (for the whole supercell) or Wannier centers. The Berry phase dipole moment describes the overall polarization of a periodic system by tracking how the electronic wavefunctions change across the supercell, giving a consistent way to define dipoles in materials with periodic boundaries.
Wannier functions are localized orbitals obtained from a unitary transformation of Bloch states; maximally localized Wannier functions (MLWFs) apply an optimization procedure to achieve the most localized and unique representation. Wannier centers are the cartesian coordinates of the MLWFs in real-space. The dipole moments can be computed through Wannier centers employing:
where the distance vectors \(\mathbf{\tilde{r}}_{i}^{\mathrm{WC}} = \mathbf{r}_i^{\mathrm{WC}}-\mathbf{r}_0\) and \(\mathbf{\tilde{R}}_{i} = \mathbf{R}_i-\mathbf{r}_0\) are implemented with periodic boundary conditions (PBCs) and \(\mathbf{r}_0\) is a reference point, which is the center of mass in vibrant. \(\mathbf{R}_{i}\) and \(Z_{i}\) denote the atomic positions and charges, respectively.
Note
The static IR intensities currently can only be computed from the Berry phase dipole moments provided for the whole system.
The selection of the dipole moment type is controlled with the keyword type_dipole. An example input section for the specification of Berry phase dipole moments may look like:
&dipoles
type_dipole berry
dip_file <DIPOLE_FILE_NAME>
&end dipoles
And for the Wannier centers, it would be:
&dipoles
type_dipole wannier
dip_file <DIPOLE_FILE_NAME>
&end dipoles
The Wannier centers can be used to compute the dipole moment of the whole supercell, however they can also be used to extract spectra of user-specified molecular blocks or fragments, which is discussed in Section Subspectra for MD-based calculations.
Note
The write_acf_file keyword can optionally be used in the md section and it executes the printing of a file which contains the time-autocorrelation data. In the case of IR spectrum calculation, this would be the dipole-autocorrelation data.
More information on the all available keywords can be found on Keyword Glossary and all complete example input files are available on Examples.