Temperature analysis of structures exposed to fire