When setting up molecular dynamics simulations, selecting the right simulation box is crucial. The GROMACS Wizard in SAMSON makes it easier to customize and optimize your setup, but how do you choose the perfect box shape? Let’s explore how different unit cells can influence your results and computing efficiency, particularly when simulating spherical molecules.
Which Box Shape Should You Choose?
Box shape matters for both system preparation and simulation efficiency. GROMACS Wizard supports a range of space-filling unit cells:
- Cubic: A simple and uniform option, but it may use more solvent than needed for spherical solutes.
- Orthorhombic: Useful when the system naturally aligns with elongated dimensions.
- Triclinic: Provides flexibility and can closely fit non-conventional solutes.
- Rhombic dodecahedron: Ideal for spherical solutes, it minimizes the box volume and reduces solvent use. Its volume is only 71% of an equivalent cube.
- Truncated octahedron: Another great choice for spherical molecules, offering efficient space use while satisfying periodic boundary conditions.
The rhombic dodecahedron and truncated octahedron save solvent molecules compared to a cubic box, reducing computational costs by up to 29%.
Here is an overview of the available unit cells:
| Unit cell shape | Representation |
|---|---|
| Cubic | ![]() |
| Orthorhombic | ![]() |
| Triclinic | ![]() |
| Rhombic dodecahedron | ![]() |
| Truncated octahedron | ![]() |
Key Guidelines for Box Selection
Follow these two essential considerations when choosing a box for molecular simulations:
- Unit-cell fit: The unit-cell shape should closely match your solute. For spherical molecules, choose space-efficient options like the rhombic dodecahedron or truncated octahedron.
- Minimum-image convention: Ensure sufficient space between solutes and images. A distance of at least 1.0 nm between the solute and the box boundary is recommended. This helps avoid self-interactions and ensures accurate force calculations.
Depending on your needs, you can set up your box with these two fitting options:
- Box lengths: You define the box size, and the system fits tightly within it. Adjust accordingly to meet the minimum-image convention.
- Solute-box distance: Specify how much space is left between the solute and the box to meet periodic boundary requirements. For batch projects, boxes can dynamically adjust for each frame or conformation.
The flexibility of these options ensures that molecular modelers can create precise and efficient simulation setups for diverse systems.
Final Tips
When loading simulation results into SAMSON, keep in mind that GROMACS always uses a brick-shaped volume for efficiency. However, SAMSON can intelligently detect and adjust the unit cell type to match your system. You can modify this manually in the importer dialog when needed.
For further details on periodic boundary conditions and unit-cell shapes, refer to the SAMSON documentation page.
SAMSON and all SAMSON Extensions are free for non-commercial use. You can download the platform at this link.





