DPD thermostat; ghost atom; comm_modify

Dear Lammps users,

I found a problem with using comm_modify command while I used dpd thermostat along LJ potential for my simulation. The layout of my input script is as: the initial configuration, and velocity were read from a data file, and applied the pair_style hybrid/overlay, and went on with my computations and fix and output setting which may be not relevant to my problem (I have attached the input script).

At first, I encountered an error as : “Pair dpd requires ghost atoms store velocity”;

Then I went back to the manual to see that there is something I left out, and I found that I have to add “comm_modify vel yes” command. So I added this two lines:

comm_style brick
comm_modify vel yes

Then I was surprised by this error: " Unknown command: comm_style brick (…/input.cpp:218)"

I don’t know whether I need to made additional package to have this command included or what?! For your information I am using 1-Feb-2014 version of Lammps.

I would be really grateful if you can guide me how to avoid this error.

Best regards.

Hassani

in.shear (2.16 KB)

Dear Lammps users,

I found a problem with using comm_modify command while I used dpd thermostat
along LJ potential for my simulation. The layout of my input script is as:
the initial configuration, and velocity were read from a data file, and
applied the pair_style hybrid/overlay, and went on with my computations and
fix and output setting which may be not relevant to my problem (I have
attached the input script).
At first, I encountered an error as : "Pair dpd requires ghost atoms store
velocity";
Then I went back to the manual to see that there is something I left out,
and I found that I have to add "comm_modify vel yes" command. So I added
this two lines:

comm_style brick
comm_modify vel yes

Then I was surprised by this error: " Unknown command: comm_style brick
(../input.cpp:218)"
I don't know whether I need to made additional package to have this command
included or what?! For your information I am using 1-Feb-2014 version of
Lammps.

No, and the error is not surprising at all, since you are using an old
version of LAMMPS with the manual for the current version.
see the comments to the 13 May 2014 patch here:

http://lammps.sandia.gov/bug.html

that mentions the incompatible change in the syntax.