def Bertsch_MC_Average(x_min,x_max,Ref,G,Dh,q_flux,L,TsatL,TsatV):
'''
Returns the average heat transfer coefficient
between qualities of x_min and x_max.
for Bertsch two-phase evaporation in mico-channel HX
'''
if not x_min==x_max:
#A proper range is given
return quad(Bertsch_MC,x_min,x_max,args=(Ref,G,Dh,q_flux,L))[0]/(x_max-x_min)
else:
#A single value is given
return Bertsch_MC(x_min,Ref,G,Dh,q_flux,L,TsatL,TsatV)
评论列表
文章目录