

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The solution to a two-point boundary value problem (tpbv) for substrate and product concentration profiles in a spherical gel with product inhibition. The problem is solved using the 'sbval' function in mathcad. The boundary conditions, dimensionless model parameters, and rate expression, as well as instructions for transforming the equation into two first-order ordinary differential equations (odes) and evaluating the initial conditions. The document also includes the values of the substrate and product concentrations at r=1 and the effectiveness factor.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


1 tpbv3.mcd
Solve substrate/product concentration profiles in a spherical gel (WITH PRODUCT INHIBITION)
One two-point boundary value (TPBV) problem solved with "sbval"; will take 3 minutes.
Instructor: Nam Sun Wang
d
2
s
dr
2
r
ds
dr
φ
2
v( )s B.C.: s( 1 ) 1
ds( 0 )
dr
d
2
p
dr
2
r
dp
dr
φ
2
v( s p, ) B.C.: p( 1 ) p
dp( 0 )
dr
dp( 1 )
dr
ds( 1 )
dr
p1 1
(automatically true)
Dimensionless model parameters and rate expression:
i 1 .. 25 s
i
i 0.
β 1 Γ 10 γ 1 j 1 .. 25 p
j
j 0.
v( s p, )
s
s
β
Γ s
2 . γ p
i j,
v s,
i
p
j
φ 7
Transform the above equation into two 1st-order
ODEs with the relationship: p=1+p1-s
dsdr( r s z, , ) z
dzdr( r s z, , )
φ
2
v( s 1, p1 s)
2 if r 0 , ,
φ
2
v( s 1, p1 s )
z
r
ODE( r y, )
dsdr r y, ,
1
y
2
dzdr r y, ,
1
y
2
Use sbval function to evaluate the initial conditions:
guess
1
0 y
initial
( r guess, )
guess
1
y
final
( r y, ) y
1
1 ← target is 1
y0 sbval guess 0 1 ODE y , , , , ,
initial
y
final
y0 =0.295 ← MathCAD's guess of s(0)
Set the initial condition:
y
initial
y
1
Integrate ODE N 100 i 1 ..N
yout rkfixed y , , , ,
initial
Use our own variable names
r
i
yout
i 1,
s
i
yout
i 2,
dsdr
i
yout
i 3,
Values at r=
s =
N
0.986 dsdr =
N
2 tpbv3.mcd
Plot of substrate/product profiles p
i
1 p1 s
i
0 0.5 1
0
1
2
s
i
p
i
r
i
Compute the effectiveness factor, which is (observed rate / max rate without mass transfer limitation):
η
dsdr
N
φ
2
v( 1 p1, )
η =1.