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.

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

MethodWhat happensWhen to use
DFT onlyDFT from start to finishthe input is already a good structure
xTB → DFTGFN2-xTB pre-relaxes, DFT finishesthe usual choice for SMILES input
xTB onlyGFN2-xTB throughoutquick structures, large systems, screening
AIMNet2 → DFTAIMNet2 pre-relaxes, DFT finishesorganic molecules (Premium)
AIMNet2 onlyAIMNet2 throughoutfast organic structures (Premium)

The convergence plot colours the pre-relaxation steps separately from the DFT steps.

Settings

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.0

Use 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.

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.

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

ProtocolHow it worksBest for
MM full (rotatable bonds)systematically rotates every rotatable bond and minimises each combination with a force fieldmolecules with up to roughly 10 rotatable bonds
MD sampling (high-T dynamics)runs high-temperature molecular dynamics and minimises snapshotsrings, macrocycles, very flexible molecules
MD sampling, several moleculesas above, for several molecules together, such as a solute with solvent molecules or a dimercomplexes, clusters, microsolvation

The force field is GAFF, generated for your molecule automatically. Its partial charges come from either:

Settings

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:

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.

  1. Choose the coordinate: dihedral (4 atoms), angle (3 atoms) or distance (2 atoms).

  2. Enter the atom numbers, 1-based.

  3. Set From, To and the number of Points. The default runs a dihedral from 0° to 330° in 12 points.

  4. Choose the method: xTB, AIMNet2 or DFT.

The plot shows the energy against the coordinate value you asked for at each point.