Modeling microstructure development in gray cast irons