1 / 15

Use of HPC to Predict Porous Media Properties and Flow in Hydrocarbon Reservoirs

Use of HPC to Predict Porous Media Properties and Flow in Hydrocarbon Reservoirs. Henry Neeman, 2 Dimitrios V. Papavassiliou 1 1 School of Chemical Engineering and Materials Science 2 School of Computer Science The University of Oklahoma. OSCER Symposium on High Performance Computing

june
Download Presentation

Use of HPC to Predict Porous Media Properties and Flow in Hydrocarbon Reservoirs

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Use of HPC to Predict Porous Media Properties and Flow inHydrocarbon Reservoirs Henry Neeman,2 Dimitrios V. Papavassiliou1 1School of Chemical Engineering and Materials Science 2School of Computer Science The University of Oklahoma OSCER Symposium on High Performance Computing Norman,Oklahoma, September 12-13

  2. The University of Oklahoma Integrated Reservoir Simulation Integrated Surface Field Plant LNG Facilities LPG wellhead well Condensate Fundamentals of Data Input for Wellbore Rock Physics Corrosion Models and Fluid Flow P S l S r r iw Reservoir Simulation Deliverability of Gas Condensate Reservoirs

  3. The University of Oklahoma Hierarchical Multiscale Simulator Technology (HiMuST) Develop an integrated, multiscale Problem Solving Environment consisting of software components that simulate, using a hierarchy of scales, the 3D flow through anisotropic porous media, both for Darcy and non-Darcy flow. Method LBM (Pores) Pore Network Model (Representative Volume) Multiscale Simulation (Reservoir Scale) Results Data NMR digital images Pore size distribution Porosity Permeability tensor -Allocate resources -Decide on methods

  4. The University of Oklahoma Hierarchical Multiscale Simulator Technology (HiMuST)

  5. The University of Oklahoma Level 1: Pore scale simulation Advantages of the Lattice Boltzmann Method • It is based on first principles. • It is substantially parallelizable. • It can handle irregular boundaries. • It is equivalent to 2nd order accurate Navier-Stokessolver (Chen et al., 1992) Discretization • The porous medium is divided into a 3D network of nodes. • Each node inside the solid material is set as a “wall” node and is unavailable for flow.

  6. 413: 863s on 1 proc 1053: 30358s on 1 proc The University of Oklahoma Autoparallelization Speedup SGI Origin 2000 (@NCSA), MIPSpro compiler.

  7. The University of Oklahoma Current Parallelization Effort Done: • Code has been translated to standard Fortran90 code. • Optimization of computational efficiency of the program. • Reordering of arrays (e.g. A(k,j,i) instead of A(i,j,k)) to improve data locality (23% increase in execution speed) • Change to array notation and nested loops (e.g. avoid A=B, where A,B are arrays) to improve data locality (330% increase in execution speed !! ) • Simulation of single phase flow through unconsolidated media. To Do: • Simulate two-phase flow through realistic porous material (X-ray tomography images). • Use Message Passing Interface to improve parallel performance

  8. Collection of Pipes (e.g., Haring & Greenkorn) The University of Oklahoma Level 2: Pore Network Representation Pores and throats Array geometry (e.g., Dias & Payatakes; Mohanty et al)

  9. The University of Oklahoma Pore Network Modeling The Code • Network geometry module • Two versions: • 2D with two geometries (Fortran 90) • 2D and 3D with fully random configuration (C++) • Capability to use experimentally observed pore size distributions • Common output format for network geometry • Flow module • Network geometry read interface • Single phase, incompressible, maximum C=3 • Momentum, mass and energy balances • Non-linear system of equations (order of 3N) • Newton’s method with direct solvers • Solving for velocity and pressure drop • Goal: obtain permeability and Forchheimer coefficient

  10. 4 2 1 5 3 6 The University of Oklahoma Original Flow Matrix Structure Example Pipe Network Matrix Structure (Newton’s Method) • Problem: system of equations • is very hard to solve! • Failed: • LAPACK • PETSc • QMRPack • Succeeded: • IMSL (sometimes)

  11. Improved Flow Matrix Structure The University of Oklahoma Improved Flow Matrix Structure Original Matrix Structure Improved Matrix Structure The new matrix structure is smaller, but that’s not what makes it interesting . . . .

  12. Permuted Flow Matrix Structure The University of Oklahoma Improved Matrix Structure After Permuting Rows The permuted matrix is lower triangular! Properties: 1 – 4 nonzero entries per row # of rows < 3 * Npr Therefore: can solve in O(Npr) via substitution!

  13. The University of Oklahoma Level 3: Macroscopic scale AnisotropicNon-Darcy Integrated Reservoir Simulator ANDIRS Done: • Code has been written in standard Fortran90. • Implicit methods. • 2D simulation with anisotropic permeability. • Validation of 2D results To Do: • Further improve the numerical scheme - Use iterative solvers • Incorporate well equations • Incorporate anisotropic, non-Darcy flow cases

  14. The University of Oklahoma ANDIRS – Implicit methods, Anisitropy Kxx=120mD, Kyy=80mD Kxy=Kyx=0 Kxx=100mD, Kyy=100mD Kyx=Kxy=20mD Single – spot pattern, 20 days, Lx=Ly=100m, f=25%

  15. The University of Oklahoma Summary • Scope: Develop multiscale, hierarchical simulator. • Each software component (scale) is stand-alone. • Prediction of porous media properties with a computational approach based on measurable properties, such as pore size distribution and porosity. Acknowledgements: • National Computational Science Alliance CTS990021N (NCSA SGI Origin2000) • National Science Foundation, NSF-CMS-00084554 • American Chemical Society, ACS-PRF35103-G9

More Related