1. Homepage
  2. Programming
  3. CHEE 390 Computational Methods in Chemical Engineering - Project #2 Transient Diffusion in Hygroscopic Cylinders

CHEE 390 Computational Methods in Chemical Engineering - Project #2 Transient Diffusion in Hygroscopic Cylinders

Engage in a Conversation
McGillCHEE 390Computational Methods in Chemical EngineeringTransient Diffusion in Hygroscopic CylindersMatlab

Project #2
CourseNana.COM

Transient Diffusion in Hygroscopic Cylinders CourseNana.COM

Instructor: Professor Phillip Servio (398-1026) Instructions CourseNana.COM

This computer project must be completed using MATLAB®. You must work individually and submit a report electronically as a PDF along with all the m-files required to execute your code. All the files must be contained within 1 zip file. Instructions necessary to execute your code must be imbedded as comments in your m-files. In order to submit your assignment, you will click on the reply to all in the project submission email that I will send out approximately 1 week before the assignment is due. CourseNana.COM

Problem Statement CourseNana.COM

You work for a company that specializes in designing equipment in order to dehumidify air. In the past, the company used silica beads but you and your team have developed a novel material with superior performance in the shape of a cylinder. The process can be seen in figure 1, utilizing a square cuboid chamber design. When the cylindrical desiccant becomes saturated inside the chamber, they are replaced with new ones. The saturated cylinders, which can not absorb anymore water, are then dried to their original state and ready for reuse. CourseNana.COM

Air + Water Air
Hygroscopic Cylinders of CourseNana.COM

length, L CourseNana.COM

Figure 1: Schematic of the square cuboid chamber used to dehumidify air with novel hygroscopic cylinders. CourseNana.COM

You are now asked to write a program using MATLAB® to predict the spatial concentration dependence of the hygroscopic cylinders in the square cuboid chamber, from r = [0 , r0] as a function of time during the absorption process. The equation for the dimensionless concentration of water in a hygroscopic cylinder during CourseNana.COM

the absorption process,θ*w, as a function of the dimensionless time parameter, Fom, and the dimensionless position, r*, is given by the following relations: CourseNana.COM

* Cw,iCw 2 *
θw =C C =1Gnexp(−ζnFo)Jonr) (1) CourseNana.COM

w,n=1 CourseNana.COM

o
Gn = 2 J1n) (4) CourseNana.COM

Fom = DABt r 2o CourseNana.COM

(2) r* = r (3) CourseNana.COM

ζn J 20n)+J 21n)
The values of ζn are the positive roots (0 < ζn < ∞) of the following transcendental equation: CourseNana.COM

0 = Bi−ζ J1n) (5) n J0n) CourseNana.COM

Bim = hmr DAB
CourseNana.COM

Equation 5 must be solved using a numerical root finding technique such as Brent’s Method. Brent’s method is a popular technique used for finding roots of equations of the form F(x)=0. Although it is more algebraically complicated than standard root finding methods that we have discussed in class, it has convergence characteristics (superlinear) that are comparable to the Newton-Raphson method (quadratic). Brent’s method uses interpolation and will reliably locate a root once an interval bracketing a sign change has been found. Unfortunately, just like the Newton-Raphson Method, Brent’s method also behaves badly in the vicinity of a singularity! CourseNana.COM

After bracketing a sign change, the method then uses the bisection method or linear interpolation to locate a point, x2, which lies in-between the bracketed interval x1 & x3 such that x1 < x2 < x3. The method then uses inverse quadratic interpolation of the 3 points on F(x) associated with these positions to iteratively improve the value of the root that has been bracketed. The inverse quadratic function which passes through the 3 points is directly given by the Lagrange interpolation polynomial and is shown in the algorithm below. It is your responsibility to modify the below algorithm to deal with singularities that cause instability in Brent’s Method (Point III). NOTE: Please explain in the report section why you would use the bisection method in this scenario over incremental search or linear interpolation. CourseNana.COM

