Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 917 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 917 Bytes

pso_rff

Particle Swarm Optimization for Reactive Force Fields

Dependencies:

  • LAMMPS built with ReaxFF package
  • ReaxFF forcefield to optimize
  • First-principles ground truth data and relaxed atomic structures
  • NumPy

This code is a synthesis of a pre-existing force field optimization code from Matt Curnan RFFOpt and the pyswarm package for evolutionary optimization. It performs PSO to find optimal ReaxFF parameters for a chosen chemical system, varying the selected free parameters in the target potential to best fit a selected set of training data plus structures.

/optimize/ contains an example of a working pso_rff run, with included batch script for submission via SLURM. 'help.txt' contains more instructions.

You can test the modular components of the optimization script 'optimize.py' by importing modules from /pso_rff/.