Use of a smoothed model for pipe friction loss

Similar documents
IBM Research Report. Valve Placement in Water Networks: Mixed-Integer Non-Linear Optimization with Quadratic Pipe Friction

Major and Minor Losses

Review of pipe flow: Friction & Minor Losses

FLOW FRICTION CHARACTERISTICS OF CONCRETE PRESSURE PIPE

1-Reynold s Experiment

Sparse Polynomial Optimization for Urban Distribution Networks

ME 305 Fluid Mechanics I. Part 8 Viscous Flow in Pipes and Ducts. Flow in Pipes and Ducts. Flow in Pipes and Ducts (cont d)

Improved Method for Converting Equivalent Sand-grain Roughness to Hazen-Williams Coefficient

Chapter 10 Flow in Conduits

Chapter (3) Water Flow in Pipes

ME 305 Fluid Mechanics I. Chapter 8 Viscous Flow in Pipes and Ducts

The effect of geometric parameters on the head loss factor in headers

HYDRAULIC STRUCTURES, EQUIPMENT AND WATER DATA ACQUISITION SYSTEMS - Vol. I Fluid Mechanics in Pipelines - D. Stephenson

The Darcy-Weisbach Jacobian and avoiding zero flow failures in the Global Gradient Algorithm for the water network equations

Comparison of the Lambert W-function based solutions to the Colebrook equation

EXPERIMENT II - FRICTION LOSS ALONG PIPE AND LOSSES AT PIPE FITTINGS

FE Fluids Review March 23, 2012 Steve Burian (Civil & Environmental Engineering)

Relationship between Hazen-William coefficient and Colebrook-White friction factor: Application in water network analysis

A note on critical flow section in collector channels

Hydraulics. B.E. (Civil), Year/Part: II/II. Tutorial solutions: Pipe flow. Tutorial 1

LOSSES DUE TO PIPE FITTINGS

Reynolds, an engineering professor in early 1880 demonstrated two different types of flow through an experiment:

STEADY FLOW THROUGH PIPES DARCY WEISBACH EQUATION FOR FLOW IN PIPES. HAZEN WILLIAM S FORMULA, LOSSES IN PIPELINES, HYDRAULIC GRADE LINES AND ENERGY

Chapter 8: Flow in Pipes

ENG3103 Engineering Problem Solving Computations Semester 2, 2013

Hydraulic Design Of Polyethylene Pipes

Engineers Edge, LLC PDH & Professional Training

When water (fluid) flows in a pipe, for example from point A to point B, pressure drop will occur due to the energy losses (major and minor losses).

OE4625 Dredge Pumps and Slurry Transport. Vaclav Matousek October 13, 2004

Uniform Channel Flow Basic Concepts. Definition of Uniform Flow

Presented at MASSEE International Conference on Mathematics MICOM-2009

Chapter (3) Water Flow in Pipes

LECTURE 6- ENERGY LOSSES IN HYDRAULIC SYSTEMS SELF EVALUATION QUESTIONS AND ANSWERS

Hydraulics and hydrology

Water Circuit Lab. The pressure drop along a straight pipe segment can be calculated using the following set of equations:

Fluid Flow Analysis Penn State Chemical Engineering

Chapter 8: Flow in Pipes

Journal of Hydraulic Engineering

Viscous Flow in Ducts

Chapter 6. Losses due to Fluid Friction

Comparison of Explicit Relations of Darcy Friction Measurement with Colebrook-White Equation

FACULTY OF CHEMICAL & ENERGY ENGINEERING FLUID MECHANICS LABORATORY TITLE OF EXPERIMENT: MINOR LOSSES IN PIPE (E4)

Pipe Flow/Friction Factor Calculations using Excel Spreadsheets

Applied Fluid Mechanics

SCHOOL OF CHEMICAL ENGINEERING FACULTY OF ENGINEERING AND TECHNOLOGY SRM UNIVERSITY COURSE PLAN

Pressure Losses for Fluid Flow Through Abrupt Area. Contraction in Compact Heat Exchangers

Determination of Pressure Losses in Hydraulic Pipeline Systems by Considering Temperature and Pressure

