In this problem, we will look at the two-dimensional diffusion problem with a reactive surface at one

Question:

In this problem, we will look at the two-dimensional diffusion problem with a reactive surface at one of the boundaries. The steady state PDE in the domain isac a2x + ac 81 = 0

Along all of the non-reactive boundaries, we will set the concentration to unityc(x,-1) = c(-1, y) = c(1, y) = 1

On the upper boundary at y = 1, we will have a first-order reaction that consumes the reactant|| -kc

(Note that the negative sign comes from the direction of the normal vector to the reactive surface.) In the dimensionless form of this problem, the quantity k is the Dämkohler number.

Write a MATLAB program that solves this problem using 101 grid points in x and y and centered finite differences. Include a list of all of the equations that you need to
TH.1 K Tc Figure 7.17 Geometry for Problem 7.23. Lx TH,2 K Tc Ly

solve this problem. Even with only 101 grid points in each direction you have a very large matrix (n2 = 10201), so take advantage of the sparse matrix solver. In the first use of your program, make a surface plot of the concentration as a function of position for k = 1. If you think a bit about the problem, you should be able to tell if your numerical solution makes sense or not. Include this plot with your written solution. Now have your program make a plot of the concentration at the reactive surface for the following values of the Dämkohler number: k = 0, 0.1, 0.2, 0.5, 0.75, 1, 2, 3, 5, 10, 20, 100. Include an explanation of its behavior.

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: