Adiabatic-isothermal mixed boundary conditions in heat transfer