summaryrefslogtreecommitdiff
path: root/2510/CH9/EX9.12
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2510/CH9/EX9.12
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2510/CH9/EX9.12')
-rwxr-xr-x2510/CH9/EX9.12/Ex9_12.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/2510/CH9/EX9.12/Ex9_12.sce b/2510/CH9/EX9.12/Ex9_12.sce
new file mode 100755
index 000000000..b553e9162
--- /dev/null
+++ b/2510/CH9/EX9.12/Ex9_12.sce
@@ -0,0 +1,24 @@
+//Variable declaration:
+T1 = 15.0 //Water entering temperature (°C)
+T2 = 60.0 //Water leaving temperature (°C)
+D = 0.022 //Inside diameter of tube (m)
+V = 0.355 //Average water flow velocity (m/s)
+TC = 150.0 //Outside wall temperature (°C)
+//From Appendix:
+p = 993.0 //Density of water (kg/m^3)
+mu = 0.000683 //Dynamic viscosity of water (kg/m.s)
+Cp = 4.17*10**3 //Heat capacity of water (J/kg.K)
+k = 0.63 //Thermal conductivity of water (W/m.K)
+
+//Calculation:
+Tav1 = (T1+T2)/2.0 //Average bulk temperature of water (°C)
+Re = D*V*p/mu //Reynolds number
+Pr = Cp*mu/k //Prandtl number
+Tav2 = (Tav1+TC)/2.0 //Fluid's average wall temperature (°C)
+//From Appendix:
+mu_w = 0.000306 //Dynamic viscosity of fluid at wall (kg/m.s)
+//From Table 9.5:
+h = (k/D)*0.027*Re**0.8*Pr**0.33*(mu/mu_w)**0.14 //Heat transfer coefficient for water (W/m^2.K)
+
+//Result:
+printf("The heat transfer coefficient for water is : %.1f W/m^2.K.",h)