A numerical simulation of the Jominy end-quench test