A random tesselation model is used to fit the grain boundary microstructure of metallic materiál. Simulated annealing algorithm is used to optimize the approximation of data by the model.