When working on molecular simulations, choosing the right unit cell shape can significantly impact efficiency and accuracy. For users of the GROMACS Wizard in the SAMSON platform, understanding the available unit cell shapes and their applications is essential. This blog post delves into the various space-filling unit cell shapes offered by the GROMACS Wizard and explores their practical uses, particularly when modeling macromolecules.
What Are Unit Cell Shapes?
Unit cells are the foundational bricks used to create periodic boundary conditions by tessellating a given shape across 3D space. The choice of a unit cell affects factors such as system size, solvent usage, and computational efficiency. In GROMACS, you also need to satisfy the minimum image convention, which ensures that periodic images of the solute do not interact with each other, preserving simulation accuracy.
Supported Unit Cell Shapes in GROMACS Wizard
The GROMACS Wizard in SAMSON supports five space-filling unit cell shapes, each represented visually:
| Unit Cell Shape | Visual Representation |
|---|---|
| Cubic | ![]() |
| Orthorhombic | ![]() |
| Triclinic | ![]() |
| Rhombic Dodecahedron | ![]() |
| Truncated Octahedron | ![]() |
Why Shape Matters
Each unit cell shape has its unique advantages:
- The rhombic dodecahedron and truncated octahedron are closer to being spherical. These are advantageous when studying approximately spherical macromolecules in solution, as they minimize solvent requirements. For example, a rhombic dodecahedron has only 71% of the volume of a cubic cell for the same image distance, saving nearly 29% in CPU costs.
- Shapes like the orthorhombic or triclinic cells offer flexibility for anisotropic systems or specialized setups requiring specific geometries.
Practical Tips for Setting Up Unit Cells
When specifying a unit cell for your simulation in the GROMACS Wizard, you have two main options:
- Box Lengths: Specify the dimensions of the unit cell directly. The box will fit tightly around the system initially, and you can adjust the size to satisfy the minimum image convention. This option is especially useful for batch systems if uniform dimensions are desired across all conformations.
- Solute-Box Distance: Define the distance between the solute and the box walls. A recommended minimum distance of 1.0 nm ensures there is no periodic boundary overlap, and it adapts well for systems with varied conformations.
Keep in Mind
When using non-cubic shapes like the rhombic dodecahedron or truncated octahedron, note that GROMACS keeps particles in brick-like shapes for computational efficiency. Upon loading results, SAMSON attempts to detect the appropriate unit cell shape and allows you to modify it if needed.
Unit cell selection is a key step in molecular simulations, affecting system setup and performance. Make informed choices by considering the geometry of your macromolecule and the purpose of your simulation.
To learn more, visit the full documentation page on periodic boundary conditions.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON today!





