170 likes | 362 Views
PETE 603. Lecture Session #28 Tuesday, 7/27/10. Direct/Iterative Methods. Iterative methods (systems of linear equations) Computer time increases more linearly with the number of unknowns Convergence criteria must be considered. CPU Time. Iterative. Direct. Number of Unknowns.
E N D
PETE 603 Lecture Session #28 Tuesday, 7/27/10
Direct/Iterative Methods • Iterative methods (systems of linear equations) • Computer time increases more linearly with the number of unknowns • Convergence criteria must be considered CPU Time Iterative Direct Numberof Unknowns
3 6 9 12 2 5 8 11 1 4 7 10 Gauss-Seidel Iteration Application to Reservoir Simulation: Consider this system and the 2-D finite difference equation Ap = r We can write the equation for Block 5 and for a general block
Gauss-Seidel Iteration Rearrangement gives: Point Successive Overrelaxation (PSOR)
LSOR Iteration Again, consider this system and the 2-D finite difference equation Ap = r Now write all of the equations for the 2nd column (first column unknowns already updated):
Gauss-Seidel Iteration These can be written Use the latest iteration for the East and West pressures, and solve using the Thomas Algorithm This is Line Successive Overrelaxation (LSOR)
6 12 18 24 4 10 16 22 2 8 14 20 5 11 17 23 3 9 15 21 1 7 13 19 Gauss-Seidel Iteration Now, consider this system and the 3-D finite difference equation Ap = r Now, the equations for each layer or slice of rows or columns can be written, and at each iteration, a 2-D matrix equation must be solved. This is Block Successive Overrelaxation (BSOR). Top Bottom