Dear Axel,
thanks for your reply! Greetings from Germany, Lower Saxony
![]()
I apologe in advance for my potentially silly discussion. Iāve been using LAMMPS for CG simulations of KG polymer models, and only recently started working with all-atom models with OPLS force-field. So, currently, Iām ārediscoveringā LAMMPS so to say ![]()
AFAIU, replicate command doesnāt allow for choosing the simulation box size, does it? Thus, I believe, fix deform is the way to go, following your further statement :
Regarding create_atoms and molecule commands that you recommended :
I tried this way, but havenāt found it easy. I happened to find these two discussions :
and also carefully looked through this tutorial :
https://lammpstutorials.github.io/sphinx/build/html/tutorials/level2/polymer-in-water.html
and understood that molecule requires as an input not a LAMMPS data file, but a molecule template file. While preparing the latter one using the existing LAMMPS data file [ generated by LigParGen ] , I faced the problem : pair interactions are required for, e.g. write_data, delete_atoms, etc., but there is no section Pair Coeffs in LAMMPS molecule template file, and thus pair coefficients need to be defined in a LAMMPS input script. For my particular problem [ 57 different atom types ] , this means at least another 57 lines in the LAMMPS input script, and personally I donāt consider this convenient, or separate LAMMPS file force-field parameters and include command.
Alternatively, Iām looking into Moltemplate [ donāt find it easy to start with too though
] and Packmol.
Generally speaking, itās hard to believe that my task that doesnāt sound complicated at first sight, i.e. generate a bulk material model out of the initial SMILES sequence or coordinates file that is already parametrised using MoSDeF or LigParGen, causes so much trouble.
Kind regards,
Igor.