Brent’s Method CourseNana.COM

  1. Choose an increment ∆x which is small compared to the interval being searched [x0 , xf]. CourseNana.COM

  2. Locate 2 positions using incremental search and label them x1 & x3 (x3 – x1 = ∆x) such that y1 ∙ y3 < 0 or CourseNana.COM

    until x > xf . CourseNana.COM

  3. Find the position x2 (x1 < x2 < x3) where the straight line connecting (x1, y1) & (x3 ,y3) intersects the x- CourseNana.COM

x2 =(x1 y3x3 y1) (y3 y1) CourseNana.COM

IV. Find a better estimate of the root, x4, where x4=x2+qp CourseNana.COM

  1. Evaluate y4=f(x4) CourseNana.COM

  2. Set x2=x4 & y2=y4 CourseNana.COM

p=s[t(rt)(x3x2)−(1r)(x2x1)] q=(r1)(s1)(t1) CourseNana.COM

r=y2 s=y2 & t=y1 y3 y1 y3 CourseNana.COM

IF x1<x4<x2 x3=x2 & y3=y2 CourseNana.COM

ELSE CourseNana.COM

x1=x2 & y1=y2 CourseNana.COM

VII. Repeat steps IV, V & VI until |p/q|Tol x4 CourseNana.COM

Report CourseNana.COM

Each person is required to submit a report. Some of the results that you can expect are given below in CourseNana.COM

Figure 2, which shows the dimensionless concentration,θ*w, vs dimensionless position, r*, for varying Fourier CourseNana.COM

numbers, Fom. You must vary the Biot number, Bim = {0.01, 0.1, 1, 10, 1000}, as well as the Fourier number, Fom = [0 , 2] and comment on the validity of the first term approximation assumption, Fom > 0.2, and the lumped capacitance assumption, Bim < 0.1, in your discussion. CourseNana.COM

The first term approximation assumption implies that if the dimensionless time parameter is greater than 0.2, Fom > 0.2, only 1 term of the infinite series is required to give an adequate estimate of the concentration profile. In other words, you only need 1 eigenvalue! The lumped capacitance assumption states that if the Biot number is less that 0.1, Bim < 0.1, the concentration profile is independent of spatial effects. CourseNana.COM

Your program must also have the capability of telling the user how long it takes for the centerline dimensionless concentration,θ*w(0,Fom), to reach a specific value. This is important because the centerline concentration has the slowest response with respect to time compared to any other position. In other words, all other concentrations at any other location will be higher in this process than the centerline value, see figure 2. CourseNana.COM

The format of the report should be as follows: CourseNana.COM

  1. Title page CourseNana.COM

  2. Objective CourseNana.COM

  3. Flowchart CourseNana.COM

  4. Results & Discussion CourseNana.COM

  5. Conclusion CourseNana.COM

  6. Nomenclature CourseNana.COM


  7. CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
McGill代写,CHEE 390代写,Computational Methods in Chemical Engineering代写,Transient Diffusion in Hygroscopic Cylinders代写,Matlab代写,McGill代编,CHEE 390代编,Computational Methods in Chemical Engineering代编,Transient Diffusion in Hygroscopic Cylinders代编,Matlab代编,McGill代考,CHEE 390代考,Computational Methods in Chemical Engineering代考,Transient Diffusion in Hygroscopic Cylinders代考,Matlab代考,McGillhelp,CHEE 390help,Computational Methods in Chemical Engineeringhelp,Transient Diffusion in Hygroscopic Cylindershelp,Matlabhelp,McGill作业代写,CHEE 390作业代写,Computational Methods in Chemical Engineering作业代写,Transient Diffusion in Hygroscopic Cylinders作业代写,Matlab作业代写,McGill编程代写,CHEE 390编程代写,Computational Methods in Chemical Engineering编程代写,Transient Diffusion in Hygroscopic Cylinders编程代写,Matlab编程代写,McGillprogramming help,CHEE 390programming help,Computational Methods in Chemical Engineeringprogramming help,Transient Diffusion in Hygroscopic Cylindersprogramming help,Matlabprogramming help,McGillassignment help,CHEE 390assignment help,Computational Methods in Chemical Engineeringassignment help,Transient Diffusion in Hygroscopic Cylindersassignment help,Matlabassignment help,McGillsolution,CHEE 390solution,Computational Methods in Chemical Engineeringsolution,Transient Diffusion in Hygroscopic Cylinderssolution,Matlabsolution,