Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

GAFF is a general force field: it works for almost any organic molecule, but its charges and torsions are generic. This module refines a GAFF force field for your molecule against quantum chemistry.

1. Analyse

Enter the SMILES, charge and multiplicity and press ◎ Analyze. The module finds the rotatable bonds and lists them, so you can choose which to refine. You can also start from an existing force field.

2. Refine charges

Boltzmann-weighted RESP charges from a conformer ensemble: conformers are sampled, minimised (GFN2-xTB or AIMNet2), and RESP charges are fitted on the lowest ones and averaged by population. This gives charges that represent the molecule as a whole, not one frozen conformation.

SettingOptions
Conformersnumber used in the fit (default 5)
RESP levelHF/6-31G* (standard RESP, compatible with GAFF), B3LYP/def2-SVP, BLYP/def2-SVP (fastest)

RESP fits an electrostatic potential, so this step always uses HF or DFT.

3. Refine dihedrals

For each selected rotatable bond, the torsion is scanned with constraints, and the force-field torsion terms are refitted to the reference energies.

ReferenceSpeedNotes
DFT energies on xTB geometriesmoderatethe default, a good balance
DFT geometries and energiesslowestone consistent level
GFN2-xTBseconds per bondscreening
AIMNet2seconds per bondorganic molecules

The default DFT level is r²SCAN-D4/def2-SVP with RI-J. Scan points (default 7) sets the resolution of each scan.

Output

FormatFiles
VeloxChemff_gen JSON
OpenMMXML + PDB
GROMACS.itp, .top and .gro