Analysis of entropy generation of combined heat and mass transfer in internal and external flows with the assumption of local thermodynamic equilibrium