Predicting Pressure Loss and Heat Transfer in Geothermal Wellbores