COSMO continuum solvation (formaldehyde in water)
The conductor-like screening model (COSMO) places the molecule in a cavity inside a dielectric continuum; the screening charges on the cavity surface are determined in every SCF cycle together with the orbitals. Here formaldehyde is computed in water with ridft.
$cosmo switches the model on, and epsilon=78.39 sets the permittivity of water; without it the solvent would be a perfect conductor (ε = ∞). Atomic radii, cavity construction and the outlying charge correction keep their defaults; the Gaussian charge model, recommended for geometry optimizations and frequencies, would be selected with the additional option gauss. The rest is a hybrid-DFT single point: $coord file=coord, $atoms with basis =def2-TZVP, $dft with functional b3-lyp and $disp3 -bj for the D3(BJ) correction; ridft adds RI-J with the auxiliary basis and detects the C₂ᵥ point group.
The results are in ridft.out under COSMO RESULTS: the cavity data and the energies Total energy, which already contains the dielectric energy, Total energy + OC corr. and Dielectric energy. The surface segments and their charges are written to out.cosmo, the input for COSMO-RS; $cosmo_out file= would set another name.
Run
In the directory that holds the files below:
ridft > ridft.out
control
$coord file=coord
$atoms
basis =def2-TZVP
$dft
functional b3-lyp
$disp3 -bj
$cosmo
epsilon=78.39
$end
coord
$coord
0.00000000000000 0.00000000000000 -1.00798463087847 c
0.00000000000000 0.00000000000000 1.27270107604447 o
1.76164193706295 0.00000000000000 -2.10595902361852 h
-1.76164193706295 0.00000000000000 -2.10595902361852 h
$end