COMSOL Multiphysics Models For Teaching Chemical Engineering Fundamentals
COMSOL Multiphysics Models For Teaching Chemical Engineering Fundamentals
x y d d
− (Gy ) = ( Lx)
dz dz
− (Gy ) = ( Lx) = K y a ( y − ye )
d d
dz dz
G0 dy
0=− − K y a( y − ye )
(1 − y ) dz
2
Z G0 yt dy
Z =∫
K y a ∫yb (1 − y ) 2 ( y − ye)
dz =
0
G yt dy
K ya = 0
Z ∫yb (1 − y) 2 ( y − ye)
Traditional Analysis
300
0.2
b
0.18
250
0.16 operating line
0.14 200
0.12
y
f(y)
0.1 150
0.08 t
0.06
equilibrium line 100
0.04
50
0.02
0 0
0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 0.05 0.1 0.15 0.2
x (x 104) y
1 integrate graphically
f ( y) =
(1 − y ) 2 ( y − ye) G yt dy
K ya = 0
Z ∫yb (1 − y) 2 ( y − ye)
MATLAB Analysis
% run_absorber.m
global L0 G0 xb yb yt H
H=1420;Z = 1.372;S = 0.00456;
L0 = 1.06*1000/60/18/S;
G0 = 1.42*1000/(100^3*60*0.022415)/S;
yb = 0.185; yt = 0.099;
OPTIONS=[];
xb = fzero(@xbofy,0.0001,OPTIONS,yt)
NTU = quadv(@funy,yt,yb) yt dy
HTU = Z/NTU Evaluates ∫yb (1 − y) 2 ( y − ye)
Kya = G0/HTU*3600
%xbofy.m
%mass balance used to find xb, outlet liquid
%phase mole fraction
function f = xbofy(x,y)
global L0 G0 xb yb yt H
f=y-(yb/(1-yb)+L0/G0*(-x/(1-x)))/(1+yb/(1-yb)+L0/G0*
(-x/(1-x)));
MATLAB Analysis
% funy.m
% function to integrate to get NTU
function f = funy(y)
global L0 G0 xb yb yt H
OPTIONS=[];
x=fzero(@xofy,0.00001,OPTIONS,y); Finds x for every y and
ye=H*x;
f = 1/((1-y)^2*(y-ye)); ye at every x
%xofy.m
%finds x at every y for operating line
function f = xofy(x,y)
global L0 G0 xb yb yt H
f=y-(yb/(1-yb)+L0/G0*(x/(1-x)-xb/(1-xb)))/(1+yb/(1-
yb)+L0/G0*(x/(1-x)-xb/(1-xb)));
>> run_absorber
xb = 1.2597e-004
NTU = 3.3846
HTU = 0.4054
Kya = 2.0563e+003
COMSOL Analysis
Gas and liquid phases treated separately in the same geometry
2-D axial symmetry with mapped mesh using actual dimensions
(1-D and 3-D also work well but 2-D-as gives the best visual results)
Equations
∇ • (− Dg∇cg ) = R − u • ∇cg ∇ • (− Dl∇cl ) = R − u • ∇cl
R = − K y a (1 − y ) ( y − ye) R = K y a ( y − ye)
Expressions vg = vg / (1-y)
0
y = (cg R T) / P
x = (cl MW)/(ρ)
ye = H x
Boundary Conditions
Insulation and symmetry, fixed inlet concentrations,
convective flux at outlets
COMSOL Analysis
Using Kya from traditional analysis we can reproduce the experimental results.
Alternatively, Kya that best fits the data can be obtained using the parametric solver.
Advantages of COMSOL Analysis
• More straightforward and easier to use than
MATLAB or traditional graphical analysis
• Gives colorful, visual representation of
concentration profile
• Additional post processing can provide a wide
variety of information with little or no further
effort
• Heat effects, variable mass transfer coefficients,
and chemical reactions can be included easily
Two-Film Theory
Overall resistance is described as sum of individual resistances
1 1 H Equilibrium at interface , y P = H x
= +
K ya k ya kxa
interfacial area
Flux across the interface = (Dl / tl) (cli – cl) = (Dg / tg) (cg – cgi)
Experiment
Theory Simulation