Flow and heat transfer in a pipe with a fin attached to inner wall