R.M. Manasipov and J.E. Mindel. Montanuniversitaet Leoben. October 3, 2014

Similar documents
AN UNFITTED METHOD FOR TWO-PHASE FLOW IN FRACTURED POROUS MEDIA

Streamline calculations. Lecture note 2

Mixed-hybrid finite element method for modelling two-phase flow in porous media

Evaporation-driven soil salinization

Modeling of two-phase flow in fractured porous media on unstructured non-uniform coarse grids

Sunday September 28th. Time. 06:00 pm 09:00 pm Registration (CAAS) IP: Invited Presentation (IS or SP) 55 mn. CP: Contributed Presentation 25 mn

Evaporation-driven transport and precipitation of salt in porous media: A multi-domain approach

Homogenization and numerical Upscaling. Unsaturated flow and two-phase flow

2. Governing Equations. 1. Introduction

DNAPL migration through interbedded clay-sand sequences

A FRONT-TRACKING METHOD FOR HYPERBOLIC THREE-PHASE MODELS

Discrete Event Simulation

MMsFEM and Streamlines

Real-Time Scheduling and Resource Management

SENSITIVITY ANALYSIS OF THE PETROPHYSICAL PROPERTIES VARIATIONS ON THE SEISMIC RESPONSE OF A CO2 STORAGE SITE. Juan E. Santos

Instabilities and Dynamic Rupture in a Frictional Interface

Numerical Treatment of Two-Phase Flow in Porous Media Including Specific Interfacial Area

What can Single-Well Constant-Rate Pump Tests really tell about Fractured Rocks?

On efficient implicit upwind schemes

Front-Tracking Methods for Use in Streamline Simulation of Compressible Flow Halvor Møll Nilsen and Knut Andreas Lie, SINTEF

Numerical fractional flow modelling of inhomogeneous

Seminar zu aktuellen Themen der Numerik im Wintersemester 2010/2011

ICES REPORT Adaptive Numerical Homogenization for Non-Linear Multiphase Flow and Transport

A new hybrid numerical scheme for modelling elastodynamics in unbounded media with near-source heterogeneities

Two Phase Transport in Porous Media

TENSOR RELATIVE PERMEABILITIES: ORIGINS, MODELING AND NUMERICAL DISCRETIZATION

Simulation of Naturally Fractured Reservoirs with Dual Porosity Models

Local Time Step for a Finite Volume Scheme I.Faille F.Nataf*, F.Willien, S.Wolf**

Numerical Simulation of Single-Phase and Multiphase Non-Darcy Flow in Porous and Fractured Reservoirs

A Multi-Continuum Multi-Component Model for Simultaneous Enhanced Gas Recovery and CO 2 Storage in Stimulated Fractured Shale Gas Reservoirs Jiamin

Space-time domain decomposition for a nonlinear parabolic equation with discontinuous capillary pressure

NUMERICAL TREATMENT OF TWO-PHASE FLOW IN CAPILLARY HETEROGENEOUS POROUS MEDIA BY FINITE-VOLUME APPROXIMATIONS

Numerical modelling of coupled TH processes to facilitate analysis of geothermal reservoirs - Groß Schönebeck as an example-

Available online at ScienceDirect

Analysis of oil displacement by water in oil reservoirs with horizontal wells

II. Dealing with Physical Laws: A Stochastic Flowpath Analysis Example

ORDERING-BASED NONLINEAR SOLVER WITH ADAPTIVE COUPLING FOR MULTIPHASE FLOW AND TRANSPORT

Petroleum reservoir simulation using EbFVM: the negative transmissibility issue

Simulation of Imbibition Phenomena in Fluid Flow through Fractured Heterogeneous Porous Media with Different Porous Materials

Vertically Averaged Models for CO 2 Storage in Porous Media. Andreas Hammer

A Domain Decomposition Method for Quasilinear Elliptic PDEs Using Mortar Finite Elements

Design and Optimization of Multi-Material Material Objects for Enhanced Thermal Behavior Application: Brake Disk Design

Splitting methods in the design of coupled flow and mechanics simulators

Available online at Energy Procedia 1 (2009) (2008) GHGT-9

Introduction to Aspects of Multiscale Modeling as Applied to Porous Media

ANR Project DEDALES Algebraic and Geometric Domain Decomposition for Subsurface Flow

Uncertainty Quantification of Two-Phase Flow in Heterogeneous Porous Media

PREDICTIVE SIMULATION OF UNDERWATER IMPLOSION: Coupling Multi-Material Compressible Fluids with Cracking Structures

A PSEUDO FUNCTION APPROACH IN RESERVOIR SIMULATION

CFD Analysis of PEM Fuel Cell

Enabling Technologies

Multi-rate mass transfer modeling of two-phase flow in highly heterogeneous fractured and porous media

