summaryrefslogtreecommitdiff
path: root/Basic_And_Applied_Thermodynamics_by_P._K._Nag/Chapter18.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Basic_And_Applied_Thermodynamics_by_P._K._Nag/Chapter18.ipynb')
-rw-r--r--[-rwxr-xr-x]Basic_And_Applied_Thermodynamics_by_P._K._Nag/Chapter18.ipynb41
1 files changed, 22 insertions, 19 deletions
diff --git a/Basic_And_Applied_Thermodynamics_by_P._K._Nag/Chapter18.ipynb b/Basic_And_Applied_Thermodynamics_by_P._K._Nag/Chapter18.ipynb
index 97968f87..3c4fe6ba 100755..100644
--- a/Basic_And_Applied_Thermodynamics_by_P._K._Nag/Chapter18.ipynb
+++ b/Basic_And_Applied_Thermodynamics_by_P._K._Nag/Chapter18.ipynb
@@ -16,7 +16,7 @@
},
{
"cell_type": "code",
- "execution_count": 26,
+ "execution_count": 1,
"metadata": {
"collapsed": false
},
@@ -36,7 +36,7 @@
}
],
"source": [
- "\n",
+ "import math\n",
"ho = 12.0 # Outside convective heat transfer coefficient in W/m**2K \n",
"x1 = 0.23# Thickness of brick in m\n",
"k1 = 0.98 # Thermal conductivity of brick in W/mK\n",
@@ -71,7 +71,7 @@
},
{
"cell_type": "code",
- "execution_count": 8,
+ "execution_count": 2,
"metadata": {
"collapsed": false
},
@@ -118,7 +118,7 @@
},
{
"cell_type": "code",
- "execution_count": 9,
+ "execution_count": 3,
"metadata": {
"collapsed": false
},
@@ -140,7 +140,7 @@
}
],
"source": [
- "\n",
+ "import math\n",
"to = 20 # Environment temperature in degree Celsius\n",
"t = 100# Temperature of steam path in degree Celsius\n",
"ta1 = 26.76 # Temperature at other end in degree Celsius for rod A \n",
@@ -183,7 +183,7 @@
},
{
"cell_type": "code",
- "execution_count": 14,
+ "execution_count": 4,
"metadata": {
"collapsed": false
},
@@ -203,6 +203,7 @@
}
],
"source": [
+ "import math\n",
"h = 17.4 # Convective heat transfer coefficient in W/m**2K\n",
"K = 52.2 # Thermal conductivity in W/mK\n",
"t = 120 # Heat reservoir wall temperature in degree celcius\n",
@@ -232,7 +233,7 @@
},
{
"cell_type": "code",
- "execution_count": 16,
+ "execution_count": 5,
"metadata": {
"collapsed": false
},
@@ -254,7 +255,7 @@
}
],
"source": [
- "\n",
+ "import math\n",
"d = 8.0 # Average diameter in mm\n",
"r = 750.0 # Density in Kg/m**3\n",
"t = 2.0 # Intermediate temperature in degree celcius\n",
@@ -287,7 +288,7 @@
},
{
"cell_type": "code",
- "execution_count": 18,
+ "execution_count": 6,
"metadata": {
"collapsed": false
},
@@ -305,7 +306,7 @@
}
],
"source": [
- "\n",
+ "import math\n",
"mh = 1000 # mass flow rate of hot fluid in Kg/h\n",
"mc = 1000 # mass flow rate of cold fluid in Kg/h\n",
"ch = 2.09 # Specific heat capacity of hot fluid in kJ/kgK\n",
@@ -338,7 +339,7 @@
},
{
"cell_type": "code",
- "execution_count": 20,
+ "execution_count": 7,
"metadata": {
"collapsed": false
},
@@ -356,7 +357,7 @@
}
],
"source": [
- "\n",
+ "import math\n",
"Hfg = 2257.0 # Latent heat at 100 degree Celsius\n",
"\n",
"ma = 500.0 # mass flow rate of air in Kg/h\n",
@@ -390,7 +391,7 @@
},
{
"cell_type": "code",
- "execution_count": 21,
+ "execution_count": 8,
"metadata": {
"collapsed": false
},
@@ -457,7 +458,7 @@
},
{
"cell_type": "code",
- "execution_count": 22,
+ "execution_count": 9,
"metadata": {
"collapsed": false
},
@@ -477,6 +478,7 @@
}
],
"source": [
+ "import math\n",
"u_m = 0.8 # mean velocity in m/s\n",
"D = 5 # Diameter in cm\n",
"v = 4.78e-7 # dynamic coefficient of viscosity\n",
@@ -506,7 +508,7 @@
},
{
"cell_type": "code",
- "execution_count": 23,
+ "execution_count": 10,
"metadata": {
"collapsed": false
},
@@ -524,7 +526,7 @@
}
],
"source": [
- "\n",
+ "import math\n",
"b = 10 # width of plate in cm\n",
"h = 15 # Height of plate in cm\n",
"hr = 8.72 # Radiative heat transfer coefficient in W/m**2K\n",
@@ -560,7 +562,7 @@
},
{
"cell_type": "code",
- "execution_count": 24,
+ "execution_count": 11,
"metadata": {
"collapsed": false
},
@@ -578,6 +580,7 @@
}
],
"source": [
+ "import math\n",
"d1 = 2.0 # Diameter of steel rod in cm\n",
"d2 = 16.0 # Diameter of cylindrical furnace in cm\n",
"e1 = 0.6 # emissivity of inner surface\n",
@@ -616,7 +619,7 @@
},
{
"cell_type": "code",
- "execution_count": 25,
+ "execution_count": 13,
"metadata": {
"collapsed": false
},
@@ -639,7 +642,7 @@
}
],
"source": [
- "\n",
+ "import math\n",
"d1 = 10.0 # Diameter of inner cylinder in cm\n",
"d2 = 20.0 # Diameter of outer cylinder in cm\n",
"e1 = 0.65 # emissivity of inner surface\n",