Docsity

Spherical Gel: Solving Concentration Profiles with Product Inhibition - Prof. Nam Sun Wang, Assignments of Chemistry

Toggle sidebar
bg1
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
.
d2s
dr2.
2
r
ds
dr .
φ2v( )s B.C.: s( )1 1 ds( )0
dr 0
.
d2p
dr2.
2
r
dp
dr .
φ2v( ),s p B.C.: p( )1 p1 dp( )0
dr 0dp( )1
dr
ds( )1
dr
p1 1 (automatically true)
Dimensionless model parameters and rate expression: i ..1 25 si.
i 0.05
β1Γ10 γ1 j ..1 25 pj.
j 0.1
v( ),s p s
1s
β
.
Γs2.
γp
V,i j v ,sipj
0.131
0.014
V
φ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 .
φ2v( ),s 1 p1 s .
2 if ,,r 0 .
φ2
3v( ),s 1 p1 s z
r
ODE( ),r y dsdr ,,r y1y2
dzdr ,,r y1y2
Use sbval function to evaluate the initial conditions:
guess10 y initial( ),r guess guess1
0yfinal( ),r y y11← target is 1
y0 sbval ,,,,,guess 0 1 ODE y initial yfinal
=y0 0.295 ← MathCAD's guess of s(0)
Set the initial condition:
yinitial
y01
0
Integrate ODE N 100 i ..1 N
yout rkfixed ,,,,y initial 0 1 N ODE
Use our own variable names
riyout ,i 1 siyout ,i 2 dsdriyout ,i 3
Values at r=1
=sN0.986 =dsdrN1.388
pf2

Partial preview of the text

Download Spherical Gel: Solving Concentration Profiles with Product Inhibition - Prof. Nam Sun Wang and more Assignments Chemistry in PDF only on Docsity!

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

V

i j,

v s,

i

p

j

V

φ 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

0 1 N ODE

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.