summaryrefslogtreecommitdiff
path: root/Engineering_Heat_Transfer/CHAPTER_3.ipynb
diff options
context:
space:
mode:
authordebashisdeb2014-06-20 15:42:42 +0530
committerdebashisdeb2014-06-20 15:42:42 +0530
commit83c1bfceb1b681b4bb7253b47491be2d8b2014a1 (patch)
treef54eab21dd3d725d64a495fcd47c00d37abed004 /Engineering_Heat_Transfer/CHAPTER_3.ipynb
parenta78126bbe4443e9526a64df9d8245c4af8843044 (diff)
downloadPython-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.tar.gz
Python-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.tar.bz2
Python-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.zip
removing problem statements
Diffstat (limited to 'Engineering_Heat_Transfer/CHAPTER_3.ipynb')
-rw-r--r--Engineering_Heat_Transfer/CHAPTER_3.ipynb38
1 files changed, 0 insertions, 38 deletions
diff --git a/Engineering_Heat_Transfer/CHAPTER_3.ipynb b/Engineering_Heat_Transfer/CHAPTER_3.ipynb
index 93f29ad1..98a7ff3d 100644
--- a/Engineering_Heat_Transfer/CHAPTER_3.ipynb
+++ b/Engineering_Heat_Transfer/CHAPTER_3.ipynb
@@ -27,12 +27,8 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of the heat-flow rate from one tube \n",
- "# specifications of 1 standard type K from table F2\n",
"\n",
- "#iven\n",
"OD=0.02858 # outer diameter in m\n",
- "# from figure 3.11\n",
"M=8.0 # total number of heat-flow lanes\n",
"N=6.0 # number of squares per lane\n",
"S_L=M/N # conduction shape factor\n",
@@ -40,11 +36,9 @@
"T1=85 # temperature of tube surface\n",
"T2=0 # temperature of ground beneath the slab\n",
"\n",
- "#Calculation\n",
"q_half=k*S_L*(T1-T2)\n",
"q=2*q_half\n",
"\n",
- "#Result\n",
"print\"The total heat flow per tube is\",round(q,0),\" W/m\"\n"
],
"language": "python",
@@ -72,11 +66,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of the heat transferred from the buried pipe per unit length\n",
- "# shape factor number 8 is selected from table 3.1\n",
- "# specifications of 10 nominal, schedule 80 pipe from table F1\n",
"\n",
- "#Given\n",
"import math\n",
"OD=10.74/12 # diameter in ft\n",
"R=OD/2\n",
@@ -113,34 +103,25 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of the heat lost through the walls, using the shape-factor method. \n",
- "#(b) Repeat the calculations but neglect the effects of the corners that is, . \n",
"\n",
- "#Given\n",
"k = 1.07 # thermal conductivity of silica brick from appendix table B3 in W/(m.K)\n",
"S1_A=0.138*0.138/0.006\n",
"nA=2\n",
"\n",
- "# Calculation of total shape factor\n",
- "# From figure 3.12, for component A\n",
"St_A=nA*S1_A # Total shape factor of component A\n",
"\n",
- "# For component B\n",
"S1_B=0.138*0.188/0.006\n",
"nB=4\n",
"St_B=nB*S1_B # Total shape factor of component B\n",
"\n",
- "# For component C\n",
"S3_C=0.15*0.006\n",
"nC=8\n",
"St_C=nC*S3_C # Total shape factor of component C\n",
"\n",
- "# For component D\n",
"S2_D=0.54*0.188\n",
"nD=4\n",
"St_D=nD*S2_D # Total shape factor of component D\n",
"\n",
- "# For component E\n",
"S2_E=0.138*0.54\n",
"nE=8\n",
"St_E=nE*S2_E # Total shape factor of component E\n",
@@ -153,9 +134,7 @@
"q_1=k*S*(T1-T2)\n",
"Error=(q-q_1)/q\n",
"\n",
- "#result\n",
"print\"(a)The heat transferred through the walls of the furnace is \",round(q/1000,1),\"kw\"\n",
- "# Neglecting the effects of the edges and corners, the shape factor for all walls is found as \n",
"print\"(b The heat transferred is\",q_1/1000,1,\"kw\"\n",
"print\" The error introduced by neglecting heat flow through the edges and corners is \",round(Error*100,1),\" percent\"\n"
],
@@ -186,26 +165,17 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of the conduction shape factor for the underground portion of the configuration\n",
- "# specifications of 4 nominal, schedule 40 pipe from table F1\n",
"\n",
- "#Given\n",
"OD=4.5/12.0 # diameter in ft\n",
"R=OD/2.0\n",
"\n",
- "# For pipe A\n",
- "#calculation\n",
"import math\n",
"L_A=4.5 # length in ft\n",
- "# shape factor number 9 is selected from table 3.1\n",
"S_A=(2*math.pi*L_A)/(math.log(2*(L_A)/R))\n",
- "# For pipe B\n",
"L_B=18 # length in ft\n",
- "# shape factor number 9 is selected from table 3.1\n",
"S_B=(2*math.pi*L_B)/(math.acosh(L_A/R))\n",
"S=2*S_A+S_B\n",
"\n",
- "#Result\n",
"print\"The total conduction shape factor for the system is\",round(S,1)\n"
],
"language": "python",
@@ -243,18 +213,13 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#(a)plot graph the temperature distribution existing within the rod. \n",
- "#(b) Use the numerical formulation of this section to obtain the temperature distribution.\n",
- "#(c) Compare the two models to determine how well the numerical results approximate the exact results\n",
"\n",
- "#Given\n",
"h=1.1 # convective coefficient in BTU/(hr.ft^2. degree R)\n",
"Tw=200.0\n",
"T_inf=68.0 # ambient temperature\n",
"k=0.47 # thermal conductivity in BTU/(hr.ft.degree R) from table B3\n",
"D=0.25/12 # diameter in ft\n",
"\n",
- "#Calculation\n",
"A=math.pi*D**(2)/4.0 # cross sectional area in ft^2\n",
"P=math.pi*D # perimeter in ft\n",
"L=6/12.0 # length in ft\n",
@@ -264,19 +229,16 @@
"de=dz/L\n",
"K=2+(mL*de)**2\n",
"\n",
- "#Tempature can be calculated as\n",
"T4=T_inf+(Tw-T_inf)*(2/(K**4-4*K**2+2))\n",
"T3=T_inf+(Tw-T_inf)*(K/(K**4-4*K**2+2))\n",
"T2=T_inf+(Tw-T_inf)*((K**2-1)/(K**4-4*K**2+2))\n",
"T1=T_inf+(Tw-T_inf)*((K**3-3*K)/(K**4-4*K**2+2))\n",
"\n",
- "#result\n",
"print\"The temprature distribution is T4=\",round(T4,2),\"F\"\n",
"print\"The temprature distribution is T3=\",round(T3,2),\"F\"\n",
"print\"The temprature distribution is T2=\",round(T2,2),\"F\"\n",
"print\"The temprature distribution is T1=\",round(T1,2),\"F\"\n",
"\n",
- "#(b)plot\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"T=[200.0,77.33,68.66,68.05,68]\n",