region & group

Dear Lammps users ,

How I can extract one special atom-type from a region of my system ?

Best,
Saeed.

You can create two groups and intersect them:

group group1 region regionID # Group containing atoms in your region
group group2 type 1 # Group containing atoms of type 1
group group3 intersect group1 group2 # Group containing atoms of type 1 in your region

Is this what you mean by extract?

Anders

Dear Anders ,

Thanks for your reply .
Yes! This is exactly what I am looking for !

Best,
Saeed.