summaryrefslogtreecommitdiff
path: root/Fluid_Mechanics_With_Engineering_Applications/ch17.ipynb
blob: b8eb3f652c32f4bc96ef618e6e97b33c9571552a (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:8c6f5ddedf44ae20de67fc03890769a1dfcd2f9b5b396e3c44b963afe6559e1b"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 17 : Centrifugal and Axial-Flow Pumps"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 17.1 Page No : 543"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math \n",
      "\t\n",
      "#Initialization of variables\n",
      "Ns = 500.   #minimum practical specific speed\n",
      "h = 900. \t#ft\n",
      "Q = 1600. \t#gpm\n",
      "\t\n",
      "#calculations\n",
      "ne = Ns*h**(3./4) /math.sqrt(Q)\n",
      "\t\n",
      "#Results\n",
      "print \"Minimum rotative speed  =  %d rpm\"%(round(ne,-1))\n",
      "\n",
      "#Initialization of variables\n",
      "ne = 600. \n",
      "gpm = 1600.\n",
      "Ns = 500.\n",
      "Head = 900. \t#ft\n",
      "\t\n",
      "#calculations\n",
      "h = (ne*math.sqrt(gpm) /Ns)**(4./3)\n",
      "n = Head/h\n",
      "\t\n",
      "#Results\n",
      "print \"No. of stages  =  \",round(n,3)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Minimum rotative speed  =  2050 rpm\n",
        "No. of stages  =   5.159\n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 17.2 Page No : 543"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math \n",
      "\t\n",
      "#Initialization of variables\n",
      "ne = 600. \n",
      "gpm = 2000.\n",
      "h = 150.\n",
      "num = 2.\n",
      "\t\n",
      "#calculations\n",
      "ns = ne*math.sqrt(gpm) /h**(3./4)\n",
      "gpm2 = num*gpm\n",
      "h2 = num**2 *h\n",
      "Ns = 2*ne*math.sqrt(gpm2) /h2**(3./4)\n",
      "Ne2 = Ns*(h/2)**(3./4) /math.sqrt(gpm)\n",
      "\t\n",
      "#Results\n",
      "print \"Specific speed in case1  =  %d \"%(ns)\n",
      "print \"Flow rate in case 2  =  %d gpm\"%(gpm2)\n",
      "print \" Head in case 2  =  %d ft\"%(h2)\n",
      "print \" Specific speed in case 2  =  %d \"%(Ns)\n",
      "print \" required operating speed in case 2  =  %.f rpm\"%(Ne2)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Specific speed in case1  =  626 \n",
        "Flow rate in case 2  =  4000 gpm\n",
        " Head in case 2  =  600 ft\n",
        " Specific speed in case 2  =  626 \n",
        " required operating speed in case 2  =  357 rpm\n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 17.3 Page No : 552"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math \n",
      "\t\n",
      "#Initialization of variables\n",
      "ne = 600./2 \n",
      "gpm = 1450.\n",
      "h = 140.\n",
      "NPSH = 10.4\n",
      "\t\n",
      "#calculations\n",
      "Ns = gpm*math.sqrt(ne) /h**(3./4)\n",
      "sigmac = NPSH/h\n",
      "zsmax = -3  \t#ft\n",
      "\t\n",
      "#Results\n",
      "print \"Sigma C for the pump  =  %.4f\"%(sigmac)\n",
      "print \" Position of pump  =  %d ft\"%(zsmax)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Sigma C for the pump  =  0.0743\n",
        " Position of pump  =  -3 ft\n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 17.4 Page No : 557"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math \n",
      "\t\n",
      "#Initialization of variables\n",
      "ne = 600.\n",
      "gpm = 84500.\n",
      "h = 225.\n",
      "f = 0.95\n",
      "phie = 1.1\n",
      "g = 32.2\n",
      "\t\n",
      "#calculations\n",
      "Ns = ne*math.sqrt(gpm) /h**(3./4)\n",
      "u2 = phie*math.sqrt(2*g*h)\n",
      "D = 153.2*phie*math.sqrt(h) /ne\n",
      "D0 = 1.06*D*12 \t#in\n",
      "B = 0.155*D0*12 \t#in\n",
      "De = 0.6*D0\n",
      "u0 = 1.06*u2\n",
      "Vm2 = 0.15*u0\n",
      "Area = 0.95*math.pi*D/144 *B\n",
      "Q = Area*Vm2\n",
      "\t\n",
      "#Results\n",
      "print \"Specific speed  = %d \"%(round(Ns,-1))\n",
      "print \" Flow rate  =  %d cfs\"%(Q)\n",
      "print \" Eye diameter  =  %.1f in\"%(De)\n",
      "\n",
      "# rounding off error"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Specific speed  = 3000 \n",
        " Flow rate  =  183 cfs\n",
        " Eye diameter  =  32.2 in\n"
       ]
      }
     ],
     "prompt_number": 5
    }
   ],
   "metadata": {}
  }
 ]
}