Interaction between active disc and square array of obstacles

Hello to all sir
i am simulating lammps code for Interaction between active disc and square array of obstacles… the order of potential is …

  1. disk-disk interaction is harmonic repulsion
  2. disk-obstacle interaction is also harmonic repulsion
    I used this command

bond_style harmonic
bond_coeff 1 100.0 3.45
but it generates error as…

ERROR: Bond_style command when no bonds allowed (src/input.cpp:1347)
Last command: bond_style harmonic
I needed guidance …

for lj potential , I simulated my code… the result is ok
pair_style lj/cut 2.5
pair_coeff 1 1 1.0 1.0 2.5
pair_coeff 2 2 1.0 1.0 2.5
pair_coeff 1 2 1.0 1.0 1.12

You cannot use a bond style in place of a pair style. Hence the error.