summaryrefslogtreecommitdiff
path: root/797/CH8/EX8.9.e/8_09_example.sci
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /797/CH8/EX8.9.e/8_09_example.sci
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '797/CH8/EX8.9.e/8_09_example.sci')
-rw-r--r--797/CH8/EX8.9.e/8_09_example.sci16
1 files changed, 16 insertions, 0 deletions
diff --git a/797/CH8/EX8.9.e/8_09_example.sci b/797/CH8/EX8.9.e/8_09_example.sci
new file mode 100644
index 000000000..8fd1488df
--- /dev/null
+++ b/797/CH8/EX8.9.e/8_09_example.sci
@@ -0,0 +1,16 @@
+//Example 8-09 Effect of Flushing on Flow a Rate from a Shower
+D = 1.5 //diameter of copper pipe in building [cm]
+P_1 = 200 //Gauge pressure at the inlet of system [kPa]
+g = 9.81 //gravitational acceleration [m/s^2]
+rho = 998 //density of wter at 20C [kg/m^3]
+mu = 1.002 * 10**-3 //dynamic viscosity of water [kg/m.s]
+epsilon = 1.5 * 10**-6 //roughness of copper pipes
+L = 11 //length of pipe in shower line [m]
+K_Ltee = 0.9 //loss coefficient for tee
+K_Lelbow = 0.9 //loss coefficient for each elbow
+K_Lglobe = 10 //loss coefficient for globe valve
+K_Lshower = 12 //loss coefficient for shower head
+K_Lvalve_toilet = 2
+K_Lelbow_toilet = 14
+K_Lfloat = 10
+z = 2 //elevation of shower head from pipe [m] \ No newline at end of file