Hi all-
I am interested in using OPLS-AA to run a comparison MD simulation with PCFF for the PIM-1 polymer of intrinsic microporosity. I have been carefully studying the atom types in the most recently updated OPLS/2020 .par and .sb force field files, which I have attached here for reference, and I think I’ve correctly identified all the atom types that I need to build the molecule.
PIM-1 is a ladder polymer, which cannot easily be built as a polymer in EMC due to its connectivity; my workaround for this is to create a very long SMILES string, such that it represents an entire 16mer or the like. For now I am interested in building a dimer to test that my system is working.
I have updated a .define file copied over from OPLS-AA bundled with EMC, and added the necessary atom types and rules for typing the atoms in PIM-1. When I execute setup.sh in my directory, a pair of .prm and .top files are generated which include the atom types and, crucially, have imported the correct charges and Lennard-Jones parameters from the source. However, the only bond, angle, dihedral, or impropers that are included are coming from either Torsion_Auto or are for the benzene ring bonds and angles between C and H. Additionally, if I try to run a setup.esh file using these parameters, I get an error, core/field.c:521 FieldIndexInit: No rule for type ‘?’. I haven’t set the dummy atom in the Masses section because that wasn’t done in the original .define, but perhaps it needs to be there?
I think my confusion lies in that I’m not sure how to appropriately use the Extra, Bond, Angle, Torsion, and Improper sections in the .define file to ensure that EMC identifies the right pairs/triplets/quadruplets in the source. Once I figure this part out I think it will be fairly straightforward for me to continue expanding this OPLS/2020 implementation for EMC (and as I do it, I’d be happy to continue sharing it here).
Would anyone (@veld , perhaps) with more expertise on this know what I might be missing?
Thank you all so much,
Sam
opls-aa.define (5.2 KB)
opls-aa.prm (4.6 KB)
opls-aa.top (1.5 KB)
oplsaa.par (238.3 KB)
oplsaa.sb (163.9 KB)
polymer.esh (1.6 KB)