A generalized moving-boundary algorithm to predict the heat transfer rate of counterflow heat exchangers for any phase configuration. (25th March 2015)