-
upstreamFoam: an OpenFOAM-based solver for heterogeneous porous media at different scales
Authors:
Roberto Lange,
Gabriel M. Magalhães,
Franciane F. Rocha,
Pedro V. S. Coimbra,
Jovani L. Favero,
Rodrigo A. C. Dias,
Antonio O. S. Moraes,
Mateus P. Schwalbert
Abstract:
A new OpenFOAM application to simulate multiphase flows in porous media is formulated and tested. The proposed solver combines the Eulerian multi-fluid formulation for a system of phase fractions with Darcy's law for flows through porous media. It is based on the multiphaseEulerFoam and includes models for reservoir simulation of the porousMultiphaseFoam, taking advantage of the most recent techno…
▽ More
A new OpenFOAM application to simulate multiphase flows in porous media is formulated and tested. The proposed solver combines the Eulerian multi-fluid formulation for a system of phase fractions with Darcy's law for flows through porous media. It is based on the multiphaseEulerFoam and includes models for reservoir simulation of the porousMultiphaseFoam, taking advantage of the most recent technologies developed for these well-established solvers. With such an innovative combination, we are able to simulate a system of any number of compressible phase fractions in reservoirs that rely on specialized models for relative permeability, capillary pressure, and time step selection. We successfully validate the solver for classical problems with analytical, semi-analytical, and reference solutions. A wide range of flows in porous media has been studied, demonstrating the potential of the solver to approximate complex multiphase problems.
△ Less
Submitted 26 June, 2023; v1 submitted 6 April, 2023;
originally announced April 2023.
-
A multiscale Robin-coupled implicit method for two-phase flows in high-contrast formations
Authors:
Franciane F. Rocha,
Fabricio S. Sousa,
Roberto F. Ausas,
Gustavo C. Buscaglia,
Felipe Pereira
Abstract:
In the presence of strong heterogeneities, it is well known that the use of explicit schemes for the transport of species in a porous medium suffers from severe restrictions on the time step. This has led to the development of implicit schemes that are increasingly favoured by practitioners for their computational efficiency. The transport equation requires knowledge of the velocity field, which r…
▽ More
In the presence of strong heterogeneities, it is well known that the use of explicit schemes for the transport of species in a porous medium suffers from severe restrictions on the time step. This has led to the development of implicit schemes that are increasingly favoured by practitioners for their computational efficiency. The transport equation requires knowledge of the velocity field, which results from an elliptic problem (Darcy problem) that is the most expensive part of the computation. When considering large reservoirs, a cost-effective way of approximating the Darcy problems is using multiscale domain decomposition (MDD) methods. They allow for the pressure and velocity fields to be computed on coarse meshes (large scale), while detailed basis functions are defined locally, usually in parallel, in a much finer grid (small scale). In this work we adopt the Multiscale Robin Coupled Method (MRCM, [Guiraldello, et al., J. Comput. Phys., 355 (2018) pp. 1-21], [Rocha, et al., J. Comput. Phys., (2020) 109316]), which is a generalization of previous MDD methods that allows for great flexibility in the choice of interface spaces. In this article we investigate the combination of the MRCM with implicit transport schemes. A sequentially implicit strategy is proposed, with different trust-region algorithms ensuring the convergence of the transport solver. The method is assessed on several very stringent 2D two-phase problems, demonstrating its stability even for large time steps. It is also shown that the best accuracy is achieved by considering recently introduced non-polynomial interface spaces, since polynomial spaces are not optimal for high-contrast channelized permeability fields.
△ Less
Submitted 9 April, 2021;
originally announced April 2021.
-
The Multiscale Perturbation Method for Two-Phase Reservoir Flow Problems
Authors:
Franciane F. Rocha,
Het Mankad,
Fabricio S. Sousa,
Felipe Pereira
Abstract:
In this work we formulate and test a new procedure, the Multiscale Perturbation Method for Two-Phase Flows (MPM-2P), for the fast, accurate and naturally parallelizable numerical solution of two-phase, incompressible, immiscible displacement in porous media approximated by an operator splitting method. The proposed procedure is based on domain decomposition and combines the Multiscale Perturbation…
▽ More
In this work we formulate and test a new procedure, the Multiscale Perturbation Method for Two-Phase Flows (MPM-2P), for the fast, accurate and naturally parallelizable numerical solution of two-phase, incompressible, immiscible displacement in porous media approximated by an operator splitting method. The proposed procedure is based on domain decomposition and combines the Multiscale Perturbation Method (MPM) with the Multiscale Robin Coupled Method (MRCM). When an update of the velocity field is called by the operator splitting algorithm, the MPM-2P may provide, depending on the magnitude of a dimensionless algorithmic parameter, an accurate and computationally inexpensive approximation for the velocity field by reusing previously computed multiscale basis functions. Thus, a full update of all multiscale basis functions required by the MRCM for the construction of a new velocity field is avoided. There are two main steps in the formulation of the MPM-2P. Initially, for each subdomain one local boundary value problem with trivial Robin boundary conditions is solved (instead of a full set of multiscale basis functions, that would be required by the MRCM). Then, the solution of an inexpensive interface problem provides the velocity field on the skeleton of the decomposition of the domain. The resulting approximation for the velocity field is obtained by downscaling. We consider challenging two-phase flow problems, with high-contrast permeability fields and water-oil finger growth in homogeneous media. Our numerical experiments show that the use of the MPM-2P gives exceptional speed-up - almost 90% of reduction in computational cost - of two-phase flow simulations. Hundreds of MRCM solutions can be replaced by inexpensive MPM-2P solutions, and water breakthrough can be simulated with very few updates of the MRCM set of multiscale basis functions.
△ Less
Submitted 19 March, 2021;
originally announced March 2021.
-
Interface spaces based on physics for multiscale mixed methods applied to flows in fractured-like porous media
Authors:
Franciane F. Rocha,
Fabricio S. Sousa,
Roberto F. Ausas,
Felipe Pereira,
Gustavo C. Buscaglia
Abstract:
It is well known that domain-decomposition-based multiscale mixed methods rely on interface spaces, defined on the skeleton of the decomposition, to connect the solution among the non-overlap** subdomains. Usual spaces, such as polynomial-based ones, cannot properly represent high-contrast channelized features such as fractures (high permeability) and barriers (low permeability) for flows in het…
▽ More
It is well known that domain-decomposition-based multiscale mixed methods rely on interface spaces, defined on the skeleton of the decomposition, to connect the solution among the non-overlap** subdomains. Usual spaces, such as polynomial-based ones, cannot properly represent high-contrast channelized features such as fractures (high permeability) and barriers (low permeability) for flows in heterogeneous porous media. We propose here new interface spaces, which are based on physics, to deal with permeability fields in the simultaneous presence of fractures and barriers, accommodated respectively, by the pressure and flux spaces. Existing multiscale methods based on mixed formulations can take advantage of the proposed interface spaces, however, in order to present and test our results, we use the newly developed Multiscale Robin Coupled Method (MRCM) [Guiraldello, et al., J. Comput. Phys., 355 (2018) pp. 1-21], which generalizes most well-known multiscale mixed methods, and allows for the independent choice of the pressure and flux interface spaces. An adaptive version of the MRCM [Rocha, et al., J. Comput. Phys., 409 (2020), 109316] is considered that automatically selects the physics-based pressure space for fractured structures and the physics-based flux space for regions with barriers, resulting in a procedure with unprecedented accuracy. The features of the proposed approach are investigated through several numerical simulations of single-phase and two-phase flows, in different heterogeneous porous media. The adaptive MRCM combined with the interface spaces based on physics provides promising results for challenging problems with the simultaneous presence of fractures and barriers.
△ Less
Submitted 12 March, 2021;
originally announced March 2021.