Skip to content

The Temperature Dependent Effective Potentials (TDEP) code

License

Notifications You must be signed in to change notification settings

rubbishfly/tdep

This branch is 37 commits behind tdep-developers/tdep:main.

Folders and files

NameName
Last commit message
Last commit date
Dec 11, 2024
Dec 2, 2024
Feb 27, 2025
Jan 30, 2024
Dec 11, 2024
Dec 5, 2024
Sep 9, 2024
Feb 1, 2024
Aug 20, 2023
Dec 12, 2024
Jun 12, 2023
Dec 12, 2024
Dec 2, 2024
Jun 12, 2023
Oct 25, 2023
Dec 2, 2024

Repository files navigation

Temperature Dependent Effective Potentials (TDEP)

DOI GitHub Release GitHub License Compile TDEP and test binaries DOI

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 in the mode-coupling formalism including third- and fourth-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.

  • thermal_conductivity_2023: Compute thermal transport by solving the phonon Boltzmann transport equation with perturbative treatment of third-order anharmonicity. Legacy implementation, the significantly improved program thermal_conductivity should be used!

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.

About

The Temperature Dependent Effective Potentials (TDEP) code

Resources

License

Citation

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Fortran 98.2%
  • Other 1.8%