CAPSChain Assembly and Packing Suite

Build · module 07

Packing

CAPS Pack fills an empty box, or the free space around the current structure, with molecules in regions you define, so that no two atoms of different molecules are closer than the tolerance. Packmol inputs open too.

Open it Top bar›Packing

You start with
Molecules (SMILES, files, curatives, solvents) and optionally a structure to pack around.
You get
A packed periodic cell, ready to type, minimise or export.
Packing · CAPS Pack: 12 sulfur S₈ rings and 4 CBS accelerator molecules packed into the free space of a natural-rubber cell (8 chains × 20 units). Every distance is at least 2.034 Å after 60 rounds (target 2 Å); 2,324 atoms at 0.83 g/cm³, GAFF2 assigned molecule by molecule.

Step by step

  1. Choose what to pack into

    An empty box, or Around the current structure: the structure is kept fixed and molecules fill its cell (solvent in a polymer, gas in a pore).

  2. Add the molecules

    Add molecule: from a SMILES, your molecules, rubber curatives and additives, solvents, or a file (pdb, mol2, xyz, data, gro). Set the number of copies of each.

  3. Add regions (optional)

    Add region: a box, a slab between two planes, a sphere or a cylinder, to put molecules where you want them.

  4. Set the objective

    Tolerance d_tol 2.0 Å. When you pack around the current structure, enter a target density under Fill to a density and press Set the number; it sets the last molecule's count from the whole cell's target. In an empty box, tick Then compress the cell to to compress the cell to a density after packing.

  5. Press Pack

    The report shows convergence and the guarantee: the smallest distance now against the target. Then Export to LAMMPS / GROMACS…, or minimise and run dynamics first.

The same without the Studio

Every Studio page calls the same core as the caps command and the caps Python package, so a step you clicked can be repeated in a script.

caps pack mixture.inp -o mixture.data   # packmol-style input

Where to go next

Read more