Numerical modeling of non-stationary heat problems in a two-phase medium. (January 2021)