GeinDFT
Home › Hydrogens and geometry cleaning

Hydrogens and geometry cleaning

Completing valences, relaxing a rough geometry with the force field, and watching the atoms move while they settle.

Hydrogens

CommandShortcutWhat it does
Add HydrogensCtrl+HCompletes every valence from the bond orders and formal charges, and places the new atoms at sensible positions.
Remove HydrogensCtrl+Shift+HDeletes every hydrogen. Useful before handing a structure to a tool that wants a heavy-atom skeleton.
Show HydrogensHHides them in the picture without deleting them. The calculation still uses them.
Hiding hydrogens and deleting them are different operations with similar names. The first changes only the picture. The second changes the molecule and therefore the result of any calculation that follows.

Cleaning a geometry

Structure > Clean Geometry (Ctrl+L) relaxes the structure with the force field. It is the right thing to do after sketching, after pasting coordinates of doubtful origin, or after building from SMILES if the result looks strained. It is not a substitute for a geometry optimisation with the quantum mechanical method, which is what produces a geometry worth quoting.

A structure during force-field relaxation. The status bar reports the current energy in kilocalories per mole and the root-mean-square force, both of which fall as it settles.
A structure during force-field relaxation. The status bar reports the current energy in kilocalories per mole and the root-mean-square force, both of which fall as it settles.

Auto-optimise

Structure > Auto-optimise (Ctrl+Alt+O) leaves the force field running continuously. The atoms move in the viewer as the energy falls, and when you drag an atom the rest of the molecule relaxes around it instead of waiting until you let go. It stops when the structure has settled and starts again when you disturb it.

The structure as it arrives, before the force field is armed.
The structure as it arrives, before the force field is armed.
The same structure once it has settled. Bond lengths and angles have relaxed and the strained contacts are gone.
The same structure once it has settled. Bond lengths and angles have relaxed and the strained contacts are gone.
A close view during relaxation. Bond lengths and angles adjust together rather than one atom at a time.
A close view during relaxation. Bond lengths and angles adjust together rather than one atom at a time.
The same structure at a carbonyl group, where the planarity expected of the group is recovered as the geometry settles.
The same structure at a carbonyl group, where the planarity expected of the group is recovered as the geometry settles.

Which force field is used

UseField
Building and cleaning any structureA general force field covering the whole periodic table, chosen so that a structure of any composition gets a sensible geometry.
Ligands and drug-like moleculesMMFF94, through Structure > Optimise Ligand and Conformer Search. It is parameterised for organic chemistry and gives better bond lengths and torsions for that chemistry than a general field can.

Undo

Every structure edit can be undone with Ctrl+Z and redone with Ctrl+Y, including hydrogen addition, cleaning and deletion. A calculation cannot be undone; it is a record, and it is removed by deleting it from the project tree.