Energy flow due to thermal conduction is classified as heat and is quantified by the vector q ( r , t ) , which gives the heat flux at position r and time t . According to the second law of thermodynamics, heat flows from high to low temperature. Hence, it is reasonable to postulate that q ( r , t ) is proportional to the gradient of the temperature field T ( r , t ) , i.e.