Molecular-dynamic modeling of processes of heating and melting of metals. Part II. Computational experiment