Chemical Absorber And Thomas Algorithm For A Tridiagonal Matrix Find Vapour/Liquid Stream And Fraction Of Component

Posted Under: Chemistry

Ask A Question
DESCRIPTION
Posted
Modified
Viewed 17
Hi, I would like to have a MATLAB code that can do the Thomas algorithm of a trigonal matrix for a chemical problem. I do NOT need a step by step guide to explain the code. The code must be based on an example in the chemistry book Separation Process Principles- Chemical and Biochemical Operations, 3rd Edition EXAMPLE 10-4. The textbook can be found available for free online. The absorber problem is solved by using figure 10.16, with the SR-method. Nescarry equations include: 10-7,10-8,10-9,10-10,10-11, 10-12 (which is the matrix for the thomas algorithm), 10-33, 10-34 and figure 10.4. The code should get the input of F, U=0,W=0,z,K, initial guess of V=[800,800,800,800,800,800] and L=[165,165,165,165,165,165] for first round). And print for each run the output: The Vapour stream of each stage(V), the liquid stream of each stage(L) , and The x and y values of each component in each stage (after normalizing). For this code consider the K-values constant for each of the components. This means that when the textbook says to compute new Tj from 10-5, and set k=k+1 in figure 10.6 just ignore it. The code should only adjust the tear variable Vj, and skip the last steps of figure 10.6. The problem is an absorption process with 6 stages. However, it would be nice if it was able to adjust the number of stages. No need to compute the temperature. In the file, I have shown an example of what I have tried to do but in excel. Thank you in advance!
Attachments
Explanations and Answers 0

No answers posted

Post your Answer - free or at a fee

Login to your tutor account to post an answer

Posting a free answer earns you +20 points.

Login

NB: Post a homework question for free and get answers - free or paid homework help.

Get answers to: Chemical Absorber And Thomas Algorithm For A Tridiagonal Matrix Find Vapour/Liquid Stream And Fraction Of Component or similar questions only at Tutlance.

Related Questions