GROMACS Solvent Box Comparison: Running GFP with Dodecahedron, Cubic, Triclinic, and Octahedron Boxes
Written by Keaun Amani | Published 2026-6-29
Written by Keaun Amani | Published 2026-6-29
In our previous guide, How To Use GROMACS For Wet Lab Biologists, we introduced molecular dynamics simulation as a practical way for experimental researchers to study protein motion, stability, and behavior in solution.
In this follow-up, we examine one deceptively important GROMACS setup choice: the solvent box type.
Using Neurosnap’s GROMACS Molecular Dynamics tool, we ran four 5 ns simulations of the same protein structure, PDB ID: 1GFL, changing only the solvent box geometry:
The goal is not to declare a universal “best” box, but to show how box geometry can affect computational cost, runtime, and simulation setup decisions.
For this benchmark, we selected 1GFL, the crystal structure of green fluorescent protein, commonly known as GFP.
GFP is a useful demonstration system for several reasons:
Because GFP is relatively globular, it is especially well suited for comparing compact solvent boxes such as dodecahedron and octahedron against more general or conventional boxes such as cubic and triclinic.
In molecular dynamics, proteins are typically simulated in a periodic box filled with water and ions. This box approximates the surrounding solvent environment while allowing the system to be treated using periodic boundary conditions.
The solvent box parameter controls the shape of this simulation volume.
Although this may sound like a cosmetic setting, it has practical consequences. The box shape influences how many water molecules and ions must be added around the protein. More solvent atoms generally mean more force calculations, larger files, and longer runtimes.
In GROMACS, common box types include:
The GROMACS editconf documentation describes cubic boxes as rectangular boxes with equal sides, dodecahedron boxes as rhombic dodecahedra, and octahedron boxes as truncated octahedra. Dodecahedron and octahedron boxes are special triclinic cases and are often more volume-efficient than a cube for compact biomolecules.
For globular proteins, the objective is usually to keep enough solvent around the molecule to avoid artificial self-interactions across periodic boundaries while avoiding unnecessary solvent in empty corners.
| Solvent Box | Description | Advantages | Disadvantages | Best Use Case |
|---|---|---|---|---|
| Dodecahedron | A compact rhombic dodecahedron-shaped periodic box. | Often highly efficient for globular proteins; reduces unnecessary solvent volume; can lower atom count and computational cost. | Less visually intuitive than a cube; may be less familiar to beginners. | Compact, globular proteins where solvent efficiency matters. |
| Cubic | A simple cube with equal side lengths. | Easy to understand; commonly used; straightforward to visualize and troubleshoot. | Often inefficient for globular proteins because solvent fills the corners; may increase atom count and runtime. | Beginner workflows, simple demonstrations, or systems where interpretability is prioritized over efficiency. |
| Triclinic | A general box geometry that allows flexible angles and dimensions. | Most general representation; useful for non-orthogonal or specialized systems. | Not necessarily the most compact for typical globular proteins; setup may be less intuitive. | Systems requiring flexible or nonstandard box geometry. |
| Octahedron | A truncated octahedron-shaped periodic box. | Efficient and more sphere-like than a cube; often reduces solvent compared with cubic boxes. | Can be harder to visualize; not always as compact as dodecahedron depending on the system. | Globular proteins where a compact, sphere-like solvent environment is desired. |
All four simulations were run for 5 ns using the same GFP structure, 1GFL, through the Neurosnap GROMACS workflow.
| Solvent Box | Runtime | Demo Job |
|---|---|---|
| Triclinic | 29 min | View Triclinic Job |
| Dodecahedron | 34 min | View Dodecahedron Job |
| Octahedron | 37 min | View Octahedron Job |
| Cubic | 41 min | View Cubic Job |
In this particular benchmark, the triclinic box completed fastest, followed by dodecahedron, octahedron, and finally cubic.
This result is broadly consistent with the idea that cubic boxes can be less efficient for globular proteins because they may include additional solvent in the corners. However, runtime is not determined by box shape alone. It can also be influenced by the exact number of solvent molecules, system preparation details, hardware scheduling, GPU behavior, I/O overhead, and small stochastic differences in computation.

For many globular proteins, dodecahedron and octahedron boxes are attractive because they approximate a more spherical solvent shell than a cube. This can reduce the total number of solvent molecules required while maintaining adequate spacing between periodic images.
The cubic box, while intuitive, often includes solvent that contributes little to the biological realism of the simulation but still increases computational work.
The triclinic box is the most general option and performed fastest in this particular demo. That does not mean triclinic will always be fastest for every protein or every configuration. Rather, it shows why solvent box choice should be treated as a meaningful simulation parameter rather than a default setting to ignore.
For a typical compact globular protein, a good starting point is often:
For wet lab biologists using molecular dynamics as a supporting tool, the key takeaway is straightforward: the solvent box is not just a visual boundary. It affects system size, runtime, and computational cost.
In this GROMACS solvent box comparison, we used Neurosnap’s GROMACS Molecular Dynamics tool to run four 5 ns simulations of GFP structure 1GFL. The observed runtimes ranged from 29 minutes for triclinic to 41 minutes for cubic, demonstrating that solvent box geometry can meaningfully influence simulation performance.
Some runtime variance may also come from ordinary computational noise — the kind of random computer variability that can arise from scheduling, hardware behavior, memory access, and I/O. However, all simulations were run on the same device under identical load and conditions within our control, making the comparison useful as a practical demonstration.
For most globular proteins, dodecahedron and octahedron boxes remain strong choices when computational efficiency is important. Cubic boxes remain valuable for simplicity, while triclinic boxes provide flexibility for more specialized cases.
By Keaun Amani
By Keaun Amani
By Amélie Lagacé-O'Connor
By Keaun Amani
By Keaun Amani
By Keaun Amani
Register for free — upgrade anytime.
Interested in getting a license? Contact Sales.
Try Free