diff options
Diffstat (limited to 'Introduction_to_Heat_Transfer_by_S._K._Som/Chapter2.ipynb')
-rw-r--r-- | Introduction_to_Heat_Transfer_by_S._K._Som/Chapter2.ipynb | 185 |
1 files changed, 19 insertions, 166 deletions
diff --git a/Introduction_to_Heat_Transfer_by_S._K._Som/Chapter2.ipynb b/Introduction_to_Heat_Transfer_by_S._K._Som/Chapter2.ipynb index ba64d857..cda3a92c 100644 --- a/Introduction_to_Heat_Transfer_by_S._K._Som/Chapter2.ipynb +++ b/Introduction_to_Heat_Transfer_by_S._K._Som/Chapter2.ipynb @@ -18,7 +18,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 1, "metadata": { "collapsed": false }, @@ -119,31 +119,7 @@ "print\"Check for Ti(in °C)\"\n", "Ti=T4-(Q*Ri)\n", "print\"The value is same as given in the problem\"\n", - "print\"Ti=\",Ti\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - " \n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n" + "print\"Ti=\",Ti" ] }, { @@ -171,10 +147,6 @@ } ], "source": [ - " \n", - "\n", - " \n", - " \n", "import math\n", " \n", "print\"Introduction to heat transfer by S.K.Som, Chapter 2, Example 2\"\n", @@ -194,7 +166,7 @@ "#Q=(Ti-To)/((Lb/kb)+(L/ki)) so L=ki*(((Ti-To)/Q)-(Lb/kb))\n", "print\"The thickness of insulating material L=ki*(((Ti-To)/Q)-(Lb/kb)) in m\"\n", "L=ki*(((Ti-To)/Q)-(Lb/kb))\n", - "print\"L=\",L\n" + "print\"L=\",L" ] }, { @@ -206,7 +178,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 3, "metadata": { "collapsed": false }, @@ -235,7 +207,6 @@ } ], "source": [ - " \n", "import math\n", " \n", "print\"Introduction to heat transfer by S.K.Som, Chapter 2, Example 4\"\n", @@ -281,17 +252,7 @@ "print\"q2=\",q2\n", "print\"Heat flux qo=q1+q2 in W/m**2 \"\n", "qo=q1+q2\n", - "print\"qo=\",qo\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n" + "print\"qo=\",qo" ] }, { @@ -329,7 +290,6 @@ } ], "source": [ - " \n", "import math\n", " \n", "print\"Introduction to heat transfer by S.K.Som, Chapter 2, Example 6\"\n", @@ -372,9 +332,7 @@ "X=(2*10**3)-(4*10**5*x);\n", "Q=-k*X/10**6\n", "#A check for the above results can be made from an energy balance of the plate as |(q/A)|@x=0+|(q/A)|@x=0.02=qG*0.02\n", - "print\"Q=\",Q\n", - "\n", - "\n" + "print\"Q=\",Q" ] }, { @@ -386,7 +344,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 16, "metadata": { "collapsed": false }, @@ -410,7 +368,6 @@ } ], "source": [ - " \n", "import math\n", " \n", "print\"Introduction to heat transfer by S.K.Som, Chapter 2, Example 9\"\n", @@ -458,16 +415,7 @@ "Q=(T1-Tinf)/(((X)/(2*math.pi*L*k))+(1/(h*2*math.pi*r2*L)))\n", "#It is important to note that Q increases by 5.2% when the insulation thickness increases from 0.002m to critical thickness. \n", "#Addition of insulation beyond the critical thickness decreases the value of Q (The heat loss).\n", - "print\"Q=\",Q\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n" + "print\"Q=\",Q" ] }, { @@ -479,7 +427,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 8, "metadata": { "collapsed": false }, @@ -495,7 +443,6 @@ } ], "source": [ - " \n", "import math\n", " \n", "print\"Introduction to heat transfer by S.K.Som, Chapter 2, Example 10\"\n", @@ -525,22 +472,7 @@ "#Therefore the thickness of insulation is given by t=r3-Do\n", "print\"the thickness of insulation in metre is\"\n", "t=r3-Do\n", - "print\"t=\",t\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n" + "print\"t=\",t" ] }, { @@ -552,7 +484,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 9, "metadata": { "collapsed": false }, @@ -570,7 +502,6 @@ } ], "source": [ - " \n", "import math\n", " \n", "print\"Introduction to heat transfer by S.K.Som, Chapter 2, Example 11\"\n", @@ -591,21 +522,7 @@ "print\"The temprature of wire at the centre in K is \"\n", "To=Tw+((qG*ro**2)/(4*k))\n", "#Note:The answer in the book is incorrect(value of D has been put instead of ro)\n", - "print\"To=\",To\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n" + "print\"To=\",To" ] }, { @@ -655,10 +572,6 @@ } ], "source": [ - "\n", - " \n", - " \n", - " \n", "import math\n", " \n", "print\"Introduction to heat transfer by S.K.Som, Chapter 2, Example 12\"\n", @@ -730,12 +643,7 @@ "#the amount of ice in kG which melts during a 24 hour period is (mice)\n", "print\"Therefore,the amount of ice(mice)in kG which melts during a 24 hour period is\"\n", "mice=Qt/deltahf\n", - "print\"mice=\",mice\n", - "\n", - "\n", - "\n", - "\n", - "\n" + "print\"mice=\",mice" ] }, { @@ -747,7 +655,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 13, "metadata": { "collapsed": false }, @@ -782,7 +690,6 @@ } ], "source": [ - " \n", "import math\n", " \n", "print\"Introduction to heat transfer by S.K.Som, Chapter 2, Example 13\"\n", @@ -846,15 +753,7 @@ "Qinf=(h*P*k*A)**0.5*thetab\n", "print\"We see that since k is large there is significant difference between the finite length and the infinte length cases\"\n", "print\"However when the length of the rod approaches 1m,the result become almost same.\" \n", - "print\"Qinf=\",Qinf\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n" + "print\"Qinf=\",Qinf" ] }, { @@ -866,7 +765,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 14, "metadata": { "collapsed": false }, @@ -882,7 +781,6 @@ } ], "source": [ - " \n", "import math\n", " \n", "print\"Introduction to heat transfer by S.K.Som, Chapter 2, Example 14\"\n", @@ -899,41 +797,7 @@ "#The thermal conductivity of Rod B iskB\n", "print\"The thermal conductivity of Rod B kB in W/(m*K) is \"\n", "kB=kA*(xB/xA)**2\n", - "print\"kB=\",kB\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n" + "print\"kB=\",kB" ] }, { @@ -945,7 +809,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 15, "metadata": { "collapsed": false }, @@ -971,7 +835,6 @@ } ], "source": [ - " \n", "import math\n", " \n", "print\"Introduction to heat transfer by S.K.Som, Chapter 2, Example 15\"\n", @@ -1013,17 +876,7 @@ "#Heat loss from the plate is Qb\n", "print\"Heat loss from the plate at 400K in W is\"\n", "Qb=(N*(h*P*kal*A)**0.5*thetab*((math.cosh(m*L)-(thetaL/thetab))/(math.sinh(m*L))))+(((l*b)-(N*A))*h*thetab)+(l*b*h*thetab)\n", - "print\"Qb=\",Qb\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n" + "print\"Qb=\",Qb" ] } ], |