One of the crucial decisions molecular modelers face when preparing simulations in GROMACS Wizard is selecting the appropriate unit cell shape. This choice not only affects the accuracy of the simulation but can also significantly optimize resource usage. Let’s delve into unit cell types and how to make the best choice for your system.
Why Unit Cell Shape Matters
Unit cells form the backbone of periodic boundary conditions in molecular simulations. The right unit cell ensures your system fits well within the simulation box, minimizes solvent molecules, and satisfies the minimum image convention—the essential rule that the solute must never interact with its periodic image. Poor choices can lead to inaccuracies or unnecessarily high computational costs.
GROMACS Wizard supports several space-filling unit cell shapes:
- Cubic: Simple and commonly used but can be inefficient for spherical solutes.
- Orthorhombic: A stretched version of a cube, useful for elongated solutes.
- Triclinic: Ideal for irregular or asymmetric solutes.
- Rhombic Dodecahedron: Excellent for spherical solutes, saving about 29% of CPU time compared to cubes by requiring fewer solvent molecules.
- Truncated Octahedron: Another great option for approximately spherical solutes, offering an efficient compromise between shape and computational demands.

Making the Right Choice
If your system is a spherical solute surrounded by solvent, the rhombic dodecahedron or truncated octahedron is preferable. These shapes are closer to spheres compared to cubes, reducing the number of solvent molecules required. For example, the rhombic dodecahedron’s volume is only 71% of a cube of the same image distance, significantly speeding up simulations.
Practical Tips for Setting Up Your Unit Cell
When defining your unit cell dimensions, you can approach this in two ways:
- Specify Box Lengths: This option lets you tightly fit the box to your system and expand it as needed to maintain a minimum image distance of 1.0 nm.
- Solute-Box Distance: This approach involves setting a specific distance (at least 1.0 nm recommended) between the solute and the box boundary to ensure proper periodicity.
Adjusting these dimensions ensures that forces in your simulation remain accurate and avoids artifacts from solutes interacting with their periodic images.
Consider CPU Efficiency
Since GROMACS always simulates in a brick-shaped volume for efficiency, these unit cell choices are particularly critical for minimizing computation time. When loading results into SAMSON, the unit cell type is auto-detected but can be customized if necessary.
Learn More
For detailed examples and instructions, visit the original documentation page. It provides in-depth insights into using these unit cells effectively in GROMACS Wizard.
SAMSON and all SAMSON Extensions are free for non-commercial use. You can get SAMSON for free today.
