Periodic DFT with riper (h-BN monolayer)
Periodic DFT with the riper module for a hexagonal boron nitride monolayer. riper treats molecules and systems periodic in one, two or three directions with Gaussian basis functions and the RI approximation for the Coulomb term.
$periodic 2 declares two periodic directions. $cell file=coord reads the cell from the $cell section of the coord file, which for a two-dimensional system holds the two lattice constants in bohr and the angle between them in degrees (4.7351, 4.7351 and 120.0); $coord file=coord reads the two atoms of the unit cell from the same file. $kpoints with nkpoints 3 3 1 sets a 3×3 k-point mesh in the plane of the sheet. $atoms assigns pob-TZVP-rev2, a basis set optimized for periodic calculations and free of the very diffuse functions that cause near-linear dependencies in solids, and the universal auxiliary basis for the RI approximation; $dft with functional pbe selects the functional. The start density is built from atomic densities.
The energy per unit cell appears in riper.out in the line TOTAL ENERGY. By default riper also computes the gradient in the same run; lenonly on in a $riper group would restrict it to the energy.
Run
In the directory that holds the files below:
riper > riper.out
control
$periodic 2
$cell file=coord
$coord file=coord
$atoms
basis =pob-TZVP-rev2
jbas =universal
$dft
functional pbe
$kpoints
nkpoints 3 3 1
$end
coord
$coord
0.00000000000000 0.00000000000000 0.00000000000000 b
0.00000000000000 2.73380000000000 0.00000000000000 n
$cell
4.7351 4.7351 120.0
$end