REE 307 Fluid Mechanics II. Lecture 1. Sep 27, Dr./ Ahmed Mohamed Nagib Elmekawy. Zewail City for Science and Technology

ACCOUNTING FOR FRICTION IN THE BERNOULLI EQUATION FOR FLOW THROUGH PIPES

Calculation of Pipe Friction Loss

LEAKLESS COOLING SYSTEM V.2 PRESSURE DROP CALCULATIONS AND ASSUMPTIONS

Appendix F. + 1 Ma 1. 2 Ma Ma Ma ln + K = 0 (4-173)

Pipe Flow. Lecture 17

Lesson 6 Review of fundamentals: Fluid flow

FLUID MECHANICS D203 SAE SOLUTIONS TUTORIAL 2 APPLICATIONS OF BERNOULLI SELF ASSESSMENT EXERCISE 1

Two Methods for the Computation of Commercial Pipe Friction Factors

6.2 Modeling of Systems and Components

PIPING SYSTEMS. Pipe and Tubing Standards Sizes for pipes and tubes are standardized. Pipes are specified by a nominal diameter and a schedule number.

Pressure and Flow Characteristics

Determining Liquid Capacity 4 th Annual Pipeline Knowledge Retention Chris Sonneborn November 7, 2013

SKM DRILLING ENGINEERING. Chapter 3 - Drilling Hydraulics

s and FE X. A. Flow measurement B. properties C. statics D. impulse, and momentum equations E. Pipe and other internal flow 7% of FE Morning Session I

FE Exam Fluids Review October 23, Important Concepts

Laminar and turbulent flows

HEAT TRANSFER BY CONVECTION. Dr. Şaziye Balku 1

Sizing of Gas Pipelines

Chapter 3 Water Flow in Pipes

Understand How Valves & Fittings Affect Head Loss

MYcsvtu Notes HEAT TRANSFER BY CONVECTION

FLOW IN CONDUITS. Shear stress distribution across a pipe section. Chapter 10

5. MODELING OF NON-STRATIFIED MIXTURE FLOWS (Pseudo-homogeneous flows)

Uniform Channel Flow Basic Concepts Hydromechanics VVR090

12d Model. Civil and Surveying Software. Version 7. Drainage Analysis Module Hydraulics. Owen Thornton BE (Mech), 12d Model Programmer

Hydraulics for Urban Storm Drainage

Lecture 4. Lab this week: Cartridge valves Flow divider Properties of Hydraulic Fluids. Lab 8 Sequencing circuit Lab 9 Flow divider

Application of analogy of momentum and heat transfer at shell and tube condenser

An Improved Expression for a Classical Type of Explicit Approximation of the Colebrook White Equation with Only One Internal Iteration

Field Assessment of Friction Head Loss and Friction Correction Factor Equations

Only if handing in. Name: Student No.: Page 2 of 7

Two-Fluid Model 41. Simple isothermal two-fluid two-phase models for stratified flow:

Self-Excited Vibration in Hydraulic Ball Check Valve

Bernoulli and Pipe Flow

CHAPTER THREE FLUID MECHANICS

FLUID MECHANICS. Dynamics of Viscous Fluid Flow in Closed Pipe: Darcy-Weisbach equation for flow in pipes. Major and minor losses in pipe lines.

Chapter 7 FLOW THROUGH PIPES

Watershed Sciences 6900 FLUVIAL HYDRAULICS & ECOHYDRAULICS

CHME 302 CHEMICAL ENGINEERING LABOATORY-I EXPERIMENT 302-V FREE AND FORCED CONVECTION

Darcy Weisbach, ELM & Relative Viscosity

ME19b. FINAL REVIEW SOLUTIONS. Mar. 11, 2010.

Hydraulics of pipelines

Fluid Mechanics III. 1. Dimensional analysis and similarity

Basic Fluid Mechanics

Chapter 3 NATURAL CONVECTION

Friction Factors and Drag Coefficients

Geology 550 Spring 2005 LAB 3: HYDRAULICS OF PRAIRIE CREEK

The Mechatronics Design for Measuring Fluid Friction Losses in Pipe Flows Rıza Gurbuz

