Hi,
I would like to detect the particle-wall collisions. I want to use the number of contacts and contact area to update the
electric charge of each particle after each contact with the wall. Since I use mesh walls, I thought I can do it with
"compute wall/gran/local" command. It gives me the id and contact area of the contacting particles and I can
dump it using dump local but I don't know how I can keep this history for each atom as a per-atom variable.
I tried a lot to find my answer in the documentation but I wasn't successful. I am new to LIGGGHTS so sorry
if the question is trivial.
Thanks
Ali
ckloss | Thu, 09/25/2014 - 09:38
Hi Ali,
Hi Ali,
if you want to update charge based on contacts/collisions, what you probably want is a new contact model.
You can modify for instance the "model hertz" to "model hertz/electrostatic" or the like
Christoph
anandmds | Mon, 10/03/2016 - 08:40
Hi ckloss,
Hi ckloss,
I have a similar problem. I want to know how to store the output of "compute pair/gran/local" in an atom style variable so that I can further use for further calculations. If that's not feasible, then how to store the output of ( which are column vectors from compute style) in a variable ? Please help.
Thanks & Regards
Anand