[lammps-users] wall/reflect

Dear lammps users

currently I am using lammps version March 2010 and I have problems to use the wall/reflect command in the following way (as described in the manual):

fix 2 all wall/reflect xlo EDGE xhi EDGE

fix 3 all wall/reflect ylo EDGE yhi EDGE

fix 4 all wall/reflect zlo EDGE zhi EDGE

together with boundary f f f, to restrict the particle positions to the box volume.

There always emerges the error: “Illegal fix wall/reflect command”.

What is wrong with the syntax above?

Thank you.

Best regards

Sabine

Dear lammps users

dear sabine,

currently I am using lammps version March 2010 and I have problems to use
the wall/reflect command in the following way (as described in the manual):

fix 2 all wall/reflect xlo EDGE xhi EDGE

fix 3 all wall/reflect ylo EDGE yhi EDGE

fix 4 all wall/reflect zlo EDGE zhi EDGE

together with boundary f f f, to restrict the particle positions to the box
volume.

There always emerges the error: "Illegal fix wall/reflect command".

What is wrong with the syntax above?

nothing, only that your binary is obviously older than current
LAMMPS sources and its online documentation. please aways
check the following URL when you get this kind of error message.

this page lists that the fix wall/reflect was changed in an incompatible
way in the May 31 patch.

cheers,
     axel.

btw: no need to have three entries for this.