Theory · 51 methods
Analysis
What CAPS computes, as it computes it: the equation, its symbols with CAPS's defaults, when to use the method, the source file, the tests that check it, and any departure from the cited method.
Structure factors: S(q), X-ray and neutron
At low q the exact sum over every reciprocal-lattice vector the cell allows; above the switch-over, the Fourier transform of the partial pair distributions with a Lorch window against truncation ripples. X-ray and neutron patterns weight the partials by form factors or scattering lengths (Faber–Ziman).
Faber & Ziman 1965; Lorch 1969
| Symbol | Meaning | In CAPS |
|---|---|---|
| w | weight: 1, Cromer–Mann f(q) or coherent b | S(q), X-ray, neutron |
| q_direct | switch-over | 4 Å⁻¹ |
| L(r) | Lorch window sin(πr/r_max)/(πr/r_max) | — |
| b | scattering lengths | NIST (Sears 1992); ²H 6.671 fm for deuteration |
When to use it
Comparing a cell with diffraction data, and neutron contrast with deuterated backbones or rings.
- Source
core/src/properties.cpp- Tested by
- Scattering.DeuterationPatternsSplitTheHydrogens · bench/analyze/check_analyze.py (MDAnalysis)
- Departure from the reference
- no q below the cell's first shell 2π/L; no instrument resolution or polarisation factors
References
- Faber, T. E., Ziman, J. M., "A theory of the electrical properties of liquid metals III. The resistivity of binary alloys", Phil. Mag. 11, 153–173 (1965). doi:10.1080/14786436508211931
- Lorch, E., "Neutron diffraction by germania, silica and radiation-damaged silica glasses", J. Phys. C 2, 229–237 (1969). doi:10.1088/0022-3719/2/2/305
- Sears, V. F., "Neutron scattering lengths and cross sections", Neutron News 3, 26–37 (1992). doi:10.1080/10448639208218770
- Prince, E. (ed.), "International Tables for Crystallography, Volume C: Mathematical, Physical and Chemical Tables", Kluwer (2004)
Free volume and pore sizes
Probe insertion on a grid: a point is free when a probe of the given radius centred there overlaps no van der Waals sphere. Bondi's fractional free volume uses the occupied van der Waals volume; each free point's pore size is the largest atom-free sphere containing it.
Bondi 1964; Gelb & Gubbins 1999
| Symbol | Meaning | In CAPS |
|---|---|---|
| V_w | van der Waals volume | Bondi radii |
| probe | probe radius | 1.4 Å (0 for the point probe) |
| grid | spacing | 0.4–0.5 Å |
When to use it
Gas permeation, voids in glassy polymers and filled rubbers, pores of frameworks.
- Source
core/src/properties.cpp · core/src/voids.cpp- Tested by
- Voids.OneAtomLeavesTheFarCornerEmpty · bench/analyze/check_analyze.py
- Departure from the reference
- the 1.3 packing factor of Bondi is used as published
References
- Bondi, A., "van der Waals volumes and radii", J. Phys. Chem. 68, 441–451 (1964). doi:10.1021/j100785a001
- Gelb, L. D., Gubbins, K. E., "Pore size distributions in porous glasses: a computer simulation study", Langmuir 15, 305–308 (1999). doi:10.1021/la9808418
Mean-square displacement and diffusion
Displacements of atoms and of molecule centres over every time origin, with the drift of the whole system removed. The diffusion coefficient comes from the linear part of the molecule-centre MSD. Given the shear viscosity and the temperature, the Yeh–Hummer finite-size correction is added.
Einstein 1905; Yeh & Hummer 2004
| Symbol | Meaning | In CAPS |
|---|---|---|
| fit window | part of the run fitted | 0.2–0.5 (fractions) |
| origins | time origins | every stored frame |
| η | shear viscosity (Green–Kubo, or measured) | none: no correction unless given (--viscosity, mPa·s) |
| T | temperature of the run | --temp |
| L | edge of the cubic cell | V^(1/3) of the mean volume |
When to use it
Small molecules in polymers (curatives, solvents, gases). Check the log–log slope reaches 1 before trusting D.
- Source
core/src/properties.cpp- Tested by
- bench/analyze/check_analyze.py (MDAnalysis) · Properties.DiffusionOfRandomWalk (the Einstein D and the Yeh–Hummer term)
- Departure from the reference
- the correction is exact only for a cubic cell; a non-cubic cell takes L = V^(1/3) and the report says so
References
- Einstein, A., "Über die von der molekularkinetischen Theorie der Wärme geforderte Bewegung von in ruhenden Flüssigkeiten suspendierten Teilchen", Ann. Phys. 322, 549–560 (1905). doi:10.1002/andp.19053220806
- Yeh, I.-C., Hummer, G., "System-size dependence of diffusion coefficients and viscosities from molecular dynamics simulations with periodic boundary conditions", J. Phys. Chem. B 108, 15873–15879 (2004). doi:10.1021/jp0477147
Adsorption locator
Low-energy places of adsorbate molecules on a fixed substrate (a crystal surface, a filler, a polymer surface or cell) by Monte Carlo simulated annealing. The adsorbates, built from SMILES and added after the substrate, move as rigid bodies: translations, rotations about their centre and jumps to a random place and orientation, accepted by the Metropolis rule at a temperature falling geometrically from the start to the end value within each cycle; jumps fade out as it cools, and each cycle ends with a downhill polish of its lowest configuration with shrinking steps; later cycles restart from the best so far. The energy is the assigned force field's non-bonded interaction between molecules.
Kirkpatrick, Gelatt & Vecchi 1983; Metropolis et al. 1953
| Symbol | Meaning | In CAPS |
|---|---|---|
| T | annealing temperature, start → end | 10⁴ → 100 K |
| cycles | annealing cycles | 3 |
| steps | Monte Carlo steps per cycle | 20 000 |
When to use it
Binding sites and energies of small molecules on surfaces and fillers: coupling agents or sizing molecules on silica, carbon or cellulose; gases, water and plasticisers on or in a polymer; comparing adsorbates by E_ads. Rigid molecules: no deformation energy; relax the result with Minimise for that.
- Source
core/src/adsorption.cpp (locate_adsorption), core/src/pairmodel.cpp- Tested by
- Adsorption.FindsTheScanMinimum (the lowest energy of an atom over a lattice equals a fine grid scan's, −0.8980 kcal/mol at the hollow site); Adsorption.RigidMoleculesAndDeDn
- Departure from the reference
- damped shifted force electrostatics, not Ewald; rigid adsorbates (one conformer each)
References
- Kirkpatrick, S., Gelatt, C. D., Vecchi, M. P., "Optimization by simulated annealing", Science 220, 671–680 (1983). doi:10.1126/science.220.4598.671
Sorption: Widom insertion and grand-canonical Monte Carlo
How much of a gas or small molecule a fixed host takes up: a polymer or rubber cell, a filler, a porous crystal. The sorbate is a molecule typed with the host's force field, rigid or bending at its rotatable bonds. Widom test-particle insertion averages the Boltzmann factor of one molecule placed at random places and orientations: the excess chemical potential, the Henry constant and the solubility coefficient follow. Grand-canonical Monte Carlo at each pressure (insertions, deletions, translations and rotations; an ideal-gas reservoir, fugacity = pressure) gives the loading, its error from ten blocks, and the isosteric heat from the fluctuations of energy and number. A gas mixture is several rigid sorbates at once, each at its share of the pressure (f_i = y_i p): insertions and deletions pick a gas at random, and each gas gets its loading, its Widom terms alone, its isosteric heat from the multicomponent fluctuations, and the adsorption selectivity over the first gas. A rigid model (TraPPE's CO₂, N₂, O₂: bond and angle constants 0) takes its force field's own bond lengths and angles before the run (TraPPE CO₂: C=O 1.16 Å, linear); with a united-atom host the sorbate keeps its types' own charges (TraPPE CO₂ +0.70/−0.35 e). A sorbate gets its force field's own preparation (united-atom sites; a model's massless charge sites such as TraPPE N₂'s centre, added as virtual sites). A bending sorbate is cut at its rotatable bonds (single, acyclic, not amide or ester) into rigid pieces and grown into the host piece by piece by configurational bias: the first piece at k random places and orientations, each later piece at k torsion angles uniform on the circle, each trial weighted by the Boltzmann factor of its energy with the host, the other sorbates and the atoms already placed (1-4 pairs scaled) plus the torsion terms about that bond; one trial is drawn by its weight and the product of the mean weights is the molecule's Rosenbluth weight W. The same growth with nothing around it gives the isolated molecule's ⟨W_IG⟩, the reference of every Widom average and GCMC acceptance, so μ_ex, the Henry constant and the isotherm stay exact for any number of trials. Deletions retrace the molecule with its own conformation as one of the trials; partial regrowth beyond a random rotatable bond and twists of one bond change its conformation in place. A held loading runs canonical Monte Carlo at a set number of molecules (grown in by configurational bias, then moved, turned, regrown and twisted): the loaded cell's energy and its parts, the adsorption energy per molecule (the molecules' own torsional energy in the gas subtracted), the distribution of single molecules' binding energies, the lowest-energy arrangement met and a density map; the loaded cell can be kept as the structure.
Widom 1963; Frenkel & Smit 2002; Siepmann & Frenkel 1992
| Symbol | Meaning | In CAPS |
|---|---|---|
| S | solubility coefficient | cm³(STP)/(cm³ atm) |
| K_H | Henry constant | mol/(kg kPa) |
| Q_st | isosteric heat | kcal/mol |
| T₀, p₀ | standard temperature and pressure | 273.15 K, 1 atm |
| y_i, x_i | mole fraction of gas i in the gas and in the adsorbed phase | — |
| S_i/1 | adsorption selectivity of gas i over the first | — |
| q_i | isosteric heat of gas i in the mixture | kcal/mol |
| W | Rosenbluth weight of one growth (k trials per step l) | — |
| ⟨W_IG⟩ | mean Rosenbluth weight of the isolated molecule | — |
| ⟨u_intra⟩_IG | the isolated molecule's mean torsional energy (pairs across rotatable bonds and torsions about them) | kcal/mol |
| E_ads | adsorption energy per molecule at a held loading | kcal/mol |
When to use it
Gas solubility in rubbers and polymers (CO₂, CH₄, N₂, O₂, water) for barrier and permeability estimates (P = D·S with D from Diffusion), uptake of fillers and porous crystals. The host is rigid: swelling and the host's relaxation around the gas are not included; equilibrated, full-density cells are needed for polymer solubilities. Mixtures: CO₂/N₂ or CO₂/CH₄ selectivity of a membrane polymer, water against a gas in a rubber, competing curative fragments. Bending sorbates: process oils, plasticisers, curatives and accelerators, swelling solvents and oligomers in rubber. A held loading: how strongly a set number of molecules is bound in a filler, an interphase or a crosslinked network, and where they sit.
- Source
core/src/sorption.cpp (sorption)- Tested by
- Sorption.WidomEqualsTheGridIntegral (⟨e^(−βU)⟩ 0.03985 ± 0.00055 against the exact grid average 0.03995); Sorption.GcmcIdealGasAndHenryLimit (⟨N⟩ = βpV for an ideal gas; the Henry regime equals Widom's); Sorption.BinaryMixtureIdealAndHenry (an ideal binary gas takes y_i βpV of each, 6.02 + 13.91 for 6 + 14; in a host at low loading each gas follows its own Henry law and the selectivity 0.886 equals the Widom ratio 0.879); Sorption.TrappeCo2VirialAndGcmc (TraPPE CO₂: B₂(300 K) −111 cm³/mol against −121 measured; GCMC of the pure gas at 10 bar 56.6 ± 0.5 molecules against 57.1 from the model's virial expansion); bench/ff/check_trappe_co2.py (CO₂ σ, ε, charges as gmso's TraPPE file; 100 CO₂ CAPS against LAMMPS −31.3923 / −31.3921 kcal/mol); Sorption.TrappeN2AgainstNistBenchmark (TraPPE N₂ against NIST's benchmark simulations of the model, 110 K, 1.0 mol/L, Z = 0.8780 ± 0.0007: B₂ −125.7 against B₂ + B₃ρ = −122.0 cm³/mol; GCMC at that state's fugacity 0.984 ± 0.010 mol/L); TraPPE CO₂ against NIST's benchmark simulations of the model at 300 K: B₂ −111.3 against (Z − 1)/ρ = −108.5 cm³/mol at 0.1 mol/L, GCMC at the fugacity of the 0.5 mol/L state 0.493 ± 0.005 mol/L; Sorption.FlexibleIsolatedMoleculeIsExact (n-butane, one torsion term on C–C–C–C: ⟨W_IG⟩ 0.09176 ± 0.00015 against the exact (1/2π)∫e^(−βu)dφ 0.09147, ⟨u⟩ 0.519 against 0.520 kcal/mol, and in a host that does not interact ⟨W⟩/⟨W_IG⟩ 0.996 ± 0.002 against 1); Sorption.FixedLoadingSamplesTheTorsionExactly (one butane, regrowths and twists: ⟨U⟩ 0.534 ± 0.005 against the exact Boltzmann 0.520 kcal/mol, 0.5245 ± 0.0022 over five times the steps); Sorption.FlexibleIdealGasIsExact (a bending ideal gas: ⟨N⟩ 4.946 ± 0.026 against βpV = 5); Sorption.FlexibleGcmcMatchesWidomHenry (butane in an LJ host at ⟨N⟩ ≈ 0.1: GCMC 0.1019 ± 0.0019 against Henry's law from Widom 0.1000)
- Departure from the reference
- ideal-gas fugacity (no equation of state); rigid host; bending sorbates keep their built bond lengths, angles and rings (torsions only); damped shifted force electrostatics
References
- Frenkel, D., Smit, B., "Understanding Molecular Simulation: From Algorithms to Applications", Academic Press (2002)
- Potoff, J. J., Siepmann, J. I., "Vapor-liquid equilibria of mixtures containing alkanes, carbon dioxide, and nitrogen", AIChE J. 47, 1676–1682 (2001). doi:10.1002/aic.690470719
- Rosenbluth, M. N., Rosenbluth, A. W., "Monte Carlo calculation of the average extension of molecular chains", J. Chem. Phys. 23, 356–359 (1955). doi:10.1063/1.1741967
- Siepmann, J. I., Frenkel, D., "Configurational bias Monte Carlo: a new sampling scheme for flexible chains", Mol. Phys. 75, 59–70 (1992). doi:10.1080/00268979200100061
- Widom, B., "Some topics in the theory of fluids", J. Chem. Phys. 39, 2808–2812 (1963). doi:10.1063/1.1734110
Shear viscosity by Green–Kubo
The shear viscosity is the time integral of the pressure tensor's autocorrelation in equilibrium. CAPS runs NVT dynamics of a copy of the frame (Nosé–Hoover, weakly coupled so the dynamics are nearly Newtonian), samples the full pressure tensor (kinetic and virial) every few femtoseconds, and averages the autocorrelation of all five independent components of its traceless symmetric part. The running integral should level off; its mean over the last third of the window is the value, and blocks of the run give the error. The result feeds the Yeh–Hummer finite-size correction of diffusion coefficients.
Daivis & Evans 1994
| Symbol | Meaning | In CAPS |
|---|---|---|
| P° | traceless symmetric pressure tensor | kinetic plus virial, atm |
| window | correlation time integrated | 10 ps |
| sampling | between pressure samples | 4 fs |
When to use it
Solvents and small molecules converge in 100–200 ps; polymer melts relax over nanoseconds to microseconds, and the report says when the integral has not levelled off (then the value is at best a lower bound).
- Source
core/src/mechanics.cpp (green_kubo_viscosity, viscosity_green_kubo)- Tested by
- Mechanics.GreenKuboViscosity (an Ornstein–Uhlenbeck stress with a known integral, within 6 %)
- Departure from the reference
- one long run split in blocks rather than independent replicas; no time decomposition of the integral
References
- Daivis, P. J., Evans, D. J., "Comparison of constant pressure and constant volume nonequilibrium simulations of sheared model decane", J. Chem. Phys. 100, 541–547 (1994). doi:10.1063/1.466970
- Martyna, G. J., Klein, M. L., Tuckerman, M., "Nosé–Hoover chains: the canonical ensemble via continuous dynamics", J. Chem. Phys. 97, 2635–2643 (1992). doi:10.1063/1.463940
Elastic constants by static strain
The minimised cell is strained by ±ε along each of the six components, re-minimised with the pair list frozen, and the stress read from the virial; C_ij are the central differences. Isotropic moduli are Hill averages of the Voigt and Reuss bounds. C must be positive definite (a stable cell at a minimum): when its smallest eigenvalue is not positive, CAPS says so and gives only the Voigt bounds, withholding the Reuss and Hill moduli, the axis moduli 1/S_ii and the sound speeds.
Theodorou & Suter 1986
| Symbol | Meaning | In CAPS |
|---|---|---|
| ε | strain per component | 10⁻⁴ by default |
| σ | stress from the virial tensor | — |
| configurations | relaxed structures averaged | 1 or more |
When to use it
Glassy polymers and crystals at 0 K. Rubbers above Tg need the fluctuation method or tensile runs.
- Source
core/src/mechanics.cpp- Tested by
- Mechanics.StaticConstantsOfBravaisLattice · bench/mechanics/check_born_lammps.py
- Departure from the reference
- none
References
- Theodorou, D. N., Suter, U. W., "Atomistic modeling of mechanical properties of polymeric glasses", Macromolecules 19, 139–154 (1986). doi:10.1021/ma00155a022
Elastic constants from stress fluctuations
At finite temperature the elastic constants are the Born term (second strain derivatives of the energy) minus the stress fluctuations, plus the kinetic term, averaged over an NVT run. As for the static constants, a C that is not positive definite (noise, a short run) gets a note and only the Voigt bounds.
Lutsko 1989; Clavier et al. 2017. The kinetic term has this form because σ is the virial stress alone; a stress with its kinetic part would change it
| Symbol | Meaning | In CAPS |
|---|---|---|
| C^B | Born matrix | analytic |
| σ | instantaneous virial stress, without the kinetic part | sampled every step |
| N k_B T/V (δ_ik δ_jl + δ_il δ_jk) | kinetic term (Voigt: 2 N k_B T/V on C11–C33, N k_B T/V on C44–C66, 0 on C12, C13, C23) | from N, T and the mean volume |
| run | NVT length | 100 ps by default |
When to use it
Finite-temperature constants. For bonded polymers the fluctuation term converges slowly: errors stay at the GPa level over 100 ps, which CAPS reports.
- Source
core/src/mechanics.cpp- Tested by
- Mechanics.FluctuationConstantsOfColdCrystal · Mechanics.FluctuationKineticTermOfIdealGas · Mechanics.BornMatrixMatchesLatticeSum
- Departure from the reference
- none
References
- Lutsko, J. F., "Generalized expressions for the calculation of elastic constants by computer simulation", J. Appl. Phys. 65, 2991–2997 (1989). doi:10.1063/1.342716
- Clavier, G., Desbiens, N., Bourasseau, E., Lachet, V., Brusselle-Dupend, N., Rousseau, B., "Computation of elastic constants of solids using molecular simulation: comparison of constant volume and constant pressure ensemble methods", Mol. Simul. 43, 1413–1422 (2017). doi:10.1080/08927022.2017.1313418
χ from pair contacts
The Flory–Huggins χ(T) of two components from the energies of their molecules in contact. Each component is one rigid molecule (a solvent, or a repeat unit with its ends capped by hydrogen). Random relative orientations and directions are drawn; the second molecule slides in until the van der Waals surfaces touch, and the pair energy is recorded. The energies are Boltzmann-averaged at each temperature, the coordination numbers come from packing as many molecules as fit around one, and χ(T) is fitted to A + B/T.
Fan, Olafson, Blanco & Hsu 1992
| Symbol | Meaning | In CAPS |
|---|---|---|
| Z_ij | j molecules packed around one i at contact, none overlapping | random sequential packing, 5000 shells |
| ⟨E_ij⟩_T | Boltzmann-averaged pair energy at contact | 10⁶ contacts per pair of kinds |
| contact | van der Waals surfaces touching | Bondi radii, solved exactly over every atom pair |
| force field | Lennard-Jones and Coulomb (ε = 1) | GAFF2 with Gasteiger charges in the Studio |
| A, B | χ(T) = A + B/T | least squares over 250–400 K |
When to use it
A predictive screen of solvents and blend partners when no measured solubility parameters exist. In CAPS's check (bench/chi/check_contacts.py) it agrees with known behaviour for 11 of 16 polymer–solvent pairs (Hildebrand: 12 of 16) and fails where single strong contacts dominate: THF, toluene with natural rubber, and polystyrene/PVME (called immiscible; it is miscible). Self-mixing controls resolve χ to about ±0.15.
- Source
core/src/chipair.cpp- Tested by
- ChiPair.ArgonPairsTouchAtTheBondiSumAndPackUnderTwelve · ChiPair.SelfMixingControlIsZeroWithinItsErrorAndWaterIsNot · bench/chi/check_contacts.py
- Departure from the reference
- rigid molecules with one conformer each; one molecule per lattice site of either kind, with no correction for their different sizes; coordination numbers by random sequential packing
References
- Fan, C. F., Olafson, B. D., Blanco, M., Hsu, S. L., "Application of molecular simulation to derive phase diagrams of binary mixtures", Macromolecules 25, 3667–3676 (1992)
- Blanco, M., "Molecular silverware. I. General solutions to excluded volume constrained problems", J. Comput. Chem. 12, 237–247 (1991)
Polyhedral template matching
Each particle's nearest neighbours, with the particle itself, are compared with ideal FCC, HCP, BCC, icosahedral and simple-cubic neighbourhoods. Both point sets are centred and scaled to unit mean distance; neighbours are matched to template points from anchor pairs whose angles agree, and the optimal rotation (Horn's quaternion) gives the RMSD. The template with the least RMSD below the cutoff is the particle's structure; its rotation is the lattice orientation, and the deformation left after it gives a shear strain.
Larsen, Schmidt & Schiøtz 2016
| Symbol | Meaning | In CAPS |
|---|---|---|
| v̂, t̂ | neighbour vectors and template points, centred and scaled | 12 (FCC, HCP, ICO), 14 (BCC), 6 (SC) neighbours |
| RMSD cutoff | above it the particle is 'other' | 0.1 |
| Interatomic Distance | mean neighbour distance over the template's | the nearest-neighbour distance of the local lattice |
When to use it
Crystalline fillers and metal particles in a composite: grains, surfaces, stacking faults and local strain; the RMSD table shows where to set the cutoff.
- Source
core/src/pipeline.cpp (step_ptm) · core/src/superpose.cpp- Tested by
- Structure.PolyhedralTemplateMatching
- Departure from the reference
- correspondences from anchor pairs and nearest-point assignment, not the paper's graph-canonical search; the shear strain is relative to the particle's own lattice scale
References
- Larsen, P. M., Schmidt, S., Schiøtz, J., "Robust structural identification via polyhedral template matching", Modelling Simul. Mater. Sci. Eng. 24, 055007 (2016). doi:10.1088/0965-0393/24/5/055007
Voronoi and radical tessellation
Each atom's cell is built on its own: a box around it is clipped by the bisecting plane of every neighbour, nearest first, until no farther neighbour can reach the cell (periodic images included). The radical (power) variant moves each plane so that atoms with larger van der Waals radii get larger cells. The cells tile the box exactly; their volumes, faces and the Voronoi index ⟨n3 n4 n5 n6⟩ (faces with 3, 4, 5, 6 edges) follow.
cell-by-cell construction as in Rycroft 2009; radical planes Gellatly & Finney 1982
| Symbol | Meaning | In CAPS |
|---|---|---|
| r | distance between the atoms (minimum image or any image) | |
| R | van der Waals radius (Bondi) in the radical variant | |
| ⟨n3 n4 n5 n6⟩ | faces with 3 … 6 edges | FCC ⟨0 12 0 0⟩, BCC ⟨0 6 0 8⟩, icosahedral ⟨0 0 12 0⟩ |
When to use it
Free volume per atom in a polymer (radical), local packing in amorphous metals and fillers; the grid methods remain for a quick look.
- Source
core/src/voronoi.cpp · core/src/pipeline.cpp (step_voronoi)- Tested by
- Structure.ExactVoronoiCells
- Departure from the reference
- none known; cells of atoms without a periodic cell around them may be open (reported)
References
- Rycroft, C. H., "VORO++: A three-dimensional Voronoi cell library in C++", Chaos 19, 041111 (2009). doi:10.1063/1.3215722
- Gellatly, B. J., Finney, J. L., "Characterisation of models of multicomponent amorphous metals: the radical alternative to the Voronoi polyhedron", J. Non-Cryst. Solids 50, 313–329 (1982). doi:10.1016/0022-3093(82)90093-X
Wigner–Seitz defect analysis
Every particle is assigned to the reference site nearest to it, the site whose Wigner–Seitz cell holds it. A site without a particle is a vacancy; each particle beyond the first on a site is an interstitial. The reference is a frame of the trajectory (the undamaged lattice) or a file.
| Symbol | Meaning | In CAPS |
|---|---|---|
| R_k | reference sites | a frame of the trajectory or a file |
| n_k | particles on site k | Occupancy |
When to use it
Damage in crystalline fillers or substrates: after deformation, irradiation or cutting.
- Source
core/src/pipeline.cpp (step_wigner_seitz)- Tested by
- Structure.WignerSeitzDefects
- Departure from the reference
- none known
Backbone conformation: torsions, angles, bonds
The dihedral angle of every four consecutive backbone atoms of every chain and frame, as a distribution with the trans and gauche fractions; the backbone bond angles and lengths with it.
IUPAC sign convention (cis 0°, trans ±180°); the trans/gauche boundaries of the rotational isomeric state model
| Symbol | Meaning | In CAPS |
|---|---|---|
| b₁, b₂, b₃ | consecutive backbone bond vectors | Å |
| φ | torsion angle | ° |
When to use it
Chain stiffness and packing: a melt's t/g ratio against the isolated chain's, the effect of a filler surface or of strain on conformations.
- Source
core/src/properties.cpp- Tested by
- tests/test_core.cpp Analyze.BackboneConformation (an all-trans zigzag and one gauche torsion)
- Departure from the reference
- every backbone torsion counts alike (ester and amide torsions with C–C ones)
Velocity autocorrelation and vibrational density of states
The velocity autocorrelation over every frame as a time origin; its integral gives the Green–Kubo diffusion coefficient and its cosine transform (mass-weighted, Hann window) the vibrational density of states.
Dickey & Paskin 1969; the spectrum reaches the Nyquist wavenumber 1/(2cΔt)
| Symbol | Meaning | In CAPS |
|---|---|---|
| v | atom velocity | Å/fs |
| C_m | mass-weighted VACF | amu Ų/fs² |
| w | Hann window | |
| ν̃ | wavenumber | cm⁻¹ |
When to use it
Vibrational spectra of a cell (needs frames a few fs apart: C–H stretches at 3000 cm⁻¹ need ≤ 5 fs); D of small molecules as a check on the MSD.
- Source
core/src/properties.cpp- Tested by
- tests/test_core.cpp Analyze.VacfSpectrumPeak (a 1000 cm⁻¹ oscillation peaks at 1000 cm⁻¹)
- Departure from the reference
- no quantum correction of the classical spectrum
References
- Dickey, J. M., Paskin, A., "Computer simulation of the lattice dynamics of solids", Phys. Rev. 188, 1407–1418 (1969). doi:10.1103/PhysRev.188.1407
Infrared spectrum from the dipole
The infrared absorption of a trajectory from the time correlation of the cell's dipole derivative Ṁ = Σ q_i v_i: with the frames' velocities when they carry them, else from differences of the dipole between frames (each atom followed through the periodic cell), whose own filter [sin(ωΔt/2)/(ωΔt/2)]² is divided out of the spectrum. The correlation is averaged over every frame as a time origin up to 2 ps (or half the frames' span), Hann-windowed and cosine-transformed. The classical correlation is turned into a quantum lineshape by a correction factor: the harmonic factor, which gives the classical-looking expression below, and for comparison the standard and Schofield factors; at high wavenumbers they differ by large factors, which is why measured and simulated intensities of stretching bands are compared with care. The strongest band is reported with the integrated absorption, the resolution and the highest wavenumber the frame spacing allows.
Ramírez, López-Ciudad, Kumar & Marx 2004 (quantum correction factors)
| Symbol | Meaning | In CAPS |
|---|---|---|
| α n | absorption coefficient times refractive index | cm⁻¹ |
| Ṁ | time derivative of the cell's dipole | e·Å/ps |
| V | cell volume | ų |
| F | quantum correction relative to the harmonic factor | — |
When to use it
Following chemistry against FTIR: crosslink formation, silane coupling on fillers, hydrogen bonding of hydroxyl and amide groups, carbonyl shifts in blends; with a reactive or polarisable model the intensities, with fixed charges the band positions.
- Source
core/src/properties.cpp (ir_prop)- Tested by
- Infrared.OscillatingDipoleSumRule (a ±e pair oscillating at 1500 cm⁻¹: the band at 1500.00 cm⁻¹ and its area equal to the classical sum rule ∫αn dω = πβ⟨Ṁ²⟩/6cVε₀ within 1 × 10⁻⁴, from velocities and from dipole differences alike); Infrared.QuantumCorrectionFactors (the standard and Schofield spectra are the harmonic one times their factors to 1e-12)
- Departure from the reference
- fixed-charge force fields give no charge flow, so intensities are only qualitative; classical nuclei; frames must be evenly spaced and close enough for the bands of interest (C–H stretches need ≤ 5 fs)
References
- Ramírez, R., López-Ciudad, T., Kumar P, P., Marx, D., "Quantum corrections to classical time-correlation functions: hydrogen bonding and anharmonic floppy modes", J. Chem. Phys. 121, 3973–3983 (2004). doi:10.1063/1.1774986
Molecular descriptors
Numbers that describe a molecule for structure–property models, from its bonds (hydrogens explicit, the hydrogen-suppressed graph for the indices), its 3D shape and its charges. Graph indices: Wiener's sum of topological distances; the Zagreb indices; Randić's connectivity index and its Kier–Hall extensions over paths of orders 0–3, plain and with valence deltas δv = (Z_v − h)/(Z − Z_v − 1); Kier's shape indices κ1–κ3; Balaban's distance-sum index J; path counts, rings, aromatic atoms, Lipinski's hydrogen-bond donors (hydrogens on N and O) and acceptors (N and O), rotatable bonds. Shape: van der Waals volume (Bondi radii on a 0.1 Å grid) and area, the principal moments and radius of gyration, and Rohrbaugh and Jurs's shadow areas on the three principal planes with their ratios to the enclosing rectangles. Charges: Stanton and Jurs's charged partial surface areas (PPSA, PNSA, DPSA, FPSA, FNSA, WPSA, WNSA 1–3) from the solvent-accessible area of each atom and the structure's own charges, else Gasteiger–Marsili; when neither is available the charged areas are left blank and the printed charges line says why. A repeat unit's [*] attachment points are capped with hydrogen for the volume, areas, shadows and charges, while the mass, radius of gyration and graph indices take the structure as given. AlogP and molar refractivity are not given: their atom-type tables are not in CAPS.
Wiener 1947; Gutman & Trinajstić 1972; Randić 1975; Kier & Hall 1976; Kier 1985, 1986; Balaban 1982; Rohrbaugh & Jurs 1987; Stanton & Jurs 1990
| Symbol | Meaning | In CAPS |
|---|---|---|
| d_ij | topological distance (bonds) between heavy atoms | — |
| δ, δv | heavy neighbours; valence delta | — |
| A, P_m | heavy atoms; paths of length m | — |
| s_i, q, μ | distance sum; bonds; rings | — |
| A_i, q_i | solvent-accessible area and charge of atom i | Ų, e |
When to use it
Columns for a study table of repeat units, curatives, accelerators, plasticisers and coupling agents, ahead of a model of Tg, solubility or cure rate.
- Source
core/src/qspr.cpp (molecular_descriptors)- Tested by
- Qspr.GraphIndicesArePublishedValues (Wiener's hexanes 35, 32, 31, 28, 29; n-hexane M1 18, M2 16, 1χ 2.9142, κ 6, 5, 16/3, Balaban J 2.3391; ethanol 1χv 1.0233 and 0χv; chloromethane 0χv with δv(Cl) = 7/9); Qspr.SphereVolumeAndShadow (a single atom: the sphere's volume and area, its shadow π/4 of the square)
- Departure from the reference
- the structure is taken as one molecule; formal charges do not change δv; volume and shadows on grids (0.1 Å and 0.05 Å); E-state keys, chirality counts, AlogP and molar refractivity not given
References
- Wiener, H., "Structural Determination of Paraffin Boiling Points", J. Am. Chem. Soc. 69, 17–20 (1947). doi:10.1021/ja01193a005
- Gutman, I., Trinajstić, N., "Graph theory and molecular orbitals. Total φ-electron energy of alternant hydrocarbons", Chem. Phys. Lett. 17, 535–538 (1972). doi:10.1016/0009-2614(72)85099-1
- Randic, M., "Characterization of molecular branching", J. Am. Chem. Soc. 97, 6609–6615 (1975). doi:10.1021/ja00856a001
- Kier, L. B., Hall, L. H., "Molecular Connectivity VII: Specific Treatment of Heteroatoms", J. Pharm. Sci. 65, 1806–1809 (1976). doi:10.1002/jps.2600651228
- Kier, L. B., "A Shape Index from Molecular Graphs", Quant. Struct.-Act. Relat. 4, 109–116 (1985). doi:10.1002/qsar.19850040303
- Kier, L. B., "Shape Indexes of Orders One and Three from Molecular Graphs", Quant. Struct.-Act. Relat. 5, 1–7 (1986). doi:10.1002/qsar.19860050102
- Balaban, A. T., "Highly discriminating distance-based topological index", Chem. Phys. Lett. 89, 399–404 (1982). doi:10.1016/0009-2614(82)80009-2
- Lipinski, C. A., Lombardo, F., Dominy, B. W., Feeney, P. J., "Experimental and computational approaches to estimate solubility and permeability in drug discovery and development settings", Adv. Drug Deliv. Rev. 23, 3–25 (1997). doi:10.1016/s0169-409x(96)00423-1
- Rohrbaugh, R. H., Jurs, P. C., "Descriptions of molecular shape applied in studies of structure/activity and structure/property relationships", Anal. Chim. Acta 199, 99–109 (1987). doi:10.1016/s0003-2670(00)82801-9
- Stanton, D. T., Jurs, P. C., "Development and use of charged partial surface area structural descriptors in computer-assisted quantitative structure-property relationship studies", Anal. Chem. 62, 2323–2329 (1990). doi:10.1021/ac00220a013
Structure–property models, clusters and classes
Models of one column of a study table (y) on others. Multiple linear regression, optionally stepwise by Akaike's information criterion over the columns, their squares and their products; partial least squares (PLS1 by NIPALS on autoscaled columns, the number of components the one with the highest cross-validated q²); genetic function approximation, a genetic search over sums of linear, spline ⟨x − t⟩₊, ⟨t − x⟩₊ and quadratic terms with knots at data values, scored by Friedman's lack of fit; and a neural network of one tanh hidden layer trained by back-propagated gradients (L-BFGS, weight decay, several starts). Each model is cross-validated (k-fold or leave-one-out: q² = 1 − PRESS/SS with the model's form refitted in each fold) and checked by y-randomisation, the whole fit, selection included, repeated on shuffled y. Linear models report leverage, standardised residuals and Cook's distance for every row. Rows can be clustered (hierarchical by the Lance–Williams update: single, complete, average or Ward linkage; or k-means) and classes separated by Fisher's linear discriminant analysis, checked by leaving each row out.
Akaike 1974; Wold et al. 2001; Rogers & Hopfinger 1994; Rumelhart et al. 1986; Rücker et al. 2007; Cook 1977; Lance & Williams 1967; Ward 1963; Lloyd 1982; Fisher 1936
| Symbol | Meaning | In CAPS |
|---|---|---|
| q² | cross-validated coefficient of determination | — |
| k, p | parameters of a model | — |
| c, d, M | GFA basis functions, smoothing, rows | — |
| h_ii | leverage of row i | — |
| c_a | centroid of cluster a | — |
When to use it
Screening many candidates in a study table (Tg, density or solubility parameter against descriptors of repeat units; cure rate against accelerator descriptors); grouping simulated systems; telling which descriptors separate good from poor coupling agents.
- Source
core/src/qspr.cpp (fit_model, cluster_rows, discriminant)- Tested by
- Qspr.LinearModelsAndDiagnostics (an exact plane recovered; PLS with every component equals OLS to 1e-9; leave-one-out PRESS equals Σ (e/(1 − h))²; Cook's distances equal the deletion changes to 1e-10); Qspr.StepwiseAndRandomisation (the one real column kept; shuffled R² at most 0.31 against 0.9999); Qspr.GfaHingeAndNetwork (GFA finds y = 3⟨x − 0.5⟩₊ exactly; a 6-unit network fits sin 2x with R² > 0.999); Qspr.ClusteringAndDiscriminant (Ward merges at 0.5, 0.5, 100 for 0, 1, 10, 11; k-means agrees; Fisher's direction equal to S_W⁻¹(μ₁ − μ₂))
- Departure from the reference
- cross-validation keeps the terms that stepwise and GFA selected on all rows (optimistic q²; y-randomisation repeats the selection); folds are interleaved, not shuffled; the network's predictions depend on its seed
References
- Akaike, H., "A new look at the statistical model identification", IEEE Trans. Autom. Control 19, 716–723 (1974). doi:10.1109/tac.1974.1100705
- Wold, S., Sjöström, M., Eriksson, L., "PLS-regression: a basic tool of chemometrics", Chemom. Intell. Lab. Syst. 58, 109–130 (2001). doi:10.1016/s0169-7439(01)00155-1
- Rogers, D., Hopfinger, A. J., "Application of Genetic Function Approximation to Quantitative Structure-Activity Relationships and Quantitative Structure-Property Relationships", J. Chem. Inf. Comput. Sci. 34, 854–866 (1994). doi:10.1021/ci00020a020
- Rumelhart, D. E., Hinton, G. E., Williams, R. J., "Learning representations by back-propagating errors", Nature 323, 533–536 (1986). doi:10.1038/323533a0
- Rücker, C., Rücker, G., Meringer, M., "y-Randomization and Its Variants in QSPR/QSAR", J. Chem. Inf. Model. 47, 2345–2357 (2007). doi:10.1021/ci700157b
- Cook, R. D., "Detection of Influential Observation in Linear Regression", Technometrics 19, 15–18 (1977). doi:10.1080/00401706.1977.10489493
- Lance, G. N., Williams, W. T., "A General Theory of Classificatory Sorting Strategies: 1. Hierarchical Systems", Comput. J. 9, 373–380 (1967). doi:10.1093/comjnl/9.4.373
- Ward, J. H., "Hierarchical Grouping to Optimize an Objective Function", J. Am. Stat. Assoc. 58, 236–244 (1963). doi:10.1080/01621459.1963.10500845
- Lloyd, S., "Least squares quantization in PCM", IEEE Trans. Inf. Theory 28, 129–137 (1982). doi:10.1109/tit.1982.1056489
- Fisher, R. A., "The use of multiple measurements in taxonomic problems", Ann. Eugenics 7, 179–188 (1936). doi:10.1111/j.1469-1809.1936.tb02137.x
Hydrogen bonds
Donor–hydrogen···acceptor contacts counted per frame. The donors are the hydrogens bonded to the chosen donor elements (N, O and F by default; C adds weak C–H···O donors) and the acceptors the chosen acceptor elements (S and Cl for sulfur chemistries and halides). Two criteria: the D···A form of Luzar and Chandler, r(D···A) ≤ 3.5 Å with the H–D···A angle at most 30°, and the IUPAC form, the H···A distance below the sum of the two atoms' van der Waals radii (Bondi) with the D–H···A angle at least 110°, both limits adjustable. With two selection queries given, only bonds with the donor in one and the acceptor in the other are counted (a fibre and its matrix, a silane layer and the rubber). The lifetime comes from the intermittent correlation of each bond's existence.
Luzar & Chandler 1996; Arunan et al. (IUPAC) 2011, footnotes F4 (angle above 110°) and F5 (H···Y below the sum of the van der Waals radii); Steiner 2002 (weak C–H···O bonds)
| Symbol | Meaning | In CAPS |
|---|---|---|
| h(t) | 1 while a given D–H···A bond exists, else 0 | |
| τ | hydrogen-bond lifetime | ps |
When to use it
Epoxidised and hydroxylated rubbers, maleic acid and PBS ends, water: how many hydrogen bonds hold the network and how long they last.
- Source
core/src/properties.cpp- Tested by
- tests/test_core.cpp Analyze.HydrogenBonds (two waters, one bond; turned away, none); HBonds.IupacCriterion (the H···A form counts at 180° and 120°, not at 100°, and not with a 1.8 Å limit for a 1.84 Å contact; the D···A form at 160° and not at 120°); HBonds.WeakCHDonors (a C–H···O contact counts only with carbon among the donors); HBonds.BetweenTwoGroups (two bonds, one between molecules 1 and 2 either way round)
- Departure from the reference
- the lifetime is a lower bound when C(t) has not decayed over the trajectory
References
- Luzar, A., Chandler, D., "Hydrogen-bond kinetics in liquid water", Nature 379, 55–57 (1996). doi:10.1038/379055a0
- Arunan, E., Desiraju, G. R., Klein, R. A., Sadlej, J., Scheiner, S., Alkorta, I., Clary, D. C., Crabtree, R. H., Dannenberg, J. J., Hobza, P., Kjaergaard, H. G., Legon, A. C., Mennucci, B., Nesbitt, D. J., "Definition of the hydrogen bond (IUPAC Recommendations 2011)", Pure Appl. Chem. 83, 1637–1641 (2011). doi:10.1351/PAC-REC-10-01-02
- Steiner, T., "The hydrogen bond in the solid state", Angew. Chem. Int. Ed. 41, 48–76 (2002). doi:10.1002/1521-3773(20020104)41:1<48::AID-ANIE48>3.0.CO;2-U
Geometry at every match of a SMARTS pattern
A SMARTS pattern marks the points to measure with atom-map numbers: [#6][S:1][S:2][#6] marks the two sulfurs of a C–S–S–C bridge. Atoms sharing a number are one point at their centroid, so a ring's centre is written by giving all its atoms the same number. Two points give a distance, three the angle at the middle one, four the torsion about the middle pair with the IUPAC sign. Every embedding of the pattern in the structure is found once; two that measure the same points in reverse order (an S–S bond read either way, a torsion from either end) count once. Each point is made whole by minimum images from the first atom of the first point, so a match across the cell edge measures correctly. Over the frames the mean, the spread, a histogram and the mean per frame are reported. An unwritten bond in the pattern means a single bond; write ~ for any bond or : for an aromatic one.
points from atom-map numbers; the torsion with the IUPAC sign
| Symbol | Meaning | In CAPS |
|---|---|---|
| x_k | point k: the centroid of the atoms marked k | Å |
| b_i | x_{i+1} − x_i | Å |
When to use it
C–Sx–C bridge lengths and S–S torsions in vulcanisates, Si–O–Si angles at silica, amide geometry in fibres, ring-to-group distances.
- Source
core/src/pattern_geometry.cpp (pattern_geometry, smarts_map_numbers); properties.cpp (pattern)- Tested by
- PatternGeometry.MapNumbers; PatternGeometry.DisulfideBridge (S–S 2.05 Å once, both C–S–S 104°, the torsion 90° once, the same in a frame shifted across the cell edge, through the analysis); PatternGeometry.RingCentroid (a ring's centre to a substituent oxygen 2.76 Å, one match however the ring is walked)
- Departure from the reference
- one pattern per analysis; points are atoms or centroids (no planes or axes)
Domains of a density field
The mass density of a group of atoms (a selection query, all atoms by default) is put on a grid spanning the cell, each atom a Gaussian normalised on the grid so that the field holds exactly the group's mass. Voxels above a level (the field's mean unless given; below it on request) are labelled into connected regions through their faces and across the periodic boundaries. While a region is flooded each voxel keeps the periodic image it was reached in; a region that reaches one of its own voxels in another image percolates along the axes where the images differ, and a region that percolates along none is enclosed. Per region: its volume, the equivalent radius (3V/4π)^⅓, the centroid and the semi-axes √(5λ_k) of the ellipsoid with the same gyration tensor (exact for a uniform ellipsoid), and the distance to the nearest other enclosed region. The voxel values' histogram is reported, and the field can be sampled on any plane by periodic trilinear interpolation. As an analysis the field is averaged over the frames first.
geometry of a uniform solid ellipsoid: ⟨x²⟩ = a²/5 along each semi-axis
| Symbol | Meaning | In CAPS |
|---|---|---|
| V | region volume | ų |
| λ_k | eigenvalues of the region's gyration tensor G | Ų |
| a_k | fitted-ellipsoid semi-axes | Å |
| g_σ | normalised Gaussian of width σ | 1/ų |
When to use it
Phase domains of rubber blends and thermoplastic elastomers, filler-rich regions, whether a phase is continuous through the cell.
- Source
core/src/domains.cpp (density_field, label_domains, density_domains, field_slice); properties.cpp (domains)- Tested by
- Domains.TwoSpheres (two enclosed 4 Å spheres: volume within 3 %, radius and axes 4 Å, centroids exact, 12 Å apart); Domains.SphereAcrossTheEdges (one enclosed domain at the cell corner); Domains.Percolation (a cylinder along c, a slab along a and b, the space around a sphere along all three); Domains.SliceOfALinearField (exact on a tilted plane); Domains.FieldHoldsTheMass (the field's integral is the group's mass)
- Departure from the reference
- face connectivity only (no edges or corners); the level is one number for the whole cell; the Studio's chip uses the default grid, width and level (caps domains and Python take them)
Pore network
The geometry a spherical probe sees in a periodic cell. On a grid, CAPS computes the distance from every point to the nearest van der Waals surface. The points farther than the probe radius are the space the probe's centre can reach. They are joined into clusters through the grid's faces and across the periodic boundaries. A cluster that reaches its own image percolates along those axes and is a channel; one that does not is a pocket, closed to anything coming from outside. LCD is the largest included sphere. The pore-limiting diameter PLD along each axis is twice the largest radius r for which the points farther than r from every surface still percolate along that axis, found by bisection. Dif is the largest included sphere along that free path. The surface is sampled with an even Fibonacci lattice of points on every atom's sphere of radius R + probe. Points covered by another such sphere are dropped. The rest count as accessible when they open into a channel and as non-accessible when they open into a pocket, per cell, per volume and per mass.
d(x) the distance to the nearest van der Waals surface; m²/cm³ = 10⁴ ASA/V and m²/g = 10⁴ ASA N_A 10⁻²⁴ / M for ASA in Ų, V in ų, M the cell's mass in g/mol
| Symbol | Meaning | In CAPS |
|---|---|---|
| d(x) | distance to the nearest van der Waals surface | Å |
| r_p | probe radius | Å |
| R_i | van der Waals radius of atom i | Å |
| ASA | accessible surface area | Ų, m²/cm³, m²/g |
When to use it
Gas barrier of butyl and halobutyl rubbers (whether the free volume connects into paths a gas can take), porous fillers (zeolites, silica), and the open area a sorbate can reach.
- Source
core/src/pores.cpp- Tested by
- tests/test_pores.cpp (a simple cubic lattice of spheres: LCD 2(√3L/2 − R), PLD 2(L/√2 − R) along every axis, accessible area 4π(R + r)² and its per-volume and per-mass values exactly; spheres that close the windows leave one pocket, no channel, all surface non-accessible; two overlapping spheres give the union's area within 0.2 %); tests/python/test_bindings.py pores (LTA zeolite: a 3D channel and the sodalite pockets)
- Departure from the reference
- distances, LCD and PLD are measured at grid points, so they converge with the grid (0.25 Å by default); surface points that land between grid points of no cluster are counted in a note, not in either area
References
- Willems, T. F., Rycroft, C. H., Kazi, M., Meza, J. C., Haranczyk, M., "Algorithms and tools for high-throughput geometry-based analysis of crystalline porous materials", Microporous Mesoporous Mater. 149, 134–141 (2012). doi:10.1016/j.micromeso.2011.08.020
Readers for measured data and grids
Curves and grids from instruments and other programs are read into one curve (x, y, σ) or one grid. JCAMP-DX spectra are read from ##XYDATA=(X++(Y..Y)), in plain (AFFN), packed (PAC) or compressed form. The compressed form covers the SQZ, DIF and DUP pseudo-digits, with the check value that repeats each DIF line's last ordinate; a damaged check is reported. ##XYPOINTS pairs are read as well. The abscissae run from FIRSTX to LASTX over the points read, and the ordinates are scaled by YFACTOR. PANalytical XRDML files give the first scan's 2θ positions (start to end, or listed) and its counts or intensities. GSAS files give a constant-wavelength bank in STD (σ = √(Y/NCTR)), ESD, FXY or FXYE form, in centidegrees. Bruker UXD files give the first range's single-column counts from _START by _STEPSIZE, or its two-column data. Rigaku *TYPE text gives the first group's values from *START by *STEP. Gaussian cube grids are read with their atoms; an orbital list is skipped, and Å voxels are taken when the counts are negative. BIOSYM .arc archives open as trajectories, one .car frame each. Refinement and indexing take every curve format.
DELTAX in JCAMP-DX is nominal: the spacing comes from FIRSTX, LASTX and the points read
| Symbol | Meaning | In CAPS |
|---|---|---|
| N | points read | — |
| YFACTOR | ordinate scale of a JCAMP-DX block | — |
| BCOEF1, BCOEF2 | first point and step of a GSAS bank | centidegrees |
When to use it
Measured powder patterns for refinement and indexing straight from the diffractometer's file, IR spectra to compare with the MD spectrum, and densities or potentials other programs wrote as cube files.
- Source
core/src/measured.cpp- Tested by
- tests/test_measured.cpp (one spectrum in AFFN, PAC and compressed forms decodes to the same ordinates, and a damaged check value is reported; XRDML 1.5 with an Omega axis beside 2θ, and 2.1 with listed positions; GSAS STD with a counter count of 4 and FXYE; UXD with two ranges and two-column data; Rigaku groups; a cube written and read back, and one with an orbital list in Å; a two-frame .arc); tests/python/test_bindings.py read_data
- Departure from the reference
- the XRDML layout follows the published schemas (xrdml.com); UXD, Rigaku and .arc have no public specification, so their readers follow the open parsers xylib, rigakuXRD, Open Babel and ASE and read only the documented keywords. Bruker binary .raw and STOE .xyd are refused, because neither has a public description. GSAS ALT records and time-of-flight banks are not read. Only the first scan, range, group or bank is read, with a note when there are more
References
- McDonald, R. S., Wilks, P. A., "JCAMP-DX: a standard form for exchange of infrared spectra in computer readable form", Appl. Spectrosc. 42, 151–162 (1988). doi:10.1366/0003702884428734
van Hove self-correlation and the non-Gaussian parameter
How far atoms move in a time t: the distribution of their displacements over every time origin, and how far it is from a Gaussian.
α₂ = 0 for Gaussian (free, Fickian) displacements; a maximum marks heterogeneous dynamics near the glass transition
| Symbol | Meaning | In CAPS |
|---|---|---|
| Δr | displacement of an atom over t (drift removed) | Å |
| α₂ | non-Gaussian parameter |
When to use it
Polymer melts and rubbers near Tg; diffusing small molecules in a matrix (hopping shows as a second peak of 4πr²G_s).
- Source
core/src/properties.cpp- Tested by
- tests/test_core.cpp Analyze.VanHoveAndP2 (Gaussian steps: α₂ ≈ 0; half the atoms frozen: α₂ > 0.4)
- Departure from the reference
Orientational correlation P₂(r)
Whether backbone segments near each other point the same way: the second Legendre polynomial of the angle between two chords, against the distance between their centres.
1 parallel, 0 random, −½ perpendicular
| Symbol | Meaning | In CAPS |
|---|---|---|
| θ_ij | angle between chords i and j | |
| c_i | centre of chord i (backbone atom k, chord k−1 → k+1) | Å |
When to use it
Local alignment in a stretched rubber, chain order next to a fibre or filler surface, the onset of crystallisation (PBS, PE).
- Source
core/src/properties.cpp- Tested by
- tests/test_core.cpp Analyze.VanHoveAndP2 (parallel all-trans chains: P₂ > 0.95)
- Departure from the reference
- at most 4000 chords a frame (every n-th)
Static dielectric constant from dipole fluctuations
The fluctuations of the cell's total dipole moment over an equilibrium trajectory give its static dielectric constant (conducting surroundings, as Ewald sums with tin-foil boundaries assume).
Neumann 1983; molecules made whole across the cell walls before M is summed
| Symbol | Meaning | In CAPS |
|---|---|---|
| M | total dipole moment of the cell | e·Å |
| V | cell volume | ų |
| T | temperature of the run | K |
When to use it
Insulating rubbers and fillers for cables, dielectric elastomers: ε of the matrix and of composites (with long NVT or NPT runs; the running ε shows convergence).
- Source
core/src/properties.cpp- Tested by
- tests/test_core.cpp Analyze.DielectricFromDipoleFluctuations (a flipping ±1 e pair in a 10 Å cell at 300 K: 3.332)
- Departure from the reference
- no electronic polarisability: ε∞ = 1 (add it for a comparison with experiment)
References
- Neumann, M., "Dipole moment fluctuation formulas in computer simulations of polar systems", Molecular Physics 50, 841–858 (1983). doi:10.1080/00268978300102721
Heat capacity, compressibility and expansion from fluctuations
An equilibrium NPT run gives Cp, the isothermal compressibility κ_T (and the bulk modulus B = 1/κ_T) and the thermal expansion α_P from the fluctuations of the enthalpy and the volume; an NVT run gives Cv. One run, no finite differences.
the frames carry no velocities: the kinetic part is exact in classical statistics, ⟨δK²⟩ = 3N(k_BT)²/2, uncorrelated with the configuration
| Symbol | Meaning | In CAPS |
|---|---|---|
| U | potential energy of the frame (the assigned force field) | kcal/mol |
| V | cell volume | ų |
| N | atoms | — |
| T, P | temperature and pressure of the run | K, atm |
When to use it
Rubber compounds and glassy polymers: κ_T and B for the bulk response, α_P below and above Tg (compare with the slope of V(T) from the Tg scan), Cp for thermal modelling.
- Source
core/src/properties.cpp- Tested by
- tests/test_core.cpp Analyze.ResponseFunctionsFromFluctuations (argon beyond the cut-off: U = 0, the volume's variance alone; NVT gives 3R/2M)
- Departure from the reference
- classical heat capacity: every vibration holds k_BT, so Cp exceeds experiment where high-frequency modes are frozen out; fluctuations converge slowly (the ± is the spread of the blocks)
References
- Allen, M. P., Tildesley, D. J., "Computer Simulation of Liquids", Oxford University Press (2017). doi:10.1093/oso/9780198803195.001.0001
Compliance, directional moduli and sound speeds
From the elastic constants: the compliance S = C⁻¹, Young's moduli and Poisson's ratios along the cell axes, the shear moduli, how far from isotropic the solid is, and its longitudinal, transverse and Debye-mean sound speeds.
K and G are the Hill averages; ν_ij is the strain along j over the strain along i when stretched along i; v_m = [(2/v_T³ + 1/v_L³)/3]^(−1/3)
| Symbol | Meaning | In CAPS |
|---|---|---|
| S | compliance, C⁻¹ | 1/GPa |
| K, G | bulk and shear modulus (Hill) | GPa |
| ρ | density of the cell | g/cm³ |
| A^U | universal anisotropy index (0 isotropic) | — |
When to use it
Oriented or filled rubbers and fibre composites: E along and across the fibres, the anisotropy of a stretched network; sound speeds for acoustic and damping comparisons (ultrasonic measurements).
- Source
core/src/mech_props.cpp- Tested by
- tests/test_mechanics.cpp Mechanics.ComplianceAndSoundSpeeds (an isotropic tensor: E_x, ν_xy, G, A^U = 0 and both sound speeds as the formulas)
- Departure from the reference
- the speeds are of the isotropic average; along a direction of an anisotropic solid they follow from the Christoffel equation
References
- Ranganathan, S. I., Ostoja-Starzewski, M., "Universal elastic anisotropy index", Physical Review Letters 101, 055504 (2008). doi:10.1103/PhysRevLett.101.055504
- Anderson, O. L., "A simplified method for calculating the Debye temperature from elastic constants", Journal of Physics and Chemistry of Solids 24, 909–917 (1963). doi:10.1016/0022-3697(63)90067-2
Normal modes
The harmonic vibrations of a structure at a minimum of its force field: wavenumbers, the IR spectrum of the fixed charges, the vibrational density of states and the quantum harmonic zero-point energy, entropy and heat capacity. A mode plays in the view from its card.
H by central differences of the forces (±0.005 Å, the pair list frozen); the rigid translations and rotations projected out (Miller, Handy & Adams 1980); λ < 0 shown as a negative (imaginary) wavenumber
| Symbol | Meaning | In CAPS |
|---|---|---|
| H | Hessian, second derivatives of the energy | kcal/mol/Ų |
| m_i | atomic masses | g/mol |
| l_k | mass-weighted mode k | — |
| q_i | partial charges | e |
When to use it
Checking a force field's bonded terms against IR/Raman bands (C=C of a diene, C=O of an ester, S–S of a crosslink), the vibrational entropy of a conformer, and whether a minimised structure is really a minimum (no imaginary modes).
- Source
core/src/normal_modes.cpp- Tested by
- tests/test_normal_modes.cpp (the eigen-solver on a random matrix; a harmonic diatomic gives √(2k/μ)/2πc with five rigid motions projected; water has three real modes)
- Departure from the reference
- harmonic, fixed charges: no anharmonicity, no polarisation in the intensities; ZPE and S from the force field's frequencies
References
- Miller, W. H., Handy, N. C., Adams, J. E., "Reaction path Hamiltonian for polyatomic molecules", The Journal of Chemical Physics 72, 99–112 (1980). doi:10.1063/1.438959
Shear viscosity η(γ̇) by NEMD
Planar Couette flow imposed on the structure: the x velocity grows along y at the shear rate, the cell tilts with the flow, and the steady-state shear stress gives the viscosity at that rate. A sweep of rates shows shear thinning and the first normal-stress difference of polymer melts.
SLLOD (Evans & Morriss 1984) with Lees–Edwards boundaries by the cell's tilt (b_x grows at γ̇ b_y, flipped by a at ±a_x/2); the thermostat acts on the peculiar momenta p; the first quarter of each run left out
| Symbol | Meaning | In CAPS |
|---|---|---|
| γ̇ | shear rate | 1/ps |
| p_i | peculiar momentum (the flow taken off) | g/mol·Å/fs |
| P_xy | shear component of the pressure tensor | atm |
| N₁ | first normal-stress difference | MPa |
When to use it
Melt viscosity and shear thinning of rubber compounds and oils at processing-like (but far higher) rates; the power-law index n for flow models; N₁ > 0 shows the chains orienting in the flow. For long runs on a cluster, Export writes the same flow for LAMMPS (protocol Shear viscosity, NEMD): the box made triclinic, fix nvt/sllod with fix deform xy erate remap v, and η = −P_xy/γ̇ in mPa·s averaged in blocks into viscosity.dat; one file per rate.
- Source
core/src/mechanics.cpp- Tested by
- tests/test_dynamics.cpp Dynamics.SllodShearViscosityOfTheLjLiquid and tests/test_mechanics.cpp Mechanics.NemdShearThinningOfTheLjLiquid (the Lennard-Jones triple point: η* ≈ 2.1 at γ̇* = 1, lower at 2, ⟨T⟩ held)
- Departure from the reference
- simulated rates are 10⁹–10¹¹ s⁻¹; viscous heat leaves T above the target by about the heating rate × τ (τ 20 fs by default; the mean T is reported per rate)
References
- Evans, D. J., Morriss, G. P., "Nonlinear-response theory for steady planar Couette flow", Physical Review A 30, 1528–1530 (1984). doi:10.1103/PhysRevA.30.1528
Conformer search
The low-energy shapes of a molecule under its force field: many starts minimised (random staggered torsions, or snapshots of a 1000 K run quenched) and the minima grouped when their heavy atoms superpose, with energies and Boltzmann populations. They open as frames to step through.
rotatable bonds: acyclic single bonds with a heavy atom beyond each end, set to 60°, 180° or 300° (± 15° noise); superposition by Horn's quaternion method
| Symbol | Meaning | In CAPS |
|---|---|---|
| ΔE_k | minimised energy above the lowest | kcal/mol |
| T | temperature of the populations | K |
| RMSD | heavy-atom root-mean-square deviation | Å |
When to use it
Crosslinkers, curatives, plasticisers and monomers before packing or reacting: the lowest conformer as the building block, the spread of shapes, the anti/gauche balance of a chain segment; the anneal method also shows the distribution of minima.
- Source
core/src/conformers.cpp- Tested by
- tests/test_conformers.cpp (butane: anti lowest, gauche a fraction of a kcal/mol above, populations sum to 1; benzene one conformer; the anneal search minimises every snapshot)
- Departure from the reference
- vacuum, energies only (no vibrational entropy, no solvent); rings keep their shape; mirror images are separate only when the heavy atoms do not superpose
References
- Horn, B. K. P., "Closed-form solution of absolute orientation using unit quaternions", Journal of the Optical Society of America A 4, 629–642 (1987). doi:10.1364/JOSAA.4.000629
Creep under constant stress
A constant true stress along one axis, the other faces at the ambient pressure: the strain against time, the creep compliance J(t) = ε(t)/σ, the creep rate at the end and the lateral contraction.
Berendsen per axis: dε_k = −(β/τ_p)(P_target − P_kk) dt/3 every ten steps; the barostat's τ_p sets how fast the cell answers, so the first few τ_p are its response
| Symbol | Meaning | In CAPS |
|---|---|---|
| σ | applied true stress (tension positive) | MPa |
| J | creep compliance | 1/GPa |
| ε | engineering strain along the axis | — |
When to use it
Rubber and fibre–matrix composites under a dead load: the elastic part, the early creep and how much the lateral faces contract; compare compounds at one stress and temperature. Export writes it for LAMMPS too (protocol Creep at constant stress): fix npt with the stressed axis at −σ and the others at P, axes uncoupled, strain against time in creep.dat.
- Source
core/src/mechanics.cpp- Tested by
- tests/test_mechanics.cpp Mechanics.StressControlAndCreep (an argon crystal: P_zz held at −50 MPa, the lateral axes at 1 atm, strain and lateral contraction positive)
- Departure from the reference
- nanosecond times only: the long-time creep of a polymer is far beyond MD; the barostat (not the inertia of the sample) sets the first response
Activation energy of exchange and relaxation
Relaxation times measured at several temperatures (bond lifetimes, exchange times, stress relaxation times, or a table from experiment) fitted as a straight line of ln τ against 1/T. The slope gives the activation energy with its standard error and the intercept the prefactor; reduced Lennard-Jones runs give it in units of ε. Two sets of times at the same temperatures also give the temperature where they cross: in a vitrimer, where the exchange time overtakes the segmental time and bond relaxation turns from Arrhenius to diffusion-limited.
least squares in 1/T; the crossing as in Branham-Ferrari et al. 2026
| Symbol | Meaning | In CAPS |
|---|---|---|
| τ | relaxation or exchange time | any unit |
| E_a | activation energy | kJ/mol (ε in reduced units) |
| T× | crossing temperature | K |
When to use it
Exchange chemistry from a temperature series: the bond lifetime of a vitrimer model against T, stress relaxation times from experiment for comparison, the temperature where bond exchange and segmental motion trade places (caps exchange arrhenius).
- Source
core/src/exchange_analysis.cpp (fit_arrhenius, crossing_temperature)- Tested by
- Exchange.ArrheniusRecoversTheActivationEnergy (an exact line: Ea to 10⁻⁸ kJ/mol), Exchange.CrossingTemperatureOfTwoArrheniusLines
- Departure from the reference
- the standard errors assume independent points of equal variance; no weighting by the uncertainty of each τ
References
- Branham-Ferrari, M. R., Cheng, S., Sokolov, A. P., Simmons, D. S., "Reaction–diffusion competition drives anomalous relaxation of vitrimers", Nat. Phys. , (2026). doi:10.1038/s41567-026-03468-0
Stress relaxation modulus G(t) and G′, G″
The shear stress relaxation modulus of an equilibrium run from its pressure-tensor fluctuations: the autocorrelation of the traceless symmetric pressure tensor, as for the Green–Kubo viscosity, but kept as a curve. A multi-tau correlator holds lags from one sample to a tenth of the run at a fixed cost per sample, each level fed with averages of the level below. G′(ω) and G″(ω) follow from the exact transform of G(t) taken as piecewise linear between the lags, with the equilibrium modulus of a solid network after the last lag. A stretched exponential (KWW) is fitted to the decay after the vibrational drop, and the integral of G to its first zero crossing gives the viscosity.
multi-tau correlator with p = 16 lags per level and m = 2 (Ramírez et al. 2010); s_k the slope of G between lags k and k+1
| Symbol | Meaning | In CAPS |
|---|---|---|
| P° | traceless symmetric pressure tensor (fluctuations about its mean) | atm |
| G_∞ | modulus after the last lag | 0 for a liquid; the equilibrium modulus of a network, MPa |
| s_k | slope of G(t) between lags | MPa/ps |
When to use it
Stress relaxation of vitrimer and rubber networks from an NVT run with or without bond exchange: G(t) and its terminal decay, G′ and G″ against frequency, a KWW time; from LAMMPS output (fix ave/time of pxx … pyz in units real) with caps exchange modulus.
- Source
core/src/exchange_analysis.cpp (MultiTauCorrelator, stress_relaxation, dynamic_moduli)- Tested by
- Exchange.StressRelaxationModulusUnitsAndDecay (Ornstein–Uhlenbeck shear stresses: G(0) within 3 %, τ and the integral), Exchange.MultiTauCorrelatorOfAnExponentialSignal, Exchange.DynamicModuliOfAMaxwellModel (G′, G″ of a Maxwell model to 2 × 10⁻⁴)
- Departure from the reference
- higher correlator levels correlate block averages, which smooths the curve at lags near their block size; one run, no replicas
References
- Ramírez, J., Sukumaran, S. K., Vorselaars, B., Likhtman, A. E., "Efficient on the fly calculation of time correlation functions in computer simulations", J. Chem. Phys. 133, 154103 (2010). doi:10.1063/1.3491098
- Daivis, P. J., Evans, D. J., "Comparison of constant pressure and constant volume nonequilibrium simulations of sheared model decane", J. Chem. Phys. 100, 541–547 (1994). doi:10.1063/1.466970
Bond lifetime from partner autocorrelation
How long exchangeable groups keep their partners: over all time origins, the fraction of sites bonded at the origin that are bonded to the same partner a time t later. Its 1/e time is the bond lifetime, with a KWW fit. When exchange is fast and returns to the old partner are likely, the curve falls in two steps, fitted by the form of Branham-Ferrari et al. (an exponential first step to one half, then a stretched decay as diffusion carries the partners apart). Partner changes between consecutive frames give a second, frame-limited estimate.
p_i the partner of site i (−1 free); the two-step form is Eq. 3 of Branham-Ferrari et al. 2026, fitted by Nelder–Mead
| Symbol | Meaning | In CAPS |
|---|---|---|
| c(t) | fraction of sites still with their partner | — |
| τ | first step: returns to the old partner | time of the frames |
| τ_d, β | stretched decay as partners separate | — |
When to use it
The exchange rate of a vitrimer run (CAPS's own, or LAMMPS bond/swap or bond/react output reduced to partner tables), its temperature dependence with the Arrhenius fit, and the check of whether bond relaxation is set by the reaction or by diffusion (caps exchange memory).
- Source
core/src/exchange_analysis.cpp (bond_memory, fit_two_step, fit_kww)- Tested by
- Exchange.BondMemoryCountsPartnersAndChanges (a fixed and an alternating partner exactly; independent exchange at a fixed rate gives its 1/e time and β = 1), Exchange.TwoStepFitRecoversItsParameters
- Departure from the reference
- a site that leaves its partner and returns to it between two frames counts as never having left; events between frames are missed by the change count
References
- Branham-Ferrari, M. R., Cheng, S., Sokolov, A. P., Simmons, D. S., "Reaction–diffusion competition drives anomalous relaxation of vitrimers", Nat. Phys. , (2026). doi:10.1038/s41567-026-03468-0
Healing efficiency and bonds across a cut
How far a cut, cracked or welded sample has recovered. Two kinds of measure: bonds across the interface (bonds joining atoms that started on opposite sides of the cut, across its plane; in a periodic cell the two sides also meet at the cell face, and bonds through that face, which a cut leaves intact, are counted apart; and the number of bonds crossing each plane along the normal, B(z), by the minimum image), and ratios of the healed sample's stress–strain curve to the intact one's. The ratios differ between papers, so CAPS gives each by name: the toughness ratio (areas under the curves), the peak-stress ratio, the initial modulus ratio and the stress at a chosen strain.
areas by the trapezoid rule to each curve's end (or to a common strain); E from a straight-line fit up to a set strain
| Symbol | Meaning | In CAPS |
|---|---|---|
| η | healing efficiency | % |
| ε* | strain the stresses are compared at | — |
| B(z) | bonds crossing the plane at z | bonds |
When to use it
Gap, cut or crack healing and welding of vitrimer and rubber networks: build the start (caps exchange cut, gap, crack, fragment), count bridges while it heals (caps exchange heal-run, or caps exchange bridges on any two frames), then pull the healed and intact samples the same way (caps tensile) and compare (caps exchange heal).
- Source
core/src/exchange_analysis.cpp (interface_bonds, healing_efficiency)- Tested by
- Exchange.HealingEfficiencyDefinitions (straight-line curves with known areas and slopes), Exchange.InterfaceBondsAndCrossingProfile (bonds across a cut and across the periodic boundary)
- Departure from the reference
- the four ratios answer different questions and are not interchangeable; MD strain rates are far above experiment
References
- Chen, Q., Huang, W., Zhang, L., Xi, L., Liu, J., "Fully atomistic molecular dynamics simulation of chemically modified natural rubber with hydrogen-bonding network", Polymer 284, 126284 (2023). doi:10.1016/j.polymer.2023.126284
- Yuan, H., Knight, A., Jiang, L., Huang, L., "Molecular insights into dynamic relaxation in vitrimers: transesterification-driven self-healing at the atomistic level", Materials 19, 3702 (2026). doi:10.3390/ma19173702
- Wick, C. D., Peters, A. J., Li, G., "A molecular dynamics modeling framework for shape memory vitrimers", J. Polym. Sci. 63, 9–19 (2025). doi:10.1002/pol.20240616
- Ciarella, S., Ellenbroek, W. G., "Swap-driven self-adhesion and healing of vitrimers", Coatings 9, 114 (2019). doi:10.3390/coatings9020114
- Stukalin, E. B., Cai, L.-H., Kumar, N. A., Leibler, L., Rubinstein, M., "Self-healing of unentangled polymer networks with reversible bonds", Macromolecules 46, 7525–7541 (2013). doi:10.1021/ma401111n
Sliding friction between walls
One wall molecule slid along x at a set speed over the film between it and a held wall, at the gap the structure has: the force the film puts on the moving wall gives the friction force, the shear stress at the wall and the friction coefficient at that load.
F the summed force of the other atoms on the moving wall's atoms, averaged over the steady part (block errors); A the cell's xy area; the moving wall's height fixed (constant gap)
| Symbol | Meaning | In CAPS |
|---|---|---|
| F_f | friction force | kcal/mol/Å |
| τ_w | shear stress at the wall | MPa |
| σ_n | normal stress the film carries | MPa |
| μ | friction coefficient | — |
When to use it
Rubber against a fibre or filler surface, a lubricant or processing aid between surfaces: the stress to slide at a given gap, compared across surface treatments (silane, sizing) at one speed and temperature.
- Source
core/src/mechanics.cpp- Tested by
- tests/test_mechanics.cpp Mechanics.SlidingFrictionOfALjFilm (an argon liquid between argon walls at γ̇* ≈ 0.5: 47 MPa against the no-slip estimate η γ̇ ≈ 50 MPa, the temperature held)
- Departure from the reference
- MD speeds (m/s and up) far exceed a tribometer's; the thermostat acts on the flow direction too; constant gap, not constant load
Solvation free energy (thermodynamic integration)
The free energy of moving one molecule from the gas into the rest of the frame: its interactions with everything else are switched off in windows on a copy, first its charges and then its Lennard-Jones with soft-core pairs, and the mean derivative in each window is integrated over λ.
λ = 0 the solute decoupled (gas), λ = 1 coupled (solvated), so the integrals give G(solvated) − G(gas); trapezoid rule over the windows; solute–rest pairs only (its internal interactions stay on in both states); α = 0.5; each soft-core pair shifted to zero at the cut-off; pairwise (DSF) electrostatics, no tail correction; errors from block averages per window
| Symbol | Meaning | In CAPS |
|---|---|---|
| λ_c, λ_LJ | coupling of the solute's charges and Lennard-Jones to the rest | — |
| ⟨∂U/∂λ⟩ | mean derivative in a window (NVT) | kcal/mol |
| α | soft-core parameter | — |
| ΔG_solv | solvation free energy (negative: dissolves) | kcal/mol |
When to use it
Solubility of a plasticiser, curative, antioxidant or water in a rubber matrix compared across matrices (the difference of ΔG between two matrices is the transfer free energy and partition coefficient, ln K = −ΔΔG/RT); hydration free energies of small molecules to check a force field.
- Source
core/src/free_energy.cpp- Tested by
- tests/test_dynamics.cpp Dynamics.SolvationTiMatchesWidomInsertion (an LJ particle in an LJ liquid: TI against Widom insertion, within the errors); Dynamics.AlchemicalPairsAndTheirDerivatives (λ = 1 equals the plain pairs; ∂U/∂λ and the forces against finite differences)
- Departure from the reference
- no long-range (PME) electrostatics or tail correction during the windows; NVT at the frame's volume (no pressure–volume term, small for a dense phase); short windows give large errors for big solutes
References
- Kirkwood, J. G., "Statistical mechanics of fluid mixtures", J. Chem. Phys. 3, 300–313 (1935). doi:10.1063/1.1749657
- Beutler, T. C., Mark, A. E., van Schaik, R. C., Gerber, P. R., van Gunsteren, W. F., "Avoiding singularities and numerical instabilities in free energy calculations based on molecular simulations", Chem. Phys. Lett. 222, 529–539 (1994). doi:10.1016/0009-2614(94)00397-1
Fitting a curve
Any curve in Analyze fitted over a chosen x range: a line or quadratic (solved directly), a power law, an exponential decay, a stretched exponential (KWW), an Arrhenius law, or Gaussian peaks on a baseline (Levenberg–Marquardt). Each parameter with its standard error, R², and the fitted line drawn over the curve.
J the Jacobian at the minimum (central differences); log–log curves are fitted on the logarithms of both axes
| Symbol | Meaning | In CAPS |
|---|---|---|
| J | ∂f/∂p at the points | — |
| SSR | sum of squared residuals | — |
| n, k | points and parameters | — |
When to use it
The power-law exponent of an MSD, a KWW relaxation time and β of a stress or bond autocorrelation, an activation energy from rates against temperature, peak positions and widths of a scattering curve.
- Source
studio/CapsStudio/ViewModels/CurveFit.cs- Tested by
- the Studio self-test fits back an exponential decay (a, τ, c to 10⁻⁴) and two Gaussians (centres to 10⁻³)
- Departure from the reference
- the errors assume independent points with equal variance: points of a time correlation are not independent, so treat the ± as a lower bound
Crystallinity index from a diffraction curve
A simulated (or imported) WAXS curve over q fitted with Gaussian peaks on a baseline: peaks at least as wide as the halo width are the amorphous halo, narrower ones crystalline reflections, and the crystallinity index is the crystalline share of the peak area.
σ ≥ the halo width (0.12 Å⁻¹ by default) → amorphous; a finite cell broadens crystalline peaks by about 2π/L, so a small cell needs a wider threshold
| Symbol | Meaning | In CAPS |
|---|---|---|
| A_k | area of fitted peak k | — |
| h_k, σ_k | its height and width | —, Å⁻¹ |
| X_c | crystallinity index | % |
When to use it
Strain-induced crystallisation of natural rubber, semicrystalline fibres (PET, PA, cellulose) in a composite: the crystalline share of a simulated cell, or of a measured pattern for comparison.
- Source
studio/CapsStudio/ViewModels/AnalyzeViewModel.cs- Tested by
- the Studio self-test: a narrow and a wide Gaussian of known areas give X_c to 0.1 %
- Departure from the reference
- no Lorentz or polarisation corrections and no diffuse disorder term (Ruland's k): an index for comparison, not an absolute crystallinity
References
- Ruland, W., "X-ray determination of crystallinity and diffuse disorder scattering", Acta Crystallographica 14, 1180–1185 (1961). doi:10.1107/S0365110X61003429
- Hermans, P. H., Weidinger, A., "Quantitative X-ray investigations on the crystallinity of cellulose fibers. A background analysis", Journal of Applied Physics 19, 491–506 (1948). doi:10.1063/1.1698162
Powder pattern: reflections and I(2θ)
The diffraction pattern a powder of the cell gives on a laboratory diffractometer or with neutrons, from the cell's reciprocal lattice. Every vector G = h b₁ + k b₂ + l b₃ up to 4π sin θ_max/λ gets its structure factor from the atoms' Cromer–Mann form factors (or coherent neutron lengths) with a temperature factor e^(−Bs²); |F|² is averaged over the frames, so an MD run brings its own thermal damping and diffuse scattering. Vectors of equal |G| make one reflection; its multiplicity counts those whose F does not vanish, so absences follow from F, also when a supercell's extinct indices share d with a parent reflection. Each line of the source (Kα1, and Kα2 at half its intensity) places the reflection by Bragg's law; its integrated intensity is m|F|² times the Lorentz–polarisation factor (with a monochromator's angle) and, for an oriented sample, the March–Dollase factor of each vector. Peaks are pseudo-Voigt functions of area one: the Gaussian width from the instrument (Caglioti U, V, W) and microstrain 4ε tan θ, the Lorentzian width from Kλ/(L cos θ) (Scherrer; one crystallite size or one per cell axis) and X tan θ + Y/cos θ, combined by Thompson, Cox and Hastings; a Gaussian, a Lorentzian or a fixed-η pseudo-Voigt can be chosen instead. Works on a crystal's unit cell and on any periodic MD cell; a measured pattern can be drawn over it.
Thompson, Cox & Hastings 1987; Caglioti, Paoletti & Ricci 1958; Dollase 1986; Scherrer 1918
| Symbol | Meaning | In CAPS |
|---|---|---|
| G | reciprocal-lattice vector of the cell | Å⁻¹ |
| s | sin θ / λ = |G|/4π | Å⁻¹ |
| B | temperature factor | Ų |
| m | multiplicity (vectors of equal |G|) | — |
| θ_m | monochromator Bragg angle | ° |
| r, α | March–Dollase parameter; angle between G and the preferred direction | —, ° |
| U, V, W, X, Y | instrument widths (Gaussian, Lorentzian) | °², ° |
| L, K | crystallite size along G; Scherrer constant (0.9) | Å, — |
| ε | microstrain | — |
When to use it
Compare a built crystal or a semicrystalline cell with WAXD: polymer crystals (PE, iPP, PA6, β-PVDF, cellulose Iβ in fibres), strain-induced crystallisation in natural rubber, filler phases (ZnO, CaCO₃). Crystallite size and strain give the peak widths of small lamellae; preferred orientation the texture of a drawn fibre or a rolled film.
- Source
core/src/powder.cpp (powder_pattern)- Tested by
- Powder.FccCopperIsExact (fcc Cu: 111, 200, 220, 311, 222, 400 at Bragg's angles with multiplicities 8, 6, 12, 24, 8, 6, the mixed-parity reflections absent, every intensity m|4f|²LP to 10⁻⁹); Powder.RockSaltAlternates (NaCl I(111)/I(200) 0.08140 against the analytic (f_Na − f_Cl)² / (f_Na + f_Cl)² ratio); Powder.DoubletAndScherrerWidth (Cu 111 FWHM equal to Kλ/(L cos θ); Kα2/Kα1 heights 0.503); Powder.MarchDollaseFactor ((001)/(100) raised by r^(−4.5) exactly); Powder.ThermalFramesMatchDebyeWaller (40 frames of Cu displaced by σ = 0.09 Å against the still crystal with B = 8π²σ²: (200)/(444) 0.4566 and 0.4566); orthorhombic PE from the crystal library: (110) at 21.64° and (200) at 24.03° 2θ (Cu Kα), I(200)/I(110) 0.38
- Departure from the reference
- no axial-divergence asymmetry, absorption, anomalous dispersion or background; the Kα wavelengths as pymatgen's table; one global temperature factor (or the frames' own motion)
References
- Caglioti, G., Paoletti, A., Ricci, F. P., "Choice of collimators for a crystal spectrometer for neutron diffraction", Nucl. Instrum. 3, 223–228 (1958). doi:10.1016/0369-643X(58)90029-X
- Dollase, W. A., "Correction of intensities for preferred orientation in powder diffractometry: application of the March model", J. Appl. Cryst. 19, 267–272 (1986). doi:10.1107/S0021889886089458
- Thompson, P., Cox, D. E., Hastings, J. B., "Rietveld refinement of Debye–Scherrer synchrotron X-ray data from Al$_2$O$_3$", J. Appl. Cryst. 20, 79–83 (1987). doi:10.1107/S0021889887087090
Fitting a measured powder pattern (Rietveld, Pawley)
A measured powder pattern (2θ, counts, and σ when given) is fitted with the calculated patterns of one or more crystal phases. The calculation is the powder pattern of the same physics as CAPS's own: reflections of the cell's reciprocal lattice, Cromer–Mann form factors (or neutron lengths) with a per-phase isotropic B, Lorentz–polarisation, March–Dollase orientation, the Kα doublet and Thompson–Cox–Hastings pseudo-Voigt peaks whose widths follow U, V, W (Gaussian) and X, Y (Lorentzian). Reflection groups (vectors of equal |G|) keep their structure factors while the lattice changes, so the lattice is refined with the cell's equalities kept (a cubic cell stays cubic, right angles stay right). In a Rietveld fit the intensities come from each phase's structure and its scale; in a Pawley fit every reflection group has its own non-negative intensity and no structure is needed. The linear parameters (scales, intensities and a Chebyshev background) are solved exactly at every trial of the nonlinear ones (zero shift, lattice, widths, B, March r), which Levenberg–Marquardt refines. Weight fractions of several phases follow Hill and Howard from the scales, the cells' masses and volumes. Atom positions, occupancies and rigid-body parameters are not refined; an energy-restrained Rietveld variant is not given (no published method to check it against was found).
Rietveld 1969; Pawley 1981; Thompson, Cox & Hastings 1987; Hill & Howard 1987
| Symbol | Meaning | In CAPS |
|---|---|---|
| S_p | scale factor of phase p | — |
| Ω | Thompson–Cox–Hastings pseudo-Voigt (area 1) | 1/° |
| w_i | weight 1/σ² (1/y for counts) | — |
| ZM, V | cell mass and volume | g/mol, ų |
When to use it
Checking a model crystal against a measured pattern of a fibre, a filled rubber or a filler (ZnO, CaCO3, silica-free crystalline fillers); the cell and crystallite size of a sample (Pawley); the weight fractions of the crystalline phases in a mixture (Rietveld).
- Source
core/src/refine.cpp (refine_pattern, calculated_pattern)- Tested by
- Refine.ForwardModelIsThePowderPattern (copper: the refinement's pattern equals powder.hpp's to 1e-4 of the strongest peak); Refine.RietveldRecoversSyntheticCopper (lattice 3.6175 Å, zero 0.03°, W, Y recovered to 1e-6 from 0.1 % and 100 % off, a sloping background added); Refine.PawleyRecoversIntensities (the (111)/(200) intensity ratio equal to the structure's); Refine.QuantitativePhaseAnalysis (copper + rock salt made at 30 / 70 wt % come back as 0.300000 / 0.700000)
- Departure from the reference
- no peak asymmetry, absorption, surface roughness or anomalous dispersion; positions, occupancies and anisotropic displacements not refined; U is kept ≥ 0 unless V is refined with it
References
- Rietveld, H. M., "A profile refinement method for nuclear and magnetic structures", J. Appl. Cryst. 2, 65–71 (1969). doi:10.1107/S0021889869006558
- Pawley, G. S., "Unit-cell refinement from powder diffraction scans", J. Appl. Cryst. 14, 357–361 (1981). doi:10.1107/S0021889881009618
- Thompson, P., Cox, D. E., Hastings, J. B., "Rietveld refinement of Debye–Scherrer synchrotron X-ray data from Al$_2$O$_3$", J. Appl. Cryst. 20, 79–83 (1987). doi:10.1107/S0021889887087090
- Hill, R. J., Howard, C. J., "Quantitative phase analysis from neutron powder diffraction data using the Rietveld method", J. Appl. Cryst. 20, 467–474 (1987). doi:10.1107/S0021889887086199
Indexing a powder pattern and solving a structure in direct space
A measured pattern's peaks are found (local maxima of the smoothed pattern above its rolling-minimum background, positions from a parabola through the top three points, a weaker peak where a stronger one's Kα2 falls dropped). The first lines are indexed by the successive dichotomy method: boxes of cell lengths (and the monoclinic β) are kept while every observed Q = 1/d² lies, within its tolerance, in the range of Q some hkl takes over the box (computed exactly, the monoclinic h·l term included), and are halved along the dimension that moves Q the most until none moves the top line by more than eight tolerances; the survivors are refined by least squares on Q, which is linear in the reciprocal metric. Monoclinic cells are searched in the reduced setting of the ac net (a ≤ c, c |cos β| ≤ a/2). The smallest cells are searched first and, once a cell is found, boxes beyond twice its volume (its supercells) are left out, in the systems searched after it too; a cell that indexes every line with M20 of 100 or more ends the search of systems with more free parameters, and each system stops with a note after a set number of boxes. Cells are ranked by the lines they index and de Wolff's M20 (each line's error floored at a tenth of its tolerance, what a peak search can place), with the higher symmetry preferred when merits are within a factor of two per step; Smith and Snyder's F_N is given beside it. A structure is then solved in direct space by simulated annealing of a molecule's position, orientation and torsions in the cell and space group, scored by the profile R_wp of the refinement engine (scale and background solved at every trial, the peak profile fitted to the data first by a Pawley fit in the cell and then held), moves that bring two atoms of different molecules, or a molecule and its own lattice images, closer than 0.75 of their Bondi van der Waals radius sum refused, hydrogens included (a polar H and an acceptor may come to 1.4 Å, two heavy atoms never closer than 2.0 Å, a heavy atom and a metal atom limited by that 2.0 Å floor alone), the moves shrinking as it cools and a downhill polish at the end. A cell whose packing coefficient Z·V_vdW/V_cell is above 1 is refused before the annealing, and no free placement found is an error.
Boultif & Louër 1991; Werner, Eriksson & Westdahl 1985; de Wolff 1968; Smith & Snyder 1979; Kirkpatrick et al. 1983; David, Shankland & Shankland 1998
| Symbol | Meaning | In CAPS |
|---|---|---|
| A, B, C, D | reciprocal metric (D for monoclinic β) | 1/Ų |
| ε̄ | mean |Q_obs − Q_calc| of the indexed lines | 1/Ų |
| N20, N_poss | distinct calculated lines up to the 20th (Nth) observed | — |
| T | annealing temperature on R_wp² | — |
When to use it
Finding the cell of a new additive, curative or polymer crystal from its measured pattern, then a first structure to refine (Rietveld) and to use as a filler or crystal model.
- Source
core/src/powder_index.cpp (find_peaks, index_pattern, solve_structure)- Tested by
- PowderIndex.CopperIsCubic (copper's lines: primitive cubic a = 3.6149 Å ranked first among cubic, tetragonal and orthorhombic cells); PowderIndex.PolyethyleneIsOrthorhombic (orthorhombic PE's ten lines give 2.534, 4.93, 7.40 Å, not its supercells); PowderIndex.SolvesASyntheticMolecularCrystal (dichloroethane in P2₁2₁2₁ from a known placement: annealing reaches R_wp 0.012, the true structure 0.0008); PowderIndex.SolveRefusesACellTooSmallForTheMolecules (a cell too small for its symmetry copies is refused by its packing coefficient before annealing)
- Departure from the reference
- primitive cells only (a centred lattice is found as its primitive or a larger cell); no zero-shift search in indexing; triclinic cells are not searched; the solution takes one molecule in the asymmetric unit at a general position and no energy
References
- Boultif, A., Louër, D., "Indexing of powder diffraction patterns for low-symmetry lattices by the successive dichotomy method", J. Appl. Cryst. 24, 987–993 (1991). doi:10.1107/S0021889891006441
- Werner, P.-E., Eriksson, L., Westdahl, M., "TREOR, a semi-exhaustive trial-and-error powder indexing program for all symmetries", J. Appl. Cryst. 18, 367–370 (1985). doi:10.1107/S0021889885010512
- de Wolff, P. M., "A simplified criterion for the reliability of a powder pattern indexing", J. Appl. Cryst. 1, 108–113 (1968). doi:10.1107/S002188986800508X
- Smith, G. S., Snyder, R. L., "$F_N$: a criterion for rating powder diffraction patterns and evaluating the reliability of powder-pattern indexing", J. Appl. Cryst. 12, 60–65 (1979). doi:10.1107/S002188987901178X
- Kirkpatrick, S., Gelatt, C. D., Vecchi, M. P., "Optimization by simulated annealing", Science 220, 671–680 (1983). doi:10.1126/science.220.4598.671
- David, W. I. F., Shankland, K., Shankland, N., "Routine determination of molecular crystal structures from powder diffraction data", Chem. Commun. , 931–932 (1998). doi:10.1039/A800855H
Atomic displacement parameters from a trajectory
Each atom is followed through the frames, every step taken at its minimum image so that a crossing of the cell edge is not a jump, and the drift of the cell's mass-weighted centre is removed frame by frame. About the atom's mean position the displacement tensor is U = ⟨Δr Δr^T⟩ (Ų); U_iso is a third of its trace and the Debye–Waller B = 8π² U_iso. The eigenvectors of U are the axes of the thermal ellipsoid, its semi-axes c√λ_k with c fixed by the probability p of finding the atom inside, P(χ²₃ ≤ c²) = p (1.5382 for 50 %). When the trajectory's cell is a supercell of a crystal (given as repeats along a, b, c), the atoms whose mean positions fold onto one place of the unit cell form a site and its U is their mean. For a CIF the tensor is expressed on the normalised reciprocal axes, U_cif = N⁻¹ A⁻¹ U A⁻ᵀ N⁻¹ with A the cell vectors as columns and N = diag(a*, b*, c*); U_eq is recovered from U_cif as ⅓ Σ_ij U^ij a*_i a*_j a_i·a_j. As an analysis the mean U_iso, B per element, the mean anisotropy λmax/λmin and a profile of U_iso along an axis are reported.
Trueblood et al. 1996; Grosse-Kunstleve & Adams 2002
| Symbol | Meaning | In CAPS |
|---|---|---|
| U | displacement tensor (Cartesian) | Ų |
| B | Debye–Waller factor | Ų |
| c | ellipsoid scale for probability p | — |
| A | cell vectors as columns | Å |
| N | diag(a*, b*, c*) | 1/Å |
When to use it
Comparing an MD crystal's thermal motion with diffraction (chain axis against lateral), mapping chain mobility against the distance from a fibre or filler surface, and Debye–Waller factors for computed patterns.
- Source
core/src/adp.cpp (displacement_tensors, ellipsoid_scale, u_cif_from_cartesian, write_cif_adp); crystal.cpp (cif_displacements); properties.cpp (adp)- Tested by
- Adp.ExactTensorAcrossTheCellEdge (six displacements ±s_k e_k about a rotated frame give U = R diag(s²/3) Rᵀ to 1e-12 across the cell edge, the ellipsoid axes along e_k); Adp.DriftRemoved (a drifting cell gives the same tensors); Adp.CifBasisAndScales (a triclinic round trip to 1e-14, U_eq of an isotropic tensor, orthogonal cells unchanged, c = 1.5382 at 50 % and 3.3682 at 99 %); Adp.SupercellSitesAndCifRoundTrip (a site's U is its atoms' mean; a CIF written with U_ij reads back the tensor)
- Departure from the reference
- classical: no zero-point motion (low-temperature U falls short of experiment); no symmetry averaging of equivalent sites beyond the unit cell's own positions; ellipsoids are reported, not drawn in the view
References
- Trueblood, K. N., Bürgi, H.-B., Burzlaff, H., Dunitz, J. D., Gramaccioli, C. M., Schulz, H. H., Shmueli, U., Abrahams, S. C., "Atomic displacement parameter nomenclature", Acta Cryst. A 52, 770–781 (1996). doi:10.1107/S0108767396005697
- Grosse-Kunstleve, R. W., Adams, P. D., "On the handling of atomic anisotropic displacement parameters", J. Appl. Cryst. 35, 477–480 (2002). doi:10.1107/S0021889802008580
Phonons of a crystal with its force field
Lattice dynamics of a crystal (a polymer crystal, a filler) with the assigned force field. The cell is repeated until each width is at least twice the cut-off; its atoms are first relaxed in that supercell's periodic copies (a cell narrower than twice the cut-off cannot be relaxed alone: it sees one image of each neighbour), by FIRE on the cell's own coordinates with each atom's force averaged over its copies. Each atom of the cell is then displaced ±h along x, y and z and the forces on the whole supercell give the force constants; the acoustic sum rule fixes the self terms. Each pair takes its nearest supercell image(s), equal ones sharing the weight. The dynamical matrix at any k is diagonalised for the dispersion along a path (Γ X S Y Γ Z R of the cell's reciprocal axes, or your own) and over a Γ-centred mesh for the density of states (per element from the eigenvectors), the harmonic thermodynamics per cell, and the sound speeds from the acoustic slopes along a*, b* and c*.
Born & Huang 1954; the supercell finite-displacement method
| Symbol | Meaning | In CAPS |
|---|---|---|
| Φ | force constant between atom a of the cell and supercell atom J | kcal/mol/Ų |
| w | 1 / the number of equally near images | — |
| D(k) | dynamical matrix | kcal/mol/Ų/(g/mol) |
| ω, ν̃ | angular frequency; wavenumber ν̃ = ω/2πc | —, cm⁻¹ |
| v | sound speed | m/s |
When to use it
The chain-axis stiffness and sound speed of polymer crystals in fibres (PE, iPP, PA6, cellulose Iβ), vibrational spectra and heat capacity of crystals and fillers, checking that a crystal sits at a minimum of its force field (no imaginary modes).
- Source
core/src/phonons.cpp (phonons)- Tested by
- Phonons.LennardJonesArgonIsExact (primitive fcc argon, cut LJ: every band on the path equal to the analytic lattice sum within 9 × 10⁻⁵, the DOS integrating to 3 modes per cell, C_v → 3k at 3000 K, sound speeds equal to the analytic slopes, 890 and 1880 m/s along a*); Phonons.RelaxesInTheCopiesAndFoldsX (the conventional cell with one atom pushed 0.05 Å relaxes back, and its Γ modes equal the primitive Γ and X modes, 46.60 … 68.24 cm⁻¹); orthorhombic PE doubled along c with OPLS-AA 2024: no unstable modes after relaxation, chain-axis longitudinal sound speed 14.5 km/s (210 GPa at 1.0 g/cm³)
- Departure from the reference
- harmonic (no thermal expansion or phonon–phonon scattering); the cell is not relaxed, only the atoms; a dense eigensolver (3N × 3N per k-point)
Quasi-harmonic free energy and thermal expansion
The cell of a crystal at each temperature from its vibrations. Harmonic phonons at a set of strained cells, each with its atoms relaxed, give G = E_static + F_vib + PV at every strain; a polynomial fitted to G at each temperature has its minimum at the cell of that temperature. The whole cell can scale (G in V/V₀ − 1, degree up to 4, for cubic and isotropic crystals), or a, b and c can each change with the angles kept (every polynomial term to third order with x_i⁴ and x_i²x_j², from 29 cells), which shows anisotropy such as a polymer crystal shrinking along its chains. The grid is centred on the relaxed static cell. Expansion coefficients come from central differences of the minimum over ±1 K, the bulk modulus from the Hessian of G at the minimum, C_v and S from fits of their own, and C_p from them. The free-energy minimum is found numerically from phonons rather than with the analytic derivatives of Gale's method, which would need the third derivatives of the energy. The Lennard-Jones term is always shifted at the cut-off with no tail term, because the energies of a few per cent strain are small and a truncated potential jumps each time a pair crosses the cut-off: in polyethylene those jumps were a tenth of the signal.
H the Hessian of G in the strains, v = ∂V/∂ε; α_i = (1/L_i) ∂L_i/∂T
| Symbol | Meaning | In CAPS |
|---|---|---|
| ε | strains of the cell | — |
| F_vib | vibrational free energy per cell | kcal/mol |
| α_V, α_a | volume and axial expansion coefficients | K⁻¹ |
| B_T | isothermal bulk modulus | GPa |
When to use it
The cell of a crystal at temperature without a long MD run, axial expansion of polymer crystals and cellulose, zero-point expansion, and C_p for comparison with calorimetry, well below melting.
- Source
core/src/qha.cpp- Tested by
- tests/test_qha.cpp (an Einstein model with a Grüneisen γ against independent bisection: V(T) to 2·10⁻⁵, B_T and C_v and S to 2·10⁻³, the relation α B_T V = γ C_v to 5·10⁻³, α = 0 at 0 K, zero-point expansion; pressure shifts the minimum to the root of dF/dV = −P; fcc Lennard-Jones argon: zero-point expansion, volume and α rising and B_T falling with T, C_v below 3R per atom and above 85 % of it at 60 K, the volume and axes modes agreeing to 0.2 % with α_a = α_b = α_c = α_V/3 to 2 %; a locked axis keeps its length); tests/python/test_bindings.py. Checked by hand: orthorhombic PE with GAFF gives α_c negative (−5 to −7.5 × 10⁻⁶ K⁻¹) and large positive α_a, α_b at 100 to 300 K
- Departure from the reference
- No anharmonicity beyond the strain dependence of the modes, so results degrade towards melting (and glassy or disordered phases are out of scope). Angles stay fixed in the axes mode. A strained cell with imaginary mesh modes is left out of the fit (its F_vib lacks those modes), and a minimum beyond the stable cells is marked extrapolated; when too few stable cells remain, all are used and every row is marked unstable. A minimum outside the sampled strains is marked extrapolated: widen the range (0.05 suits soft polymer axes). The volume mode strains a, b and c alike, so for a chain crystal such as PE its B_T averages stiff and soft axes: use the axes mode there. The fits are least squares with more cells than terms; --points spaces the volume grid only (at least 4), the axes mode uses a fixed grid (29 cells with a, b and c free). The cell's shifted Lennard-Jones differs slightly from a tail-corrected one: use a cut-off of 10 to 13 Å.
References
- Gale, J. D., "Analytical free energy minimization of silica polymorphs", J. Phys. Chem. B 102, 5423–5431 (1998). doi:10.1021/jp980396p
- Togo, A., Chaput, L., Tanaka, I., "Distributions of phonon lifetimes in Brillouin zones", Phys. Rev. B 91, 094306 (2015). doi:10.1103/PhysRevB.91.094306
Dielectric, piezoelectric and optical response of a crystal
From the relaxed crystal and its force field's second derivatives at k = 0: the force constants K of the cell's particles (cores and shells) by central differences of the forces with the periodic copies moving together, Ewald sums with conducting boundaries giving the transverse response. The static dielectric tensor sums q_i q_j K⁺ over every particle, the high-frequency tensor over the shells with the cores held (1 for rigid ions), and the refractive indices are the square roots of its principal values. The proper piezoelectric constants of the relaxed ions follow from the forces a homogeneous strain puts on the particles at fixed fractional coordinates (the internal-strain tensor Θ): the particles move by K⁺Θ per unit strain and carry their charges with them; d = e S with the relaxed-ion compliance. With the shells condensed out, the zone-centre modes of the cores and their oscillator strengths give ε(ω) with a damping γ and the normal-incidence reflectivity along the principal axes. The crystal is relaxed first (cell at zero stress, then Newton steps on the particles).
Gale & Rohl 2003; Lyddane, Sachs & Teller 1941 for the one-oscillator check
| Symbol | Meaning | In CAPS |
|---|---|---|
| K | force constants of the cell's particles (copies together) | kcal/mol/Ų |
| Θ | forces per unit homogeneous strain | kcal/mol/Å |
| e, d | proper piezoelectric stress and strain constants | C/m², pC/N |
| S_m, ω_m | oscillator strength and frequency of mode m | —, cm⁻¹ |
| γ | damping | cm⁻¹ |
When to use it
Fillers and polymer crystals in sensing or dielectric rubbers (ZnO, BaTiO3, β-PVDF, TiO2): how strongly they polarise, which strains make a charge, the refractive index a shell model predicts, and the infrared reflectivity band.
- Source
core/src/dielectric.cpp (crystal_dielectric)- Tested by
- Dielectric.RockSaltIsOneOscillator (rigid-ion rock salt: ε⁰ equal to 1 + q²/(ε₀Vμω_TO²) with ω_TO from the phonon module to 3e-5; the condensed modes at the phonon module's TO; ε(0) = ε⁰; ε^∞ = 1; e = 0); Dielectric.ShellModelHighFrequencyLimit (a shelled anion: ε(ω) far above the modes equals ε^∞, ε(0) equals ε⁰); Dielectric.ZincBlendePiezoelectricByDirectStrain (e14 = e25 = e36 = 0.7529 C/m² from the internal strain equal to the polarisation of the ions relaxed under a 0.2 % shear to 1e-5; e11 = 0); periclase with the Catlow shell model: ε⁰ 9.81, ε^∞ 2.94, n 1.716
- Departure from the reference
- harmonic and static (0 K); fixed charges: no charge transfer or electronic polarisation beyond the shells; the reflectivity's damping is chosen, not computed
References
- Gale, J. D., Rohl, A. L., "The General Utility Lattice Program (GULP)", Mol. Simul. 29, 291–341 (2003). doi:10.1080/0892702031000104887
- Lyddane, R. H., Sachs, R. G., Teller, E., "On the polar vibrations of alkali halides", Phys. Rev. 59, 673–676 (1941). doi:10.1103/PhysRev.59.673
Crystal habit: BFDH, attachment energy, Wulff shapes
Which faces a crystal shows and the shape it takes. Faces (hkl) up to a largest index are grouped into forms by the crystal's point group and ranked by their effective interplanar spacing: d_hkl of the first order n(hkl) that the space group does not extinguish (an operation with h·R = h and h·t not an integer: lattice centring, screw axes, glide planes), so fcc's {100} counts at a/2. With a force field, the attachment energy of each form is the energy of a growth unit (a molecule, or an ion with its shell) in the bulk less its energy in one slice of thickness d_eff alone, both unrelaxed so intramolecular energy cancels; among the cuts between units the one with the lowest |E_att| is taken. The surface energy is that of an unrelaxed slab several slices thick. Slabs are built on the plane's own two-dimensional lattice with whole units and vacuum along the normal; bonds are carried with their lattice images, so chains along short axes stay whole. A slice with a dipole along its normal (a polar face) or a net charge gets no energy, nor does a face that would cut a covalent chain or network: a polymer crystal's faces parallel to its chains get energies and its shapes are prisms open along the chains (their sides are reported). The shapes are Wulff constructions with distances 1/d_eff (BFDH), |E_att| (growth) or γ (equilibrium); a particle can be carved in any of them, whole units whose centres lie inside. A crystal of endless units (a covalent or ionic network, a metal, polymer chains) is cut atom by atom instead, each end atom with its partner, so the surface keeps the cut bonds and an ionic network may carry a net charge; a force field that makes the ions the units (--ff) gives whole ions.
Donnay & Harker 1937; Hartman & Perdok 1955; Hartman & Bennema 1980; Wulff 1901
| Symbol | Meaning | In CAPS |
|---|---|---|
| d_hkl, d_eff | interplanar spacing and effective spacing | Å |
| E_att, E_slice | attachment and slice energy per growth unit | kcal/mol |
| γ | surface energy (unrelaxed) | J/m² |
| n_i, h_i | unit normal of a face and its distance from the centre | — |
When to use it
The particle shape of a filler (ZnO, CaCO3, MgO, TiO2, sulphur, a stearate) and the faces the rubber meets, so adsorption and interface models start from the right facets; the lateral faces of polymer crystals (the {110}/{100} lozenge of PE lamellae); a particle of the crystal in its habit for a composite model.
- Source
core/src/habit.cpp (crystal_habit, wulff_shape, carve_particle)- Tested by
- Habit.BfdhFccWithExtinctions (fcc Fm-3m from its conventional cell: 192 operations, {111} at a/√3 first, {100} and {110} at half their spacings, multiplicities 8, 6, 12); Habit.WulffTruncatedCube (a cube truncated by {111}: square and triangle areas and the volume equal geometry to 1e-9, 24 vertices, 14 facets); Habit.SimpleCubicBrokenBonds (nearest-neighbour bonds u only: E_latt = 3u, E_att of {100}, {110}, {111} = u, 2u, 3u and γ = −u/2a², −u/√2a², −√3u/2a² exactly); Habit.ParticleCube (125 lattice points); periclase with the Catlow shell model: {111} polar, growth and equilibrium shapes {100} cubes, γ(100) 1.20 J/m² unrelaxed; orthorhombic PE with OPLS-AA 2024: faces cutting the chains flagged, growth habit {110} 79 % and {100} 21 % of the prism's sides
- Departure from the reference
- static and unrelaxed (no surface relaxation, no solvent or temperature); one slice per face, the cut with the lowest |E_att|; polar faces (Tasker type 3) are not reconstructed; the forms beyond the first few by d_eff are left out of the energy-based shapes
References
- Donnay, J. D. H., Harker, D., "A new law of crystal morphology extending the law of Bravais", Am. Mineral. 22, 446–467 (1937)
- Hartman, P., Perdok, W. G., "On the relations between structure and morphology of crystals. I", Acta Cryst. 8, 49–52 (1955). doi:10.1107/S0365110X55000121
- Hartman, P., Bennema, P., "The attachment energy as a habit controlling factor", J. Cryst. Growth 49, 145–156 (1980). doi:10.1016/0022-0248(80)90075-5
- Wulff, G., "Zur Frage der Geschwindigkeit des Wachsthums und der Auflösung der Krystallflächen", Z. Kristallogr. 34, 449–530 (1901). doi:10.1524/zkri.1901.34.1.449
Density fields: dynamic mean-field theory of Gaussian chains
Polymer blends and block copolymers as volume-fraction fields on a periodic grid (two- or three-dimensional), the mesoscale method of Fraaije and co-workers. Molecules are Gaussian chains of beads (a sequence such as A8B8); an external potential per bead type gives their densities through the chain propagators, with the bond kernel exp(−q²a²/6) applied by FFT and each step rescaled so strong fields do not underflow. The free energy adds Flory–Huggins χ between types (smoothed by the same kernel) and a Helfand compressibility; the chemical potentials drive conserved Langevin diffusion with local mobility, finite volumes on the cell faces (mass exact) and conserved noise. At each step the potentials are found again for the new densities by Newton steps with the chains' RPA response matrix; the stiff compressibility term is taken implicitly in Fourier space, so its fast mode sets no time-step limit. Results: the fields over time, the order parameter of each type, the χ and compressibility energies and the spacing of the strongest wave.
Fraaije 1993; Fraaije et al. 1997; Maurits & Fraaije 1997
| Symbol | Meaning | In CAPS |
|---|---|---|
| θ_I | volume fraction of bead type I | — |
| U_I | external potential | kT |
| a | bond length | grid spacings |
| κ_H | Helfand compressibility | kT |
| τ | time M kT t / h² | — |
| Ω | noise parameter (beads per cell) | — |
| R(q) | the chains' RPA response matrix | — |
When to use it
Morphologies of rubber blends (NR/BR, SBR/BR) and thermoplastic elastomers (SBS, SIS) over hundreds of nanometres, larger and smoother than DPD; how χ and the block lengths set lamellae, cylinders or droplets and their spacing.
- Source
core/src/ddft.cpp (ddft_run)- Tested by
- Ddft.ChainResponseIsTheDebyeSum (a weak cosine potential on an A8 melt: δθ = −6.603664 × 10⁻⁴ against the discrete Debye sum's −6.603665 × 10⁻⁴); Ddft.BlendSpinodal (A8 + B8, χ_s = 0.2825 from the RPA at the box's longest wave: at 0.7 χ_s the ripple falls 80×, at 3 χ_s it grows 470×); Ddft.DiblockLamellaeAtTheRpaSpacing (A4B4 at 1.6 χ_s: lamellae start at 3.88 grid spacings against the RPA 2π/q* = 4.09)
- Departure from the reference
- explicit time steps apart from the compressibility (small grids, chains up to about 20 beads); no shear, confinement masks or electrostatics; interfaces narrower than a grid spacing (a/√(6χ) < 0.35) diverge
Where a sorbate sits: density maps
During each GCMC pressure's production steps the sorbed molecules' centres are counted on a grid over the cell; the map shows, projected onto a cell face, where in the host the gas or small molecule actually resides: free-volume pockets, filler surfaces, the interphase.
about 2,000 samples per pressure; the map summed over the cell is the mean loading
| Symbol | Meaning | In CAPS |
|---|---|---|
| r_m | centre of sorbed molecule m | Å |
| ρ | number density | 1/ų |
When to use it
Gas barrier of rubbers and composites: whether CO₂, O₂ or water gathers at a filler surface or in the matrix's free volume, and how that changes with pressure.
- Source
core/src/sorption.cpp- Tested by
- tests/test_sorption.cpp Sorption.DensityMapOfAnIdealGas (the map sums to the loading and stays even for an ideal gas)
- Departure from the reference
- the host is fixed (no swelling); centres only, not the molecules' orientation
Study table: order, filter, colour, histogram and SD files
Tools for the rows of a study table. Rows are ordered by several columns, ties by the next key, each ascending or descending; a value that is not a number goes last either way, and equal rows keep their order. A filter shows the rows that meet a condition on the columns, written with the formula language plus comparisons and and/or. Cells of one column are coloured by their value on a viridis ramp from the column's smallest to its largest value. The chart can show a histogram of a column: bins of equal width over its range, the width from Freedman and Diaconis (2·IQR·n^(−1/3), quartiles by linear interpolation), Scott (3.49·s·n^(−1/3)) or Sturges (⌈log₂ n⌉ + 1 bins). The number of bins is ⌈range/h⌉, the bins then share the range equally, and the last bin is closed on the right. The rows shown that have a structure file can be written as an SD file, one record per row with every column as a data item (a > <name> line, the value, a blank line).
IQR the interquartile range, s the sample standard deviation, n the values with a number
| Symbol | Meaning | In CAPS |
|---|---|---|
| h | bin width | column units |
| k | number of bins | — |
| IQR | interquartile range | column units |
| s | sample standard deviation | column units |
When to use it
Screening many structures or runs: the highest-Tg candidates first, only the rows within a density window, a property's spread at a glance, and the chosen structures with their results handed on as one SD file.
- Source
core/src/table_tools.cpp- Tested by
- tests/test_table_tools.cpp (1 … 100 by Freedman–Diaconis: five bins of 19.8 with 20 values each; Sturges gives 8 bins; Scott on 1 … 10 two bins of five; four bins over [0, 1] count 1, 1, 1, 2 with a NaN left out; equal values give one bin; a two-key order with a missing value last and stable ties; an SD file with data items written exactly and read back, a row without a structure left out, a name with < refused); tests/python/test_bindings.py
- Departure from the reference
- The filter hides rows from the sheet and the SD file only; the chart and the statistics use every row. SD data item names lose < and > (the format's delimiters).
References
- Freedman, D., Diaconis, P., "On the histogram as a density estimator: L$_2$ theory", Z. Wahrscheinlichkeitstheorie verw. Gebiete 57, 453–476 (1981). doi:10.1007/BF01025868
- Scott, D. W., "On optimal and data-based histograms", Biometrika 66, 605–610 (1979). doi:10.1093/biomet/66.3.605
- Sturges, H. A., "The choice of a class interval", J. Am. Stat. Assoc. 21, 65–66 (1926). doi:10.1080/01621459.1926.10502161
- Dalby, A., Nourse, J. G., Hounshell, W. D., Gushurst, A. K. I., Grier, D. L., Leland, B. A., Laufer, J., "Description of several chemical structure file formats used by computer programs developed at Molecular Design Limited", J. Chem. Inf. Comput. Sci. 32, 244–255 (1992). doi:10.1021/ci00007a012
Surface and interfacial tension from the pressure tensor
The tension of planar interfaces in a slab cell, from the run's pressure tensor. For interfaces normal to an axis n, the Kirkwood–Buff integral γ = ½ ∫ [P_N(z) − P_T(z)] dz over the periodic cell equals (L_n / N_int) [P_nn − (P_t1 + P_t2)/2] with the cell's mean pressure components. N_int is the number of interfaces: two for a liquid slab or a film with vacuum, also two for a periodic bilayer of two phases, one for a film on a wall. Every thermo sample gives a γ; the mean is taken after the skipped equilibration share, and its error is the standard error of block means. The samples come from CAPS's thermo CSV (caps md --log writes the tensor and the cell lengths) or a LAMMPS log printing pxx pyy pzz and lz.
1 atm·Å = 0.0101325 mN/m; an isotropic tail correction cancels in P_N − P_T
| Symbol | Meaning | In CAPS |
|---|---|---|
| L_n | cell length along the normal | Å |
| N_int | interfaces in the cell | — |
| P_nn, P_t | normal and tangential pressure | atm |
When to use it
Surface tension of a polymer melt or rubber film, interfacial tension between two polymers or a polymer and water, and from them the work of adhesion W = γ₁ + γ₂ − γ₁₂ for fibre wetting.
- Source
core/src/tension.cpp- Tested by
- tests/test_tension.cpp (P_zz 200, P_xx = P_yy 100 atm and L_z 60 Å give 30.3975 mN/m exactly, twice that for one interface; block errors zero for alternating samples and positive for a drifting run; the skipped share left out; the normal along x; a LAMMPS log with Zlo/Zhi and CAPS's thermo CSV give the same; a log without the tensor refused); tests/python/test_bindings.py
- Departure from the reference
- The global Kirkwood–Buff form gives γ only, not the profiles P_N(z) and P_T(z). The tension changes with a truncated potential's cut-off and no tail correction to γ is applied (Blokhuis et al.'s correction needs the density profile): use a cut-off of 12 Å or more, or compare two. Long runs (nanoseconds) are needed for errors below 1 mN/m.
References
- Kirkwood, J. G., Buff, F. P., "The statistical mechanical theory of surface tension", J. Chem. Phys. 17, 338–343 (1949). doi:10.1063/1.1747248