Thermochemistry
qrrho_thermochemistry combines a molecular geometry, electronic energy, and
vibrational mode energies with ideal-gas translation and rotation. The native
implementation supports Grimme QRRHO, Truhlar frequency treatment, and harmonic
RRHO. Molecular results include G(T,p); periodic results omit gas translation
and rotation and report F(T).
Gas-phase water from an analytical PBE Hessian
Section titled “Gas-phase water from an analytical PBE Hessian”| T (K) | G − E_electronic (eV) |
|---|---|
| 100 | 0.439 |
| 200 | 0.268 |
| 298.15 | 0.082 |
| 400 | −0.124 |
| 500 | −0.334 |
| 600 | −0.552 |
The calculation uses relaxed PBE/def2-SVP water, an analytical Hessian, pressure
100000 Pa, rotational symmetry number 2, and singlet multiplicity. The table
shows G − E_electronic, including ZPE, thermal energy, and entropy. It does not
show an absolute formation free energy.
from atomli.analysis import qrrho_thermochemistryfrom atomli.build import moleculefrom atomli.calculators import QCfrom atomli.optimize import BFGSfrom atomli.vibrations import Vibrations
water = molecule("H2O")water.calc = QC(xc="PBE", basis="def2-svp", device="cpu", scf={"energy_tolerance": 1e-8})if not BFGS(water).run(fmax=.0001, steps=60): raise RuntimeError("Geometry did not converge")vib = Vibrations(water, method="analytical").run()
# This water-specific selection retains its three internal vibrations.# The six much smaller Cartesian eigenvalues describe rigid motion.internal_energies = vib.get_energies().real[-3:]thermo = qrrho_thermochemistry( water, internal_energies, potential_energy_ev=water.get_potential_energy(), temperature_k=298.15, pressure_pa=100000, method="grimme", cutoff_cm_inv=100, symmetry_number=2, spin_multiplicity=1, ignore_imag_modes=False,)print(thermo.zpe_ev, thermo.gibbs_free_energy_ev)print(thermo.total_entropy_ev_per_k)Temperature series, complete frequencies, and assumptions
Mode energies passed to the function use eV. For this three-atom molecule the
three internal frequencies are well separated from rigid-motion residuals.
For flexible molecules, identify and remove translations and rotations using
the appropriate subspace, and inspect every internal imaginary mode before
forming a minimum’s partition function. Taking .real would discard an
imaginary mode; it is appropriate above only after verifying the selected three
water modes are real and positive.
Low-frequency treatment
Section titled “Low-frequency treatment”QRRHO interpolates low-frequency vibrational entropy toward a rotor model.
cutoff_cm_inv, alpha, and method define the approximation. The 100 cm⁻¹
cutoff has little effect on the three water vibrations, all above 1500 cm⁻¹;
flexible adsorbates and conformers can be much more sensitive. Compare harmonic,
Grimme, and Truhlar treatments and retain the settings with reported values.
A fixed-substrate partial Hessian describes only the active adsorbate subspace. It cannot be substituted for the complete molecular vibrational spectrum in a gas-phase partition function. Surface translations and rotations need a model appropriate to adsorption and coverage.
Symmetry and standard state
Section titled “Symmetry and standard state”Specify the physical rotational symmetry number and spin multiplicity. A conformer search’s cluster hit count does not determine either quantity. This example uses the ideal-gas 1 bar standard state; a solution calculation requires a consistent standard-state conversion and solvation model.
For a reaction, construct the same thermochemical model for every reactant, product, and transition state. Treat the single unstable transition-state coordinate separately. A NEB electronic barrier becomes an activation free energy only after those corrections are defined.
The ASE-shaped classes HarmonicThermo and IdealGasThermo, plus
QrrhoThermo, are exported from atomli.thermochemistry; their input
mode energies use eV. They accept already calculated vibrational information
and do not add a numerical Hessian fallback.