ParticleDynamicsGPU-native molecular dynamics in pure Julia
Device-resident CUDA-graph simulations for atomic fluids, soft and active matter, interfacial slabs, 4 fs biomolecules, and GPU machine-learned potentials.
Device-resident CUDA-graph simulations for atomic fluids, soft and active matter, interfacial slabs, 4 fs biomolecules, and GPU machine-learned potentials.

Device-resident CUDA graphs with K-step and NPT super-batching, molecule-anchored cluster pairs, and deterministic 64-bit fixed-point force accumulation.
Fewest-PSWF C² splits, B₂*g windows, single-tile dual-mesh P=4..6 with heavy-atom compaction, Rank-1 SVD LB dispersion, and CompactFFT up to 256³.
Grouped GPU bonded terms, 1–4 scaling, default :df64 SETTLE and X–Hₙ ConstraintClusters, Float64 unwrapped coordinates, MC and C-rescale barostats.
CUDA-graph-capturable AbstractExternalPotential (with MACE and Orb examples) and GPU-isbits AbstractPairPotential extensions via Julia dispatch.
Periodic 2D and 3D systems covering Kremer–Grest polymers, AOUP active matter, two-temperature mixtures, confined nanopores, and electrolytes.
Self-contained GPU validation scripts reproducing published benchmarks with block-averaged uncertainties, figures, and path-traced trajectories.
using Pkg
Pkg.add("ParticleDynamics")using ParticleDynamics
sim = Simulation(
system;
groups = Groups(all_atoms),
integrator = Integrator(
dt = 0.002,
scheme = BAOABFast(),
forces = [lj, esp, disp],
methods = [Langevin(all_atoms; gamma = 1.0, kT = 2.479)],
constraints = [RigidWaterConstraint(waters; settle_mode = :df64)],
barostat = StochasticCellRescaling(pressure = 0.06022, kT = 2.479),
),
observables = [thermo, press],
writers = [TableWriter("thermo.csv"; every = 200), GSDWriter("traj.gsd"; every = 1_000)],
)
run!(sim, Stage(:equilibrate, steps = 50_000))
reset_observables!(sim)
run!(sim, Stage(:production, steps = 500_000))| Domain | Implemented Methods | Starting Points |
|---|---|---|
| Lipid Membranes & Biomolecules | Dual-mesh C²-ESP + DispersionESP, semi-isotropic NPT, 4 fs HMR, :df64 SETTLE & ConstraintClusters | T14: Bilayer & α-Helix · T13: Alanine Dipeptide |
| Aqueous Solutions & Interfaces | SPC/E, TIP3P, 0–5 m NaCl electrolytes, Rank-1 SVD LB dispersion, Yeh–Hummer 1/L scaling, slab surface tension | T04: Rigid Water · T06: LJPME Slab · T07: NaCl |
| Polymers, Polyelectrolytes & Pores | FENE + WCA, semi-flexible angles, Float64 unwrapped MSD, GSD restarts, Manning condensation, FreezeGroup walls | T12: Entangled Melts · T08: DNA · T09: Nanopores |
| 2D Melting, Active & Nonequilibrium | 2D PeriodicBox, ActiveOrnsteinUhlenbeck, two-temperature mixtures, Jarzynski work & PMF, BAOAB/CSVR/NHC | T10: 2D Hexatic · T11: AOUP & Two-T · T03: Jarzynski |
| MLIPs & Custom Potentials | CUDA-graph-capturable AbstractExternalPotential (MACE & Orb examples), GPU-isbits AbstractPairPotential | Interactions & GPU MLIPs · Where to Touch |