Fluid Animation. Christopher Batty November 17, 2011

Numerik 2 Motivation

Efficient and Accurate simulation of nonlinearly coupled multiphase flow in porous media. 25 August 2015 Meeneesh Kardale

Modeling and numerical approximation of multi-component anisothermal flows in porous media

Model Inversion for Induced Seismicity

Generalised Summation-by-Parts Operators and Variable Coefficients

Ability of Darcy s Law for Extension in Two- Phase Flow for Sedimentary Medium in Capillary Non-equilibrium Situations

Discontinuous Galerkin and Finite Difference Methods for the Acoustic Equations with Smooth Coefficients. Mario Bencomo TRIP Review Meeting 2013

CO 2 storage capacity and injectivity analysis through the integrated reservoir modelling

INL Capabilities and Approach to CO 2 Sequestration. 4 th U.S.-China CO2 Emissions Control Science & Technology Symposium

THE INVESTIGATION OF NUMERICAL SIMULATION SOFTWARE FOR FRACTURED RESERVOIRS

A Numerical Simulation Framework for the Design, Management and Optimization of CO 2 Sequestration in Subsurface Formations

GODUNOV-TYPE SOLUTIONS FOR TWO-PHASE WATER HAMMER FLOWS

An Introduction to COMSOL Multiphysics v4.3b & Subsurface Flow Simulation. Ahsan Munir, PhD Tom Spirka, PhD

Available online at ScienceDirect. Energy Procedia 114 (2017 )

Permeability Estimates & Saturation Height Functions: A talk of two halves. Dr Joanne Tudge LPS Petrophysics 101 Seminar 17 th March 2016

Single Machine Models

Pore-Scale Analysis of Dynamics of Two-Phase Flow. in Porous Media

Coalbed Methane Properties

arxiv: v1 [math.na] 17 Oct 2016

Practical methodology for inclusion of uplift and pore pressures in analysis of concrete dams

1 Exercise: Linear, incompressible Stokes flow with FE

Downloaded 08/04/16 to Redistribution subject to SIAM license or copyright; see

Upscaling for Two-phase Flows in Porous Media

Numerical Methods of Applied Mathematics -- II Spring 2009

Monotonicity Conditions for Discretization of Parabolic Conservation Laws. Hilde Kristine Hvidevold

Simulation of T-junction using LBM and VOF ENERGY 224 Final Project Yifan Wang,

Mathematics Qualifying Exam Study Material

SUMMARY NUMERICAL SIMULATION OF BRINE-CO 2 FLOW AND WAVE PROPAGATION

Numerical simulation of CO 2 injection into deep saline aquifers

A study of the modelling error in two operator splitting algorithms for porous media flow

Variability of Stencil Computations for Porous Media

Two-phase gravity currents in porous media

M S Mohan Kumar Mini Mathew & Shibani jha Dept. of Civil Engineering Indian Institute of Science

A Constitutive Framework for the Numerical Analysis of Organic Soils and Directionally Dependent Materials

Multi-point flux approximation L-method in 3D: Numerical convergence and application to two-phase flow through porous media

Investigations in Geologic Carbon Sequestration: Multiphase Flow of CO2 and Water in Reservoir Rocks. Annual Report 2015

Average-Consensus of Multi-Agent Systems with Direct Topology Based on Event-Triggered Control

Storage 6 - Modeling for CO 2 Storage. Professor John Kaldi Chief Scientist, CO2CRC Australian School of Petroleum, University of Adelaide, Australia

A reduced fracture model for two-phase flow with different rock types

Multi-scale multi-phase flow upscaling

Simulation of Unsaturated Flow Using Richards Equation

Lars Hov Odsæter Reservoir Simulation in Heterogeneous and Fractured Reservoirs

Training Venue and Dates Ref # Reservoir Geophysics October, 2019 $ 6,500 London

Applications of Partial Differential Equations in Reservoir Simulation

Petrophysical Data Acquisition Basics. Coring Operations Basics

Supply chains models

Relative Permeability Measurement and Numerical Modeling of Two-Phase Flow Through Variable Aperture Fracture in Granite Under Confining Pressure

Transcription:

Comparative Analysis of Compositional Two-Phase Flow Modeling in Heterogeneous Media Between the Discrete Event Simulation Method Coupled to a Split Node Formulation and Classical Timestep-Driven Approaches R.M. Manasipov and J.E. Mindel Montanuniversitaet Leoben October 3, 2014 R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 1 / 30

Outline Introduction to Discrete Event Simulations Discrete Event Simulations for Hybrid Finite Element Finite Volume Method Two Phase Flow Simulations: TDS vs. DES Material interfaces in Hybrid Finite Element Finite Volume Method Conclusions R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 2 / 30

