Minimizing
You can minimize your structures interactively in SAMSON. To start and stop the minimization click Edit > Minimize (shortcut: Z).
The interactive minimization uses the Universal Force Field (UFF).
During the minimization you can:
- Use Move editors to move nodes.
- Use Add editor to add atoms or assets.
You can modify the interactive minimizer options in the Minimize section in the Preferences panel.
By default, the minimizer minimizes all the molecules in the active document.
What is not covered in this tutorial:
For how to simulate systems please refer to the Modeling and Simulation section.
Minimizing a single molecule in a document#
Prerequisites: Please refer to the Selecting section to learn how to select objects in SAMSON.
If you would like to minimize only a single molecule (a single connected component) in a document without minimizing other molecules in the system, then:
- Uncheck the "Include all atoms in the document" option in Interface > Preferences > Editors > Minimize
- Select a molecule that you would like to minimize.
- Click Edit > Minimize (1).
- Shortcut: Z
Note
When minimizing a selection only, the minimizer takes into account the whole connected component of the current selection, i.e. if you choose a single atom in a molecule, then it will take into consideration the whole molecule connected to this atom and will minimize this whole connected component. If you would like to minimize only a part of a molecule, then please refer to the Minimizing a part of a molecule section.
Minimizing a part of a molecule#
You can minimize only a part of a molecule (a part of a connected component) by freezing the rest of the molecule:
- Select the whole molecule or keep the selection empty.
- Click Edit > Freeze (1) to freeze (fix) atoms in the selection or in the whole document if the selection is empty.
- Select the part of the molecule that you would like to minimize.
- Click Edit > Unfreeze (2) to unfreeze only atoms in the selection.
- Click Edit > Minimize (3) to start the interactive minimization.
- ...
- Click Edit > Minimize to stop the interactive minimization.
- Unfreeze the whole system by clicking Edit > Unfreeze with the molecule selected or nothing selected.
- Shortcut: F
- Shortcut: U
- Shortcut: Z
The frozen (fixed) atoms are not minimized and their positions stay fixed.
Note
Frozen atoms have a dark blue overlay in the viewport.
See the video below with an example of the minimization with frozen atoms.
Minimizing using simulators#
You can also minimize structures using simulators by choosing a force field and a state updater.
Below is the video of a quick molecular geometry optimization using FIRE state updater: when this carbon nanotube is sliced, it quickly relaxes to a mostly flat graphene sheet.