wall potential

Dear LAMMPS users

I tried to define potential wall which has vacant region in middle of that, for this purpose wall/region used, region defined as below (LJ units used):

region block-1 block 24 25 -10 12 0 30
region block-2 block 24 25 -13 30 0 30
region block-3 block 24 25 12 13 0 13
region block-4 block 24 25 12 13 14 30

region totoal-block union block-1 block-2 block-3 block-4

fix wall all wall/region totoal-block lj93 1 1 2

but this error happened:

region block-1 block 24 25 -10 12 0 30
region block-2 block 24 25 -13 30 0 30
region block-3 block 24 25 12 13 0 13
region block-4 block 24 25 12 13 14 30

region totoal-block union block-1 block-2 block-3 block-4
ERROR: Expected integer parameter in input script or data file (…/region_union.cpp:30)

can anyone help me?

best

Mahdi

Dear LAMMPS users

I tried to define potential wall which has vacant region in middle of that, for this purpose wall/region used, region defined as below (LJ units used):

region block-1 block 24 25 -10 12 0 30
region block-2 block 24 25 -13 30 0 30
region block-3 block 24 25 12 13 0 13
region block-4 block 24 25 12 13 14 30

region totoal-block union block-1 block-2 block-3 block-4

fix wall all wall/region totoal-block lj93 1 1 2

but this error happened:

region block-1 block 24 25 -10 12 0 30
region block-2 block 24 25 -13 30 0 30
region block-3 block 24 25 12 13 0 13
region block-4 block 24 25 12 13 14 30

region totoal-block union block-1 block-2 block-3 block-4
ERROR: Expected integer parameter in input script or data file (…/region_union.cpp:30)

can anyone help me?

You are obviously missing an integer in that command. Have you checked the docs?