Motivation Simulating multiphase flow imposes certain restrictions on the time step length due to the complexity of the reservoir and related emergent behaviour. The asynchronous time step methodology yields a speed up, particularly under the following conditions: High Mesh Resolution in specific regions (e.g. Small mesh near the wells, fractures, faults ) High Permeability Contrasts (e.g. existence of high permeability zones such as fractures) Highly Non-linear Problems (e.g. non-linear two phase models such as Brooks Corey, two-phase gravitational effects) R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 3 / 30

Adaptime time-refinement approach In adaptive time-refinement the solution updates locally in each cell by local time-increment. To simplify and to increase the efficient of synchronization procedure the time-steps usually taken as fractions of global time t 2. n This approach is not increasing the accuracy of calculations, but in the same time it doesn t reduce the approximation order of numerical scheme. Thus the adaptive time-refinement will be more more efficient than the general global-time stepping. Let us consider the 1D heat equation and the numerical scheme of second order of approximation: T t = ( κ(t, x, T ) T ) (1) x x T n+1 m Tm n τ = κ ( T n x 2 m 1 2Tm n + Tm+1 n ) (2) R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 4 / 30

Adaptime time-refinement approach Let as assume several regions i = 1..m, with different spatial sizes of cells, for instance as x i = 2 i 1 x 1, where x 1 the smallest size of cell. Each group of cells will be defined by numbers n i and p i = n i N, where n i number of cells in each region, p i percent of cells from each group corresponding to the total number. Let us additionally assume that κ = 1. Then we will get t i = x2 i 2 = 2 2(i 1) x1 2 2 = 2 2(i 1) t 1, where t 1 = t min. Let also τ avg be the average time for calculation procedures for each cell during one time-step. R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 5 / 30

Adaptime time-refinement approach We can estimate the time of calculations in global time-stepping and self-adaptive local time-stepping approaches and calculate the ratio. r = t LTS t GTS = τ avg t τ end avg t min N t end t min m i=1 = n i 2 2(i 1) m i=1 1 (3) p i 2 2(i 1) So for instance if we will have the two groups of cells with corresponding percentages p 1 = 0.1, p 2 = 0.9 then the ration of GTS time to LTS time will be r 3. R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 6 / 30

Timestep Driven Simulations and Discrete Event Simulations The way to distinguish Discrete Event Simulation (DES) from Timestep Driven Simulation (TDS) can be found in the nature of the state space. f, state f, state f, state t, time t, time t, time TDS : (X d, T d ) Q is the mapping from discrete time discrete space to continuous state space DES : (X d, T ) Q d is the mapping from continuous time discrete space to discrete state space (Quantized State System) R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 7 / 30

Discrete Event Simulations for ODE s Taking the Cauchy ODE problem as an example, there will be a need to integrate right hand side: ẋ(t) = f (x(t), t), x(t 0 ) = x 0 x(t i + t i ) = x(t i ) + t i + t i t i f (x(τ), τ) dτ DES and TDS approaches will view on these integrals differently: t i + t i TDS : f (x(τ), τ) dτ: Riemann Integral DES : t i t i + t i t i f (x(τ), τ) dτ: Lebesgue Integral R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 8 / 30

Bringing DES to the Finite Element-Finite Volume Framework Discrete event simulations for solving partial differential equations were applied in conjunction with FD s, FV s and PIC approaches. But it can also be used together with other discretization methods. From the algorithmic point of view, to apply DES to the FEFV framework each Finite Volume must be associated with an Event Process, which will have the following main attributes: Scheduled Process Time Target Scalar Change ( value constrained by a state change that is significant for corresponding Finite Volume) R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 9 / 30

Time Driven Simulation Cycle Apply initial conditions Find global minumum time step Time Driven Cycle Set clock time: Find new global minumum time step Apply boundary conditions Update uxes and sources R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 10 / 30

Discrete Event Simulation Cycle Apply initial conditions Calculate time delays Create Event List Schedule Events Discret Event Driven Cycle Pop event with the smallest time stamp Set clock time: Reschedule Events: a) Caculate new time delays of event e and all dependent events b) Sort the Queue of Events Update state e Synchronize state e: a) Either just Update or fully Process dependent Events b) Either Update uxes and sources or apply Boundary Conditions R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 11 / 30

Discrete Event Simulation in FEFV framework Thus the DES algorithm in general and also specifically in FEFV cell will consist on the following steps: Initialize all the events and schedule them ( predict the delays of each event) Process the event with smallest process time ( Update, Recalculate the Fluxes, Synchronize and Reschedule this Event). Synchronization: trigger the chain process of updating and processing the neighbour events until it will reach the ones which shouldn t be process, because they didn t reach the target scalar change. Reschedule: reschedule the event based on the new values of fluxes and process time, and resort the queue. Repeat the above steps until the queue is empty R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 12 / 30

