I modified the input file of lammps’ example for setting up the initial configuration which initially had the format of
Polymer chain definition
0.6281331503 rhostar
53689748 random # seed (8 digits or less)
1 # of sets of chains (list blank line + 6 values for each set)
0 label chains with molecule #
16 number of chains
50 monomers/chain
1 type of monomers (for output into LAMMPS file)
1 type of bonds (for output into LAMMPS file)
0.97 distance between monomers (in reduced units of sigma)
1.02 no distance less than this from site i-1 to i+1 (reduced unit)
to:
Polymer chain definition
0.6281331503 rhostar
53689748 random # seed (8 digits or less)
1 # of sets of chains (list blank line + 6 values for each set)
0 label chains with molecule #
2 number of chains
10 monomers/chain
1 type of monomers (for output into LAMMPS file)
1 type of bonds (for output into LAMMPS file)
0.97 distance between monomers (in reduced units of sigma)
1.02 no distance less than this from site i-1 to i+1 (reduced unit)
and then did the run with tools/setup_chain (used the original lammps program)
why does it produce different formats for the out put in the original one, each line under Atoms has 7 data points, and in what I got each line under Atoms has 10 data points.
If you are talking about the tools/chain.f program then
it writes out 9 fields per Atoms line. Look at line 260
of chain.f. So I don't know how you got the output you
list in your data file. The 9-field version is compatible
with atom_style bond in a LAMMPS input script.