Estimation of entropy generation by heat transfer from a liquid in an enclosure to ambient