RMGDFT / rmgdft

RMG is an Open Source code for electronic structure calculations and modeling of materials and molecules. It is based on density functional theory and uses a real space basis and pseudopotentials.
GNU General Public License v2.0
47 stars 11 forks source link

Including dispersion #35

Closed sbisbill closed 4 years ago

sbisbill commented 5 years ago

Is is possible to add vdW corrections to functionals such as PBE? If so, which dispersion methods are available, and how is this specified in the input file?

elbriggs commented 5 years ago

RMG does support vdW corrections. There are a couple on input file options relating to it. Normally RMG will pick up the functional from the pseudopotential file. To add in vdw corrections add the following to the input file

exchange_correlation_type="vdw-df"

You also have to make sure that the vdW_kernel_table file is located in your runtime directory. This file is included in the rmg source in the XC directory. There are a couple of other options relating to vdW corrections as well. For example you can specify whether to use a fine or coarse grid to compute the corrections using the vdwdf_grid_type="Fine" or vdwdf_grid_type="Coarse" the default is Coarse and should be fine for most purposes.

elbriggs commented 4 years ago

Grimme D2 has also been implemented.