[lammps-users] deleting a fraction of atoms of a specified type

Hi

I want to use the "delete_atoms" command to remove a randomly selected fraction of atoms from a group (as opposed to a spatial region).

"delete_atoms porosity..." will delete a portion of atoms inside a specified volume (but not by group)
"delete_atoms group..." will delete all atoms of a specified type (but all atoms will be deleted, a fraction is no an option)

I only want to delete some atoms (not all) and by atoms type (not spatial coordinate). What are my options in LAMMPS?

Thanks,

Nicholas J. Lee

An option would have to be added to delete_atoms to do what you want.

Steve