From 41f1f72e9502f5c3de6ca16b303803dfcf1df594 Mon Sep 17 00:00:00 2001 From: Thomas Stephen Lee Date: Fri, 4 Sep 2015 22:04:10 +0530 Subject: add/remove/update books --- .../ch14.ipynb | 416 +++++++++++++++++++++ 1 file changed, 416 insertions(+) create mode 100755 Fluidization_Engineering_by_K_Daizo_And_O_Levenspiel/ch14.ipynb (limited to 'Fluidization_Engineering_by_K_Daizo_And_O_Levenspiel/ch14.ipynb') diff --git a/Fluidization_Engineering_by_K_Daizo_And_O_Levenspiel/ch14.ipynb b/Fluidization_Engineering_by_K_Daizo_And_O_Levenspiel/ch14.ipynb new file mode 100755 index 00000000..24a0ffbb --- /dev/null +++ b/Fluidization_Engineering_by_K_Daizo_And_O_Levenspiel/ch14.ipynb @@ -0,0 +1,416 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:a7839feeb371e4231dbf99a0d3738674ff633956f5fb373aea54d56b513c13f8" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 14 : The RTD and Size Distribution of Solids in Fluidized Beds" + ] + }, + { + "cell_type": "heading", + "level": 3, + "metadata": {}, + "source": [ + "Example 1, Page 343" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from scipy.optimize import fsolve \n", + "import math \n", + "\n", + "#INPUT\n", + "Fo=2.7; #Feed rate in kg/min\n", + "Fof=0.9; #Feed rate of fines in feed in kg/min\n", + "Foc=1.8; #Feed rate of coarse in feed in kg/min\n", + "W=17.; #Bed weight in kg\n", + "kf=0.8; #Elutriation of fines in min**-1\n", + "kc=0.0125; #Elutriation of coarse in min**-1\n", + "\n", + "#CALCULATION\n", + "F1guess=1; #Guess value of F1\n", + "def solver_func(F1): #Function defined for solving the system\n", + " return F1-(Fof/(1.+(W/F1)*kf))-(Foc/(1.+(W/F1)*kc));#Eqn.(17)\n", + "\n", + "F1=fsolve(solver_func,F1guess)\n", + "F1f=Fof/(1.+(W/F1)*kf); #Flow rate of fines in entrained streams from Eqn.(16)\n", + "F1c=Foc/(1.+(W/F1)*kc); #Flow rate of coarse in entrained streams from Eqn.(16)\n", + "F2f=Fof-F1f; #Flow rate of fines in overflow streams from Eqn.(9)\n", + "F2c=Foc-F1c; #Flow rate of coarse in overflow streams from Eqn.(9)\n", + "tbarf=1./((F1/W)+kf); #Mean residence time of fines from Eqn.(12)\n", + "tbarc=1./((F1/W)+kc); #Mean residence time of coarse from Eqn.(12)\n", + "\n", + "#OUTPUT\n", + "print 'Flow rate in entrained stream:\\tFines:%fkg/min\\tCoarse:%fkg/min'%(F1f,F1c);\n", + "print 'Flow rate in overflow stream:\\tFines:%fkg/min\\tCoarse:%fkg/min'%(F2f,F2c);\n", + "print 'Mean residence time:\\tFines:%fmins\\tCoarse:%fmins'%(tbarf,tbarc);\n", + "\n", + "#====================================END OF PROGRAM ======================================================" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Flow rate in entrained stream:\tFines:0.100000kg/min\tCoarse:1.600000kg/min\n", + "Flow rate in overflow stream:\tFines:0.800000kg/min\tCoarse:0.200000kg/min\n", + "Mean residence time:\tFines:1.111111mins\tCoarse:8.888889mins\n" + ] + } + ], + "prompt_number": 30 + }, + { + "cell_type": "heading", + "level": 3, + "metadata": {}, + "source": [ + "Example 2, Page 344\n" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "\n", + "\n", + "\n", + "import math\n", + "from numpy import linspace,array,zeros\n", + "from scipy.optimize import fsolve\n", + "from matplotlib.pyplot import *\n", + "%matplotlib inline\n", + "#Variable declaration\n", + "dt=4.; #Diameter of reactor in m\n", + "ephsilonm=0.4; #Void fraction of static bed\n", + "rhos=2500.; #Density of solid in the bed in kg/m**3\n", + "Lm=1.2; #Height of static bed in m\n", + "Fo=3000; #Feed rate in kg/hr\n", + "beta1=1.2; #Increase in density of solids\n", + "dp=array([3,4,5,6,7,8,9,10,11,12,3,14,16,18,20,22,24,26,28,30])*10**-2;#Size of particles in mm\n", + "po=[0,0.3,0.8,1.3,1.9,2.6,3.5,4.4,5.7,6.7,7.5,7.8,7.5,6.3,5.0,3.6,2.4,1.3,0.5,0];#Size distribution of solids in mm**-1\n", + "k=array([0,10,9.75,9.5,8.75,7.5,6.0,4.38,2.62,1.20,0.325,0,0,0,0,0,0,0,0,0])*10**-4;#Elutriation constant in s**-1\n", + "pi=3.14;\n", + "\n", + "#CALCULATION\n", + "W=(pi/4*dt**2)*Lm*(1-ephsilonm)*rhos;#Weight of solids in bed\n", + "n=len(dp);\n", + "i=0;\n", + "F1guess=1000.;#Guess value for F1\n", + "F1c=linspace(2510,2700,10);\n", + "F1 = zeros(n)\n", + "x = zeros(n)\n", + "c = zeros(n)\n", + "a = zeros(n)\n", + "while i