C. QC Calculations
Quantum Chemical Calculations
pDynamo allows a wide range of QC approaches to be employed in simulations, either via its in-built algorithms or by coupling to external programs. Its in-built modules implement ab initio density functional theory (DFT) and Hartree-Fock (HF) methods using Gaussian basis sets, and semi-empirical methods of the MNDO family. The usage of both types of method is similar and they can be employed interchangeably. Example5.py is a program that calculates the potential energy, atomic charges and dipole moment for a molecule with different semi-empirical QC methods. It is:
The program starts by defining the list of different QC models to use and then loops over them, repeating an identical set of calculations on a water molecule for each model. It is important to note that the QC model is assigned to the system, via the method DefineQCModel of the System class, before determination of the energy and other properties occurs. The program terminates by printing out a table containing the calculated results.
Modify the example program to use DFT and HF methods in addition to the semi-empirical ones. See the wiki for full details of how to do this. How much longer do DFT calculations take to run compared to semi-empirical ones?
Carry out calculations for different charge and multiplicity states of a molecular system. How reliable are the calculations?
Compute the dissociation curve for a system (e.g. dihydrogen or ethane) as a function of a bond length. How do the results of spin-restricted and spin-unrestricted calculations compare?