summaryrefslogtreecommitdiff
path: root/Engineering_Heat_Transfer/CHAPTER5.ipynb
diff options
context:
space:
mode:
authorJovina Dsouza2014-06-18 12:43:07 +0530
committerJovina Dsouza2014-06-18 12:43:07 +0530
commit206d0358703aa05d5d7315900fe1d054c2817ddc (patch)
treef2403e29f3aded0caf7a2434ea50dd507f6545e2 /Engineering_Heat_Transfer/CHAPTER5.ipynb
parentc6f0d6aeb95beaf41e4b679e78bb42c4ffe45a40 (diff)
downloadPython-Textbook-Companions-206d0358703aa05d5d7315900fe1d054c2817ddc.tar.gz
Python-Textbook-Companions-206d0358703aa05d5d7315900fe1d054c2817ddc.tar.bz2
Python-Textbook-Companions-206d0358703aa05d5d7315900fe1d054c2817ddc.zip
adding book
Diffstat (limited to 'Engineering_Heat_Transfer/CHAPTER5.ipynb')
-rw-r--r--Engineering_Heat_Transfer/CHAPTER5.ipynb126
1 files changed, 126 insertions, 0 deletions
diff --git a/Engineering_Heat_Transfer/CHAPTER5.ipynb b/Engineering_Heat_Transfer/CHAPTER5.ipynb
new file mode 100644
index 00000000..9ab19382
--- /dev/null
+++ b/Engineering_Heat_Transfer/CHAPTER5.ipynb
@@ -0,0 +1,126 @@
+{
+ "metadata": {
+ "name": "CHAPTER5"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter5 : Introduction to Convection"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 3,
+ "metadata": {},
+ "source": [
+ "Example 5.1 Page NO. 248"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#How much heat must be added for the two cases.\n",
+ "\n",
+ "#Given\n",
+ "# properties of CO at 300K from appendix table D2\n",
+ "Cp=871\n",
+ "Gamma=1.3\n",
+ "\n",
+ "#calculation\n",
+ "Cv=Cp/Gamma\n",
+ "dT=20\n",
+ "m=5\n",
+ "Qp=m*Cp*dT\n",
+ "Qv=m*Cv*dT\n",
+ "\n",
+ "#Result\n",
+ "print\" The heat required at constant pressure is \",Qp/1000,\"kj\"\n",
+ "print\"The heat required at constant volume is \",Qv/1000,\"kj\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " The heat required at constant pressure is 87 kj\n",
+ "The heat required at constant volume is 67.0 kj\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 3,
+ "metadata": {},
+ "source": [
+ "Example 5.2 Page NO.250"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#verify the valve for Voluemetric thermal coefficient\n",
+ "\n",
+ "#Given\n",
+ "# properties of Freon-12 from appendix table C3\n",
+ "T1_Fr=-50\n",
+ "T2_Fr=-40\n",
+ "rou1_Fr=1.546*1000\n",
+ "rou2_Fr=1.518*1000\n",
+ "\n",
+ "#Calculation\n",
+ "beta_Fr=-(rou1_Fr-rou2_Fr)/(rou1_Fr*(T1_Fr-T2_Fr))\n",
+ "beta_acc_Fr=2.63e-3 # the accurate value of volumetric thermal expansion coefficient for Freon-12\n",
+ "error_Fr=(beta_acc_Fr-beta_Fr)*100/beta_acc_Fr\n",
+ "# properties of helium from appendix table D3\n",
+ "T1_He=366\n",
+ "T2_He=477\n",
+ "rou1_He=0.13280\n",
+ "rou2_He=0.10204\n",
+ "beta_He=-(rou1_He-rou2_He)/(rou1_He*(T1_He-T2_He))\n",
+ "\n",
+ "#REsult\n",
+ "print\"The volumetric thermal expansion coefficient calculated for Freon-12 is \",round(beta_Fr,6),\"1/K\"\n",
+ "print\"The error introduced in the case of Freon-12 is percent\",round(error_Fr,0),\"percent\"\n",
+ "print\"The volumetric thermal expansion coefficient calculated for Freon-12 is \",round(beta_He,6),\"1/K\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The volumetric thermal expansion coefficient calculated for Freon-12 is 0.001811 1/K\n",
+ "The error introduced in the case of Freon-12 is percent 31.0 percent\n",
+ "The volumetric thermal expansion coefficient calculated for Freon-12 is 0.002087 1/K\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file