Phase-change processes are difficult to simulate because the boundary between phases moves and the temperature behaves differently on either side. Researchers developed a physics-informed neural-network framework for this type of problem, known as a two-phase Stefan problem.

The framework uses one neural network to represent the moving interface and another to represent temperature. Tests on two-phase dynamical problems showed that the approach could capture the change in the temperature gradient at the interface and reproduce an unstable interface evolution associated with the Mullins–Sekerka instability.