Simulation and analysis of coupled surface and grain boundary motion