Populating a cluster of galaxies - I. Results at z=0