CAPSChain Assembly and Packing Suite

Run · module 17

Coarse-grained

Reach long times and large cells with bead models: a generic Kremer–Grest melt, MARTINI with published bead types, or a model derived from an all-atom melt of your own polymer.

Open it Build›Coarse-grained melt…

You start with
A polymer from the library, or an all-atom cell (and its trajectory) already open.
You get
A coarse-grained melt with its bonded and pair potentials, a LAMMPS deck, and a backmapped all-atom cell.
Build › Coarse-grained melt… with the three models and the page's own guide to which model to use.

Step by step

  1. Pick the model

    Kremer–Grest: generic FENE + WCA beads for polymer physics. MARTINI: about four heavy atoms per bead, published types. From a polymer: your polymer's own beads.

  2. From a polymer: choose the mapping

    One bead per repeat unit (the common 1:1 model), two beads per unit (backbone + side group), or n backbone atoms per bead (for example 3:1 for polyethylene).

  3. Let CAPS derive the beads

    CAPS grows an all-atom reference melt, maps every frame to beads, and fits harmonic bonds and angles by Boltzmann inversion and a repulsive WCA with σ from the bead g(r).

    Already have an all-atom run? Map the open all-atom structure (every frame) uses it instead.

  4. Run or export

    Run the melt in CAPS or write the LAMMPS deck. By default the pair is a repulsive WCA, so the model has no attractions. Tick Refine the pair by iterative Boltzmann inversion and set the iterations and ps per iteration: CAPS then replaces the WCA with a tabulated pair that matches the mapped g(r), and LAMMPS gets it as pair_style table. The bonded terms stay as fitted.

  5. Back to atoms

    Backmap the open melt rebuilds an all-atom cell when you need atomistic detail.

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.

# chemistry-aware mapping, bonded fits, a CG melt, then back to atoms
caps cgmap aa.data --preset ester-cut -o cg --dump aa.lammpstrj
caps cgfit bonded cg/aa.map.json cg/aa.cg.lammpstrj --types cg/types.json -T 300 -o bonded
caps cgbuild --units BS=B+S --dp 100 --chains 50 --bonded bonded --maps cg/aa.map.json -o melt
caps backmap cg/aa.map.json aa.data --cg melt/melt.map.json --frame melt/melt.cg.data -o back

Where to go next

Read more