Modelling sintering at particle scale using variational and molecular dynamic methods