diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /557/CH14/EX14.6 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '557/CH14/EX14.6')
-rwxr-xr-x | 557/CH14/EX14.6/6.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/557/CH14/EX14.6/6.sce b/557/CH14/EX14.6/6.sce new file mode 100755 index 000000000..89cb8abab --- /dev/null +++ b/557/CH14/EX14.6/6.sce @@ -0,0 +1,20 @@ +clc; funcprot(0); //Example 14.6
+
+//Initializing the variables
+D = [0.15 0.3];
+rho = 1.2;
+f = 0.008;
+L_entry = 10;
+L_exit = 20;
+Lt = 20*D(2);//Transition may be represented by a separation loss equivalent length of 20 × the approach duct diameter
+K = 4;
+Q1 = 0.2;
+
+//Calculations
+Q2 = 4*Q1;
+A = %pi*D^2/4;
+Dp1 = 0.5*rho*Q1^2/A(1)^2*(K + 4*f*L_entry/D(1));
+Dp2 = 0.5*rho*Q2^2/A(2)^2*(4*f*(L_exit + Lt)/D(2));
+Dfan = Dp1+Dp2;
+
+disp(Dfan,"fan Pressure input (N/m2) :");
\ No newline at end of file |