1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 1 : Overview of Chemical Reaction Engineering"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 1.1 page no : 6"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variables\n",
"#l=75 cm,d=60 cm,H20 Produced=108kg/s\n",
"l=0.75 # cylindrical long\n",
"d=0.6; # cylindrical diameter\n",
"V=(3.14*d*d*l)/4;\n",
"M=18.; # molecular weight\n",
"\n",
"# Calculations\n",
"H20_produced=108./M;\n",
"H2_used=H20_produced;\n",
"O2_used=0.5*H20_produced;\n",
"#Rate of reaction of H2(mol/m**3.s)\n",
"r_H2=(H2_used/V)*1000;\n",
"#Rate of reaction of O2(mol/m**3.s)\n",
"r_O2=(O2_used/V)*1000;\n",
"\n",
"# Results\n",
"print \"rate of reaction of H2mol/m**3.s is %.3e mol used/(m**3 of rocket).s\"%(r_H2)\n",
"print \"rate of reaction of O2mol/m**3.s is %.3e mol/m**3.s\"%(r_O2)\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"rate of reaction of H2mol/m**3.s is 2.831e+04 mol used/(m**3 of rocket).s\n",
"rate of reaction of O2mol/m**3.s is 1.415e+04 mol/m**3.s\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 1.2 page no : 7"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Assuming density of a person = 1000kg/m3\n",
"\n",
"# Variables\n",
"d = 1000.;\n",
"mass = 75.; # human being\n",
"\n",
"# Calculations\n",
"V = mass/d;\n",
"#moles of O2 consumed per day\n",
"O2_used = (6000./2816)*6;\n",
"# Rate of reaction (mol/m3.s)\n",
"r_O2 = (O2_used/V)/(24.*3600);\n",
"\n",
"# Results\n",
"print \"rate of reaction of O2mol/m**3.s is %.3f mol O2 used/m***3.s\"%(r_O2)\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"rate of reaction of O2mol/m**3.s is 0.002 mol O2 used/m***3.s\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}
|