Diagnostics of coolers with oscillating fluid motion: Part II. Entropy generation