TOTAL HEAD, N.P.S.H. AND OTHER CALCULATION EXAMPLES Jacques Chaurette p. eng., June 2003

ABSTRACT 1 INTRODUCTION

United Formula for the Friction Factor in the Turbulent Region of Pipe Flow

S. Ahmed, M. Q. Islam and A. S. M. Jonayat. Department of Mechanical Engineering, BUET, Dhaka, Bangladesh

Transcription:

Use of a smoothed model for pipe friction loss Bradley J. Eck, M.ASCE Please cite this as: Eck, B. (2016). Use of a Smoothed Model for Pipe Friction Loss. J. Hydraul. Eng., 10.1061/(ASCE)HY.1943-7900.0001239, 06016022. ABSTRACT This note examines a globally smooth approximation for friction loss in pipelines suggested by Burgschweiger and co-workers. The approximation contains five parameters, two of which are open to selection. A method is provided for choosing these based on laminar conditions near zero flow. Using the proposed approach, approximation accuracy is reported in terms of relative roughness and Reynold s number. INTRODUCTION Modeling friction loss within derivative-based optimization models remains an area of active research. Head lost due to friction is described by the Darcy- Weisbach formula (White 1999) h = f L φ V 2 2g (1) where f is the Darcy friction factor; L is the pipe length, φ is the diameter, V is the average velocity; and g is the gravitational constant, all in consistent units. The friction factor f varies according to the flow regime. Under laminar conditions f = 64/Re, where Re = V D/ν is the Reynolds number, and ν is the kinematic viscosity. In the turbulent regime, the friction factor s behavior with respect to Re varies according to flow conditions and roughness height k as described by the Colebrook-White formula: ( 1 k = 2 log f 10 3.7φ + 2.51 Re f Challenges of applying Eq 2 within optimization models include the implicit nature of the relation, its computational complexity (c.f. (Giustolisi et al. 2011)), and the differentiability and smoothness of approximations. Coping strategies for optimization approaches include using the explicit Hazen-Williams formula and approximating the Darcy-Weisbach curve. 1 ) (2)

Several earlier workers have suggested approximations of the Darcy-Weisbach curve aimed at optimization problems. An explicit power law form is suggested by Valiantzas (2008). The limiting case of rough pipes as described by the Prandtl- Karman relation is applied as an approximation by Gleixner et al. (2012). Eck and Mevissen (2015) propose a quadratic approximation of Darcy-Weisbach friction losses, minimizing the relative error. Both the power law and quadratic forms treat flow as a non-negative variable. In these cases, flow direction may be modeled using absolute value (Vairavamoorthy and Lumbers 1998) or by restricting flows to positive values and including a network link for each direction (Ghaddar et al. 2015). The smoothed approximation of Burgschweiger et al. (2009) provides a different modelling approach that allows flows to be real-valued without introducing an absolute value function. Comparing to other approximations of the Darcy-Weisbach curve aimed at optimization problems, the approximation also has the advantages of smoothness in the second derivative and asymptotic correctness. Smoothness is desirable in optimization problems to improve convergence behavior and to enable a broader choice of algorithms. Burgschweiger et al. (2009) report improved convergence performance with the smoothed model, even for methods using only first derivatives. In their study of water network design Bragalli et al. (2011) require a smooth friction loss model in order to apply an interior point solver. The behavior of the smoothed approximation in the practical and asymptotic flow ranges is a topic of this paper. As discussed below, the approximation uses five parameters. Three of these are set by pipe properties while the remaining two are open to selection. The remainder of this note examines the smoothed model suggested by Burgschweiger et al. To the author s knowledge a detailed procedure for choosing the open coefficients of the smoothed model does not exist elsewhere. Thus, a method based on laminar conditions near zero flow is developed. The approximation accuracy is also reported. SMOOTHED MODEL FOR FRICTION LOSS In their work to optimize the operation of the water distribution system in Berlin, Burgschweiger and co-workers developed the following approximation for Darcy-Weisbach friction loss in water pipes (Burgschweiger et al. 2009). ĥ(q) = r ( Q2 + a 2 + b + c Q2 + d 2 ) Q (3) The approximate head loss ĥ depends on the volumetric flow rate Q and the five parameters r, a, b, c, and d. The functional form of Eq 3 has several advantages for derivative based optimization models. It is globally smooth in the second derivative and handles positive and negative flows without an absolute value sign. Values of r, b, and c are chosen from pipe and fluid properties and asymptotic correctness while a and d are open to selection. Considering a pipe of length, L, diameter φ, and roughness height k the resistance parameter, r is defined within h = rq Q using Prandtl-Karman s value of 2

