When working on molecular simulations, selecting the right unit cell for your system is crucial for both efficiency and accuracy, especially with periodic boundary conditions in mind. This blog post will help you understand the impact of choosing different unit cell shapes using the GROMACS Wizard within SAMSON.
Why Unit Cell Shape Matters
The shape of your simulation box determines how periodic boundary conditions are applied to your system. GROMACS employs these conditions using the minimum image convention, where every particle’s nearest image is considered for short-range interactions. The objective is to simulate a system that feels infinite while using a finite number of particles.
However, not all shapes are ideal for every system. For example, using a cubic box for a roughly spherical molecular system can unnecessarily inflate the computational resources required to simulate the solvent. That’s where alternative shapes like the rhombic dodecahedron and the truncated octahedron come in.
Available Unit Cell Shapes in GROMACS Wizard
GROMACS Wizard supports multiple unit cell shapes to match different molecular systems. Each shape has unique advantages depending on the system’s geometry:
| Unit cell shape | Representation |
|---|---|
| Cubic | ![]() |
| Orthorhombic | ![]() |
| Triclinic | ![]() |
| Rhombic dodecahedron | ![]() |
| Truncated octahedron | ![]() |
Optimizing for Spherical Molecules
When simulating spherical macromolecules in solvent, you can dramatically reduce computational costs by opting for specialized shapes. For instance:
- Rhombic dodecahedron: This shape is the most compact space-filling cell for a sphere. It requires 71% the volume of a cubic box with the same image distance, saving ~29% in CPU time. Ideal for systems where reducing solvent molecules is a priority.
- Truncated octahedron: Another efficient choice for spherical systems, striking a balance between compactness and regularity.
The image below illustrates the interface for selecting unit cell shapes during system preparation:

Key Considerations
When defining your simulation box, keep the following in mind:
- System dimensions: Ensure the box is large enough to avoid interactions between the solute and its periodic images. A practical rule of thumb is to maintain a minimum of 1.0 nm between the solute and the box boundary.
- Solvent efficiency: More compact boxes reduce the number of solvent molecules, thus lowering computational time.
- Batch projects: When preparing multiple conformations, ensure consistency in box size or adapt it for specific configurations as needed.
Conclusion and Further Exploration
Choosing the correct unit cell shape is a fundamental step in molecular simulations and directly impacts efficiency and accuracy. By fully leveraging the tools in the GROMACS Wizard, you can optimize your workflow and tailor your simulation setup to fit your system perfectly. To dive deeper into the topic, visit the original documentation page and explore additional considerations like the minimum image convention.
SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON today at https://www.samson-connect.net.





