MoodyChart: an ActiveX Component to Calculate Friction Factor for Fluid Flow in Pipelines
- Key words
- Moody chart, friction factor, fluid flow, ActiveX component, Visual Basic. pipelines
- Conference
- Stanford Geothermal Workshop
- Year
- 2008
- Session
- Production Engineering
- Language
- English
- Paper number
- Verma
Full text
65KB, opens in a new tab
Abstract
An ActiveX component, MoodyChart is written in Visual Basic 6.0 to calculate frictional factor for fluid flow in pipelines using one of the three implicit and four explicit forms of Colebrook equation. The MoodyChart can be integrated in any computer language, which support object link embedding (OLE) in the windows environment. A function, FrictionalFactor (EqNo, Re, RelR), where EqNo, Re and RelR are equation number, Reynold number and relative roughness, respectively, is written in Visual Basic for Application (VBA) to use the MoodyChart in a workbook of MS-Excel. A comparative study among the calculated values of frictional factor indicates that the explicit equations of Serghide, and Zigrang and Sylvester provide reasonably consistent values of frictional factor for whole range of Re and RelR.
Copyright 2008, Stanford Geothermal Program. Readers who download papers from this site should honour the copyright of the original authors, and may not copy or distribute the work further without the permission of the original publisher.