Particle–solidification front dynamics using a fully coupled approach, Part I: methodology