the Darcy friction factor for hydraulically rough pipes. ( ) 2 k 8L r = 2log 3.71φ π 2 φ 5 g (4) The parameters b and c are found such that the theoretical curve is approximated up to second order as flow goes to infinity. where b = 2δ (5) c = (lnβ + 1)δ 2 a 2 /2 (6) α = 2.51 πνφ 4 (7) β = k 3.71φ (8) δ = 2α βln10 It is noted that the value of c depends on the value of a which is chosen subsequently. The parameters a and d are open to selection and may be chosen to match any desired slope at zero flow (Burgschweiger et al. 2009). However, choosing the slope at zero flow or parameters a and d is not discussed in detail beyond requiring b > 0 and c < 0 along with a > 0 and d > 0. SELECTING OPEN PARAMETERS Finding values of the parameters a and d to yield a chosen slope at zero flow requires solution of an under-determined equation. At zero flow, the slope of the smoothed friction loss curve according to Eq 3 is (9) ĥ (0) = r(a + b + c/d). (10) Substituting for r, b and c in Eq 10 and equating with a desired slope h 0 yields one equation with two unknowns. Solutions may be found applying the method of least squares (Kreyszig 1999). Define as the difference between Eq 10 and the target slope h 0 and substitute for c. = ra + rb + r d (lnβ + 1)δ2 ra2 2d h 0 (11) Define F = 2 as the squared difference between the slopes. Taking the partial derivative of F with respect to a and equating to zero gives F a = 2 r(1 a/d) = 0 (12) 3

from which two conditions are available: = 0 and a = d. Taking the partial with respect to d gives F d = 2 r c d = 0 (13) 2 and again two conditions are available: = 0 and c = 0. Choosing c = 0 would destroy the asymptotic characteristics of the approximation. Values for a and d are thus chosen by setting d = a in Eq 11 and solving for a using the quadratic formula. ( h 0 rb ) ± (rb h a = 0) 2r 2 (lnβ + 1)δ 2 (14) r Between the two possible values of a from Eq 14 the smaller value which satisfies a > 0 is chosen. Very near an average flow rate of zero, Hagen-Pousille flow occurs and the Darcy friction factor is f = 64/Re (White 1999). The slope of the friction loss curve at zero is given by h 0 = 128νL πd 4 g Using Eq 15 with Eq 14 yields a value for a and d. Theoretical and approximate head loss curves are shown for several roughness values in Figs 1 and 2. In both figures, the example pipes have L=1000m, φ=.2 m, 6 m2 and ν = 1.00510 for water at 20 C. In Figure 1, the slope of the theoretical s and approximate curves near zero flow show that the derived expressions provide the desired slope. In the laminar (Re < 2300) regime, the approximation overestimates head loss while in the turbulent regime, losses are under-estimated. The rougher pipe, being nearer the limiting case of Eq 4 is approximated more closely than the smoother pipe. In Figure 2 head loss curves are shown for a wider range of Reynolds number. The error between theoretical and approximate curves visible in Figure 1 for k/φ = 0.001 is not visible at higher Reynolds number, suggesting the approximation converged to the theoretical curve. In contrast, a smoother pipe having relative roughness 0.00005 does not exhibit convergence of the approximation toward the theoretical curve one in the range shown. The error incurred by the smoothed model depends on the relative roughness of the pipe and the Reynolds number of the flow in question. A more detailed view of the errors is presented in the next section. ACCURACY ASSESSMENT The accuracy of the approximation was assessed over a grid of relative roughness (k/φ) and Reynolds number (Re). This study used a grid size of 200x200 with points spaced logarithmically over the ranges: 10 6 < d < 0.05 and 4000 < φ Re < 10 8 considered on the diagram of Moody (1944). Computations were carried out in the R environment (version 3.0.2, (R Core Team 2013)). Theoretical values were obtained by applying Eqs 1 and 2. Inversion of the latter used used a bisection procedure combined with interpolation as implemented in the uniroot() function of R with tolerance 10 10. 4 (15)

