number of contact

Submitted by abdulrahmanalharbi on Mon, 12/22/2014 - 21:09

Dear all,

I am simulating two spheres (sphere1 and sphere2) which are dropped in rotating cylinder.

I'm looking for a command that give me the total number of interaction that sphere1 participates(total number of interact with wall and with sphere 2) .

I tried the commands (compute wall/gran/local id …..and pair/gran/local id and then dump local), but I got the IDs of particles in contact at each timesteps.However I am looking for the total number of interactions.

Thank you in advance.

Best,

Abdul

JoshuaP | Mon, 01/05/2015 - 10:01

you can use >>compute ID group-ID coord/atom<< to calculate the number of contacts for each atom, but I think that the wall interaction is not counted.

regards
Joshua

Riccardo Maione's picture

Riccardo Maione | Tue, 01/06/2015 - 10:59

Hello,

for sphere sphere contact look at compute contact/atom, if you are interested in wall sphere contact, you can do it with a matlab file.
if you need help on this, feel free to contact me, I have written already an m-file suitable for this type of job

Sincerely,
Riccardo

abdulrahmanalharbi | Mon, 01/19/2015 - 16:39

Thank you Joshua.

thank you Riccardo and I will contact you soon for that matlab file .

regards,
abdul