/tdep

The Temperature Dependent Effective Potentials (TDEP) code

Primary LanguageFortranMIT LicenseMIT

Temperature Dependent Effective Potentials (TDEP)

DOI GitHub Release GitHub License

Briefly summarized, the package provides all the tools you need to build accurate model Hamiltonians for finite temperature lattice dynamics from first principles. TDEP includes several programs for different tasks:

  • generate_structure: Generate supercells of target size, with options to make them as cubic as possible to maximize the real-space cutoff for the force constants.

  • canonical_configuration: Create supercells with thermal displacements from an initial guess or existing force constants, using Monte Carlo sampling from a classical or quantum canonical distribution.

  • extract_forceconstants: Obtain (effective) harmonic force constants from a set of supercell snapshots with displaced positions and forces. Optionally fit higher-order force constants.

  • phonon_dispersion_relations: Calculate phonon dispersion relations and related harmonic thermodynamic properties from the second-order force constants.

  • thermal_conductivity: Compute thermal transport by solving the phonon Boltzmann transport equation with perturbative treatment of third-order anharmonicity.

  • lineshape: Compute phonon spectral functions including lifetime broadening and shifts for single q-points, q-point meshes, or q-point paths in the Brillouin zone. The grid mode computes spectral thermal transport properties as well.

More details, examples, and theoretical background can be found in the online documentation. See below which references should be cited for which program.

Tutorials

You can find a range of tutorials for realistic research workflow using TDEP in a dedicated repository.

Installation

Please find installation instructions in the TDEP repository.

Report bugs and issues

Please use our github issue tracker to report any problems. Please make sure to include input/output and log files so that we can reproduce and investigate the question.

Contribute

Please find instructions in the repository.

Other things to look at

How to cite

This software is distributed under the MIT license. If you use it, please consider citing

F. Knoop et al., J. Open Source Softw 9(94), 6150 (2024)

and the respective publications for the algorithms that were used:

canonical_configuration

extract_forceconstants

thermal_conductivity

lineshape

Troubleshooting

Some common issues:

Symmetry errors

TDEP is very strict about crystal symmetries. In phonopy world, the symmetry precision is about 1e-10. If you see an error like

ERROR
exit code 4: symmetry error

chances are high that your structure input files are not perfectly symmetric and consistent. Precise input structures are a prerequisite for using TDEP successfully.