summaryrefslogtreecommitdiff
path: root/Engineering_Heat_Transfer/CHAPTER1.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Engineering_Heat_Transfer/CHAPTER1.ipynb')
-rw-r--r--Engineering_Heat_Transfer/CHAPTER1.ipynb41
1 files changed, 0 insertions, 41 deletions
diff --git a/Engineering_Heat_Transfer/CHAPTER1.ipynb b/Engineering_Heat_Transfer/CHAPTER1.ipynb
index d020ad30..9b33caee 100644
--- a/Engineering_Heat_Transfer/CHAPTER1.ipynb
+++ b/Engineering_Heat_Transfer/CHAPTER1.ipynb
@@ -27,23 +27,16 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# determination of surface temperature on one side of a firewall\n",
"\n",
- "#Given\n",
"k=9.4 # thermal conductivity in [BTU/hr.ft. \u02daRankine]\n",
"q=6.3 # heat flux in [BTU/s. sq.ft]\n",
"T1=350 # the outside surface temperature of one aide of the wall [\u02daF]\n",
"\n",
- "#Calculation\n",
- "# converting heat flux into BTU/hr sq.ft\n",
"Q=6.3*3600 # [BTU/hr.sq.ft]\n",
"dx=0.5 # thickness in [inch]\n",
- "#converting distance into ft\n",
"Dx=0.5/12.0 # thickness in [ft]\n",
- "# solving for temeprature T2\n",
"T2=T1-(Q*Dx/k) # [\u02daF]\n",
"\n",
- "#Result\n",
"print\"The required temperature on the other side of the firewall is \",round(T2,1),\"F\"\n"
],
"language": "python",
@@ -71,19 +64,15 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# determination of thermal conductivity of aluminium\n",
"\n",
- "#Given\n",
"k_ss=14.4 # thermal conductivity of stainless steel in [W/m.K]\n",
"dt_ss=40 # [K]\n",
"dt_al=8.65 # [K]\n",
"dz_ss=1 # [cm]\n",
"dz_al=3 # [cm]\n",
"\n",
- "#calculation\n",
"k_al=k_ss*dt_ss*dz_al/(dt_al*dz_ss);# thermal conductivity of Al in [W/m.K]\n",
"\n",
- "#result\n",
"print\"The thermal conductivity of aluminium is\",round(k_al,0),\"W/m.K\"\n"
],
"language": "python",
@@ -111,19 +100,15 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# determination of heat transferred by convection\n",
"\n",
- "#Given\n",
"h_c=3 # convective coefficient in [BTU/hr.ft**2\n",
"A=30*18 # Cross sectional area in ft**2\n",
"T_w=140 # Roof surface temperature in degree Fahrenheit\n",
"T_inf=85 # Ambient temperature in degree Fahrenheit\n",
"\n",
- "#Calculation\n",
"dT= (T_w-T_inf)\n",
"Q_c=h_c*A*dT # Convective heat transfer in BTU/hr\n",
"\n",
- "#Result\n",
"print\"The heat transferred by convection is\",round(Q_c,2),\"BTU/hr\"\n"
],
"language": "python",
@@ -151,9 +136,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# determining average film conductance\n",
"\n",
- "#Given\n",
"D=0.0243 # diameter in meter\n",
"L=0.2 # length in meter\n",
"A=3.14*D*L # cross-sectional area in sq.m\n",
@@ -164,12 +147,9 @@
"Q=500.0 # volumetric flow rate in cc/s\n",
"density=1000 # density of water in kg/cu.m\n",
"\n",
- "#calculation\n",
"m=Q*density/10**6 # mass flowa rate in kg/s\n",
- "# using definition of specific heat and Newton's law of cooling\n",
"hc=m*cp*(T_b2-T_in)/(A*(T_w-T_in))\n",
"\n",
- "#result\n",
"print\"The average film conductance is \",round(hc,0),\"W/sq.m. K\"\n"
],
"language": "python",
@@ -197,9 +177,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# determination of heat loss rate by radiation\n",
"\n",
- "#Given\n",
"W=14 # width in ft\n",
"L=30.0 # length in ft\n",
"A=W*L # area in ft**2\n",
@@ -207,12 +185,10 @@
"T1=120+460 # driveway surface temperature in degree Rankine\n",
"T2=0 # space temperature assumed to be 0 degree Rankine\n",
"\n",
- "#Calculation\n",
"sigma=0.1714*10**(-8) # value of Stefan-Boltzmann's constant in BTU/(hr.ft**2.(degree Rankine)**4)\n",
"e=0.9 # surface emissivity\n",
"q=sigma*A*e*F_12*((T1)**4-(T2)**4);\n",
"\n",
- "#result\n",
"print\"The heat loss rate by radiation is \",round(q,0),\"BTU/hr\"\n"
],
"language": "python",
@@ -240,18 +216,14 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# determination of radiation thermal conductance\n",
"\n",
- "#Given\n",
"A=420.0 # area in sq.ft\n",
"T1=580.0 # driveway surface temperature in degree Rankine\n",
"T2=0 # surface temperature assumed to be 0 degree Rankine\n",
"Qr=73320 # heat loss rate in BTU/hr\n",
"\n",
- "#calculation\n",
"hr=Qr/(A*(T1-T2)) # radiation thermal conductance in BTU/(hr.ft**2.(degree Rankine)\n",
"\n",
- "#result\n",
"print\"the radiation thermal conductance is \",round(hr,2),\"BTU/(hr. sq.ft R)\"\n"
],
"language": "python",
@@ -289,18 +261,13 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Identification of all resistances and their values\n",
- "# Estimation of heat transfer per unit area\n",
- "# Determination of the inside and outside wall temperatures\n",
"\n",
- "#Given\n",
"A=1.0 # assuming A=1 m**2 for convenience\n",
"hc1_avg=15.0 # taking average of extreme values for hc [W/m**2.K]\n",
"k=(0.38+0.52)/2.0 # thermal conductivity of common brick in W/M.k\n",
"L=0.1 #10 cm converted into m\n",
"Rk=(L/(k*A)) # resistance of construction material, assume common brick\n",
"\n",
- "#calcultion\n",
"T_inf1=1000.0 # temperature of exhaust gases in K\n",
"T_inf2=283.0 # temperature of ambient air in K\n",
"Rcl=1/(hc1_avg*A) # resistance on left side of wall [K/W]\n",
@@ -309,7 +276,6 @@
"T_in=T_inf1-Rcl*q #inlet temprature \n",
"T_out=T_inf2+Rc2*q\n",
"\n",
- "#result\n",
"print\"(b)\"\n",
"print\"The resistance on left side of wall is \",round(Rcl,2),\"K/W\"\n",
"print\"The resistance of construction material of wall is\",round(Rk,2),\"K/W\"\n",
@@ -319,7 +285,6 @@
"print\"The inside wall temperature is \",round(T_in,0),\"K\"\n",
"print\"The outside wall temperature is\",round(T_out,1),\"K\"\n",
"\n",
- "#Plot\n",
"import matplotlib.pyplot as plt\n",
"fig = plt.figure()\n",
"ax = fig.add_subplot(111)\n",
@@ -408,9 +373,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# determination of surface temperature\n",
"\n",
- "#Given\n",
"k=0.604 # [BTU/(hr.ft.degree Rankine)]\n",
"hc=3.0 # average value for natural convection in BTU/(hr.ft**2.degree Rankine)\n",
"ew=0.93 \n",
@@ -421,12 +384,9 @@
"T_inf=20+460 # temperature of ambient air in degree Rankine\n",
"T_r=0 # assuming space temperature to be 0 degree Rankine\n",
"\n",
- "#Calculation\n",
- "# LHS of the form a*Tw+b*Tw**4=c\n",
"a=((k/L)+hc) #Coefficient of Tw in the equation\n",
"b=(sigma*ew*f_wr) #Coefficient of Tw**4 in the equation\n",
"c=(k*T1/L)+(hc*T_inf)+(sigma*f_wr*ew*T_r**4) #right hans side of the equation\n",
- "#Soving by try and error\n",
"Tw1=470 #assumed first value of temprature\n",
"LHS1=a*Tw1+b*Tw1**4\n",
"Tw2=480 #assumed 2nd value of temprature\n",
@@ -438,7 +398,6 @@
"Tw5=484.5 #assumed fifth value of temprature\n",
"LHS5=a*Tw5+b*Tw5**4\n",
"\n",
- "#result\n",
"print\"RHS\",round(c,1)\n",
"print\"LHS at surface Temprature 1=\",round(LHS1,1)\n",
"print\"LHS at surface Temprature 2=\",round(LHS2,1)\n",