reservoir simulation of million cell models on desktop
play

Reservoir Simulation of Million-Cell Models on Desktop Computers - PowerPoint PPT Presentation

Reservoir Simulation of Million-Cell Models on Desktop Computers KnutAndreas Lie SINTEF ICT, Dept. Applied Mathematics The 22nd Kongsberg Seminar, May 2009 Applied Mathematics 07/05/2009 1/26 Physical Scales in Porous Media Flow ... one


  1. Reservoir Simulation of Million-Cell Models on Desktop Computers Knut–Andreas Lie SINTEF ICT, Dept. Applied Mathematics The 22nd Kongsberg Seminar, May 2009 Applied Mathematics 07/05/2009 1/26

  2. Physical Scales in Porous Media Flow ... one cannot resolve them all at once The scales that impact fluid flow in oil reservoirs range from the micrometer scale of pores and pore channels via dm–m scale of well bores and laminae sediments to sedimentary structures that stretch across entire reservoirs. Applied Mathematics 07/05/2009 2/26

  3. Geological Models Articulation of the geologists’ perception of the reservoir Geological models: here: geo-cellular models describe the reservoir geometry (horizons, faults, etc) typically generated using geostatistics give rock parameters (permeability and porosity) Applied Mathematics 07/05/2009 3/26

  4. Geological Models Articulation of the geologists’ perception of the reservoir Geological models: here: geo-cellular models describe the reservoir geometry (horizons, faults, etc) typically generated using geostatistics give rock parameters (permeability Ex: Brent sequence and porosity) Rock parameters: have a multiscale structure details on all scales impact flow permeability spans many orders of Tarbert Upper Ness magnitude Applied Mathematics 07/05/2009 3/26

  5. Flow Simulation Gap in resolution and model sizes Gap in resolution: Geomodels: 10 7 − 10 9 cells Simulators: 10 5 − 10 6 cells Applied Mathematics 07/05/2009 4/26

  6. Flow Simulation Gap in resolution and model sizes Gap in resolution: Geomodels: 10 7 − 10 9 cells Simulators: 10 5 − 10 6 cells − → sector models and/or ⇓ upscaling of parameters Coarse grid blocks: ⇓ Flow problems: Applied Mathematics 07/05/2009 4/26

  7. Flow Simulation Gap in resolution and model sizes Gap in resolution: Geomodels: 10 7 − 10 9 cells Simulators: 10 5 − 10 6 cells − → sector models and/or ⇓ upscaling of parameters Coarse grid blocks: ⇓ ⇑ Flow problems: Applied Mathematics 07/05/2009 4/26

  8. Flow Simulation Gap in resolution and model sizes Gap in resolution: Geomodels: 10 7 − 10 9 cells Simulators: 10 5 − 10 6 cells − → sector models and/or ⇓ ⇑ upscaling of parameters Coarse grid blocks: ⇓ ⇑ Flow problems: Applied Mathematics 07/05/2009 4/26

  9. Flow Simulation Gap in resolution and model sizes Gap in resolution: Geomodels: 10 7 − 10 9 cells Simulators: 10 5 − 10 6 cells − → sector models and/or ⇓ ⇑ upscaling of parameters Coarse grid blocks: ⇓ ⇑ Flow problems: Applied Mathematics 07/05/2009 4/26

  10. Flow Simulation Gap in resolution and model sizes Gap in resolution: Geomodels: 10 7 − 10 9 cells Simulators: 10 5 − 10 6 cells − → sector models and/or ⇓ ⇑ upscaling of parameters Coarse grid blocks: Many alternatives: Harmonic, arithmetic, geometric, . . . Local methods ( K or T ) ⇓ ⇑ Global methods Flow problems: Local-global methods Pseudo methods Ensemble methods Applied Mathematics 07/05/2009 4/26 Steady-state methods

  11. Simulation on Seismic/Geologic Grid Why do we want/need it? Upscaling: bottleneck in workflow loss of information/accuracy not sufficiently robust extensions to multiphase flow are somewhat shaky Applied Mathematics 07/05/2009 5/26

  12. Simulation on Seismic/Geologic Grid Why do we want/need it? Upscaling: bottleneck in workflow loss of information/accuracy not sufficiently robust extensions to multiphase flow are somewhat shaky Simulation on seismic/geologic grid: best possible resolution of the physical processes faster mode building and history matching makes inversion a better instrument to find remaining oil better estimation of uncertainty by running alternative models Applied Mathematics 07/05/2009 5/26

  13. Examples North-Sea: Gullfaks field Bypassed oil (4D inversion vs simulation) Arnesen, WPC, Madrid, 2008 Applied Mathematics 07/05/2009 6/26

  14. Examples Giant Middle-East field Difference in resolution (10 million vs 1 billion cells) From Dogru et al., SPE 119272 Applied Mathematics 07/05/2009 7/26

  15. Examples Giant Middle-East field Difference in resolution (10 million vs 1 billion cells) From Dogru et al., SPE 119272 Applied Mathematics 07/05/2009 7/26

  16. Million-Cell Models on Desktop Computers How to get there..? Simplified flow physics “Full physics” is typically only required towards the end of a workflow Applied Mathematics 07/05/2009 8/26

  17. Million-Cell Models on Desktop Computers How to get there..? Simplified flow physics “Full physics” is typically only required towards the end of a workflow Operator splitting fully coupled solution is slow.. subequations often have different time scales splitting opens up for tailor-made methods Applied Mathematics 07/05/2009 8/26

  18. Streamline Simulation Operator splitting + Euler-Lagrangian formulation Applied Mathematics 07/05/2009 9/26

  19. Example Two SPE 10 models Producer A Injector Producer D Tarbert Upper Ness Producer B Producer C Inhouse code: 60 × 220 × 85 = 1 . 1 million cells 2000 days of production from five-spot, 25 time steps Intel 2.4 GHz with 2 GB RAM: multigrid: 8 min 36 sec multiscale: 2 min 22 sec Applied Mathematics 07/05/2009 10/26

  20. Example Two SPE 10 models Producer A Injector Producer D Tarbert Upper Ness Producer B Producer C Inhouse code: FrontSim: 60 × 220 × 85 = 1 . 1 million cells 360 × 440 × 85 = 13 . 5 million cells 2000 days of production from five-spot, Intel Xeon 5482, 64 Gb, 3.2 GHz 25 time steps Intel 2.4 GHz with 2 GB RAM: Single thread, 13.5 Gb RAM multigrid: 8 min 36 sec Computing time: 1 h 55 min multiscale: 2 min 22 sec Applied Mathematics 07/05/2009 10/26

  21. Fast Solution of Fluid Transport Optimal ordering: finite volumes (almost) as fast as streamline simulation? 0 52 53 54 55 56 57 58 59 10 43 44 45 46 47 48 49 50 51 Natural order 20 35 36 37 38 39 40 41 42 30 26 27 28 29 30 31 32 33 34 40 18 19 20 21 22 23 24 25 9 10 11 12 13 14 15 16 17 50 1 2 3 4 5 6 7 8 60 0 10 20 30 40 50 60 nz = 148 0 24 25 27 42 49 54 58 59 10 Topological order 22 23 26 28 43 50 55 56 57 20 19 20 21 29 44 51 52 53 30 12 13 14 15 30 45 46 47 48 40 7 8 9 16 31 39 40 41 3 4 5 10 17 32 34 37 38 50 1 2 6 11 18 33 35 36 60 0 10 20 30 40 50 60 nz = 148 Applied Mathematics 07/05/2009 11/26

  22. Example Johansen formation, North Sea, potential CO 2 injection site Model: 50 × 50 × 1 km, rescaled by a factor 0.1 Grid: 27 437 active cells. saturation at 1000 days Applied Mathematics 07/05/2009 12/26

  23. Example Johansen formation: runtime/step and iterations/cell ∆ t NR–UMFPACK NR–PFS NPFS days time (sec) iterations time (sec) iterations time (sec) iterations 125 2.26e+00 12.69 3.28e-01 12.69 4.44e-02 0.93 250 2.35e+00 12.62 3.32e-01 12.62 4.73e-02 1.10 500 2.38e+00 13.25 3.46e-01 13.25 4.16e-02 1.41 1000 2.50e+00 13.50 3.49e-01 13.50 4.21e-02 1.99 125 2.19e+00 12.69 3.91e-01 12.69 5.82e-02 1.33 250 2.02e+00 12.75 3.86e-01 12.75 6.07e-02 1.48 500 2.09e+00 13.25 3.90e-01 13.25 6.16e-02 1.79 1000 2.20e+00 14.00 4.11e-01 14.00 6.39e-02 2.38 incompressible oil compressible oil Time to compute reordering: 3 . 6 · 10 − 3 sec # cycles: 77.4 on average, involving 780 cells, 380 cells in largest cycle Applied Mathematics 07/05/2009 13/26

  24. Example Johansen formation: localization of nonlinear iterations Applied Mathematics 07/05/2009 14/26

  25. Million-Cell Models on Desktop Computers How to get there..? Use of sparsity / (multiscale) structure effects resolved on different scales small changes from one step to next small changes from one simulation to next Applied Mathematics 07/05/2009 15/26

  26. Million-Cell Models on Desktop Computers How to get there..? Use of sparsity / (multiscale) structure effects resolved on different scales small changes from one step to next small changes from one simulation to next Example: SPE10, Layer 36 Observations: Pressure on coarse grid Velocity on fine grid − → multiscale method Applied Mathematics 07/05/2009 15/26

  27. Multiscale Pressure Solvers From upscaling to multiscale methods Standard upscaling: ⇓ ⇑ Coarse grid blocks: ⇓ ⇑ Flow problems: Applied Mathematics 07/05/2009 16/26

  28. Multiscale Pressure Solvers From upscaling to multiscale methods Standard upscaling: Multiscale method: ⇓ ⇓ ⇑ Coarse grid blocks: Coarse grid blocks: ⇓ ⇑ ⇓ Flow problems: Flow problems: Applied Mathematics 07/05/2009 16/26

  29. Multiscale Pressure Solvers From upscaling to multiscale methods Standard upscaling: Multiscale method: ⇓ ⇓ ⇑ Coarse grid blocks: Coarse grid blocks: ⇓ ⇑ ⇓ ⇑ Flow problems: Flow problems: Applied Mathematics 07/05/2009 16/26

  30. Multiscale Pressure Solvers From upscaling to multiscale methods Standard upscaling: Multiscale method: ⇓ ⇑ ⇓ ⇑ Coarse grid blocks: Coarse grid blocks: ⇓ ⇑ ⇓ ⇑ Flow problems: Flow problems: Applied Mathematics 07/05/2009 16/26

Recommend


More recommend