A molecular system can look perfectly reasonable in a viewer and still be poorly prepared for simulation. A box that is too tight can bring a molecule into contact with its periodic image; adding ions without solvent is not possible in this workflow; and a salt concentration is not the same thing as a simple count of extra ions. These choices are easy to rush through, but they affect what system you actually send to the next stage.
This guide focuses on three connected preparation decisions in SAMSON’s GROMACS Wizard: fitting the periodic box, adding solvent, and choosing whether to neutralize or add salt. The aim is to make the settings easier to reason about—not to prescribe one setup for every molecule.
1. Fit the box to the system, then check the clearance
First select the molecular system you intend to prepare. Choose a supported unit cell—cubic, orthorhombic, triclinic, rhombic dodecahedron, or truncated octahedron—then use Compute fitted box to generate an initial box.
There are two ways to define the fit:
- Solute-box distance specifies the distance between the system and the box. The documentation recommends at least 1 nm to help satisfy the minimum image convention. This is a useful starting point when the aim is to keep a specified clearance around the solute.
- Box lengths specifies the box dimensions directly. A fitted box can be tight, so increase its size as needed to leave enough space between the solute and the edges. For a batch project, this option determines the initial box size using all conformations or the whole path, which can help keep the box size the same across the batch.
The practical check is not simply whether the molecule fits inside the displayed box. Under periodic boundary conditions, the box repeats. The minimum image convention is intended to prevent a solute from interacting with its own periodic image. The tutorial recommends at least 1.0 nm of added distance, corresponding to at least 2.0 nm between periodic images of non-solvent molecules. Treat this as a recommendation to assess for your system and cutoff scheme, not as a substitute for checking the force-field guidance—especially with a custom force field.
Also make sure the box includes every structure selected for preparation. This matters for multiple structural models and batch workflows: a box that accommodates one conformation may not accommodate the whole set. With the solute-box-distance option, each batch conformation or trajectory frame can have a different box size; with box lengths, the initial size is based on the set or path.

2. Add solvent before asking for ions
Ions in this preparation workflow replace water molecules. That means explicit solvent is required if you want to add ions. Choose a water model provided by the selected force field, then check Add solvent. If the water model is set to none, solvent and ions cannot be added.
For a first preparation, the documentation advises leaving the solvent options at their defaults in most cases. If you are working with a coarse-grained system, consult the related coarse-grained guidance before deciding whether those options need adjustment.

3. Separate neutralization from salt concentration
Turn on Neutralize system when the system needs counterions to bring its total charge to neutral. GROMACS determines whether positive ions, negative ions, or neither are required from the system’s total charge. You can update the displayed total charge before preparation; for example, a total charge of +8 calls for eight negative ions to neutralize it.
Additional ions are a separate choice. The Number of ions option lets you request additional positive and negative ions. Those additions change the system charge, so GROMACS will also add the counterions needed to neutralize the resulting total. In the documentation’s example, adding 12 positive ions to a system with charge +8 means 20 negative ions are needed for neutralization.
The Salt concentration option instead specifies a concentration in mol/L. GROMACS calculates the ions to add using the cell volume in the input .tpr file. Existing ions are not counted toward the specified concentration; the requested salt is added on top of neutralizing counterions. A concentration of 0.15 M NaCl is given as a popular choice representing physiological conditions, but the appropriate value depends on the system and study.

A quick preflight before Prepare
- Confirm that the intended system or conformations are selected.
- Check that the box includes all selected structures and has suitable clearance for periodic images.
- Choose a water model if you need explicit solvent, and add solvent before adding ions.
- Decide whether you need neutralizing counterions, additional ions by count, or a target salt concentration; these settings do different jobs.
- Review the force-field guidance, particularly when using a custom force field.
Once preparation is complete, SAMSON can import the resulting structure into the document, where you can inspect the prepared system and its index groups before continuing to energy minimization.
For the complete workflow and details on model selection, custom topology files, and batch preparation, see the GROMACS Wizard preparation documentation.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON at www.samson-connect.net.
