Shell and tube heat exchanger theory