I am new to molecular dynamics. On the forum, despite many posts on tools like moltemplate/packmol/vmd topotools/cmp2lmp etc, there are many suggestions to write own code to do the initial data file part. If I am to write the code to generate the initial file, how do I go about it?
Systems I want to model are two.
- A coarse-grained polymer (polystyrene) melt on a substrate (model adhesion, as a learning exercise).
- An all-atom simulation of a polymer before polymerization. The monomer unit of this polymer is a large molecule, with benzene rings etc.
How do I go about generating initial configuration? I want to run the simulation with LAMMPS. (Are there any alternatives available?)