A center-of-mass pulling simulation can look straightforward: choose two groups, specify a direction, and apply a moving restraint. But there is a geometry problem that is easy to miss. Under periodic boundary conditions, the simulation box repeats in every direction. If the pulled group travels too far, it can interact with a periodic image of the system rather than the molecule you intended to study.
The practical lesson is simple: plan the box around the entire pulling distance before starting the simulation. This example uses the 2BEG system, pulling chain A away from chain B along the z-axis. The target displacement is 5 nm, so the box must be long enough in z to accommodate that motion while respecting the minimum image convention.

Use the box to protect the pulling geometry
For this setup, the z dimension is set to 12 nm. The tutorial’s reasoning is to make the box more than twice the 5 nm pull distance, then add extra room so parts of the pulled chain can extend beyond the nominal displacement without approaching a periodic image too closely. The resulting orthorhombic box is 6.5 nm × 4.5 nm × 12 nm.
In GROMACS Wizard, compute a fitted box first, then choose the box-length option and enter those dimensions. The system’s position in the box matters too: the example deactivates Center in box and sets the center to 0.5 × 0.5 × 0.2. That places the starting system toward one end of the long z dimension, leaving space for the intended motion. If your pull direction is not aligned with an axis, orient the system before defining the box.

Define groups and restraints deliberately
Pulling needs clearly identified groups. In the 2BEG example, chain A is the group being pulled and chain B is the reference group. If these chains are not available as default GROMACS index groups, add custom groups named ChainA and ChainB. Load the prepared system into SAMSON, select each chain in the Document view, and generate an index group from the current selection. Check each group by selecting it from the list and using the option to select its atoms in the document. This simple verification can catch a wrong or incomplete selection before a long run.
During production MD, apply position restraints to chain B so it stays in place as chain A is pulled. In the COM pulling settings, add a pull coordinate with umbrella type and distance geometry; set group 1 to chain A and group 2 to chain B. Start the coordinate, use N N Y to pull along z, set the initial value to 0 nm, and use a force constant of 1000 kJ mol-1 nm-2.
Check that the rate matches the planned motion
The example pulls 5 nm over 0.5 ns. Since 0.5 ns is 500 ps, the corresponding rate is 5 nm ÷ 500 ps = 0.01 nm/ps. Checking the units this way is a useful safeguard: the rate should describe the displacement and duration you actually intend to simulate. The example production run uses a 2 fs timestep.
After the run, inspect the trajectory and the pull-coordinate and force plots. They help show how the displacement evolves and how the force changes during the pull. These results can be used as a starting point for umbrella sampling, but a pulling trajectory by itself is not a free-energy profile.
The central planning check is therefore: identify the groups, choose the direction, calculate the target displacement and rate, and confirm that the box can safely contain the motion under periodic boundary conditions. For the complete workflow and parameter screenshots, see the GROMACS Wizard COM Pulling tutorial.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
