

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The steps to calculate the exit velocity of a fluid in a pipe using the extended bernoulli equation with haaland correlation. The mathematical formula, variables, and values for a specific pipe length and flow rate. It also shows how to use a computer program to perform the calculation.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


s x L1( , ) x^
2 2 g⋅
d
⋅ 3.4735 1.5635 ln 2 ks d
63.635 ν d x⋅
− 2 ⋅ + 1
Now a program is written to calculate the exit velocity over a range of pipe lengths (L varies from 50 meters to 1000 meters).
π 4
:= ⋅ d 2 ⋅V
Q is the volume flow rate in meters cubed per second
Re d Re =5.3482 × 10 6
ν
f =0.
f is the friction factor
f 4 3.4735 1.5635ln 2 ks d
63.635 ν d V⋅
− 2 := ⋅
V :=root s x( ( ) x, )^ V is the exit velocity in meters/second
x := 3 x is the "guess" for the root solver
s x( ) x^
2 2 g⋅
d
⋅ 3.4735 1.5635 ln 2 ks d
63.635 ν d x⋅
− 2 ⋅ + 1
Extended Bernoulli Equation with f by Haaland Correlation
ks :=.
H := 20 g :=9.8 d :=0.5 ν :=.0000010 L := 100 (SI units)
Calculate the exit velocity for a 100 meter long pipe.
Computer Solution to Example 10.
V1 x L1( , ) := root s x L1( ( , ) x, ) V1 is a function - where x is the guess and L1 is the pipe length.
L2 ← 50 +k 10⋅ V2 (^) k ←V1 1 L2( , )
for k ∈ 0 .. 95
A for loop is used to calculate velocity for 96 pipe lengths. The guess for each call of function V1 is 1.
i := 0 .. 95
Q2 π 4
:= ⋅ d 2 ⋅V2 L2 (^) i :=0.5 +i 10⋅
(^00 100 200 300 400 500 600 700 800 900 )
1
2
3
PIPE LENGTH (meters)
FLOW RATE (CMS)
L2i