Here we use automatic differentiation technique to optimize force fields for gas adsorption. In the paper, we mainly develop the refined force field for
DMFF: It is an open-source automatic differentiable package for force field development.
Aiida-LSMO: Aiida-LSMO workflow includes structure optimization, binding energy calculation, isotherm generation. And the tool mainly uses isotherm generation part to sample and the trajectories are used to develop FFs in DMFF. The intallation tutorial can be found in https://github.com/mpougin/aiida2.x-lsmo-setup.
Modification in AiiDa-LSMO workflow
I add "ff_optim" option to the Aiida-LSMO workflow, which allows self-defined FFs for simulation. In pratice, I add some lines in ff_builder_module.py, isotherm.py, simulation_annealing.py within calculation folder.
Execution scripts for AiiDa-LSMO
Before you use the tools to optimize force fields, you need to install DMFF and Aiida-LSMO firstly. If you meet errors in the installation of Aiida-LSMO, you can give up installing some packages as long as the isotherm generation workflows still work. The two packages can be install in two directories. The working directories of DMFF and Aiida-LSMO need to be defined as global variable for the tools.