Está en la página 1de 1

ClculocoeficientederozamientodeColebrookWhitecreandofuncinenExcel

LasiguientefuncinsepuedegenerarenunmacroExcelycalculaelcoeficientederozamiento
sabiendo: la rugosidad absoluta (k), el dimetro interior del conducto en circular o dimetro
hidrulicodelconductonocircular(d)yelnmerodeReynolds.Lasunidadesdekyddeben
ser iguales. Se asume que el flujo es totalmente turbulento Re2300. Si el flujo no es
turbulentosepuedeutilizarlaexpresindeflujolaminarsiendof=64/Reynolds.

OptionExplicit
Functioncolebrook(k,d,reynolds)
DimlamdaAsDouble
DimaAsDouble
DimbAsDouble
DimfxAsDouble
DimfderxAsDouble
DimdeltaAsDouble
DimayudaAsDouble
lamda=0.0001
a=(k/d)/3.7
b=2.51/reynolds
ayuda=1/Sqr(lamda)
fx=2*Log(a+(b*ayuda))/Log(10)
fderx=(2/Log(10))*(b/(a+(ayuda*b)))
delta=(fxayuda)/(fderx1)
WhileAbs(delta)>1E17
ayuda=ayudadelta
fx=(2*Log(a+(b*ayuda)))/Log(10)
fderx=(2/Log(10))*(b/(a+(ayuda*b)))
delta=(fxayuda)/(fderx1)
Wend
colebrook=1/(ayuda*ayuda)
EndFunction

También podría gustarte