Dear Lammps users
I am trying to run MD simulation containing complex monomers and solid. I was able to run them separately but when I combined them together I am getting some error.
I am using CHARMM force field for monomers and EAM potential for solid. When I ran the case of monomers only, my pair_coeff constants were defined in the lammps data file. Since there is no mixing possible between lj/charmm and EAM, I chose to define them in the input script explicitly, thanks Axel for this information.
While running the case, I got this error:
“Numeric index is out of bounds (force.cpp:666)”
I double check all the atom ids but still having this error. I also checked the lammps mailing list. Any idea why am I getting this error. I added my input script and data file. Really appreciate your help.
Thank you very much.
…
My input script is like,
vinyl_pyrolidone
dimension 3
units real
boundary p p p
atom_style full
bond_style harmonic
angle_style charmm
dihedral_style charmm
improper_style harmonic
pair_style hybrid eam lj/charmm/coul/long 8.0 10.0 10.0 lj/cut 9.0
read_data vinyl_pyrolidine_gr_com.data
#pair_coeff 1 1 lj/charmm 0.055 3.8754 0.01 3.3854415
pair_coeff 1 0.055 3.8754 0.01 3.3854415
pair_coeff 2 1 0 0 0 0
pair_coeff 3 1 0 0 0 0
pair_coeff 2 0.2 3.296325 0.2 3.296325
pair_coeff 3 2 0 0 0 0
pair_coeff 3 0.12 3.029056 0.12 2.494516
pair_coeff 4 0 0 0 0
pair_coeff 1 4 0 0 0 0
pair_coeff 2 4 0 0 0 0
pair_coeff 3 4 0 0 0 0
pair_coeff 5 eam Au_u3.eam
pair_coeff 3 5 lj/cut 0.08602 2.95
pair_coeff 1 5 lj/cut 0 0
pair_coeff 2 5 lj/cut 0 0
pair_coeff 4 5 lj/cut 0 0
kspace_style pppm 0.0001
neighbor 2.0 bin
neigh_modify delay 5
velocity all create 280.0 1372109 dist gaussian rot yes units box loop geom
fix 1 all nvt temp 280.0 280.0 100 tchain 1
timestep 1
thermo_style custom step pe ke etotal press vol lx ly lz
thermo 1000
dump 1 all custom 10000 pyro.lammpstrj id type q x y z
restart 200000 mono_300
run 1000000
…
My data file is like,
…
40153 atoms
153 bonds
270 angles
828 dihedrals
36 impropers
5 atom types
9 bond types
17 angle types
47 dihedral types
7 improper types
-101 101 xlo xhi
-101 101 ylo yhi
0 50 zlo zhi
Masses
1 12.011
2 14.0067
3 15.9994
4 1.00794
5 196.97
Atoms
417 0 5 0 -97.7551 -98.1831 19.5044
Bond Coeffs
1 684.039 1.333
Bonds
1 7 1 2
Angle Coeffs
1 38.502 121.004 0 0
Angles
1 10 2 1 5
Dihedral Coeffs
1 3 2 180 1
Dihedrals
1 22 1 2 3 4
Improper Coeffs
1 1.439 0
Impropers
1 4 3 4 2 6
…