Discrete Event Simulation in FEFV framework To increase the efficiency of the flux calculations in FEFV, we also introduce the Event attribute called Rate Status. Based on the current status of a nodal variable ( associated with FEFV cell ) the above algorithm can thus be applied to an Element Centred Event. This gives the possibility to visit the elements and provide the synchronization and calculation processes immediately for all the FV sectors of an FE cell, without repetition. Such approach can also extend application of DES to Finite Element Framework. R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 13 / 30

Element Centered DES Rate of FV variable should be updated, and FV process should be resheduled Rate and status of FV variable stays the same Rate of FV variable should be updated, but FV process should not be resheduled R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 14 / 30

DES with Preemptive-Event-Processing The standart DES approach can be improved by Preemptive-Event-Processing technique introduced by [Omelchenko2006]. It had the intention to bring DES into parallel world. The main idea of Preemptive-Event-Processing is to group all the event with small difference in expected time of processing δt PEP and to do the synchronization automatically for this group, without waiting for the call of confluent function from each of this events. For handling this group of events the additional construction PEP Stack is used in order to do the internal sorting process in small group instead of sorting the whole Event Queue. The control parameter δt PEP can be used either as a global or local condition on state variable change. R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 15 / 30

DES with Preemptive-Event-Processing R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 16 / 30

Slightly compressible immisccible two phase flow Pressure equation: φc t p w t (ρ 1 λ t K p w + w v w ρ w + ρ 1 ) n v n ρ n = = q t + λ n K p c K (λ w ρ w + λ n ρ n ) g Saturation equation: (φρ n S n ) t (φρ n S n ) t (ρ n λ n K ( p w ρ n g)) (λ n ρ n K p c ) = ρ n q n, + (ρ n f n (v t λ w K p c λ w (ρ w ρ n )g))) = ρ n q n or R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 17 / 30

Incompressible immisccible two phase flow Pressure equation: Ω λ tk p w NdΩ = Ω q tndω + + Ω K (λ w ρ w + λ n ρ n ) g NdΩ Ω λ nk p c NdΩ Saturation equation: W t (φs n) dω Wq n dω Ω Ω ( ) W krn µ n K( p w + p c ρ n g) n dγ = 0 Ω R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 18 / 30

Kilve Bed 3 Section 2D Results Simulation characteristics: K m = 2.0e 14 Incompressible two phase flow with gravity effects Brooks Corey rel. perm. model Injector(nw) well at low left corner, Producer at upper right corner N elmts = 5779, h min h max = 0.04 Dimensions: 1.88 x 1.25 m Injection rate = 5.0 10 5 m 3 s 1 (CO 2 ) ρ w = 1045kg m 3, ρ nw = 479kg m 3 R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 19 / 30

Kilve Bed 3 Section 2D Results R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 20 / 30

Kilve Bed 3 2D results: DES vs IMPES, saturation plots R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 21 / 30

Kilve Bed 3 2D perfomance results: DES vs EXP, runtime plots R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 22 / 30

Simulations in heterogeneous media For producing an accurate results on material interfaces with FEFV method one would require to apply special conditions and discontinuous solution ( saturation ) across the interface. Thus the extended capillary pressure condition was applied in this work on material interfaces [Duijn95]. What might be distinctive in our approach is that the explicit splitting of the nodes was enforced on the mesh level. R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 23 / 30

McWhorter Solution: Co-current and Counter-current flow R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 24 / 30

Three Zones of different materials R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 25 / 30

SplitNode approach R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 26 / 30

SplitNode approach R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 27 / 30

SplitNode approach R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 28 / 30

Conclusions and Future Work Discrete event simulation is a sufficiently general and flexible approach intended for multi scale type of problems, which have significant variations of characteristic times of different processes. The efficiency of DES is dependent on the amount of activity which occurs in the simulation with respect to the total amount of possible events. In general, the lower this ratio is, the better the performance of DES. Future work includes the implementation and study of the DES approach for compositional compressible flow in fractured media with application to CO 2 migration in saline aquifers R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 29 / 30

References C.J. van Duijn and M.J. de Neef, The effect of capillary forces on immiscible two-phase flow in heterogeneous porous media, Transport in Porous Media, 21(1): pp. 71 93, 1995 Y. A. Omelchenko and H. Karimabadi Self-adaptive time integration of flux-conservative equations with sources, Journal of Computational Physics, 216(1): pp. 179 194, 2006. A. Paluszny, S. K. Matthai and M. Hohmeyer, Hybrid finite element finite volume discretization of complex geologic structures and a new simulation workflow demonstrated on fractured rocks, Geofluids, 7: pp. 186 208, 2007. R.M. Manasipov and J.E. Mindel (MUL) Discrete Event Simulation of 2p-flow October 3, 2014 30 / 30