Friction slope (m/km) 0.025 0.020 0.015 0.010 0.005 theoretical approx k/φ=0.01 k/φ=0.001 0.000 0 2000 6000 10000 Reynolds Number Figure 1. Smoothed model compared to theoretical values at lower Reynolds numbers. Slope at zero is found from laminar conditions. Friction slope (m/km) 120 theoretical approx 100 80 60 40 20 k/φ=0.01 k/φ=0.001 k/φ=0.00005 0 0 10 5 5 10 5 10 6 Reynolds Number Figure 2. Smoothed model compared to theoretical values at higher Reynolds numbers. Slope at zero is found from laminar conditions. 5

10 2 1% 10% 0.1% Relative Roughness 10 3 10 4 50% 75% 0.06% 90% 10 5 95% 10 6 10 4 10 5 10 6 10 7 10 8 Reynolds Number Figure 3. Relative errors of smoothed approximation with Hagen- Pouiselle slope at zero flow considering water at 20C. Over the chosen grid relative errors ranged from -98% to -0.035%. A contour plot (Fig. 3) shows errors larger error for smoother pipes. The asymptotic behavior designed into the model is observed as errors tending to zero as Reynold s number increases. However, for smoother pipes higher and higher Reynolds numbers are needed to observe the small errors. The plot may be used to assess the suitability of the approximation for different situations. For example, allowing an under-estimate in head loss of 10% in the Re > 4000 flow range, pipes should have a relative roughness of.007 or higher. With an internal diameter of 300 mm this corresponds to a roughness height of 2.1 mm. CONCLUSIONS This note has provided formulae for setting the two free coefficients of Burgschweiger s smoothed approximation based on a desired slope at zero flow. Using a least squares approach, equating the two coefficients are shown to achieve the desired slope. Laminar flow conditions give a closed form expression for the final parameter. Setting the open parameters to achieve a slope at zero flow corresponding to laminar conditions under-estimated head losses. The approximation accuracy increases with Reynold s number and relative roughness. REFERENCES Bragalli, C., Ambrosio, C. D., Lee, J., Lodi, A., and Toth:, P. (2011). On the optimal design of water distribution networks: a practical minlp approach. Optim. Eng. 6

Burgschweiger, J., Gndig, B., and Steinbach, M. (2009). Optimization models for operative planning in drinking water networks. Optim Eng, 10, 43 73. Eck, B. J. and Mevissen, M. (2015). Quadratic approximations for pipe friction. Journal of Hydroinformatics. Ghaddar, B., Naoum-Sawaya, J., Kishimoto, A., Taheri, N., and Eck, B. (2015). A lagrangian decomposition approach for the pump scheduling problem in water networks.. European Journal of Operational Research, 241(2), 490 501. Giustolisi, O., Berardi, L., and Walski, T. M. (2011). Some explicit formulations of colebrookwhite friction factor considering accuracy vs. computational speed. Journal of Hydroinformatics, 13(3), 401 418. Gleixner, A., Held, H., Huang, W., and Vigerske, S. (2012). Towards globally optimal operation of water supply networks. Numerical Algebra, Control and Optimization, 2(4), 695 711. Kreyszig, E. (1999). Advanced engineering mathematics. John Wiley and Sons, USA, eighth edition. Moody, L. F. (1944). Friction factors for pipe flow. Transactions of the A.S.M.E., 66, 671 678. R Core Team (2013). R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria, <http://www.rproject.org/>. Vairavamoorthy, K. and Lumbers, J. (1998). Leakage reduction in water distribution systems: Optimal valve control. Journal of Hydraulic Engineering, 124(11), 1146 1154. Valiantzas, J. D. (2008). Explicit power formula for the darcyweisbach pipe flow equation: Application in optimal pipeline design.. Journal of Irrigation and Drainage Engineering, 134(4), 454 461. White, F. M. (1999). Fluid Mechanics. McGraw-Hill, USA, 4th edition. 7