summaryrefslogtreecommitdiff
path: root/Basic_Fluid_Mechanics_by_Peerless/ch10.ipynb
blob: 1d181085ff6418c8b343d59ed279d9d930f4be93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
{
 "metadata": {
  "name": "",
  "signature": "sha256:deacbf9acb1071d19b96737be4ae4bdcb6a5696a34ffaedecc8c1b87e6d2a62b"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 10 : External Flows"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 10.1 Page No : 367"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math \n",
      "from numpy import *\n",
      "\t\n",
      "#initialisation of variables\n",
      "g= 32.2 \t#ft/sec**2\n",
      "u= 3.6*10**-5 \t#lbf sec/ft**2 viscosity\n",
      "d= 64. \t#lbm/ft**2 density\n",
      "l= 20. \t#ft long\n",
      "a= 0.5\n",
      "\t\n",
      "#CALCULATIONS\n",
      "sw= u*g/(a*d)\n",
      "sw1= u**2*g*l/(2*a*d)\n",
      "Re=array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])*10**5\n",
      "Vinf=Re*u*g/(d*a)\n",
      "Cd= array([1.2, 1.15, 0.94, 0.68, 0.305, 0.31, 0.32, 0.33, 0.34, 0.35])\n",
      "cdre=Cd*Re**2\n",
      "D=sw1*cdre\n",
      "\t\n",
      "#RESULTS\n",
      "print  'velocity = %.3e ft/sec'%(sw)\n",
      "print  ' Force = %.3e lbf'%(sw1)\n",
      "print \"V (ft/sec)        D(lbf)\"\n",
      "for i in range(len(D)):\n",
      "    print \"%6.1f         %6d\"%(Vinf[i],D[i])\n",
      "\n",
      "\n",
      "# note : answers are accurate. please check manually."
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "velocity = 3.623e-05 ft/sec\n",
        " Force = 1.304e-08 lbf\n",
        "V (ft/sec)        D(lbf)\n",
        "   3.6            156\n",
        "   7.2            599\n",
        "  10.9           1103\n",
        "  14.5           1418\n",
        "  18.1            994\n",
        "  21.7           1455\n",
        "  25.4           2044\n",
        "  29.0           2754\n",
        "  32.6           3591\n",
        "  36.2           4564\n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 10.2 Page No : 368"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "%matplotlib inline\n",
      "from numpy import *\n",
      "from matplotlib.pyplot import *\n",
      "\t\n",
      "#initialisation of variables\n",
      "g= 32.2 \t#ft/sec**2\n",
      "u= 3.6*10**-5 \t#lbf sec/ft**2\n",
      "d= 64. \t#lbm/ft**2 density\n",
      "l= 20. \t#ft long\n",
      "a= 0.5\n",
      "\t\n",
      "#CALCULATIONS\n",
      "sw= u*g/(a*d)\n",
      "sw1= u**2*g*l/(2*a*d)\n",
      "Re = array([1 ,2, 3, 4, 5, 6, 7, 8, 9, 10])*10**5\n",
      "Vinf=Re*u*g/(d*a)\n",
      "Cd = array([1.2, 1.15, 0.94, 0.68, 0.305, 0.31, 0.32, 0.33, 0.34, 0.35])\n",
      "cdre=Cd*Re**2\n",
      "D=sw1*cdre\n",
      "\t\n",
      "#RESULTS\n",
      "plot(Vinf,D)\n",
      "xlabel(\"Vinf, ft/sec\")\n",
      "ylabel(\"D, lbf\") \n",
      "suptitle(\"Streamlinedbody curve\")\n",
      "\n",
      "\t#data for curves b,c,d is not given\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Populating the interactive namespace from numpy and matplotlib\n"
       ]
      },
      {
       "metadata": {},
       "output_type": "pyout",
       "prompt_number": 1,
       "text": [
        "<matplotlib.text.Text at 0x2683050>"
       ]
      },
      {
       "metadata": {},
       "output_type": "display_data",
       "png": "iVBORw0KGgoAAAANSUhEUgAAAY4AAAEhCAYAAABoTkdHAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xl8VNXdx/HPJEah4koS4pOkoqBAhgmMQFQKNmExkogs\nUglIrCAtWhfEpS6PNaAW6kIBrQsuQSVUQAWLJkY2I48CAUJYQq0LsmSCQNhkSYCEnOePK1MQokzI\n5M4k3/frlZfhMnfmO7dlfnPOuecchzHGICIicopC7A4gIiLBRYVDRER8osIhIiI+UeEQERGfqHCI\niIhPVDhERMQnKhxSp/7yl7/QqlUr2rVrR7t27Vi2bBkAEydOpLy8vE6zbNy4EZfLBcCKFSsYOXJk\nrTzvm2++yd133w3Arbfeyvvvv1/j50pMTKSgoKBWconUljPsDiANR15eHgsWLKCoqIiwsDD27t1L\nWVkZAJMmTSI9PZ3GjRufcF5VVRUhIf79jtOxY0c6duxY68/rcDhO+/zTfY5TcXQ6V128lgQ/tTik\nzpSWlhIREUFYWBgA5557LlFRUTz//PNs2bKFpKQkunfvDkCTJk144IEH6NixI0uXLuW1116jXbt2\nOJ1Ohg0bRmVlJQC33347nTp14vLLL+fhhx/2vlbz5s353//9X29BWLlyJb169aJ58+a88MILJ2TL\ny8ujd+/eAIwePZphw4bRo0cPLr74Yp577jnv46rLMXnyZFq0aEHnzp1ZvHjxcc89f/58rrrqKlq0\naMHs2bMBKC8vZ9CgQTidTlwuF5988gkAZWVl9OnTB6fTyYABAygvL8cYw5QpUxg1atRxOe67774T\n3scHH3xAfHw8brfbey1Hjx7N+PHjvY9p27YtmzdvZuPGjbRq1Ypbb72V9u3b89RTT/HnP//Z+7hj\nW07VvW9poIxIHfnhhx9M27ZtTevWrc3tt99u5s+f7/275s2bm507d3r/7HA4zKxZs4wxxqxatcqk\npqaayspKY4wxd9xxh3nttde8z2mMMZWVlSYxMdGsWLHC+3yvvvqqMcaYUaNGGZfLZcrLy01paakJ\nDw83xhizYcMG07ZtW2OMMZ9++qm5/vrrjTHGZGRkmC5dupgjR46YHTt2mAsuuMAcOnSo2hybN282\n0dHRZs+ePaaystJ07drV3H333cYYY37/+9+b1NRU7+tFRkaasrIy89e//tX88Y9/NMYY880335io\nqChTXl5uxo4d6z2+bt06c8YZZ5iCggKzf/9+06JFC+9rd+7c2RQVFR13fbds2WKioqKMx+M57tqM\nHj3aPPfcc97HtW3b1mzatMls2LDBhISEeK9ZaWmpadmypfdxvXr1Ml988cXPXn9pmNRVJXXm3HPP\nZdWqVXz22WcsWrSIIUOG8OSTTzJ8+PATHhsaGkrfvn0BmDdvHoWFhd6upPLyciIiIgB44403ePPN\nN3E4HGzZsoWvvvqKDh06AHD99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554gi1btpCUlET37t0B2Lt3L4cPH6Zp06a88847uFwu3G63\nd8XayspK7rrrLtq1a0ebNm14/vnnvc89ZswY2rRpQ/v27X+x1SNSG4Jmz3ERf7jwwgtJSEggJyeH\nG264genTpzNw4EDgxJWXt2/fzqJFi/jyyy/p1asXgwcPZs6cOZxzzjkUFhb+7Ot8+OGHXH/99d7H\nTZkyhby8PC688EIA5s+fT48ePQB46qmnyMvLIyIiggMHDgDw0ksvcdFFF7F69WoOHTpE586d6dWr\nF0VFRcybN481a9YQFhbGDz/8UKvXR+Rk1OKQBm/QoEFMnz4dgBkzZjBo0CDg+A14HA4HN9xwAwBt\n2rTxriR6qn6pR/iTTz7xLs55zTXXMGTIEF599VXvOMjcuXN5++23cbvdXHXVVezZs4f169ezYMEC\nhg4dSlhYGGCtzCribyoc0uDdcMMNLFiwgMLCQsrKynC73cCJLY4zzzzT+3tt7wOzbNky7z70L7/8\nMk8++STff/89HTp08G7+88orr1BYWEhhYSHr16/nuuuuAwJvhzmp/1Q4pMFr0qQJSUlJDB06lMGD\nB3uP1+QDefbs2Tz66KO/+LjGjRt7u6HWrVtH69atvcVo48aNJCQkkJGRQbNmzdiwYQPJyclMnjyZ\nqqoqADZs2EB5eTk9e/bkzTff5PDhwwDqqpI6oTEOEazuqv79+x83wH10A55j//xLv69fv77a7qJj\nH3fbbbeRlJTEr3/9a1JTU4/bQ2bUqFF89913VFVVkZSURIcOHXC73WzcuBGn08mZZ57JBRdcwIcf\nfkifPn1YtWoV8fHxNG7cmF69ejF27NjTuxgiv0C344rUovT0dCZOnOjTLbXXXnstU6dOpVmzZn5M\nJlJ7VDhERMQnGuMQERGfqHCIiIhPVDhERMQnKhwiIuITFQ4REfGJCoeIiPhEhUNERHzy/xEUA+vK\n3v8VAAAAAElFTkSuQmCC\n",
       "text": [
        "<matplotlib.figure.Figure at 0x2682fd0>"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 10.3 Page No : 373"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\t\n",
      "#initialisation of variables\n",
      "v1= 10. \t#ft/sec\n",
      "v2m= 9 \t    #ft/sec wide\n",
      "a= 1.02\n",
      "hbyd= 5.95\n",
      "\t\n",
      "#CALCULATIONS\n",
      "ca= (v1/v2m)**2\n",
      "Cd= hbyd*(ca-1+2-2*ca)+2*a*ca\n",
      "\t\n",
      "#RESULTS\n",
      "print  'Drag coeffcieicnt = %.2f'%(Cd)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Drag coeffcieicnt = 1.12\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 10.4 Page No : 387"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\t\n",
      "#initialisation of variables\n",
      "A= 320.  \t#ft/**2 area\n",
      "w= 18000. \t#lbf weighs\n",
      "v= 230.  \t#ft/sec normal speed\n",
      "ad= 0.0765 \t#lbm/ft**3 density\n",
      "p= 5.    \t#per cent of the total lift force\n",
      "c= 0.055\n",
      "n= 1.75     # total drag\n",
      "g= 32.2 \t#ft/sec**2\n",
      "\t\n",
      "#CALCULATIONS\n",
      "CL= 2*w*(1-(p/100))*g/(ad*v**2*A)\n",
      "D= w*(1-(p/100))*c*n/CL\n",
      "\t\n",
      "#RESULTS\n",
      "print  ' lift coefficient = %.2f'%(CL)\n",
      "print  ' Drag force = %.f'%(D)\n",
      "\n",
      "# note : answer is accurate"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        " lift coefficient = 0.85\n",
        " Drag force = 1935\n"
       ]
      }
     ],
     "prompt_number": 6
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 10.5 Page No : 396"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math \n",
      "\t\n",
      "#initialisation of variables\n",
      "bi= 70. \t#degrees outlet angels\n",
      "i= 8.    \t#degrees incidence angle\n",
      "bo= 130. \t#degrees outlet angels\n",
      "s= 5.    \t#degrees\n",
      "vi= 1200. \t#ft/sec\n",
      "g= 32.2 \t#ft/sec**2\n",
      "a= 0.48\n",
      "s1= 1.4 \t#in\n",
      "b= 5.    \t#in\n",
      "Cx= 0.06    # co-efficient \n",
      "\t\n",
      "#CALCULATIONS\n",
      "O= bo-s-bi+i\n",
      "Vo= vi*math.sin(math.radians(bi-i))/math.sin(math.radians(bo-s))\n",
      "Fy= -a*vi*math.sin(math.radians(bi-i))*(s1/12)*(b/12)*(Vo*math.cos(math.radians(bo-s))-vi*math.cos(math.radians(bi-i)))/g\n",
      "dp= a*(Vo**2*(1+Cx)-vi**2)/(2*g)\n",
      "\t\n",
      "#RESULTS\n",
      "print  'Fluid deflection angle = %.f degrees'%(O)\n",
      "print  ' Vo = %.f ft/sec'%(Vo)\n",
      "print  ' Force on each blade = %.f lbf'%(Fy)\n",
      "print  ' Pressure difference = %.f lbf/ft**2'%(dp)\n",
      "\n",
      "# note : answer is accurate. please check."
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Fluid deflection angle = 63 degrees\n",
        " Vo = 1293 ft/sec\n",
        " Force on each blade = 1002 lbf\n",
        " Pressure difference = 2485 lbf/ft**2\n"
       ]
      }
     ],
     "prompt_number": 7
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 10.6 Page No : 397"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math \n",
      "\t\n",
      "#initialisation of variables\n",
      "ari= 62. \t#degrees\n",
      "aro= 125. \t#degrees\n",
      "vri= 1200. \t#ft/sec\n",
      "vro= 1294. \t#ft/sec\n",
      "vrr= 550. \t#ft/sec velocity\n",
      "\t\n",
      "#CALCULATIONS\n",
      "v1= vri*math.sin(math.radians(ari))\n",
      "v2= vrr+vri*math.cos(math.radians(ari))\n",
      "vi= math.sqrt(v1**2+v2**2)\n",
      "ai= round(math.degrees(math.atan(v1/v2)),1)\n",
      "vo= round(vro*math.sin(math.radians(aro)))\n",
      "vo1= round(vro*math.cos(math.radians(aro))+vrr)\n",
      "vo2= round(math.sqrt(vo**2+vo1**2))\n",
      "ao= math.degrees(math.atan(vo/vo1))+180\n",
      "\n",
      "#RESULTS\n",
      "print  ' absolute velocity = %.f ft/sec'%(vi)\n",
      "print  ' direction = %.1f degrees'%(ai)\n",
      "print  ' absolute velocity = %.f ft/sec'%(vo2)\n",
      "print  ' direction = %.1f degrees'%(ao)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        " absolute velocity = 1537 ft/sec\n",
        " direction = 43.6 degrees\n",
        " absolute velocity = 1077 ft/sec\n",
        " direction = 100.3 degrees\n"
       ]
      }
     ],
     "prompt_number": 8
    }
   ],
   "metadata": {}
  }
 ]
}