using group name in delete_atoms porosity to delete just a few atom

Hi all of the dear lammps users

I am attempting to create a Fe matrix with some percent of interstitial C atoms. I used the way mentioned in:

http://lammps.sandia.gov/threads/msg60527.html

I created a Fe matrix that all the interstitial sites were filled by C atoms. Now, i want to delete some percent of C atoms. If i use “delete_atoms porosity…” all atoms (both interstitial and host atoms) will be deleted and “delete_atoms group…” delete all the atom of the an atom type (not a fraction of them). does anyone know what is the solution?

thanks alot

What about delete_atoms porosity of the lammps? - ResearchGate. Available from: https://www.researchgate.net/post/what_about_delete_atoms_porosity_of_the_lammps [accessed Mar 15, 2017].

Hi all of the dear lammps users

I am attempting to create a Fe matrix with some percent of interstitial C
atoms. I used the way mentioned in:

LAMMPS Molecular Dynamics Simulator

I created a Fe matrix that all the interstitial sites were filled by C
atoms. Now, i want to delete some percent of C atoms. If i use
"delete_atoms porosity..." all atoms (both interstitial and host atoms)
will be deleted and "delete_atoms group..." delete all the atom of the an
atom type (not a fraction of them). does anyone know what is the solution?

​how about creating the atoms for the Fe matrix *after* applying
delete_atoms porosity on the previously created C atoms?

axel.​