summaryrefslogtreecommitdiff
path: root/Principles_Of_Geotechnical_Engineering_by_B._M._Das/Chapter7.ipynb
blob: 2f2c2988f9c6c57550f88c09981851998e64aa8a (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
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
{
 "metadata": {
  "name": "",
  "signature": "sha256:386718b63e6b6f21bd32a3120a143f6e224e0278ef555853cf557429a2d7f4f2"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter7- Permeability"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex1-pg168"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Calculate the hydraulic conductivity in cm/sec.\n",
      "import math\n",
      "##initialisation of variables\n",
      "L= 30. ##cm\n",
      "A= 177. ##cm^2\n",
      "h= 50. ##cm\n",
      "Q= 350. ##cm^3\n",
      "t= 300. ##sec\n",
      "##claculations\n",
      "k=Q*L/(A*h*t)\n",
      "##results\n",
      "print'%s %.4f %s'% ('hydraulic conductivity = ',k,' cm/sec ')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "hydraulic conductivity =  0.0040  cm/sec \n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex2-pg169\n"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Determine the hydraulic conductivity of the soil in in./sec.\n",
      "import math\n",
      "##initialisation of variables\n",
      "L= 203. ##mm\n",
      "A= 10.3 ##cm^2\n",
      "a= 0.39 ##cm^2\n",
      "h0= 508. ##mm\n",
      "h180= 305. ##mm\n",
      "t= 180. ##sec\n",
      "##calculations\n",
      "k= 2.303*a*L*math.log10(h0/h180)/(A*t)\n",
      "##results\n",
      "print'%s %.2f %s'% ('hydraulic conductivity of sand = ',k,' in/sec ')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "hydraulic conductivity of sand =  0.02  in/sec \n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex3-pg169"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#The hydraulic conductivity of a clayey soil is 3  107 cm/sec. The viscosity of water at 25\u00b0C is 0.0911  104 g # sec/cm2 \n",
      "#Calculate the absolute permeability of the soil.\n",
      "import math\n",
      "##initialisation of varilables\n",
      "k= 3e-7 ##cm/sec\n",
      "n= 0.0911e-4 ##g*sec/cm^2\n",
      "dw= 1. ##g/cc\n",
      "##calculations\n",
      "K= k*n/dw\n",
      "##results\n",
      "print'%s %.2e %s'% ('absolute premeability = ',K,' cm^2 ')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "absolute premeability =  2.73e-12  cm^2 \n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex4-pg170"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#With k  5.3  105 m/sec for the permeable layer, calculate the rate of seepage through it in m3 /hr/m width if H  3 m and a  8\u00b0.\n",
      "\n",
      "import math\n",
      "##initialisation of variables\n",
      "k= 5.3e-5 ##m/sec\n",
      "H= 3 ##m\n",
      "a= 0.139 ##radians\n",
      "##calculations\n",
      "A= H*math.cos(a)\n",
      "i= math.sin(a)\n",
      "q= k*i*A*3600\n",
      "##results\n",
      "print'%s %.4f %s'% ('rate of seepage = ',q,' m^3/hr/m ')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "rate of seepage =  0.0785  m^3/hr/m \n"
       ]
      }
     ],
     "prompt_number": 5
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex5-pg171"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#calculate flow rate\n",
      "##initialisation of variables\n",
      "L= 50. ##m\n",
      "k= 0.08e-2##m/sec\n",
      "h= 4. ##m\n",
      "H1= 3. ##m\n",
      "H= 8. ##m\n",
      "a= 0.139 ##radians\n",
      "##calculations\n",
      "i= h*math.cos(a)/L\n",
      "A= H1*math.cos(a)\n",
      "q= k*i*A\n",
      "##results\n",
      "print'%s %.5f %s'% ('flow rate = ',q,' m^3/sec/m ')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "flow rate =  0.00019  m^3/sec/m \n"
       ]
      }
     ],
     "prompt_number": 8
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex6-pg174"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate hydraulic conductivity at void ratio of 0.65\n",
      "##initialisation of variables\n",
      "k1= 0.02 ##cm/sec\n",
      "e1= 0.5 \n",
      "e2= 0.65\n",
      "##calculations\n",
      "k2= k1*(e2**3/(1.+e2))/(e1**3/(1.+e1))\n",
      "##results\n",
      "print'%s %.2f %s'% ('hydraulic conductivity at void ratio of 0.65 =',k2,'cm/sec ')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "hydraulic conductivity at void ratio of 0.65 = 0.04 cm/sec \n"
       ]
      }
     ],
     "prompt_number": 18
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex7-pg176"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate the value of grain size and plot the graph\n",
      "import math\n",
      "%matplotlib inline\n",
      "import warnings\n",
      "warnings.filterwarnings('ignore')\n",
      "from math import log\n",
      "import numpy\n",
      "from math import tan\n",
      "import matplotlib\n",
      "from matplotlib import pyplot\n",
      "#given\n",
      "e=numpy.array([100,96,84,50,0])\n",
      "p=numpy.array([0.06,0.0425,0.02,0.015,0.0075])\n",
      "\n",
      "#calculations\n",
      "\n",
      "\n",
      "#results\n",
      "\n",
      "pyplot.plot(p,e)\n",
      "pyplot.xlabel('Percent passing')\n",
      "pyplot.ylabel('grain size,mm')\n",
      "pyplot.title('Graph of percent passinge vs grain size')\n",
      "pyplot.show()\n",
      "print('look at the axis reverse in text book')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "metadata": {},
       "output_type": "display_data",
       "png": "iVBORw0KGgoAAAANSUhEUgAAAYwAAAEZCAYAAACEkhK6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmcXFWd9/HPl52wBQgkhLCJsgQCBDRhWFtABgRBGWUR\nFFwYHfVhRETgGZcecUZRRx11dBQVCLLIJrI6BB4aGISwhS3shC2BJJAQIEa25Pf8cU6T6kov1V3L\nrar+vl+venXVXX+nqvr+6pxzz72KCMzMzAayQtEBmJlZa3DCMDOzijhhmJlZRZwwzMysIk4YZmZW\nEScMMzOriBPGMCCpU9K5NdrWaEk3S3pV0g9qsU0DSQ9K2qvoOJqBpNMknVnjbe4p6ZFabnM4Wqno\nAIYjSUcCJwLbAX8FngLOiYhf1mmXtRxs84/AvIhYu4bbbChJxwGfiYg9i46lW0RsX3QMzSIivluH\nbd4CbFPr7Q43rmE0mKSTgJ8AZwCjI2I08Hlgd0mr9LFOtZ+Tqly/1GbAwzXcXp9qUG5rMpL8I7WV\nRYQfDXoA6wCLgI8MsNzZwC+Ba/Ly+wAHAdOBV4BngW+VLL85sBQ4HpgNPA+cVDL/W8AfgHOAV4EH\ngV362f9uwJ3AQuAO4O9K4noTeAN4Ddinj9j/G7gu76sL2LRk/jbAVGA+8AjwsQHKvQlwGTAPeAn4\nWcnynwYeAhYAfy7bz1Lgc8BjwMvAz/P0bYG/AW/nMizo4z3oAr4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4q4D8PMzCrihGFmZhVxwjAzs4o4YZiZWUWcMMzMrCJOGGZmVpH/DwmMbeQUgeRM\nAAAAAElFTkSuQmCC\n",
       "text": [
        "<matplotlib.figure.Figure at 0x542d930>"
       ]
      },
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "look at the axis reverse in text book\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex8-pg177"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate hydraulic conductivity\n",
      "##initialisation of variables\n",
      "e= 0.6\n",
      "D10= 0.09 ##mm\n",
      "##calculations\n",
      "k= 2.4622*(D10**2*(e**3/(1+e)))**0.7825\n",
      "##results\n",
      "print'%s %.4f %s'% ('hydraulic conductivity = ',k,' cm/sec ')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "hydraulic conductivity =  0.0119  cm/sec \n"
       ]
      }
     ],
     "prompt_number": 17
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex9-pg177"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate hydraulic conductivity\n",
      "##initialisation of variables\n",
      "e= 0.6\n",
      "D10= 0.09 ##mm\n",
      "D60= 0.16 ##mm\n",
      "##calculations\n",
      "Cu=D60/D10\n",
      "k= 35*(e**3/(1+e))*(Cu**0.6)*(D10**2.32)\n",
      "##results\n",
      "print'%s %.3f %s'% ('hydraulic conductivity =',k,'cm/sec ')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "hydraulic conductivity = 0.025 cm/sec \n"
       ]
      }
     ],
     "prompt_number": 11
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex10-pg179"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#calculate hydraulic conductivity\n",
      "##initialisation of variables\n",
      "k1= 0.302e-7 ##cm/sec\n",
      "k2= 0.12e-7 ##cm/sec\n",
      "e1= 1.1\n",
      "e2= 0.9\n",
      "e= 0.75\n",
      "##calcualtions\n",
      "n= (math.log10((k1/k2)*((1+e1)/(1+e2))))/math.log10(e1/e2)\n",
      "C= k1/(e1**n/(1+e1))\n",
      "k= C*(e**n/(1+e))\n",
      "##results\n",
      "print'%s %.e %s'% ('hydraulic conductivity =',k,'cm/sec')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "hydraulic conductivity = 5e-09 cm/sec\n"
       ]
      }
     ],
     "prompt_number": 16
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex11-pg185"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate ration of equivalent hydraulic conductivity\n",
      "##initialisation of variables\n",
      "H1= 2. ##m\n",
      "H2= 3. ##m\n",
      "H3= 4. ##m\n",
      "k1= 1e-4 ##cm/sec\n",
      "k2= 3.2e-2 ##cm/sec\n",
      "k3= 4.1e-5 ##cm/sec\n",
      "##calculations\n",
      "H= H1+H2+H3\n",
      "Kh= (1./H)*((k1*H1)+(k2*H2)+(k3*H3))\n",
      "Kv= H/((H1/k1)+(H2/k2)+(H3/k3))\n",
      "P= Kh/Kv\n",
      "##results\n",
      "print'%s %.2f %s'% ('ration of equivalent hydraulic conductivity =',P,' ')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "ration of equivalent hydraulic conductivity = 139.97  \n"
       ]
      }
     ],
     "prompt_number": 13
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex12-pg186"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#calculate rate of water supply\n",
      "##initialisation of variables\n",
      "H= 450. ##mm\n",
      "h= 150. ##mm\n",
      "k1= 1e-2 ##cm/sec\n",
      "k2= 3e-3 ##cm/sec\n",
      "k3= 4.9e-4 ##cm/sec\n",
      "h1= 300. ##mm\n",
      "##calculations\n",
      "Kv= H/(h*(1./k1+1./k2+1./k3))\n",
      "i= h1/H\n",
      "q= Kv*i*100.*3600.\n",
      "##results\n",
      "print'%s %.2f %s'% ('rate of water supply =',q,' cm/hr ')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "rate of water supply = 291.01  cm/hr \n"
       ]
      }
     ],
     "prompt_number": 15
    }
   ],
   "metadata": {}
  }
 ]
}