Similarity and numerical analysis for free boundary value problems