summaryrefslogtreecommitdiff
path: root/551/CH15/EX15.17/17.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /551/CH15/EX15.17/17.sce
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 '551/CH15/EX15.17/17.sce')
-rwxr-xr-x551/CH15/EX15.17/17.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/551/CH15/EX15.17/17.sce b/551/CH15/EX15.17/17.sce
new file mode 100755
index 000000000..810f96f44
--- /dev/null
+++ b/551/CH15/EX15.17/17.sce
@@ -0,0 +1,25 @@
+clc
+rho=983.2; //kg/m^2
+cp=4.187; //kJ/kg K
+k=0.659; //W/m 0C
+v=0.478*10^(-6); //m^2/s
+m=0.5/60; //kg/s
+D=0.02; //m
+ti=20; //0C
+t0=50; //0C
+ts=85; //surface temperature in 0C
+
+tf=1/2*(ts+(ti+t0)/2);
+A=%pi/4*D^2;
+u=m/rho/A;
+Re=D*u/v;
+//Since Re < 2000, hence the flow is laminar.
+
+Nu=3.65;
+h=Nu*k/D;
+tb=(t0+ti)/2;
+
+L=m*cp*10^3*(t0-ti)/(ts-tb)/h/D/%pi;
+disp("Length of the tube required for fully developed flow =")
+disp(L)
+disp("m") \ No newline at end of file