summaryrefslogtreecommitdiff
path: root/sample_notebooks/Deepak SinghAttri/Chapter17.ipynb
blob: 4534951236b29973cf8407ae2fb107968fc35ed0 (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
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {
    "collapsed": true
   },
   "source": [
    "# Chapter 17:Shear and Development Length"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Ex17.1:pg-287"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Nominal shear stress= 0.704  MPa\n",
      "Shear strength of concrete= 0.64  MPa\n"
     ]
    }
   ],
   "source": [
    "#given data\n",
    "b=230#width, in mm\n",
    "d=500#effective depth, in mm\n",
    "l=4.5#span, in m\n",
    "Ast=4*0.785*20**2#four 20 mm dia bars, in sq mm\n",
    "fck=20#in MPa\n",
    "W=24#in kN/m\n",
    "Wu=1.5*W#factored load, in kN/m\n",
    "Vu=Wu*l/2.0#in kN\n",
    "Tv=Vu*10**3/b/d#in MPa\n",
    "Tcmax=2.8#for M20, in MPa\n",
    "#Tv<Tcmax, hence OK\n",
    "p=Ast/b/d*100#p=1.1, approximately\n",
    "#for p=1.1 and M20 grade concrete\n",
    "Tc=0.64#in MPa\n",
    "#Tv>Tc, hence shear reinforcement required\n",
    "print \"Nominal shear stress=\",round(Tv,3),\" MPa\\nShear strength of concrete=\",Tc,\" MPa\"\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Ex17.2:pg-287"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Provide 6 mm dia stirrups at 118  mm c/c as shear reinforcement\n"
     ]
    }
   ],
   "source": [
    "#given data\n",
    "b=300#width, in mm\n",
    "d=1010#effective depth, in mm\n",
    "l=7#span, in m\n",
    "Ast=round(6*0.785*22**2)#six 22 mm dia bars, in sq mm\n",
    "fck=15#in MPa\n",
    "fy=250#in MPa\n",
    "W=45#in kN/m\n",
    "Wu=1.5*W#factored load, in kN/m\n",
    "Vu=Wu*l/2.0#in kN\n",
    "Tv=Vu*10**3/b/d#in MPa\n",
    "#Tv<Tcmax, hence OK\n",
    "p=Ast/b/d*100#p=0.75, approximately\n",
    "#for p=0.75 and M15 grade concrete\n",
    "Tc=0.54#in MPa\n",
    "#Tv>Tc, hence shear reinforcement required\n",
    "Vus=Vu-Tc*b*d/10**3#in kN\n",
    "#provide 6 mm dia stirrups\n",
    "Sv=0.87*fy*2*0.785*6**2*d/Vus/10**3#in mm\n",
    "Sv=171#approximately, in mm\n",
    "Svmin=2*0.785*6**2*fy/b/0.4#in mm\n",
    "Svmin=118#approximately, in mm\n",
    "Sv=min(Sv,Svmin)#in mm\n",
    "print \"Provide 6 mm dia stirrups at\",Sv,\" mm c/c as shear reinforcement\"\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 2",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.11"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}