particle seperation with neighbor list

Submitted by Alex E on Fri, 07/06/2018 - 12:31

Hi,
I am currently facing a problem with liggghts hopefully someone can help me.

I need to identify or separate particles which are not part of a heap. Therefore, I would like to delete particle without a neighbor.
Is it possible to extract this information from the neighbor list? How can I do this?

Regards,

Alexander

Daniel Queteschiner | Thu, 07/26/2018 - 16:23

You may have a look at compute coord/atom or compute contact/atom on how to obtain the coordination number, i.e. access neighbor information. Look at delete_atoms to see how to properly remove particles from the simulation.