The Geometry optimization module has three tabs: Optimize, Conformers and Scan.
Optimize¶
Finds the nearest minimum-energy structure. The optimiser is geomeTRIC, working in internal coordinates.
Method¶
| Method | What happens | When to use |
|---|---|---|
| DFT only | DFT from start to finish | the input is already a good structure |
| xTB → DFT | GFN2-xTB pre-relaxes, DFT finishes | the usual choice for SMILES input |
| xTB only | GFN2-xTB throughout | quick structures, large systems, screening |
| AIMNet2 → DFT | AIMNet2 pre-relaxes, DFT finishes | organic molecules (Premium) |
| AIMNet2 only | AIMNet2 throughout | fast organic structures (Premium) |
The convergence plot colours the pre-relaxation steps separately from the DFT steps.
Settings¶
Functional, basis set, D4, RI, solvation: see Functionals and basis sets.
Convergence: how close to the minimum the optimiser must get. The optimisation has converged when all five criteria are met.
Preset Energy change (Eh) RMS gradient (Eh/bohr) Max gradient (Eh/bohr) RMS step (Å) Max step (Å) Loose 1·10-4 4·10-3 8·10-3 1·10-2 2·10-2 Medium (default) 1·10-5 3·10-4 1.2·10-3 1.2·10-3 1.8·10-3 Tight 1·10-6 1·10-4 4·10-4 4·10-4 6·10-4 Medium suits most work. Loose is for quick pre-optimisation and screening. Use Tight before computing frequencies; with looser settings, small spurious imaginary frequencies may appear.
Max iterations: the optimisation stops after this many steps (default 100) and reports the last structure as not converged.
While it runs, a line under the progress bar shows the current step, its energy and its largest gradient, next to the convergence target. For example: DFT step 7 of at most 100 · E = −76.31904 Eh · max gradient 3.1e-03 (target 1.2e-3). The optimisation has converged when the gradient falls below the target (and the other four criteria are met). The Run button and the log show the step too.
Constraints¶
Freeze or set internal coordinates during the optimisation, one per line, with 1-based atom numbers:
freeze distance 1 2
freeze angle 1 2 3
set dihedral 3 1 2 4 90.0Use constraints to hold a conformation, to keep part of a structure fixed, or to build a starting structure for a transition-state search.
Results¶
The final structure, its energy, the number of steps, and the convergence plot. Continue with → SP energy or → IR spectrum.
Excited states¶
Electronic state (under the DFT options) optimises an excited singlet, S1 to S10, instead of the ground state, with TD-DFT gradients from VeloxChem. With xTB → DFT or AIMNet2 → DFT, the pre-relaxation is in the ground state and only the DFT stage follows the excited state.
The result also shows the emission: the vertical energy from the excited state back to the ground state at the excited-state minimum, in eV and nm, with its oscillator strength. This approximates the fluorescence maximum, without vibronic or solvent effects. The difference from the absorption energy in the Spectra module, computed at the same level, is the Stokes shift. The energy shown is the excited state’s total energy.
Closed-shell singlets only. VeloxChem’s TD-DFT gradient needs a restricted ground state. For the lowest triplet, optimise the ground state with multiplicity 3 instead.
Gas phase only. CPCM is not supported for excited-state gradients.
LDA and GGA functionals only, hybrids and range-separated hybrids included (B3LYP, PBE0, CAM-B3LYP, ωB97X-D4). Meta-GGAs such as TPSSh, M06-2X and r2SCAN have no TD-DFT gradient in VeloxChem.
Start from a slightly distorted structure when the excited state is expected to lose the ground state’s symmetry. A perfectly planar formaldehyde stays planar, but its S1 minimum is pyramidal.
The state is followed by its number. If two states cross during the optimisation, the optimiser follows the lower one.
Cost: each step solves the excited states and their gradient, about 3–5 times a ground-state step.
TD-DFT solver, convergence and max iterations appear when an excited state is chosen; they work as in Spectra. TDA gradients are supported too.
As a check, formaldehyde at B3LYP-D4/def2-SVP gives a pyramidal S1 minimum (34.5° out of plane; experiment about 34°) with a vertical emission of 2.96 eV.
Conformer search¶
Flexible molecules have many low-energy shapes, and the lowest one is not necessarily what SMILES produces. The conformer search finds a set of low-energy conformers and ranks them.
Protocols¶
| Protocol | How it works | Best for |
|---|---|---|
| MM full (rotatable bonds) | systematically rotates every rotatable bond and minimises each combination with a force field | molecules with up to roughly 10 rotatable bonds |
| MD sampling (high-T dynamics) | runs high-temperature molecular dynamics and minimises snapshots | rings, macrocycles, very flexible molecules |
| MD sampling, several molecules | as above, for several molecules together, such as a solute with solvent molecules or a dimer | complexes, clusters, microsolvation |
The force field is GAFF, generated for your molecule automatically. Its partial charges come from either:
RESP: fitted to the DFT electrostatic potential (one SCF, more accurate)
D4 / EEQ: no quantum chemistry, much faster
Settings¶
Max conformers to return: how many of the lowest conformers you get back.
Cores: auto uses all but two of your cores.
MD protocols: the temperature (default 1000 K, high enough to cross torsional barriers), the number of MD steps, and how many snapshots to minimise.
When two conformers count as the same¶
Duplicates are removed by comparing heavy-atom positions, and the comparison allows for the molecule’s own symmetry. This matters more than it sounds. A phenyl ring turned by 180° about the bond that holds it is the same structure, but every atom in the ring has moved; two equivalent arms on a nitrogen can be exchanged, and so can the two methyls of an isopropyl group. Comparing atom 12 with atom 12 reports such a pair as 1–2 Å apart and keeps both, and the effect multiplies: a molecule with two benzyl groups and an isopropyl has sixteen ways of relabelling itself, so one conformer can fill much of a top-ten list.
The comparison is deliberately strict in one direction: it never merges two structures that are mirror images, and it keeps a carboxylic acid whose O–H points the other way, since that is a different conformer rather than a relabelling.
If you want to see the duplicates — to check the search itself — set Max conformers to return higher and compare the energies: genuine conformers differ, copies of one conformer sit within a fraction of a kJ/mol of each other.
Re-ranking with AIMNet2 or xTB¶
Force-field energies are only a rough guide to which conformer is lowest. Refine with AIMNet2 or xTB improves the ranking:
Single point: re-ranks every conformer by its AIMNet2 or GFN2-xTB energy. Fast.
Optimize each conformer: re-optimises them with AIMNet2 or xTB. Slower, and it also merges conformers that turn out to be the same.
AIMNet2 (Premium) is the faster of the two but covers organic elements only. xTB is in every edition, handles every element, and is slower per conformer.
All conformers are re-ranked before the list is cut to your maximum, so a conformer that the force field placed too high is not lost.
Scan¶
A relaxed scan steps one internal coordinate through a range and optimises everything else at each point. It gives you a torsional profile, or a rough reaction path along a bond.
Choose the coordinate: dihedral (4 atoms), angle (3 atoms) or distance (2 atoms).
Enter the atom numbers, 1-based.
Set From, To and the number of Points. The default runs a dihedral from 0° to 330° in 12 points.
Choose the method: xTB, AIMNet2 or DFT.
The plot shows the energy against the coordinate value you asked for at each point.