CAPSChain Assembly and Packing Suite

Run · module 18

DPD

Mesoscale dissipative particle dynamics: describe species as bead strings, set χ between bead types, and watch blends and block copolymers segregate into domains.

Open it Modules›Mesoscale (DPD)…

You start with
Species written as bead strings (for example A5B5) and χ parameters between bead types.
You get
The segregation ψ, domain spacing, structure factor and the final domains.
Mesoscale · dissipative particle dynamics: 600 symmetric A5B5 diblocks (6,000 beads, ρ = 3) with χ_AB = 4.30 (χN = 43), 20,000 steps from a random mix. The last frame shows two lamellar periods (A grey, B red); ψ rises to 0.66 and S(q) peaks at q* = 1.00/r_c, a spacing of 6.3 r_c (41 Å).

Step by step

  1. Add the species

    Under Species, Add each one with its name, its beads (for example A5B5 for a symmetric diblock) and the number of molecules.

  2. Set χ between bead types

    Under χ between bead types, Add each pair with its Flory–Huggins χ.

  3. Set the run

    Steps (dt 0.04) 20 000, density ρ 3, r_c 6.46 Å. Start from a random mix, or seed lamellae, cylinders or spheres. Chain stiffness k_θ is optional.

  4. Compose the start from regions (optional)

    Under Regions of the start, Add droplets, rods (across the box), slabs, shells and tubes, each with its centre as fractions of the box edge, its radius, thickness or inner radius, axis and priority (where regions overlap, the higher priority claims the space). Name a region in a species' row and its molecules start there; a region no species names stays empty, a void or a filler. Amphiphiles can start with their first bead on the region's surface and the rest along the normal, into the region or out of it.

    Box edge · r_c fixes where the regions sit. With regions, the random or templated start is not used.

  5. Press Run DPD

    Follow Segregation over the run and the structure factor of the first bead type; the result gives ψ, the domain spacing and the domains at the end, and the page's view shows the beads of the last frame coloured by bead type.

  6. Density fields for larger morphologies

    As density fields runs the same molecules and χ as Gaussian chains on a grid (dynamic mean-field density functional theory): choose a 2D or 3D grid, the steps and the noise Ω, then Fields. Keep χ per bead pair near 1 or below and chains of 20 beads or fewer on these grids. A narrower interface than that, a/√(6χ) under about a third of a grid spacing, makes the run warn and can empty cells. A 3D grid takes far longer than a 2D one: start with nz 1, since the default 32 × 32 × 32 grid for 2000 steps takes tens of minutes on one core. There is no shear, mask or electrostatics in this version.

  7. Measure the domains

    In Analyze, the Domains chip labels the domains of a group's density field in each frame, across the periodic boundaries: their volumes, radii and ellipsoid axes, whether they percolate, and their spacing. caps domains also writes slices on any plane.

The same without the Studio

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

caps dpd --molecules 'AAAABBBB:300@shell:in; C:9000' \
    --regions 'core droplet r=3 prio=2; shell shell r=5 in=3 prio=1' --box 16 --chi AB=5 -o dpd.xyz
caps fields --molecules 'A8B8:1' --chi AB=0.8 --grid 32,32,1 --steps 2000 --vtk fields.vtk

Where to go next