Surface patterning by atomically-controlled chemical forces: molecular dynamics simulations