Dear Lammps Users,
I would be glad if someone can point out what I am doing wrong.
I am using pair_style hybrid for tip4p and a tabulated potential.
And here is the output with the ERROR
pair_style hybrid lj/cut/coul/long/tip4p 1 2 1 1 0.125 15.0 table linear 190
kspace_style pppm/tip4p 0.00001
bond_style harmonic
angle_style harmonic
read_data data.h2ice
Scanning data file …
2 = max bonds/atom
1 = max angles/atom
Reading data file …
orthogonal box = (-21 -21 -21) to (21 21 21)
1 by 1 by 1 processor grid
3001 atoms
2000 bonds
1000 angles
Finding 1-2 1-3 1-4 neighbors …
2 = max # of 1-2 neighbors
1 = max # of 1-3 neighbors
1 = max # of 1-4 neighbors
2 = max # of special neighbors
group water type 1 2
3000 atoms in group water
group H2 type 3
1 atoms in group H2
pair_coeff 1 1 lj/cut/coul/long/tip4p 0.16275 3.16435
pair_coeff 2 2 lj/cut/coul/long/tip4p 0.00000 0.00000
pair_coeff 1 3 water.table WATER_H2 10.0
ERROR: Pair coeff for hybrid has invalid style
Here is the part of the input script:
tip4p water and H2 MD calculation
units real
atom_style full
echo both
pair_style hybrid lj/cut/coul/long/tip4p 1 2 1 1 0.125 15.0 table linear 190
kspace_style pppm/tip4p 0.00001
bond_style harmonic
angle_style harmonic
read_data data.h2ice
group water type 1 2
group H2 type 3
pair_coeff 1 1 lj/cut/coul/long/tip4p 0.16275 3.16435
pair_coeff 2 2 lj/cut/coul/long/tip4p 0.00000 0.00000
pair_coeff 1 3 water.table WATER_H2 10.0
neighbor 2.0 bin
neigh_modify delay 5
#neigh_modify delay 0 every 1 check yes page 1000000
timestep 1.0
thermo_style custom step temp epair press vol lx ly lz
…
…
Thanks for your help.
Vijay