Troubleshooting, Pitfalls, Traps

7. Troubleshooting, Pitfalls, Traps#

If you routinely use electronic structure methods, there is probably not one week passing without a run crashing, leaving you puzzled by a (sometimes mysterious) error message. Even if your run completes successfully, this will not necessarily mean that your results are meaningful (the principle garbage in, garbage out applies); the method that you used may in the end turn out to have been an inappropriate choice. This brief exercise deals with the most important error messages you may encounter.

https://badgen.net/static/Report%20Template/Google%20Docs/yellow

https://badgen.net/static/Report%20Template/Overleaf/green

🎯 Learning goals

Become familiar with common errors which occur during computational chemistry calculations

Determine the types of systems which need dispersion corrections with DFT

Evaluate how integration grid size can affect calculation accuracy

đź“– Chapter in script

Chapter 8 - DFT

đź“š Resources

The devil in the details by Pierpaolo Morgante & Roberto Peverati: A 2020 Review

Best-Practice DFT Protocols for Basic Molecular Computational Chemistry by Markus Bursch, Jan-Michael Mewes, Andreas Hansen & Stefan Grimme: A 2022 Review

Questions for the Interview

  • Please explain how you decided which of the reactions was the most difficult for DFT to calculate.

A: Homolytic bond dissociation energy of CaO is the most difficult for DFT to calculate. From the calculation results in the notebook, the energies calculated by DFT methods are significantly different from the reference energy (greater than 5 kcal/mol)

The methanol reaction (energy difference between the staggered and eclipsed methanol conformations) should be the easy one because the electronic density and the character of the molecules does not change. The ethane interaction should in principle not be difficult but we know that DFT has difficulties with dispersion energies. For the atomization of CaO we have a triplet species in one of the products, which is considerably more difficult.

  • Which functionals gave the most accurate values in each case (CaO, ethane dimer, methanol) and why?

A: MN15 functional

The MN15 functional contained the BDE CaO into atomic calcium and oxygen reaction in the its training data, therefore it is the only one among the functionals used giving a very good result on it.

  • Compare the two functionals (B3LYP, M06-HF) regarding convergence with respect to the integration grid. Which functional shows concerning behavior in this regard?

A: The M06-HF (minnesota functionals) are know to exhibit problematic dependence on the integration grid. The B3LYP functional produces almost exactly the same behavior for the medium-quality and high-quality integration grid, whereas MN06-HF shows no convergence behavior with respect to the integration grid. We are not guaranteed to get better results by choosing a finer integration grid.

  • Based on what you know now about DFT now, how might you respond to a classmate who asked if DFT is “always the best” computational chemistry method?

A: DFT is a widely used computational chemistry method due to its balance between accuracy and computational cost. However, it is not “always the best” method, and its suitability depends on the specific system and property of interest. For example,

  1. Poor Description of Dispersion (van der Waals) Interactions. While dispersion-corrected DFT methods (e.g., DFT-D, vdW-DF) exist, their performance depends on the parameterization and system.

  2. Challenges with Strongly Correlated Systems (e.g., Mott insulators and transition metal oxides). Such cases often require advanced approaches like DFT+U or multireference methods.

  3. Dependence on Exchange-Correlation Functionals. The accuracy of DFT is governed by the exchange-correlation functional used. No universal functional exists that performs well for all systems or properties.

  4. Band Gap Underestimation of semiconductors and insulators due to its approximate nature. Hybrid functionals (e.g., HSE06) or methods like GW are often used to improve band gap predictions.

  5. Excited States and Time-Dependent Properties. Ground-state DFT is inherently a ground-state theory and is not suitable for describing excited states, optical properties, or time-dependent phenomena. Extensions like Time-Dependent DFT (TD-DFT) address this, but they may fail for systems with significant charge transfer or multi-configurational character.