summaryrefslogtreecommitdiff
path: root/Machine_Design_by_T_H_Wentzell/17-Shaft_Design.ipynb
blob: 05f685e3a0bb3516208c141036835a106793ba31 (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
{
"cells": [
 {
		   "cell_type": "markdown",
	   "metadata": {},
	   "source": [
       "# Chapter 17: Shaft Design"
	   ]
	},
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 17.1: Design_Stresses_in_Shaft.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"clc;\n",
"clear;\n",
"mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-17.1 Page No.379\n');\n",
"hp=5;\n",
"n=1750;\n",
"T=63000*hp/n;\n",
"//Torsional stress in the shaft\n",
"D=0.75;\n",
"Z1=%pi*D^3/16;\n",
"Ss=T/Z1;\n",
"mprintf('\n Torsional stress in the shaft = %f lb/in^2.',Ss);\n",
"//Load at the gear pitch circle\n",
"Nt=40;\n",
"Pd=10;\n",
"Dp=Nt/Pd;\n",
"Ft=2*T/Dp;\n",
"mprintf('\n Load at gear pitch circle = %f lb.',Ft);\n",
"//Resultant force on the shaft\n",
"theta=20*%pi/180;\n",
"Fr=Ft/cos(theta);\n",
"mprintf('\n Resultant force = %f lb.',Fr);\n",
"//Maximum moment\n",
"L=15;\n",
"Mm=Fr*L/4;\n",
"mprintf('\n Maximum moment = %f in-lb.',Mm);\n",
"//Stress\n",
"D2=0.75;\n",
"Z2=%pi*D2^3/32;\n",
"Z2=round(Z2*1000)*10^-3;\n",
"S=Mm/Z2;\n",
"mprintf('\n Stress = %f lb/in^2.',S);\n",
"//Note-There is an error in the answer given in textbook"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 17.2: Combined_Stresses_in_Shaft.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"clc;\n",
"clear;\n",
"mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-17.2 Page No.383\n');\n",
"//Combined stress using the maximum shear stress theorem\n",
"Ss=2170;\n",
"S=8780;\n",
"Sr=sqrt(Ss^2+(S/2)^2);\n",
"mprintf('\n Combined stress = %f lb/in^2.',Sr);"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 17.3: Combined_Stress_Using_Maximum_Normal_Stress_Theory.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"clc;\n",
"clear;\n",
"mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-17.3 Page No.383\n');\n",
"//Combined stress using the maximum normal stress theory\n",
"Ss=2170;\n",
"S=8780;\n",
"Sr=S/2+sqrt(Ss^2+(S/2)^2);\n",
"mprintf('\n Combined stress = %f lb/in^2.',Sr);\n",
"//Note-There is an error in the answer given in textbook"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 17.4: Comparison_of_Stresses_to_Allowable_Values_and_Endurance_Limit.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"clc;\n",
"clear;\n",
"mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-17.4 Page No.385\n');\n",
"//Modifying factors for Sn\n",
"Su=88000;\n",
"Csize=0.85;\n",
"Csurface=0.88;\n",
"Ctype=1;\n",
"Sn=Csize*Csurface*Ctype*(0.5*Su);\n",
"Kt=2.3;\n",
"S=9300;\n",
"N=Sn/(Kt*S);\n",
"if N>2 then\n",
"    mprintf('\n It would be an acceptable design.');\n",
"else\n",
"    mprintf('\n N<2,So this is not a suitable design for long term use.');\n",
"end"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 17.5: Critical_Speed.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"clc;\n",
"clear;\n",
"mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-17.5 Page No.388\n');\n",
"//Deflection\n",
"D=0.75;\n",
"E=30*10^6;\n",
"L=15;\n",
"F=96;\n",
"I=%pi*D^4/64;\n",
"delta=F*L^4/(48*E*I);\n",
"delta=floor(100*delta)*10^-2;\n",
"Nc=188/sqrt(delta);\n",
"mprintf('\n Critical speed = %f rpm.',Nc);"
   ]
   }
],
"metadata": {
		  "kernelspec": {
		   "display_name": "Scilab",
		   "language": "scilab",
		   "name": "scilab"
		  },
		  "language_info": {
		   "file_extension": ".sce",
		   "help_links": [
			{
			 "text": "MetaKernel Magics",
			 "url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md"
			}
		   ],
		   "mimetype": "text/x-octave",
		   "name": "scilab",
		   "version": "0.7.1"
		  }
		 },
		 "nbformat": 4,
		 "nbformat_minor": 0
}