A numerical approach for high-temperatures flows over ablating surfaces