Numerical analysis of a continuum model of phase transition