Initial Cartesian coordinates and velocities must be specified for the nuclei. Coordinates are specified in the $molecule section as usual, while velocities can be specified using a $velocity section with the form:
Here , , and are the , , and Cartesian velocities of the th nucleus, specified in atomic units (bohrs per atomic unit of time, where 1 a.u. of time is approximately 0.0242 fs). The $velocity section thus has the same form as the $molecule section, but without atomic symbols and without the line specifying charge and multiplicity. The atoms must be ordered in the same manner in both the $velocity and $molecule sections.
As an alternative to a $velocity section, initial nuclear velocities can be sampled from certain distributions (e.g., Maxwell-Boltzmann), using the AIMD_INIT_VELOC variable described below. AIMD_INIT_VELOC can also be set to QUASICLASSICAL, which triggers the use of quasi-classical trajectory molecular dynamics (see Section 9.9.5).
The nuclear mass can be initialized by a $mass section with the form:
! mass of 3rd atom
The total number in the $mass section must be equal to number of atoms. Unit is the atomic mass unit (amu), e.g., mass of hydrogen-1 atom is 1.00783. If the $mass section is not initialized, the default mass will be used.
Although the Q-Chem output file dutifully records the progress of any ab initio molecular dynamics job, the most useful information is printed not to the main output file but rather to a directory called “AIMD” that is a subdirectory of the job’s scratch directory. (All ab initio molecular dynamics jobs should therefore use the –save option described in Section 2.7.) The AIMD directory consists of a set of files that record, in ASCII format, one line of information at each time step. Each file contains a few comment lines (indicated by “#”) that describe its contents and which we summarize in the list below.
Cost: Records the number of SCF cycles, the total CPU time, and the total memory use at each dynamics step.
EComponents: Records various components of the total energy (all in hartree).
Energy: Records the total energy and fluctuations therein.
MulMoments: If multipole moments are requested, they are printed here.
NucCarts: Records the nuclear Cartesian coordinates , , , , , , …, , , at each time step, in either bohrs or Ångstroms.
NucForces: Records the Cartesian forces on the nuclei at each time step (same order as the coordinates, but given in atomic units).
NucVeloc: Records the Cartesian velocities of the nuclei at each time step (same order as the coordinates, but given in atomic units).
TandV: Records the kinetic and potential energy, as well as fluctuations in each.
View.xyz: Cartesian-formatted version of NucCarts for viewing trajectories in an external visualization program.
For ELMD jobs, there are other output files as well:
ChangeInF: Records the matrix norm and largest magnitude element of in the basis of Cholesky-orthogonalized AOs. The files ChangeInP, ChangeInL, and ChangeInZ provide analogous information for the density matrix and the Cholesky orthogonalization matrices and defined in Ref. 443.
DeltaNorm: Records the norm and largest magnitude element of the curvy-steps rotation angle matrix defined in Ref. 443. Matrix elements of are the dynamical variables representing the electronic degrees of freedom. The output file DeltaDotNorm provides the same information for the electronic velocity matrix .
ElecGradNorm: Records the norm and largest magnitude element of the electronic gradient matrix in the Cholesky basis.
dTfict: Records the instantaneous time derivative of the fictitious kinetic energy at each time step, in atomic units.
Ab initio molecular dynamics jobs are requested by specifying JOBTYPE = AIMD. Initial velocities must be specified either using a $velocity section or via the AIMD_INIT_VELOC keyword described below. In addition, the following $rem variables must be specified for any ab initio molecular dynamics job:
Ab initio molecular dynamics calculations can be quite expensive, and
thus Q-Chem includes several algorithms designed to accelerate such
calculations. At the self-consistent field (Hartree-Fock and DFT) level, BOMD
calculations can be greatly accelerated by using information from previous time
steps to construct a good initial guess for the new molecular orbitals or Fock
matrix, thus hastening SCF convergence. A Fock matrix extrapolation
Phys. Chem. Chem. Phys.
(2005), 7, pp. 3269. based on a suggestion by Pulay and Fogarasi, 906 Chem. Phys. Lett.
(2004), 386, pp. 272. is available for this purpose.
The Fock matrix elements in the atomic orbital basis are oscillatory functions of the time , and Q-Chem’s extrapolation procedure fits these oscillations to a power series in :
The extrapolation coefficients are determined by a fit to a set of Fock matrices retained from previous time steps. Fock matrix extrapolation can significantly reduce the number of SCF iterations required at each time step, but for low-order extrapolations, or if SCF_CONVERGENCE is set too small, a systematic drift in the total energy may be observed. Benchmark calculations testing the limits of energy conservation can be found in Ref. 444, and demonstrate that numerically exact classical dynamics (without energy drift) can be obtained at significantly reduced cost.
Fock matrix extrapolation is requested by specifying values for and , as in the form of the following two $rem variables:
When nuclear forces are computed using underlying electronic structure methods
with non-optimized orbitals (such as MP2), a set of response equations must be
Theor. Chem. Acc.
(2004), 110, pp. 233. While these equations are linear, their dimensionality necessitates an iterative solution, 886 Int. J. Quantum Chem. Symp.
(1979), 13, pp. 225. , 563 Mol. Phys.
(2002), 100, pp. 1755. which, in practice, looks much like the SCF equations. Extrapolation is again useful here, 1044 Chem. Phys. Lett.
(2010), 500, pp. 167. and the syntax for -vector (response) extrapolation is similar to Fock extrapolation.
Assuming decent conservation, a BOMD calculation represents exact classical dynamics on the Born-Oppenheimer potential energy surface. In contrast, so-called extended Lagrangian molecular dynamics (ELMD) methods make an approximation to exact classical dynamics in order to expedite the calculations. ELMD methods—of which the most famous is Car–Parrinello molecular dynamics—introduce a fictitious dynamics for the electronic (orbital) degrees of freedom, which are then propagated alongside the nuclear degrees of freedom, rather than optimized at each time step as they are in a BOMD calculation. The fictitious electronic dynamics is controlled by a fictitious mass parameter , and the value of controls both the accuracy and the efficiency of the method. In the limit of small the nuclei and the orbitals propagate adiabatically, and ELMD mimics true classical dynamics. Larger values of slow down the electronic dynamics, allowing for larger time steps (and more computationally efficient dynamics), at the expense of an ever-greater approximation to true classical dynamics.
Q-Chem’s ELMD algorithm is based upon propagating the density matrix,
expressed in a basis of atom-centered Gaussian orbitals, along
shortest-distance paths (geodesics) of the manifold of allowed density matrices
. Idempotency of is maintained at every time step, by
construction, and thus our algorithm requires neither density matrix
purification, nor iterative solution for Lagrange multipliers (to enforce
orthogonality of the molecular orbitals). We call this procedure “curvy
J. Chem. Phys.
(2004), 121, pp. 11542. and in a sense it is a time-dependent implementation of the GDM algorithm (Section 4.5) for converging SCF single-point calculations.
The extent to which ELMD constitutes a significant approximation to BOMD
continues to be debated. When assessing the accuracy of ELMD, the primary
consideration is whether there exists a separation of time scales between
nuclear oscillations, whose time scale is set by the period
of the fastest vibrational frequency, and electronic oscillations, whose time
scale may be estimated according to
J. Chem. Phys.
(2004), 121, pp. 11542.
A conservative estimate, suggested in Ref. 443, is that essentially exact classical dynamics is attained when 10 . In practice, we recommend careful benchmarking to insure that ELMD faithfully reproduces the BOMD observables of interest.
Due to the existence of a fast time scale , ELMD requires
smaller time steps than BOMD. When BOMD is combined with Fock matrix
extrapolation to accelerate convergence, it is no longer clear that ELMD
methods are substantially more efficient, at least in Gaussian basis
Phys. Chem. Chem. Phys.
(2005), 7, pp. 3269. , 906 Chem. Phys. Lett.
(2004), 386, pp. 272.
The following $rem variables are required for ELMD jobs: