Releases · changelog
What's new
What changed in CAPS, newest first. Every force field CAPS ships is now built from its original paper or official distribution, CAPS can fill missing parameters with its own machine-learned model, and the Studio and the command line do the same things the same way.
November 2026 update (version 0.1.0)
After the 12 November build
chain Nin selections is the chain as it was grown, also after React has joined the chains into one network and after the network is written to a LAMMPS data file by CAPS and read back (other formats do not keep the record;chain Nthen means the bonded molecule). Before,chain 1selected the whole network andchain 2nothing.molecule Nselects the bonded molecule.- React can be limited to a selection: atoms of the chains form bonds only where they are selected, so selecting chains 1 and 2 links only those two, and selecting chosen carbons lets only them react. Sulfur donors and other small molecules are not restricted. In the Studio, tick Only the selected atoms react; on the command line,
caps react --only "chain 1-2"; in Python,react(..., selection=True). - A LAMMPS input written with no run (
run none) now defines therigidandmobilegroups for its rigid bodies and ends with thevelocity,fix rigidandfix nvtlines as a commented block. Before, its comment promised afix rigidthat was never written.
Release build of 12 November
The installers on the release page were rebuilt from this state. Before the build every source and data file was read for bugs, every command was run on test inputs, every Studio control was clicked, and the packages were installed and tested on macOS, Windows 10/11 and seven Linux distributions (Ubuntu 24.04 and 22.04, Debian 13, Fedora 43, openSUSE Leap 16, Arch and AlmaLinux 8). The Linux packages need glibc 2.27 or newer.
Changes that alter results:
- QEq now uses the Slater-orbital kernel of Rappé and Goddard's original model by default. Quartz gets Si +1.26 e, as in the paper, where the Ohno kernel gave about +3.2 e. The Ohno kernel is still an option, and its short-range part is now switched off over a fixed 5 to 7 Å window, so charges no longer change with the cut-off. Force fields that fall back to QEq for missing charges give different charges for those molecules.
- Shell models: the density counts each ion once (a shell was counted as a second ion).
- Polymer cells read from CIF are made whole, so Rg and chain statistics agree with the same cell read from a data file.
caps path(NEB) climbs only from a real interior maximum and stops when the band diverges.- Sorption in small cells keeps the whole cut-off by summing periodic images.
caps solvechecks contacts between all atoms against van der Waals distances and refuses cells too small for the molecules.caps surfaceandcaps interfaceignored--vacuumand always used 1 Å. This was one of 357 defects fixed after the code audit, along with wrong dihedral-restraint gradients on the middle atoms, bonds as long as the cell after a supercell, andset_dihedralbreaking long chains in periodic cells.- HFA134a torsions are shared over the nine dihedrals of the C-C bond, as the paper's scans were fitted. The barrier is now 4.24 kcal/mol instead of 38.
- CL&P-DES carboxylates longer than acetate keep des.ff's carboxylate torsions instead of the acid's.
- OPLS-AA ions heavier than Ba (U, La, Nd, Eu, Gd, Yb, Ac, Th, Am) have their element and mass, and CVFF's Mg weighs 24.305 instead of 100.
Force-field typing:
- OPLS-AA 2024: every fully typed molecule of the 330-molecule test set sums to its formal charge. Groups that no table numbers balance stay untyped and the error names them, with the charge they would carry.
- OPLS-AA with GROMACS's names keeps GROMACS's numbers wherever they balance a group. Where they don't (biphenyl, diaryl ethers, anhydrides, alkyl bromides and iodides, epoxides, siloxanes and others), the group takes the 2024 table's types, and each borrowed term is marked with its source in the topology.
- PCFF refuses, by name, what pcff.frc cannot type: conjugated chains of four or more C=C, nitro groups and a C=O on an aromatic carbon.
- GAFF and GAFF2 agree with antechamber on all 330 molecules. COMPASS gains CO2, CO, N2, O2, NO, NO2, SO2, CS2, azide and noble-gas types.
Exports:
- Rigid models (TraPPE CO2 and ethylene oxide, EPM2 CO2) run as rigid bodies in LAMMPS at the model's own geometry; TraPPE CO2 is written at 1.16 Å instead of 1.23. A molecule that is only partly rigid, such as TraPPE thiophene, is refused by name.
- GROMACS writes TraPPE N2 and O2 as one constraint with a virtual centre site. Larger rigid models are refused by name and point to the LAMMPS export.
- GROMACS boxes for single molecules are never narrower than twice the pair-list radius, so grompp accepts flat molecules such as phenol, water and acetonitrile. The vacuum .mdp uses
coulombtype = Cut-off, so grompp needs no-maxwarn; the energies are the same.
Studio:
- The Molecule module's sketch tools, ring clicks and the sketch/view divider work as drawn, and the view no longer jumps at every rebuild. Pane dividers drag from the middle again.
- Four rounds of page-by-page fixes: text that was cut off, labels that didn't fit, untypeset equations and the retired module slot.
Semicrystalline stacks beyond polyethylene
caps semicrystallinenow builds lamellar stacks of every crystal in the polymer crystal library: orthorhombic and monoclinic PE, PVDF β and α, iPP α, PEO, POM, nylon 6 and nylon 66, PET, PLLA α, natural rubber and PTFE (phases IV and II).--polymer listshows them with their defaults.- The amorphous segments are grown from the crystal's own repeat unit, not from CH2: the shortest period of the chain, with the crystal's bond lengths, angles and side atoms, so isotactic iPP stays isotactic and PLLA stays L. Torsions are held in rings, amides, esters and C=C. Loops and bridges close in phase with the stem they enter. For chains with a direction (nylon 6, iPP, PLLA, natural rubber) they join stems that point opposite ways. Tails end at an sp3-sp3 bond, capped with H.
- Monoclinic and triclinic cells are built in their own sheared geometry: the fold surfaces are the cell's ab plane, and stems lean by the angle between c and the stack normal (36° for PET, 42° for nylon 66). Cells whose chains run along a or b (monoclinic PE, nylon 6) are relabelled.
- Each polymer has a default force field, the one of OPLS-AA 2024 and PCFF that types every atom of its cell: OPLS-AA 2024 for PE, PEO, POM and natural rubber, PCFF for the others.
--ffstill picks another. The defaults for thickness and segment fractions follow Olsson, in 't Veld and Andreasson (Polymer 153, 305 (2018)), the all-atom PE study that reports them. No lamellar-stack MD was found for the other polymers, so they start from PE's values; set them from your polymer's long period. --analyseand--labelswork on any backbone: the longest path through each molecule's heavy atoms, with the order-parameter chord matched to a zig-zag or a helix. Side atoms take their backbone atom's class.- In the Studio, Build › Semicrystalline stack lists these crystals, fills in each one's defaults and assigns its force field to the built cell. In Python,
build.semicrystalline("nylon6-alpha", forcefield="auto")andsemicrystalline_polymers().
Diffraction and crystal structures
- Powder patterns of any periodic cell (
caps powder), Rietveld and Pawley fits to measured data with phase fractions (caps refine), powder indexing and direct-space structure solution (caps index,caps solve). - Measured data and grids read from JCAMP-DX, XRDML, GSAS, UXD, Rigaku and Gaussian cube files (
caps data). Bruker binary.raw, STOE.xydand GSAS ALT/TOF are not read: no public specification could be checked. - CIF disorder with assemblies, groups, mixed and split sites (
caps cif), space groups kept with the structure (caps symmetry), displacement tensors from a trajectory (caps adp), lattice planes in the view (caps planes), molecular point groups (caps pointgroup).
Crystal properties
- Phonons with dispersion, DOS and thermodynamics (
caps phonons), quasi-harmonic free energy and thermal expansion (caps qha), dielectric, piezoelectric and optical tensors (caps dielectric). - Melting point by the Z method, at constant volume (
caps zmelt). Crystal habits by BFDH, attachment and surface energy with Wulff shapes (caps habit). - Force fields fitted to crystal structure, lattice energy and elastic constants (
caps fit). QEq charges for periodic fillers (caps qeq).
Polymer builders
- Copolymers of several units with terminal, given-matrix or penultimate sequences and composition drift (
caps copolymer,caps grow). Graft copolymers on marked sites or onto an existing structure (caps graft). Dendrimers and hyperbranched molecules from AB_n units such as PAMAM, PPI and bis-MPA (caps dendrimer). - Fused and spiro rings, an atom inserted into a bond, structures joined by leaving atoms. Shaped crystal cuts that keep whole molecules. Special quasirandom structures and symmetry-distinct arrangements (
caps sqs,caps enumerate), and graded substitution.
Simulation and mesoscale
- Sorption with bending sorbates by configurational bias, and at a held loading. Restraints in dynamics and minimisation, written to the LAMMPS and GROMACS exports (
--restraints). Cell relaxation with chosen lattice parameters held (caps cellrelax). Reaction paths by climbing-image NEB on the force field (caps path). - Slab-corrected PME for cells with a vacuum gap (
--slab). Surface and interfacial tension from the pressure tensor (caps tension). - Density fields: dynamic mean-field theory of Gaussian chains for blends and block copolymers, without shear, masks or electrostatics (
caps fields). DPD starts composed from droplets, rods, slabs, shells and tubes (caps dpd). Domains of a density field with percolation, volumes and spacing (caps domains).
Analysis and data
- Infrared spectra from the dipole's time derivative. Pore networks with percolation and limiting diameters (
caps pores). Hydrogen-bond definitions you can set. Geometry measured at every match of a SMARTS pattern. - Structure-property models with descriptors, MLR, PLS, GFA and a neural network, validation, clustering and discriminants. Study tables gain multi-column order, filters, colour by value and SD files (
caps table).
Fixes that change results
- A cell too small for its bonds gave badly wrong energies with no warning: OPLS polyethylene at 1×1×1 read +191 kcal/mol per cell against the true −6.2. CAPS now finds these cells by following every 1-3 and 1-4 bond path. Energy and relaxation use enough copies, and dynamics and
caps relaxstop and name the supercell needed.caps ff typetypes such a cell on its copies, so the library polyethylene cell is no longer typed as an alkene, andcaps ff applyrefuses it unless--supercell autowrites the copies. - A force field per group can now change that group's atoms: TraPPE O2 and N2 beside an all-atom polymer get their massless centre sites, and a united-atom group folds its hydrogens. The report gives each group's sites, folded atoms and net charge.
- TraPPE O2 and N2 export to LAMMPS: a massless site on a rigid molecule is written as an atom of a rigid body, and rigid bodies are held during the minimisation before a run (they used to come apart there).
caps react --remove-pendantremoves C-Sx-H groups left at one end and gives the carbon its hydrogen back.- A vacuum slab no longer cuts chains or loses bond orders, and cell changes keep bonds from a file or builder. Moving atoms runs the force-field assignment again on the new geometry.
October 2026 update (version 0.1.0)
Semicrystalline stacks and thermal conductivity
caps semicrystallinebuilds the lamellar cells the papers on semicrystalline polyethylene simulate: a lamella of straight stems along z from the polymer crystal library (orthorhombic PE from Bunn 1939), and an amorphous layer between it and its periodic image holding loops, bridges and tails in the fractions you ask for, at the amorphous density. Every stem runs through the lamella, every chain ends in two tails, and none closes on itself. The cell carries the groupscrystalandamorphous. A report gives the counts, the length of each segment, the crystallinity from the chain order parameter P2, the density and P2 profiles along the stack and the stem tilt;--analysereads the same from any frame after MD.--lammps-inputwrites the cluster equilibration with the crystal tethered first. A united-atom force field (--ff oplsua2024) builds carbons only, for thicker layers at the same cost.- Stems are found in any cell of the polymer crystal library, straight or helical (iPP, PEO, POM, PVDF, the nylons, PET, PLLA, natural rubber).
caps thermalcomputes the thermal conductivity by MD: Green–Kubo from the heat-flux autocorrelation, with the centroid form of the flux for angles, torsions and impropers, or reverse NEMD (Müller-Plathe). You say whether the material is 3D (bulk) or 2D (a sheet with vacuum along z; κ over an effective thickness and the sheet conductance); CAPS does not guess. On one frame the flux equals LAMMPS'scompute heat/fluxoncompute centroid/stress/atom. On the Lennard-Jones liquid both methods agree with the published values.--lammps-inputwrites the long run for a cluster.- In the Studio: Build › Semicrystalline stack and Modules › Thermal conductivity; in Python
build.semicrystalline()andDocument.thermal(); in recipesbuild: { semicrystalline: … }and athermal:stage.
Polymer crystals for DFT
- A library of polymer unit cells from the original structure papers: orthorhombic and monoclinic PE, iPP α, PEO, PVDF β and α, POM, nylon 6 and nylon 66, PET, PLLA, natural rubber, and PTFE in its room-temperature (15/7 helix) and low-temperature (13/6 helix) forms. Each cell carries its paper's lattice, density and page references. The PTFE chains are generated from the helix symmetry in the cells of Clark & Muus (1962), and the files say so.
caps vasp-relaxwrites a four-step VASP relaxation chain (cutoff and cell steps, PBE with D3-BJ) with one batch script that stops when a step does not converge.caps phono3py setup|estimate|check|analyzeprepares the lattice thermal conductivity from third-order force constants: supercells from the cell heights, full or random displacements, a dry run that sets the array time limits, a cost estimate before anything is submitted, and the analysis of κ along and across the chains.--dimensionality 2d|3dhandles sheets with vacuum.
Figures you can put in a paper
- Every plot in the Studio is drawn as a journal figure: a frame with inward ticks, round tick values, axis titles as quantity / unit, real log axes, legends that keep clear of the data, error bars and block averages where CAPS computes them, and fits drawn with their window. Tg shows the glass and melt fits with Tg marked.
- The DPD page shows the final domains in 3D; the adsorption, sorption and DPD pages report from real runs.
- The pictures in this manual and on the module pages are taken from real CAPS runs.
Force fields from original sources only
Every force field in CAPS now comes from its original paper, its supporting information, or the distribution its authors publish. Each library file says where its numbers came from.
- Water from the original papers and their supporting information: SPC and SPC/E (Berendsen 1987), TIP3P and TIP4P (Jorgensen 1983), TIP3P for Ewald sums (Price & Brooks 2004), the CHARMM TIP3P (MacKerell 1998), TIP4P-Ew (Horn 2004), TIP4P/2005 and TIP4P/Ice (Abascal & Vega 2005), TIP5P (Mahoney & Jorgensen 2000), OPC and OPC3 (Izadi & Onufriev), the flexible SPC/Fw (Wu 2006) and mW (Molinero & Moore 2009). Each reproduces its paper's geometry and charges exactly, and its LAMMPS and GROMACS files give the same energy as CAPS.
- Gases: CO2 as EPM2 (Harris & Yung 1995) besides TraPPE, H2 (Buch 1994; Darkrim & Levesque 1998) and the noble gases (Rutkai et al. 2017). N2, O2, CH4, NH3 and H2S come from the TraPPE build.
- L-OPLS (Siu, Pluhackova & Böckmann 2012), now as an extension of OPLS-AA 2024.
- Coarse-grained: Martini 2 (Marrink 2007, the paper's interaction matrix, with the lipid angles of Marrink 2004), its polymer set for PEO/PEG (Lee et al. 2009) and polystyrene (Rossi et al. 2011), Dry Martini (Arnarez 2015), SDK (Shinoda 2007 and 2010) and the Cooke–Deserno lipid model, alongside Martini 3. All-atom PEO and polystyrene map onto the Martini 2 beads.
- Short names still work:
--ff tip4p2005,--ff spce,--ff opc,--ff martiniand so on resolve to these libraries.
OPLS-AA 2024 and OPLS-UA 2024
- Sulfur-cured rubber: persulfide and polysulfide types, the S–S bonds, bends and torsions, and the allylic torsions next to the C=C, fitted to MP2/cc-pVTZ//HF/6-31G** scans. Natural rubber and polybutadiene with S1 to S8 bridges are complete in both force fields.
- OPLS-UA 2024 gains the sulfur torsions of Jorgensen's 1986 paper (Table III) and united-atom refits of the all-atom scans, and now builds on CAPS's own OPLS-AA 2024 file.
- Alkoxysilanes (silane coupling agents such as TESPT and TESPD, TEOS, methoxy and dialkoxy silanes) are complete: new types with charges from 1.27 × CM5 that keep any mix of alkoxy and alkyl groups on Si neutral, and Si–O torsions fitted to MP2 scans. TESPT and TESPD crosslink rubber in React with every term in place.
- Maleic anhydride, maleates and cured DGEBA are complete.
- Optional overlays: DLPNO-CCSD(T) torsions (
oplsaa2024-dlpno), a Lennard-Jones refit from liquid data (oplsaa2024-lj-refit) and a rubber torsion refit.caps ff overlayslists them. - All 135 polymers and copolymers of the library build, type, relax and run in LAMMPS and GROMACS with OPLS-AA 2024. The styrene–butadiene and acrylonitrile–butadiene junctions of SBR, NBR and ABS have new torsions fitted to MP2 scans.
- Known limit: glassy PMMA, PS, PVAc and PET come out 3–8 % below their measured densities with OPLS-AA 2024, even after a slow anneal. The note
bench/ff/open/oplsaa2024_glass_density_limitation.mdgives the evidence.
CAPS ML: missing parameters filled by CAPS's own model
CAPS now carries its own machine-learned potential (CAPS MACE v1, trained on wB97M-D3(BJ)/def2-TZVPPD data, about 0.15 kcal/mol median error on torsion profiles of molecules it never saw). When a force field lacks a torsion, bend or bond for your structure, CAPS can fit it to relaxed scans with this model.
caps ff complete FILE --ff FF.json -o OVERLAY.jsonfits what is missing and saves it as an overlay.--complete ml(oncaps ff apply,relax,md,equilibrate,react,tgandtensile),complete: mlin a recipe, or the Studio's "Fill missing terms with CAPS ML" switch fills the gaps whenever a force field is assigned.- Every parameter CAPS ML supplies is marked where you will see it: a
# CAPS ML ...comment on its line in the LAMMPS data file, a; CAPS ML ...comment in the GROMACS.itp, a summary at the top of each file, and an entry in the provenance file. - Charges and atom types are never guessed. A term the model cannot fit within its quality limits stays reported as missing, with the reason.
Studio and command line in step
- React's options (crosslinks between chains, crosslink targets, byproducts, weights, automatic capture, sites per chain, removal of unreacted sulfur donors, the sulfur bridge census) work the same in the Studio, the command line and Python, through the same engine code.
- "Copy as command" on the Relax, Dynamics, Equilibrate, React, glass transition, tensile and force-field pages gives the
capscommand that does the same thing. - The full-screen viewer draws on the GPU, as the main view does: about 2.5 ms per frame on a 14,000-atom blend, where it took 69 ms before.
- A clean install no longer offers force fields it does not ship.
- CAPS Studio tells you when a newer CAPS is out: once a day it reads the latest release's
release.jsonfrom GitHub (nothing about you is sent) and shows a banner with What's new, Download, Later and Skip this update. After an update it shows what is new, with a button to each page. Settings › Files has the switch, Help has Check for updates now,CAPS_NO_UPDATE_CHECK=1turns it off, andcaps --check-updatedoes the same from the command line.
Faster runs
caps tgandcaps tensileuse the mixed-precision kernel ofcaps md: about twice as fast, with the same results.- Chain growth is 10 to 60 times faster for every growth method (best-of-k trials, Rosenbluth with soft spheres or Lennard-Jones, look-ahead, stars, combs, slabs, oriented cells): 24 polyethylene chains of 100 units (14,448 atoms) grow in about 1 s instead of 64 s, and 15 polystyrene chains of 60 units in 3 s instead of 87 s. The same seed still gives the same cell.
- The grower copes with any mix of chain count and length: a chain that gets stuck relaxes its own contact limits a step at a time instead of restarting the cell, end caps are kept clear while the cell grows, and bulky ring units such as ethylidene norbornene grow without stalling. Across the polymer library at 0.3 and 1.1 g/cm³ (1 × 1 up to 200 × 2 and 50 × 5, up to 14,000 atoms), 2,955 of 3,240 cells now build and pass every structure check, up from 1,649. A cell denser than chain growth can fill now stops early and says to grow at a lower density and compress.
Files CAPS writes
- LAMMPS coefficients are written with six decimals. GROMACS files use eight decimals for lengths in nm and energies in kJ/mol, because six decimals in nm is ten times coarser than in Å; charges keep six decimals and stay exactly neutral.
- GROMACS
.mdpfiles use a fixed pair-list buffer, so a plain Lennard-Jones cut-off with tail corrections gives the same density as LAMMPS. caps render --wrapdraws atoms folded into the cell.