Mathematical Simulation of Thermal Recovery Processes