DFT energy with RI-J and D3(BJ) dispersion (H₂O)
A DFT single-point energy of water with ridft: the PBE functional, the def2-TZVP basis, the RI-J approximation for the Coulomb term and Grimme's D3 dispersion correction with Becke–Johnson damping.
$coord file=coord and $atoms with basis =def2-TZVP give the structure and the basis set, $dft with functional pbe selects the functional on the default integration grid, and $disp3 -bj adds the D3(BJ) correction with the damping parameters for PBE. No RI keyword is needed: ridft switches on RI-J and its multipole acceleration MARI-J by itself, says so in a warning block and adds $rij and $marij to control; the auxiliary basis matching def2-TZVP is imported into the file auxbasis. Point group, occupation and start orbitals are set automatically.
In ridft.out the dispersion energy appears before the SCF iterations in the line Edisp /kcal,au: and is included in nuclear repulsion + dispersion correction; the converged energy is the line total energy.
Run
In the directory that holds the files below:
ridft > ridft.out
control
$coord file=coord
$atoms
basis =def2-TZVP
$dft
functional pbe
$disp3 -bj
$end
coord
$coord
0.00000000000000 0.00000000000000 -0.12178983933899 o
1.41713420892173 0.00000000000000 0.96657854674257 h
-1.41713420892173 0.00000000000000 0.96657854674257 h
$end