Bond_style command applied only to certain atoms

Dear LAMMPS Users,

Hello LAMMPS Users. I have provided a portion of my data_file that my LAMMPS script reads.

Masses
1 1

Pair Coeffs
1 1 1

Bond Coeffs
1 30 1.5 1 1

Atoms
352 1 1 0 -5.246411e-01 -7.4480849e+00 -2.5609361e+01 0 0 1
438 1 1 0 -2.023082e+00 -2.145804175762e+00 -3.1214613652e+01 0 0 1
439 1 1 0 -1.3847342612e+00 -1.39819617438e+00 -3.1156516950e+01 0 0 1
353 1 1 0 -1.311973678e+00 -6.8054560848 -2.552241810e+01 0 0 1
436 1 1 0 -2.9238776e+00 -2.5348744220e+00 -3.16580945e+01 0 0 1
437 1 1 0 -2.28827032e+00 -2.0538038592e+00 -3.211588282e+01 0 0 1
435 1 1 0 -3.54180152004e+00 -1.88657085631e+00 -3.12189214e+01 0 0 1
434 1 1 0 -3.34071207706e+00 -2.4813030e+00 -3.043704077e+01 0 0 1

Although the bond_style fene command is being applied between all pairwise atoms listed in the above data_file, I was curious if there is any way to implement harmonic bond_style command only to certain atoms instead of applying this command to all atoms. I was reading the LAMMPS manual, and it seems that the harmonic bond style (as well as all other bond_style commands) will apply this bond potential between all atoms listed in the data_file. I was curious if it is possible to apply harmonic bond style to only specific atoms e.g. between Atom ID 438 and 352 . If yes, I would greatly appreciate for any advice on the structure of the data_file.

Thank you.

Sincerely,

Masato Koizumi

Dear LAMMPS Users,

Hello LAMMPS Users. I have provided a portion of my data_file that my
LAMMPS script reads.

Masses
1 1

Pair Coeffs
1 1 1

Bond Coeffs
1 30 1.5 1 1

Atoms
352 1 1 0 -5.246411e-01 -7.4480849e+00 -2.5609361e+01 0 0 1
438 1 1 0 -2.023082e+00 -2.145804175762e+00 -3.1214613652e+01 0 0 1
439 1 1 0 -1.3847342612e+00 -1.39819617438e+00 -3.1156516950e+01 0 0 1
353 1 1 0 -1.311973678e+00 -6.8054560848 -2.552241810e+01 0 0 1
436 1 1 0 -2.9238776e+00 -2.5348744220e+00 -3.16580945e+01 0 0 1
437 1 1 0 -2.28827032e+00 -2.0538038592e+00 -3.211588282e+01 0 0 1
435 1 1 0 -3.54180152004e+00 -1.88657085631e+00 -3.12189214e+01 0 0 1
434 1 1 0 -3.34071207706e+00 -2.4813030e+00 -3.043704077e+01 0 0 1

Although the bond_style fene command is being applied between all pairwise
atoms listed in the above data_file, I was curious if there is any way to
implement harmonic bond_style command only to certain atoms instead of
applying this command to all atoms. I was reading the LAMMPS manual, and it
seems that the harmonic bond style (as well as all other bond_style
commands) will apply this bond potential between all atoms listed in the
data_file. I was curious if it is possible to apply harmonic bond style to
only specific atoms e.g. between Atom ID 438 and 352 . If yes, I would
greatly appreciate for any advice on the structure of the data_file.

Then you probably did not understand the manual properly. Bond styles are
only applied to atoms that are bonded together, for example through a
"Bonds" section in the data file. See the documentation for the read_data
command for how to set this up.