This preview shows pages 1–2. Sign up to view the full content.
EES Solution for Example Problem – Major and Minor Losses in a Piping System
Here is exactly what I typed into the main “Equations Window” of EES:
"EES Solution for the class example problem  major and minor losses in a piping system
J. M. Cimbala, February 2005"
"Constants:"
h_L = 35 [m]
rho = 998 [kg/m^3]
mu = 1.00e3 [kg/(m*s)]
D = 0.025 [m]
L = 20.0 [m]
SigmaK = 13.35
"Equations:"
h_L = (f*L/D + SigmaK)*(V^2)/(2*g#)
"Note that g# is the gravitational constant, predefined by EES"
Re = rho*D*V/mu
eps_by_D = 0.004
V_dot = V*PI*(D^2)/4
"Colebrook equation:"
1/sqrt(f) = 2.0*log10(eps_by_D/3.7 + 2.51/(Re*sqrt(f)))
Note: We could have used the EES
function “MoodyChart” instead of the
Colebrook equation; i.e.,
f = MoodyChart(Re,eps_by_D)
"To solve, click on Calculate and then Solve. Note that it does not converge unless you change the limits and
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
This is the end of the preview. Sign up
to
access the rest of the document.
This note was uploaded on 07/23/2008 for the course ME 33 taught by Professor Cimbala during the Fall '05 term at Pennsylvania State University, University Park.
 Fall '05
 CIMBALA

Click to edit the document details