summaryrefslogtreecommitdiff
path: root/797/CH8/EX8.8.e/8_08_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.8.e/8_08_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.8.e/8_08_example.sci')
-rw-r--r--797/CH8/EX8.8.e/8_08_example.sci14
1 files changed, 14 insertions, 0 deletions
diff --git a/797/CH8/EX8.8.e/8_08_example.sci b/797/CH8/EX8.8.e/8_08_example.sci
new file mode 100644
index 000000000..298499649
--- /dev/null
+++ b/797/CH8/EX8.8.e/8_08_example.sci
@@ -0,0 +1,14 @@
+//Example 8-8 Gravity-Driven Water Flow in a Pipe
+T = 10 //temperature of water [degree C]
+D = 5 //diameter of pipe [cm]
+rho = 999.7 //density of water at 10 C [kg/m^3]
+mu = 1.307 * 10**-3 //dynamic viscosity of water at 10C [kg/m.s]
+epsilon = 0.00026 //roughness of cast iron pipe [m]
+Vdot = 6 //flow rate required [L/s]
+L = 89 //amount of piping [m]
+K_Lentrance = 0.5 //loss coefficient for sharp edged entrance
+K_Lelbow = 0.3 //loss coefficients for standard flanged elbows
+K_Lvalve = 0.2 //loss coefficient for gate valve
+K_Lexit = 1.06 //loss coefficient at submerged exit
+g = 9.81 //gravitational acceleration [m/s^2]
+z2 = 4 //elevation of waterlel in tank 2 \ No newline at end of file