Molecular dynamics study of ion impact phenomena