Code Monkey home page Code Monkey logo

pydftd3's Introduction

pyDFTD3 logo

DOI

This program will compute the Grimme D3-dispersion energy for a set of atomic Cartesian coordinates. This version implements both versions of short-range damping that appear in the literature (i.e., zero-damping and Becke-Johnson damping) provided the required parameters are specified manually, or the density functional can be automatically recognized from a Gaussian formatted output file - in which case default values will be used. This program was developed to analyze interatomic and intermolecular dispersion energies within the D3-scheme: if two molecules are recognized based on the interatomic connectivity then it is possible to ignore intramolecular terms.

If a density functional is not recognizable from the input/output file it will be necessary to specify the desired damping parameters. For zero-damping three terms (S6, S8 and RS6) are required. For Becke-Johnson damping four (S6, S8, A1, A2) are required.

The 3-body Axilrod-Teller-Muto 3-body dispersion terms can be switched on (they are not computed by default)

This program is no longer actively developed. Usage is now recommended through the GoodVibes program, where download of these files is necessary for this to function.

Examples

Structure files available in the examples directory

  1. D3-energy correction with zero-damping for a Gaussian output file. The density functional is parsed from the output and the appropriate damping parameters (s6, rs6, rs8) are applied automatically.
   D3-dispersion correction with zero-damping: detected B3LYP functional - using default zero-damping parameters
   Zero-damping parameters: s6 = 1.0 rs6 = 1.261 s8 = 1.703
   3-body term will not be calculated

                                     D3(R6)         D3(R8)         Total (au)
  formic_acid_dimer.log             -0.00088974    -0.50891629    -0.50980603
  1. D3-energy correction with BJ-damping for a Gaussian output file. The density functional is parsed from the output and the appropriate damping parameters (s6, s8, a1, a2) are applied automatically.
   D3-dispersion correction with Becke_Johnson damping: detected B3LYP functional - using default BJ-damping parameters
   BJ-damping parameters: s6 = 1 s8 = 1.9889 a1 = 0.3981 a2 = 4.4211
   3-body term will not be calculated

                                     D3(R6)         D3(R8)         Total (au)
  formic_acid_dimer.log             -0.00455241    -0.00457708    -0.00912948
  1. Pairwise breakdown of the D3(BJ) correction by atom pair.
  --- Pairwise interaction between atoms 1 and 2 : Edisp = -0.359915 kcal/mol -0.3599152449643698
  --- Pairwise interaction between atoms 1 and 3 : Edisp = -0.320618 kcal/mol -0.6805336005703304
  ...
  --- Pairwise interaction between atoms 8 and 10 : Edisp = -0.136812 kcal/mol -5.6753050880809095
  --- Pairwise interaction between atoms 9 and 10 : Edisp = -0.053534 kcal/mol -5.728838870721404
  1. D3-energy correction with BJ-damping for a Gaussian input file. The density functional is parsed from the route line. Based on the connectivity, we request only the intermolecular contributions to the D3-energy.
  Only computing intermolecular dispersion interactions! This is not the total D3-correction

  --- Ignoring interaction between atoms 1 and 2
  --- Ignoring interaction between atoms 1 and 3
  ...
  --- Ignoring interaction between atoms 8 and 10
  --- Ignoring interaction between atoms 9 and 10

                                     D3(R6)         D3(R8)         Total (au)
  formic_acid_dimer.com             -0.00152126    -0.00144858    -0.00296984
  1. D3-energy correction with BJ-damping for an XYZ or PDB input file. Either the density functional or the parameters have to be specified in this case.
  D3-dispersion correction with Becke_Johnson damping: detected B3LYP functional - using default BJ-damping parameters
  BJ-damping parameters: s6 = 1 s8 = 1.9889 a1 = 0.3981 a2 = 4.4211
  3-body term will not be calculated

                                     D3(R6)         D3(R8)         Total (au)
  formic_acid_dimer.xyz             -0.00455241    -0.00457708    -0.00912949

License: MIT

pydftd3's People

Contributors

robertodr avatar rafael-g-c avatar bobbypaton avatar bast avatar ringholm avatar

Watchers

 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.