Use of comm_modify

Hello,

I was just trying to modify a basic LAMMPS example code. I am facing a problem like this: “Rigid body extent > ghost cutoff - use comm_modify cutoff”. May I know where is the problem occurring? I am sharing the code:

Pour 2d granular particles into container

dimension 2
lattice sq 0.95
atom_style sphere
atom_modify map array
boundary f fm p
newton off
comm_modify vel yes cutoff 2.5

fix prop all property/atom mol ghost yes

region reg block -30 380 0 200 -0.5 0.5 units box
create_box 1 reg

region substratefirst block -25 370 20 100 -0.5 0.5 units box

create_atoms 1 region substratefirst units box

group 1 id < 2

group 2 region substratefirst

neighbor 0.2 bin
neigh_modify delay 0

pair_style gran/hertz/history 4000.0 NULL 100.0 NULL 0.5 0
pair_coeff * *

timestep 0.001

fix 1 all nve/sphere
fix 2 all gravity 3 spherical 0.0 -180.0
fix xwalls all wall/gran hertz/history 4000.0 NULL 100.0 NULL 0 1 &
xplane -30 NULL
fix ywalls all wall/gran hertz/history 4000.0 NULL 100.0 NULL 0 1 &
yplane 0 200

molecule object molecule.vshape
fix 3 all rigid/small molecule mol object

region slab block 10 210 140 160 -0.5 0.5 units box
fix ins all pour 500 0 4767548 vol 0.8 10 &
region slab mol object rigid 3

fix 4 all enforce2d

compute 1 all erotate/sphere
compute Tsphere all temp/sphere
thermo_style custom step atoms ke c_1 vol
thermo_modify lost ignore norm no temp Tsphere
compute_modify Tsphere dynamic/dof yes

thermo 1000

dump id all atom 200 dump.pour
dump 1 all custom 200 positions.lammpstrj id x y z vx vy vz diameter

run 25000

molecule.vshape (228 Bytes)

Regards,
Yeasir Mohammad Akib
UTRGV

You asked the exact same question about a month ago and I figured out the answer for you and explained it. Yet your input has the exact same mistake.