Each of the implicit solvation models described above is designed for isotropic, bulk solvation—conditions that can be qualitatively described using a scalar dielectric constant, . For an anisotropic environment, such as a liquid/vapor interface, a more general approach is to solve Poisson’s equation with a spatially-varying dielectric function, . Such an approach can be used, for example, to model the air/water interface by describing certain regions of space using (air) and other regions using (water).188, 187 The atomistic region is described at the SCF level. Construction of the dielectric function is based on a solute cavity, somewhat analogous to the solute cavity in a PCM calculation but where the dielectric changes smoothly (rather than abruptly) from inside the cavity (in the atomistic QM region) to outside, in the continuum solvent. Options for modeling a liquid/vapor interface are also available; see Section 220.127.116.11. In contrast to PCMs, which must approximate the “volume polarization” due to penetration of the tails of the QM charge density beyond the solute cavity, this effect is described exactly under Poisson boundary conditions. The price to be paid for lifting this approximation is that charge densities must be discretized and integrated over three-dimensional space rather than simply a two-dimensional solute cavity surface.
The most general formulation of Poisson’s equation, for a dielectric function rather than a dielectric constant, is
The solute’s charge density will be separated into nuclear and electronic components,
The total electrostatic potential is comprised of the solute’s electrostatic potential , which is obtained from the density in Eq. (12.14), plus the polarization potential induced in the medium:
To compute , the electronic contribution to the electrostatic potential in vacuum is first evaluated on a Cartesian grid,
Here P is the one-electron density matrix, and are atom-centered Gaussian basis functions, and the integration is over . The electronic part of the solute’s charge density is then obtained from
where in practice the Laplacian of is evaluated using an eighth-order finite difference scheme.187 The nuclear charge density is described classically,
but to avoid numerical problems the nuclear charges are smeared out over one Cartesian grid voxel in practice. Operationally, this is achieved by adding to the grid point nearest , where is the volume of a Cartesian voxel. The exact nuclear electrostatic potential in vacuum is computed according to
The Dirac delta function in Eq. (12.18) has dimensions of (volume) and therefore incorporates the aforementioned factor of
Having computed the electronic and nuclear charge densities and the electrostatic potentials in vacuum, one has in hand an exact solution of Eq. (12.13) for the case where . The induced polarization charge density and corresponding electrostatic potential are then obtained iteratively, following closely the procedure outlined in Refs. 262 and 36. Equation (12.13) is rewritten to appear as Poisson’s equation in vacuum with an additional source charge density:
where the polarization charge density is
The iterative charge density takes the form
at iteration . This function is nonzero only in transition regions where the dielectric is being interpolated from vacuum to solvent. Note also that the second term in Eq. (12.21) vanishes wherever . The quantity is iterated to convergence by performing updates using Eq. (12.22), taking to be the solute’s electrostatic potential in vacuum. Each time is updated, a new polarization charge density is generated and Eq. (12.20) is solved to obtain a new total electrostatic potential. To stabilize the iterative updates of , we use a damping procedure
Once the total charge density and electrostatic potential are iterated to self-consistency, the free energy of solvation,
is computed, where
Since and are computed self-consistently at each SCF iteration, the polarization effects must be incorporated into the Fock matrix. This is accomplished by adding the correction term . The matrix form of this correction in the atomic orbital basis is
For additional details and a full description of the algorithm, see Ref. 187.
Nonequilibrium solvation within the framework of PCMs is discussed in Section 18.104.22.168, and that methodology630, 1028 has been adapted for vertical ionization processes in conjunction with Poisson boundary conditions.188, 187 A state-specific approach has been implemented that requires solution of a nonlinear Schrödinger equation, Eq. (12.6). For the reference state, corresponding to in Eq. (12.6), this is equivalent to solving Eq. (12.13) for the induced polarization potential and computing the solvation free energy and Fock matrix correction according to Eqs. (12.24) and (12.26), respectively. For the ionized state, denoted by a subscript , the solvent polarization is partitioned into fast and slow components. Within the Marcus partitioning scheme,1028 Eq. (12.20) becomes187
where the fast polarization charge density of the ionized state, , is given by
and the fast polarization potential, , is
Subscripts and 0 refer to the ionized state and the reference state, respectively. The quantity in Eq. (12.28) is the solvent’s optical dielectric constant, and is computed using Eq. (12.23) but with a dielectric function constructed using and with substituted in place of . For the Marcus partitioning scheme, the slow component of the induced solvent polarization charge density is computed as the three-dimensional (volume charge rather than surface charge) analogue of Eq. (12.8).
A calculation using Poisson boundary conditions is requested by setting SOLVE_PEQ = TRUE in the $rem section. For computational efficiency, solvent effects from the Poisson equation solver are not incorporated until the error in the vacuum SCF calculation falls below a specified threshold, taken to be 10 a.u. by default and controllable using the $rem variable PEQ_SWITCH.
Note: When SOLVE_PEQ = TRUE, the keywords SYM_IGNORE and NO_REORIENT are also set to TRUE. Poisson’s equation is discretized on a three-dimensional grid and the energy need not be rotationally invariant unless the grid spacing is sufficiently small.
Further job control for the Poisson equation solver (PEqS) routines is set up in two sections: $peqs_grid and $peqs. The former is used to define the Cartesian discretization grid, as follows:
$peqs_grid DimX <Nx> <Xmin> <Xmax> DimY <Ny> <Ymin> <Ymax> DimZ <Nz> <Zmin> <Zmax> $end
The Cartesian grid must be orthorhombic and Nx, Ny, and Nz refer to the number of grid points for the , , and axes.
Note: A fourth-order multigrid algorithm is used to accelerate convergence of the conjugate gradient PEqS routine that solves Eq. (12.20).187 This requires that the number of grid points be odd, with the additional constraint that the quantities , , and must all be divisible by 8.
Values in the last two columns of the $peqs_grid section specify the minimum and maximum values of , , and , in units of Ångstroms. The length of the grid in the direction is and the grid spacing is . The volume element discussed in the context of Eq. (12.18) is .
The $peqs section controls other aspects of a PEqS calculation, including construction of the solute cavity and other required parameters for interfacial or nonequilibrium solvation. The format is:
$peqs <Keyword> <parameter/option> $end
Available keywords are described below.
In conventional PCMs the solute cavity is a rigid two-dimensional surface constructed from a union of atomic spheres, the radii of which are generally take to be equal to the van der Waals radius () scaled by a factor of 1.2; see Section 22.214.171.1240 This cavity is rigid in the sense that once the atomic coordinates are specified, it remains unchanged during the SCF cycles. (The isodensity cavity discussed in Section 12.2.5 is an exception, but is not available for the PEqS method.) Furthermore, there is an abrupt and discontinuous change in the dielectric constant at the solute/continuum boundary. A three-dimensional analogue of this cavity, using continuous and differentiable spherically-symmetric error functions, has been implemented for PEqS calculations, following the procedure in Ref. 262. The dielectric function, which depends parametrically on the nuclear positions , is
Equation (12.30) smoothly interpolates between and , over a length scale of . The value of is specified using the RigidScale keyword. The quantity in Eqs. (12.30) and (12.31) sets radius of the atomic sphere for atom . By default, but this can be controlled as described below.
Setting the SoluteCavity keyword to Spherical requests the construction of a spherical cavity around the solute, and the dielectric is smoothly interpolated from vacuum to solvent using a hyperbolic tangent function:188
Here, is the distance where the dielectric assumes the value . The value of is taken to be the sum of the sphere radius, , and half of the interpolation length, : . The sphere radius and interpolation length are controlled with the SphereRadius and InterpolLength keywords described below. The parameter controls the sharpness of the switching process, with by default.
By setting Interface = True, the dielectric function on the Cartesian grid is further modified to mimic a solvent/vacuum interface. First, the solute cavity is constructed as specified by the SoluteCavity keyword as discussed above. Then, the dielectric function is smoothly interpolated in the direction across the Gibbs dividing surface () using the following hyperbolic tangent switching function:188, 187
This interpolates the dielectric function over the interface length , centered at the Gibbs dividing surface, . Both of these values are controlled by the keywords InterfaceLength and GibbsDS, respectively. Similar to the parameter used in the spherical cavity construction, the parameter controls the sharpness of the interpolation across the Gibbs dividing surface.
The following example computes the solvation free energy of a water molecule immersed in water. The Cartesian grid is cubic with a side length of 15.0 Å and 73 grid points in each direction. A rigid vdW cavity is used based on scaled vdW radii for the atomic spheres. The dielectric is not set, so takes the default value of 78.39.
$molecule 0 1 O 0.053004 -0.020947 -0.034784 H 0.003424 0.185855 0.910594 H -0.844842 0.146674 -0.358413 $end $rem SCF_CONVERGENCE 5 THRESH 14 EXCHANGE wB97X-V BASIS 6-31+G* SOLVE_PEQ TRUE PEQ_SWITCH 0 $end $peqs SOLUTECAVITY RIGIDVDW $end $peqs_grid DimX 73 -7.50 7.50 DimY 73 -7.50 7.50 DimZ 73 -7.50 7.50 $end
The next example illustrates calculation of the solvation free energy of a water molecule at a water/vacuum interface, with the Gibbs dividing surface placed at Å. The length of the interface is set to Å and the dielectric is interpolated from bulk solvent to vacuum in the positive direction across the Gibbs dividing surface. The Cartesian grid, solute cavity, and solvent dielectric are the same as in the previous example.
$rem SCF_CONVERGENCE 5 THRESH 14 EXCHANGE wB97X-V BASIS 6-31+G* SOLVE_PEQ TRUE PEQ_SWITCH 0 $end $molecule 0 1 O 0.053004 -0.020947 -0.034784 H 0.003424 0.185855 0.910594 H -0.844842 0.146674 -0.358413 $end $peqs SOLUTECAVITY RIGIDVDW INTERFACE TRUE INTERFACELENGTH 2.75 GIBBSDS 0.50 INTERFACEDIRECTION POSITIVE $end $peqs_grid DimX 73 -7.50 7.50 DimY 73 -7.50 7.50 DimZ 73 -7.50 7.50 $end
The final example illustrates a nonequilibrium (NonEquilJob = True) solvation calculation for the vertical ionization of in bulk water. This is a compound job that first calculates the equilibrium solvation free energy of the anionic state (NonEquilState = Reference), then computes the nonequilibrium energy correction for the ionized state (NonEquilState = Ionized). The two jobs are separated by “@@@”. The Cartesian grid and solvent dielectric are the same as the previous examples, but the solute cavity is chosen to be spherical with a radius of 2.0 Å. The Marcus scheme (NonEquilPartition = Marcus) is used to partition the solvent response into fast and slow components. Since this is the default method, the NonEquilPartition keyword is omitted.
$molecule -1 2 O 0.053004 -0.020947 -0.034784 H 0.003424 0.185855 0.910594 H -0.844842 0.146674 -0.358413 $end $rem SCF_CONVERGENCE 5 THRESH 14 EXCHANGE HF BASIS 6-31++G* SOLVE_PEQ TRUE PEQ_SWITCH 0 $end $peqs SOLUTECAVITY SPHERICAL SPHERERADIUS 2.00 NONEQUILJOB TRUE NONEQUILSTATE REFERENCE $end $peqs_grid DimX 73 -7.50 7.50 DimY 73 -7.50 7.50 DimZ 73 -7.50 7.50 $end @@@ $molecule 0 1 O 0.053004 -0.020947 -0.034784 H 0.003424 0.185855 0.910594 H -0.844842 0.146674 -0.358413 $end $rem SCF_CONVERGENCE 5 THRESH 14 EXCHANGE HF BASIS 6-31++G* SOLVE_PEQ TRUE PEQ_SWITCH 0 $end $peqs SOLUTECAVITY SPHERICAL SPHERERADIUS 2.00 NONEQUILJOB TRUE NONEQUILSTATE IONIZED $end $peqs_grid DimX 73 -7.50 7.50 DimY 73 -7.50 7.50 DimZ 73 -7.50 7.50 $end