Text this: Development and application of wellbore heat transfer model considering variable mass flow