Self-consistent numerical simulation of isotope separation by selective ion cyclotron resonance heating in a magnetically confined plasma