Chemical Engineering Hand Written_Notes_Part_38

# Chemical Engineering Hand Written_Notes_Part_38 - 78 3...

This preview shows pages 1–2. Sign up to view the full content.

78 3. LINEAR ALGEBRAIC EQUATIONS AND RELATED NUMERICAL SCHEMES factor ω > 1 and get (4.29) e y y = ω ( b y y ) (4.30) or e y = ω b y + (1 ω ) y This ampli fi cation process is an extrapolation and is an example of over- relaxation . If the intermediate value b y tends to overshoot target y , then we may have to use ω < 1 ; this is called under-relaxation . Application of over-relaxation to Gauss-Seidel method leads to the fol- lowing set of equations ˜ x ( k +1) i = x ( k ) i + ω [ x ( k +1) i x ( k ) i ] (4.31) i = 1 , 2 , ..... n where x ( k +1) i are generated by Gauss-Seidel method, i.e., x ( k +1) i = μ 1 a ii " b i i 1 X j =1 a ij x ( k +1) j n X j = i +1 a ij x ( k ) j # (4.32) i = 1 , 2 , ..... n With some algebraic manipulations, the above equations can be rearranged in vector matrix form as follows (4.33) ( D + ωL ) x ( k +1) = [(1 ω ) D ωU ] x ( k ) + ω b Relaxation Algorithm INITIALIZE : b , A, x , k max , ε, ω k = 0 δ = 100 ε WHILE [( δ > ε ) AND ( k < k max )] FOR i = 1 : n q i = b i n P j =1 a ij x j z i = x i + ( q i /a ii ) x i = ωz i + (1 ω ) x i END FOR r = b A x T c = k r k / k b k k = k + 1 END WHILE

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
4. ITERATIVE SOLUTION TECHNIQUES FOR SOLVING
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern