Add the functionality to calculte the volume averaged temperature