Code Monkey home page Code Monkey logo

tdep's Introduction

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.

tdep's People

Contributors

flokno avatar mjv500 avatar ollehellman avatar orbitalc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.