Grain boundary grooving in thin film under the influence of an external magnetic field: A phase-field study | Synapse