Variational modeling of parabolic free boundary problems door