Numerical modeling of coronal mass ejections based on various pre-event model atmospheres