Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5 . 3 Chemical Reaction and Diffusion in Pore The differential equation for diffusion and reaction in a pore is given by d 2 C

5.3 Chemical Reaction and Diffusion in Pore
The differential equation for diffusion and reaction in a pore is given by
d2Cdx2-kDC=0
Let us define
m=kD2
Thus the differential equation can be written as
d2Cdx2-m2C=0
The boundary conditions are
atx=0
C=CS
and at x=L
dCdx=0
where CS is the concentration at the surface of the pore.
EXAMPLE 5.8 Diffusion and reaction take place in a pore of 1mm in length. The rate constant of the reaction, k=10-3s-1 and effective diffusivity of species, D=10-9m2s. Make 100 parts of the pore and determine the concentration at x=0.5mm. The concentration at the surface of the mouth of the pore is 1molm3.
Solution We have
m=kD2=10-310-92=1000m-1
The pore length is 1mm=10-3m and 100 parts are made, thus x=10-3100=10-5m. The schematic diagram of the pore is shown in Fig. 5.10. The first node is labelled 0 and therefore the last node is the 100th node as 100 parts are made.
C=
-0
The boundary conditions are
At x=0:,C=1
At x=10-3m:,dCdx=0
Discretizing the differential equation at node i, we get
C1+1+C1-1-2C1x2-106C1=0
At node 1
C2+C0-2C1x2-106C1=0
It is given that C0=1, therefore
C2+1-2C1x2-106C1=0
Substituting the value of x=10-5m, we get
C2+1-2C1-10610-10C1=0
Simplifying, we get
-2.0001C1+C2=-1
At node 2
C3+C1-2C2x2-106C2=0
C3+C1-2C2-10-4C2=0
C1-2.0001C2+C3=0
At node 99
C100+C98-2C99x2-106C99=0
C100+C98-2C99-10-4C99=0
C98-2.0001C99+C100=0
At node 100
C101+C99-2C100x2-106C100=0
C101+C99-2C100-10-4C100=0
But dCdx=0; thus C101-C992x=0 and therefore C101=C99.
Substituting C101=C99 in the previous equation, we get
2C99-2.0001C100=0
The 100 equations can be written in tridiagonal form as
The solution can be obtained by modifying the parameters to N to N and to N-1 and to N in Program 1.1 given in the Appendix. From the results, we get C=0.73 at node
a please give matlab code for above above please give all steps
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Methane Conversion Routes Status And Prospects

Authors: Vladimir Galvita, René Bos

1st Edition

1788014308, 978-1788014304

More Books

Students also viewed these Chemical Engineering questions

Question

What media access control technique does your class use?

Answered: 1 week ago

Question

Demonstrate three aspects of assessing group performance?

Answered: 1 week ago