A Mathematical Model of Thermal Oil Recovery in Linear Systems