Countercurrent-Flow Model for Gas Separation by Membranes Authors: Housam Binous and Ahmed Bellagi
Countercurrent-Flow Model for Gas Separation by Membranes Authors: Housam Binous and Ahmed Bellagi
reference : H . Binous, Gas Permeation Computations with Mathematica®, Chemical Engineering Education, 40 (2), pp . 140 - 144, 2006.
We compute the permeate and residue compositions obtained using a membrane separation module . Membrane area is also computed . Feed is air and is considered as a binary mixture . Countercurrent-flow mixing model is used . We use the shooting technique in order to determine the surface area of the separation module.
Reference:
C. J. Geankoplis, Transport Processes and Unit Operations, 3rd edition, Prentice Hall, 1993.
W. P. Walawender and S. A. Stern, Separation Science, 7 (5), pp. 553-584, 1972.
C. J. Geankoplis, Transport Processes and Unit Operations, 3rd edition, Prentice Hall, 1993.
W. P. Walawender and S. A. Stern, Separation Science, 7 (5), pp. 553-584, 1972.
The separation factor for this binary mixture (components A and B) that we want to separate by membrane permeation is ==10.
*
α
P'
A
P'
B
In[]:=
α=10;
The pressure of the feed side is =190cmHgwhile =19 cmHg is the pressure on the permeate side.
p
h
p
l
In[]:=
p
l
In[]:=
p
h
Stage cut is equal to θ=0.2. The material balance is given by the following equation:
In[]:=
θ=0.2;
Mole fraction at end of separation module is .It is related to by the following equation:
y
i
x
0
In[]:=
sol=Solve[y/(1-y)(α((xo-/y)/(1-xo-/(1-y)))),y]
p
l
p
h
p
l
p
h
Out[]=
y19+90xo-19+90xo+
1
18
361-180xo+8100
,y2
xo
1
18
361-180xo+8100
2
xo
In[]:=
yi=y/.sol[[1]];
t= 2.54 cm is membrane thickness. =(1-θ)is reject out flow rate. =1(STP)/s is feed flow rate. =50 (STP)cm(scmHg)is the permeability of component B. Governing equations for mole fraction x and y in the reject and permeate sides are given by:
-3
10
q
O
q
f
q
f
6
10
3
cm
P'
B
-10
10
3
cm
2
cm
L'Hôpital rule gives the derivatives as 0.
A
m
In[]:=
q
O
In[]:=
t=2.54 10^-3;
In[]:=
P'
B
In[]:=
eq1[a_]:=D[x[],{,1}]If[0,Evaluate[()/(t)α(xo/-yi)(xo-yi)/yi/.t->2.5410^-3/.->190/.->19/.α->10/.->5010^-10/.->810^5/.xoa],Evaluate[()/(t)(x[]-y[])/(y[]-xo)((1-x[])α(/x[]-y[])-x[](/(1-x[])-(1-y[])))/.t->2.5410^-3/.->190/.->19/.α->10/.->5010^-10/.->810^5/.xoa]]
A
m
A
m
A
m
p
l
P'
B
q
O
p
h
p
l
p
h
p
l
P'
B
q
O
p
l
P'
B
q
O
A
m
A
m
A
m
A
m
p
h
p
l
A
m
A
m
A
m
p
h
p
l
A
m
A
m
p
h
p
l
P'
B
q
O
In[]:=
eq2[a_]:=D[y[],{,1}]If[0,Evaluate[(xo-yi)/(α-yi(α-1))/((t)/()-((xo-yi)/(()/(t)α(xo/-yi)(xo-yi)/yi))((α-1)(2yi-/xo-1)-/))/.t->2.5410^-3/.->190/.->19/.α->10/.->5010^-10/.->810^5/.xoa],Evaluate[()/(t)(x[]-y[])/(x[]-xo)((1-y[])α(/x[]-y[])-y[](/(1-x[])-(1-y[])))/.t->2.5410^-3/.->190/.->19/.α->10/.->5010^-10/.->810^5/.xoa]]
A
m
A
m
A
m
p
h
p
l
q
O
p
l
P'
B
p
l
P'
B
q
O
p
h
p
l
p
h
p
l
p
h
p
l
p
h
p
l
P'
B
q
O
p
l
P'
B
q
O
A
m
A
m
A
m
A
m
p
h
p
l
A
m
A
m
A
m
p
h
p
l
A
m
A
m
p
h
p
l
P'
B
q
O
In[]:=
eq3[a_]:=y[0]yi/.xo->a
In[]:=
myODEsoln[Ω_,xo_]:=NDSolve[{eq1[xo],eq2[xo],eq3[xo],x[0]xo},{x[],y[]},{,0,Ω}]
A
m
A
m
A
m
Use FindRoot to compute surface area of the separation module. Surface area and must verify =0.209andthematerialbalance. Surface area sign must reversed.
x
O
x
f
In[]:=
Off[InterpolatingFunction::dmval]
In[]:=
Off[NDSolve::ndsz]
In[]:=
Off[General::spell1]
In[]:=
xend[Ω_?NumericQ,xo_?NumericQ]:=Flatten[(x[]/.myODEsoln[Ω,xo])/.Ω]yend[Ω_?NumericQ,xo_?NumericQ]:=Flatten[(y[]/.myODEsoln[Ω,xo])/.Ω]=FindRoot[{xend[Ω,xo]0.209,0.2yend[Ω,xo]+0.8xo0.209},{Ω,-5.10^8,-1.10^8},{xo,0.05,0.3},MaxIterations1000]
A
m
A
m
A
m
A
m
P
sol
Out[]=
{Ω-2.85971×,xo0.117169}
8
10
Surface area sign must reversed. Surface area is equal to 2.85971 and reject out mole fraction = 0.117169
8
10
2
cm
x
O
In[]:=
P
sol
Out[]=
{Ω-2.85971×,xo0.117169}
8
10
Checking the values of the mole fractions x and y at the entrance and exit of the module. Permeate mole fraction is 0.576323 and reject out mole fraction = 0.117169.
x
O
In[]:=
x[]/.myODEsoln[Ω/.,xo/.]/.Ω/.
A
m
P
sol
P
sol
A
m
P
sol
Out[]=
{0.209}
In[]:=
x[]/.myODEsoln[Ω/.,xo/.]/.0
A
m
P
sol
P
sol
A
m
Out[]=
{0.117169}
In[]:=
y[]/.myODEsoln[Ω/.,xo/.]/.Ω/.
A
m
P
sol
P
sol
A
m
P
sol
Out[]=
{0.576323}
In[]:=
y[]/.myODEsoln[Ω/.,xo/.]/.0
A
m
P
sol
P
sol
A
m
Out[]=
{0.461436}
Checking Material Balance: θ +(1-θ) = = 0.209
y
P
x
O
x
f
In[]:=
0.576323 0.2+0.117169 0.8
Out[]=
0.209
Plotting x and y versus surface area of the separation module.
In[]:=
First[y[]/.myODEsoln[Ω/.,xo/.]]/.area
A
m
P
sol
P
sol
A
m
Out[]=
InterpolatingFunction[area]
In[]:=
Plot[%,{area,0.001,Ω/.},PlotStyleRGBColor[1,0,0],Frame->True,GridLines->Automatic,AspectRatio->1,FrameLabel->{Style["Area / cm2",14],Style["permeate composition",14]}]
P
sol
Out[]=