{ "metadata": { "name": "" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "heading", "level": 1, "metadata": {}, "source": [ "Chapter 8: Natural Convection System" ] }, { "cell_type": "heading", "level": 3, "metadata": {}, "source": [ "Example 8.1 Page No. 413" ] }, { "cell_type": "code", "collapsed": false, "input": [ "\n", "rou= 0.0551 # density in Ibm/cu.ft \n", "cp=0.2420 # specific heat BTU/(lbm-degree Rankine) \n", "v= 27.88e-5 # viscosity in sq.ft/s \n", "kf = 0.01944 # thermal conductivity in BTU/(hr.ft.degree Rankine) \n", "a = 1.457 # diffusivity in sq.ft/hr \n", "Pr = 0.689 # Prandtl Number\n", "T_inf=120.0+460.0 # wall temperature in degree R\n", "Tw=400.0+460.0 # inside wall temperature in degree R\n", "Beta=1/T_inf\n", "\n", "Beta_=0.00116\n", "gc=32.2\n", "L=1.0 # length of wall in ft\n", "W=2.0 # width in ft\n", "Gr=(gc*Beta_*(Tw-T_inf)*L**3)/v**2 # Grashof Number\n", "temperature_slope=0.505 #temperature slope from table 8.1 \n", "hL=(kf/L)*(4/3.0)*(Gr/4.0)**(1/4.0)*temperature_slope \n", "A=L*W # cross sectional area in sq.ft\n", "qw=hL*A*(Tw-T_inf)\n", "\n", "print\"The heat transferred is\",round(qw,0),\"BTU/hr\"\n" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "The heat transferred is 558.0 BTU/hr\n" ] } ], "prompt_number": 5 }, { "cell_type": "heading", "level": 3, "metadata": {}, "source": [ "Example 8.2 Page No. 414" ] }, { "cell_type": "code", "collapsed": false, "input": [ "\n", "rou1=1.295 # density in kg/cu.m\n", "cp1=1005.5 # specific heat in J/(kg*K) \n", "v1=12.59e-6 # viscosity in sq.m/s \n", "Pr1=0.713 # Prandtl Number \n", "kf1=0.02426 # thermal conductivity in W/(m.K)\n", "a1=0.17661e-4 # diffusivity in sq.m/s \n", "T_inf1=0 # inside and outside temperature in K\n", "Beta1=1/(T_inf1+273.0) # volumetric thermal expansion coefficient at 295 K and 273 K\n", "\n", "rou2=1.177 # density in kg/cu.m\n", "cp2=1005 # specific heat in J/(kg*K) \n", "v2=15.68e-6 # viscosity in sq.m/s \n", "Pr2=0.708 # Prandtl Number \n", "kf2=0.02624 # thermal conductivity in W/(m.K)\n", "a2=0.22160e-4 # diffusivity in sq.m/s \n", "T_inf2=22.0 # inside and outside temperature in K\n", "Beta2=1/(T_inf2+273.0) # volumetric thermal expansion coefficient at 295 K and 273 K\n", "\n", "g=9.81\n", "t=0.005 # thickness of glass\n", "L=0.60 # window length in m\n", "k=0.81 # thermal conductivity of glass from appendix table B3\n", "Tw1=18\n", "Tw2=4\n", "Ra1=(g*Beta1*(Tw2-T_inf1)*L**3)/(v1*a1)\n", "hL1=(kf1/L)*(0.68+((0.67*((abs(Ra1)))**(1/4.0))/(1+(0.492/Pr1)**(9/16.0))**(4/9.0)))\n", "Ra2=(g*Beta2*(Tw1-T_inf2)*L**3)/(v2*a2)\n", "hL2=(kf2/L)*(0.68+((0.67*(abs(Ra2))**(1/4.0))/(1+(0.492/Pr2)**(9/16.0))**(4/9.0)))\n", "q1=(T_inf1-T_inf2)/((1/hL2)+(t/k)+(1/hL1))\n", "Tw2_=T_inf2-(q1/hL2)\n", "Tw1_=q1/hL1+T_inf1\n", "\n", "Ra1_=3.7*10**8\n", "hL1_=2.92\n", "Ra2_=2.31*10**8\n", "hL2_=2.80\n", "q2=(T_inf2-T_inf1)/((1/hL2_)+(t/k)+(1/hL1_))\n", "\n", "Tw2final=q2-T_inf2\n", "Tw1final=10.7\n", "\n", "print\"The heat loss is \",round(q2,1),\" W/sq.m\"\n", "\n", "\n" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "The heat loss is 31.2 W/sq.m\n" ] } ], "prompt_number": 15 }, { "cell_type": "heading", "level": 3, "metadata": {}, "source": [ "Example 8.3 Page No.419" ] }, { "cell_type": "code", "collapsed": false, "input": [ "\n", "rou= 0.0735 # density in Ibm/cu.ft \n", "cp=0.240 # specific heat BTU/(lbm-degree Rankine) \n", "v= 16.88e-5 # viscosity in sq.ft/s \n", "kf = 0.01516 # thermal conductivity in BTU/(hr.ft.degree Rankine) \n", "a = 0.859 # diffusivity in sq.ft/hr \n", "Pr = 0.708 # Prandtl Number\n", "Tw=90\n", "T_inf=70\n", "g=32.2\n", "L=5.5 # length in ft\n", "W=2+(4/12.0) # width in ft\n", "Beta=1/(Tw+460.0) # volumetric thermal expansion coefficient in per degree Rankine\n", "Ra=(g*Beta*(Tw-T_inf)*L**3)/(v*a/3600)\n", "hc=(kf/L)*(0.825+((0.387*(Ra)**(1/6.0))/(1+(0.492/Pr)**(9/16.0))**(8/27.0)))**2\n", "q=hc*L*W*(Tw-T_inf)\n", "\n", "print\"The heat gained is %d BTU/hr\",round(q,0),\"BTU/hr\"\n" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "The heat gained is %d BTU/hr 142.0 BTU/hr\n" ] } ], "prompt_number": 30 }, { "cell_type": "heading", "level": 3, "metadata": {}, "source": [ "Example 8.4 Page no. 421" ] }, { "cell_type": "code", "collapsed": false, "input": [ "rou= 1123 # density in kg/m^3 \n", "cp= 1006.7 # specific heat in J/(kg*K) \n", "v= 17.204e-6 # vismath.cosity in m^2/s \n", "Pr =0.703 # Prandtl Number \n", "kf= 0.02738 # thermal conductivity in W/(m.K)\n", "a = 0.2446e-4 # diffusivity in m^2/s \n", "g=9.81\n", "L=5.0\n", "theta=45\n", "T_inf=20.0 # ambient air temperature in degree C\n", "Tw=65 # roof surface temperature in degree C\n", "Beta=1/(T_inf+273.0) # volumetric thermal math.expansion coefficient in per K\n", "\n", "import math\n", "x=((3e5*math.exp(0.1368*math.cos(90-theta))*v*a)/(g*math.cos(theta)*Beta*(Tw-T_inf)))**(1/3.0)\n", "x=0.051\n", "print\"The Laminar-turbulent transition length by Vliet equation is \",round(x,3),\"m\\n\\n\"\n", "lists=[0.02,0.04,0.051,0.051,0.1,1.0,3,5]\n", "Ra=[0,0,0,0,0,0,0,0]\n", "hc=[0,0,0,0,0,0,0,0]\n", "print\"_______________________________________________________\"\n", "print\"x(m)\\t\\tRaL\\t\\t\\thc(W/[m.K])\"\n", "print\"_______________________________________________________\"\n", "for i in range(0,8):\n", " if lists[i]