Simulation of the Formation of Microstructures in Sintering