원시데이터 수집 시스템
선정목록으로

Numerical validation of an adaptive model for the determination of nonlinear-flow regions in highly heterogeneous porous media

간접 관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기) (6) PEM(고분자전해질막)(7) MEA(막전극접합체)

기본 정보

저자
  1. Alessio Fumagalli — MOX - Modeling and Scientific Computing [Milano] (Department of Mathematics 'Francesco Brioschi', Piazza Leonardo da Vinci, 32, 20133 Milano - Italy)
  2. Francesco S. Patacchini — IFPEN - IFP Energies nouvelles (1-4 avenue de Bois Préau 92500 Rueil-Malmaison - France)
DOI
10.1016/j.matcom.2024.10.024
저널
Mathematics and Computers in Simulation
발행년도
2024
발행기관
Elsevier BV
피인용수
2
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.matcom.2024.10.024
토픽
Heat and Mass Transfer in Porous Media
OpenAlex ID
W4404794390

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
(6) PEM(고분자전해질막), (7) MEA(막전극접합체)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
porous media, Darcy's law, nonlinear-flow, permeability, flux threshold
판단 근거
이 논문은 불균질한 다공성 매질(porous media) 내에서의 유체 흐름을 모델링하고 선형/비선형 영역을 구분하는 수치적 방법을 다룹니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC) 핵심 부품인 중공사막(hollow fiber membrane)이나 가스확산층(GDL) 내의 가스/수분 투과 및 흐름 제어 메커니즘을 분석하는 데 이론적 기초로 활용될 수 있습니다.
R&D 활용 포인트
연료전지용 분리막(membrane)이나 가스확산층 내의 복잡한 기공 구조를 통한 가스 및 수증기 투과 거동을 예측하고, 최적의 투과 성능을 위한 구조 설계 모델링에 활용 가능합니다.
평가 입력
본문 60,222자 중 30,032자 발췌

초록

International audience

본문 60,222자

본문 펼치기
## Numerical validation of an adaptive model for the determination of nonlinear-flow regions in highly heterogeneous porous media Alessio Fumagalli <sup>1</sup> Francesco Saverio Patacchini <sup>2</sup> 1 Department of Mathematics, Politecnico di Milano, p.za Leonardo da Vinci 32, Milano 20133, Italy 2 IFP Energies nouvelles, 1 et 4 avenue de Bois-Pr´eau, 92852 Rueil-Malmaison, France Abstract An adaptive model for the description of flows in highly heterogeneous porous media is developed in [13,14]. There, depending on the magnitude of the fluid’s velocity, the constitutive law linking velocity and pressure gradient is selected between two possible options, one better adapted to slow motion and the other to fast motion. We propose here to validate further this adaptive approach by means of more extensive numerical experiments, including a three-dimensional case, as well as to use such approach to determine a partition of the domain into slow- and fast-flow regions. _Keywords:_ _porous_ _medium,_ _heterogeneous_ _medium,_ _adaptive_ _constitutive_ _law,_ _numerical_ _validation_ 1 Introduction In the context of flow modeling in porous media, Darcy’s law is omnipresent. It is a linear relationship between velocity and pressure gradient, and allows for tensor permeabilities. Its validity is supported both theoretically, via a derivation from Navier–Stokes equations, and empirically, through countless experiments. When velocities deviate from those typically found in porous media, as a result of particularly heterogeneous permeabilities, Darcy’s law can, however, be challenged. This was noted experimentally in many studies [28, 29, 34]. Indeed, in highly permeable areas of a porous medium, such as in fractures, macropores or conduits, the velocity may get high enough to generate nonnegligeable inertial and frictional effects which translate into a nonlinear relation with the pressure gradient. Experimentally, this deviation is noticed as an overestimation of the velocity by Darcy’s law 1 compared to that empirically measured. Indeed, from an energetic viewpoint, the effect of the nonlinearity is to penalize high velocities by giving them a high energetic cost. The nonlinearity can also be retrieved theoretically, from averaging and homogenization methods, without, however, providing an explicit formulation of this nonlinearity [21, 22, 26, 30, 31]. Instead, these methods yield the nonlinearity as a perturbation, or correction, of Darcy’s law which needs to be fitted empirically. One possible expression for the nonlinearity, which we assume in the present work, is polynomial, meaning that the pressure gradient is a polynomial function of the velocity. This approach includes the widely used Darcy–Forchheimer law, which is a quadratic correction. Numerically, the nonlinearity thus introduced increases precision but slows down simulations. Nevertheless, the portions of the porous medium where the nonlinear correction has a significant impact are typically small compared to the size of the whole domain. Therefore, the use of the nonlinear perturbation of Darcy’s law can be limited to a small subdomain, while the classical Darcy law can be kept in most of the medium. As a result, a-priori knowledge of where these nonlinear regions lie should help improve accuracy without significant computational cost. Indeed, if a domain partition can be devised subdividing the medium into a slow region and a fast region, then a domain-decomposition algorithm [2, 10, 27] can be run over this partition where Darcy’s law is solved in the slow region and a nonlinear law, such as the Darcy–Forchheimer law, is solved in the fast region. We expect this approach to be more precise than solving Darcy’s law globally and faster than solving the nonlinear law globally. The crucial point here is to get the knowledge _a_ _priori_ of where each region lies; we aim to answer this point in the present paper, while we leave the domain-decomposition step for future investigation. Methods _a_ _posteriori_ are also envisageable [9, 15], though not explored here. To locate the linear and nonlinear regions, we propose to use the adaptive model introduced in [13, 14]. There, the authors derive a model where the constitutive law linking velocity and pressure gradient switches from linear to nonlinear according to a fixed threshold on the seepage-flux magnitude: when the magnitude is below the threshold, the linear law is solved, and when it is above, the nonlinear law is solved instead. As a result, a law which naturally adapts itself given the flux speed is obtained. Although well-posedness of the adaptive model is proved in [13, 14], the adaptive law is discontinuous in speed, leading to a jump of pressure gradient at the transition zones between the two laws. Consequently, the adaptive model is rather unsuited for numerical simulation. To circumvent this, the authors in [14] tackle this discontinuity via a regularization argument. More precisely, an energetic, or variational, formulation of the discontinuous problem is derived and smoothed by convolving it with a Gaussian kernel. Then, as an optimization problem, the smooth constitutive model ensues and is shown to converge to the original adaptive 2 model as the regularization parameter vanishes. This regularized law is precisely that which we propose to use in this paper to determine the partition of the medium into slow and fast regions. The result of this task is a labeling of each mesh cell as belonging to one or the other subdomain and strongly depends on the tolerance we give ourselves on the error allowed when solving Darcy’s law rather than a nonlinear one; this tolerance is encoded in the very definition of the flux threshold. This approach may seem to yield a slower model than a globally nonlinear one, since indeed the determination of the regions is carried out by solving another nonlinear, albeit smooth, problem, that is, the regularized problem. Overall then, solving the regularized model to obtain the regions and subsequently implementing a domain decomposition according to the obtained regions should be slower than simply solving the nonlinear model globally. However, we hope that our two-step approach (solving the regularized model followed by a domain decomposition) opens the possibility in a future work to introduce machine-learning techniques to determine the regions in a computationally efficient way. The paper is organized as follows: in Section 2, we summarize the various nonlinear laws considered by our model, we derive an expression for the flux threshold depending on the prescribed tolerance and we recall the adaptive and regularized models of [13, 14]; in Section 3, we show the validity of the approach by experimenting on four different test cases in two and three space dimensions, the first two cases being inspired by an application in landfill management [32] and the remaining two cases being taken from the SPE10 benchmark reservoir scenario [8]. The codes used to obtain our results are written in Python and can be found at [12], while the underlying discretization and equation resolution are performed using the open source Python simulation tool PorePy [1, 17]. 2 Model We place ourselves in the modeling context of [14]; for completeness, we summarize it here. In addition, we introduce some notions and quantities of particular interest in the present paper. 2.1 Notation. We denote by Ω _⊂_ R <sup>_d_</sup> the porous medium, which we assume to be open, bounded and with Lipschitz boundary _∂_ Ω; we write _n_ the outward normal unit vector of _∂_ Ω. Also, we write R+ = [0 _, ∞_ ) and N0 = N _∪{_ 0 _}_ . The unknowns of the problems discussed throughout the paper are the fluid’s pressure _p_ : Ω _→_ R and the seepage flux _u_ : Ω _→_ R <sup>_d_</sup> defined by _u_ = _ρϕ_ _v_, where _ϕ_ is the medium’s porosity and _ρ_ and _v_ are the fluid’s density and velocity. Furthermore, we write _ν_ and k the fluid’s kinematic viscosity and the medium’s scalar permeability. We suppose that _ρ, ν,_ k : Ω _→_ (0 _, ∞_ ) and _ϕ_ : Ω _→_ (0 _,_ 1) are space-dependent knowns of the problem. 3 2.2 Conservation equations. We study the stationary flow of the fluid through the porous medium. The conservation of mass then reads div _u_ = _q_ in Ω _,_ where _q_ : Ω _→_ R is a known fluid mass source, and the conservation of momentum is given by _−_ _∇_ _p_ + _f_ = _λ_ [ _u_ ] in Ω _,_ (2.1) where _f_ : Ω _→_ R <sup>_d_</sup> is a known vector of external body forces, possibly including gravity. The conservation of momentum shows that the pressure gradient and the external forces balance the _drag_ _force_ _−_ _λ_ [ _u_ ] undergone by the fluid. We refer to (2.2) as the _seepage_, or _constitutive_, _law_ and to _λ_ as the _drag_ _operator_ . 2.3 Drag operator. We let _λ_ be of the form _λ_ [ _u_ ]: Ω _∋_ _x_ _�→_ _α_ ( _x_ _, ∥_ _u_ ( _x_ ) _∥_ ) d ( _x_ ) _u_ ( _x_ ) _,_ (2.2) where d : Ω _→_ (0 _, ∞_ ) is the medium’s _drag_, that is, d = _ν/_ k, and _α_ : Ω _×_ R+ _→_ R+ is a space- and flux-dependent function (the product _αν_ possibly being interpreted as the kinematic viscosity perceived by the fluid in motion). This assumption physically means that _λ_ [ _u_ ] is colinear with _u_ and has magnitude directly dependent on the position in Ωand on the Euclidean norm _∥_ _u_ _∥_ . Moreover, it does not exhibit any anisotropy, be it from the permeability or other quantities. Extensions to tensor permeabilities are envisageable [14, 18, 25] and one possibility is in fact mentioned in the context of our three-dimensional test case (cf. Section 3.3), but further investigation is required. Regarding anisotropies coming from physical quantities other than permeability, there does not seem to be any consensus on how to incorporate them [25], so that we do not consider this possibility in this paper. Volume-averaging and homogenization methods yield relevant information on the expression of the function _α_ directly from the Navier–Stokes equations [21, 22, 26, 30, 31]. By considering the interaction between micro- and macroscopic scales, these methods can be used to motivate the following choice: _α_ = 1 + _η,_ where _η_ : Ω _×_ R+ _→_ R+ is referred to as the _inertial_ _correction_ and behaves linearly about 0 with respect to its second variable [31]; in particular, _η_ ( _x_ _,_ 0) = 0 for all _x_ _∈_ Ω. With this information, we take _λ_ in (2.3) as _λ_ [ _u_ ]: Ω _∋_ _x_ _�→_ (1 + _η_ ( _x_ _, ∥_ _u_ ( _x_ ) _∥_ )) d ( _x_ ) _u_ ( _x_ ) _._ (2.3) Additional theoretical arguments require that _η_ be monotonously nondecreasing and coercive in its second variable [13, 14], which intuitively implies that the viscosity perceived by the fluid cannot decrease with its speed. 4 2.4 Inertial correction. Unfortunately, volume-averaging and homogenization techniques do not give a unique and explicit expression of the inertial correction, so that assumptions on its form and experimental fitting of coefficients are needed. _2.4.1_ _Assumption._ We assume that the inertial correction in (2.3) is such that _η_ ( _x_ _,_ 0) = 0 and _η_ ( _x_ _, ·_ ) is entire for all _x_ _∈_ Ω, i.e., that it can be expanded as _η_ ( _x_ _, a_ ) = _∞_ _i_ =1 _ηi_ ( _x_ ) _a_ <sup>_i_</sup> for all _x_ _∈_ Ωand _a_ ⩾ 0 _,_ (2.4) where, for all _i ∈_ N, the empirical function _ηi_ : Ω _→_ R+ is defined by _<u>∂</u>_ <sup>_i_</sup> _<u>η</u>_ _∂a_ <sup>_i_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_,_</sup> <sup>0)</sup> <sup>_._</sup> _ηi_ ( _x_ ) = <sup><u>1</u></sup> _i_ ! _ηi_ ( _x_ ) = <sup><u>1</u></sup> A less general expression for the inertial correction is found in [25, Equation (5)]. Note that the entireness of _η_ sets the constraint that lim _i→∞_ <sup>�</sup> _i_ _ηi_ ( _x_ ) = 0 for all _x_ _∈_ Ω _._ Further note that the nonnegativity of the functions _ηi_ is not a mathematically, nor physically, necessary condition but is assumed here for ease of presentation. _2.4.2_ _Coefficients._ For all _i ∈_ N, we introduce the following dimensionless function _ci_ : Ω _→_ R+, referred to as _inertial_ _coefficient_ : - _i_ _ηi,_ _ci_ = - _<u>µ</u>_ _~~√~~_ k where _µ_ := _ρν_ is the fluid’s dynamic viscosity. With this notation, the inertial correction from (2.4.1) satisfies - _i_ for all and _x_ _∈_ Ωand _a_ ⩾ 0 _._ (2.5) _η_ ( _x_ _, a_ ) = _∞_ _i_ =1 _ci_ ( _x_ ) �� _√_ k _/µ_ ( _x_ ) _a_ The nonzero inertial coefficients in (2.4.2) are precisely the quantities to be chosen experimentally to get an expression for the inertial correction. _2.4.3_ _Reynolds_ _number._ In the present porous-medium context [25], given a flux _u_, the _Reynolds_ _number_ Re[ _u_ ]: Ω _→_ R+ is set by Re[ _u_ ] = _<u>√</u>_ k _µ_ <sup>_∥_</sup> <sup>_u_</sup> <sup>_∥_</sup> <sup>_._</sup> With this notation, together with (2.4.2), one can rewrite the seepage law (2.2) as _∞_ _i_ =1 _ci_ Re[ _u_ ] <sup>_i_</sup> d _u_ in Ω _._ (2.6) _−_ _∇_ _p_ + _f_ = 1 + 5 2.5 Truncated seepage laws. In practice, one cannot experimentally tune all the nonzero inertial coefficients since, a priori, these are infinitely many. Therefore, we propose to truncate the law in (2.4.3), i.e., to keep only a finite number of coefficients. Another way of reducing the number of coefficients is presented in Section 2.8. We let _I_ _⊂_ N be the set of indices we want to keep in the truncated law, so that (2.4.3) rewrites as _−_ _∇_ _p_ + _f_ = 1 + _i∈I_ _ci_ Re[ _u_ ] <sup>_i_</sup> d _u_ in Ω _._ (2.7) In the limit case _I_ = N, we recover the untruncated law (2.4.3). By considering finite index sets, a wide range of seepage laws can be obtained, many of which are already proposed in various theoretical and numerical studies [3, 4, 11, 16, 19]. There does not seem to be a general agreement on which is best. _2.5.1_ _Darcy’s_ _law._ Taking _I_ = _∅_ in (2.5) gives the widely used _Darcy_ _law_ : _−_ _∇_ _p_ + _f_ = d _u_ in Ω _._ Note that, here, no coefficient needs fitting so that this law is in fact not empirical. _2.5.2_ _Single-power_ _law._ For some _m ∈_ N, we take _I_ = _{m}_ in (2.5) to get _−_ _∇_ _p_ + _f_ = (1 + _c_ F Re[ _u_ ] <sup>_m_</sup> ) d _u_ in Ω _,_ where the coefficient _cm_ is preferably denoted by _c_ F : Ω _→_ R, which is the _Forch-_ _heimer_ _coefficient_ (or _Erg¨un_ _number_ [5, 6]), containing information on porosity and tortuosity [26]. When _m_ = 1, this is called the _Darcy–Forchheimer_ _law_ . Note that this formulation stays meaningful for any positive, noninteger value of _m_ . _2.5.3_ _Power-expansion_ _law._ By setting _I_ = _{_ 1 _,_ 2 _, . . ., m}_ in (2.5) for some _m ∈_ N, we yield _−_ _∇_ _p_ + _f_ = - d _u_ in Ω _,_ 1 + _c_ 1 Re[ _u_ ] + _c_ 2 Re[ _u_ ] <sup>2</sup> + _· · ·_ + _cm_ Re[ _u_ ] <sup>_m_</sup> <sup>�</sup> which, as with the single-power law, includes the Darcy–Forchheimer law. Singlepower and power-expansion laws may thus be called _generalized_ _Forchheimer_ _laws_ . 2.6 Comparing seepage laws. Given a flux _u_ and two drag operators _λ_ and _λ_ <sup>ˆ</sup>, the resulting forces _−_ _∇_ _p_ + _f_ and _−_ _∇_ _p_ ˆ + _f_ are obtained by the laws (cf. (2.2)) _−_ _∇_ _p_ + _f_ = _λ_ [ _u_ ] _,_ in Ω _._ (2.8) _−_ _∇_ _p_ ˆ + _f_ = _λ_ <sup>ˆ</sup> [ _u_ ] _,_ The drag operator _λ_ <sup>ˆ</sup> is referred to as the _reference_ operator. 6 _2.6.1_ _Untruncated_ _error._ Subtracting the two equations in (2.6) and using the untruncated law (2.4.3) with inertial coefficients _c_ := ( _ci_ ) _i∈_ N and _c_ ˆ := (ˆ _ci_ ) _i∈_ N, the _local_ _error_ _d_ _c_ _,_ _c_ ˆ[ _u_ ]: Ω _→_ R+ of the first law relative to the second is defined by _d_ _c_ _,_ _c_ ˆ[ _u_ ] = ��� _∞_ _<u>i</u>_ <u>=1</u> <sup>(</sup> <sup>_ci −_</sup> <sup>_c_</sup> <sup>ˆ</sup> <sup>_i_</sup> <sup>) Re[</sup> <sup>_u_</sup> <sup>]</sup> <sup>_i_</sup> <sup>�</sup> _._ 1 + <sup><u>�</u></sup> _i_ <sup>_<u>∞</u>_</sup> =1 <sup>_c_</sup> <sup>ˆ</sup> <sup>_i_</sup> <sup>Re[</sup> <sup>_u_</sup> <sup>]</sup> <sup>_i_</sup> _2.6.2_ _Truncated_ _error._ For truncated laws, subtracting again the two equations in (2.6) and using this time (2.5) with coefficients _c_ := ( _ci_ ) _i∈_ N and _c_ ˆ := (ˆ _ci_ ) _i∈_ N and index sets _I_ and _I_ <sup>ˆ</sup>, we define the local error _d_ _c_ _,I_ ;ˆ _c_ _,I_ ˆ[ _u_ ]: Ω _→_ R+ as _d_ _c_ _,I_ ;ˆ _c_ _,I_ ˆ[ _u_ ] = ��� _<u>i∈I</u>_ <sup>_ci_</sup> <sup>Re[</sup> <sup>_u_</sup> <sup>]</sup> <sup>_i −_</sup> <sup>�</sup> 1 + <sup><u>�</u></sup> _._ _i∈I_ <sup>ˆ</sup> <sup>_c_</sup> <sup>ˆ</sup> <sup>_i_</sup> <sup>Re[</sup> <sup>_u_</sup> <sup>]</sup> <sup>_i_</sup> _<u>i∈I</u>_ <sup>ˆ</sup> <sup>_c_</sup> <sup>ˆ</sup> <sup>_i_</sup> <sup>Re[</sup> <sup>_u_</sup> <sup>]</sup> <sup>_i_</sup> <sup>�</sup> Example 2.1 (equal coefficients and Darcy–Forchheimer) . _Of_ _particular_ _interest_ _to_ _us_ _is_ _the_ _case_ _c_ = ˆ _c_ _and_ _I_ = _∅._ _In_ _this_ _setting,_ _the_ _above_ _error_ _becomes_ _d_ _c_ ˆ _,I_ ˆ[ _u_ ] := _d_ _c_ ˆ _,∅_ ;ˆ _c_ _,I_ ˆ[ _u_ ] = 1 + <sup><u>�</u></sup> _<u>i∈I</u>_ <sup>ˆ</sup> <sup>_c_</sup> <sup>ˆ</sup> <sup>_i_</sup> <sup>Re[</sup> <sup>_u_</sup> <sup>]</sup> <sup>_i_</sup> _i∈I_ <sup>ˆ</sup> <sup>_c_</sup> <sup>ˆ</sup> <sup>_i_</sup> <sup>Re[</sup> <sup>_u_</sup> <sup>]</sup> <sup>_i_</sup> <sup>_<_</sup> <sup>1</sup> <sup>_._</sup> _More_ _specifically,_ _we_ _shall_ _consider_ _I_ <sup>ˆ</sup> = _{m},_ _with_ _m ∈_ N _and_ _c_ ˆ _m_ = _c_ F _,_ _that_ _is,_ _the_ _case_ _when_ _the_ _first_ _law_ _is_ _Darcy’s_ _and_ _the_ _reference_ _law_ _is_ _a_ _single-power_ _law;_ _then,_ _<u>c</u>_ <u>F Re[</u> _<u>u</u>_ <u>]</u> <sup>_m_</sup> _dc_ F _,m_ [ _u_ ] := _d_ _c_ ˆ _,∅_ ;ˆ _c_ _,{m}_ [ _u_ ] = 1 + _c_ F Re[ _u_ ] _<u>c</u>_ <u>F Re[</u> _<u>u</u>_ <u>]</u> <sup>_m_</sup> <u>Fo</u> _<u>m</u>_ <u>[</u> _<u>u</u>_ <u>]</u> <sup>_m_</sup> 1 + _c_ F Re[ _u_ ] <sup>_m_</sup> <sup>=:</sup> 1 + Fo _m_ [ _u_ 1 + Fo _m_ [ _u_ ] <sup>_m_</sup> <sup>_,_</sup> (2.9) _where_ _the_ _m_ th Forchheimer number Fo _m_ [ _u_ ]: Ω _→_ R+ _is_ _defined_ _by_ F Re[ _u_ ] _._ Fo _m_ [ _u_ ] = _c_ <sup>1</sup> F <sup>_/m_</sup> _<u>√</u>_ k F _µ_ <sup>_∥_</sup> <sup>_u_</sup> <sup>_∥_</sup> <sup>=</sup> <sup>_c_</sup> <sup>1</sup> <sup>_/m_</sup> _The_ _dimensionless_ _number_ Fo _m_ [ _u_ ] <sup>_m_</sup> _quantifies_ _the_ _weight_ _of_ _the_ _nonlinear_ _term_ _in_ _the_ _single-power_ _law_ _relative_ _to_ 1 _,_ _i.e.,_ _relative_ _to_ _the_ _linear_ _term._ _The_ _first_ _Forch-_ _heimer_ _number,_ _resulting_ _from_ _considering_ _the_ _Darcy–Forchheimer_ _law_ _as_ _reference,_ _is_ _simply_ _referred_ _to_ _as_ _the_ _Forchheimer_ _number_ _in_ _the_ _literature_ _[20,_ _33]._ _2.6.3_ _Flux_ _threshold_ _and_ _subdomains._ In the setting given by Example 2.1, there exists a function ∆ _c_ ˆ _,I_ ˆ : Ω _×_ R+ _→_ [0 _,_ 1) such that, for all _x_ _∈_ Ω, there holds _d_ _c_ ˆ _,I_ ˆ[ _u_ ]( _x_ ) = ∆ _c_ ˆ _,I_ ˆ( _x_ _, ∥_ _u_ ( _x_ ) _∥_ ) _,_ and ∆ _c_ ˆ _,I_ ˆ( _x_ _, ·_ ) is an increasing bijection. Let _δ_ _∈_ [0 _,_ 1), referred to as _error tolerance_ . 7 _Threshold.—_ By bijectivity, there is a unique _wδ_ : Ω _→_ R+ so that ∆ _c_ ˆ _,I_ ˆ( _x_ _, wδ_ ( _x_ )) = _δ_ for all _x_ _∈_ Ω. We then set the _flux_ _threshold_ _u_ ¯ _δ_ as _u_ ¯ _δ_ = infΩ <sup>_wδ_</sup> <sup>_∈_</sup> <sup>R+</sup> <sup>_._</sup> (2.10) When the reference law is a single-power law with exponent _m_ ˆ _∈_ N, then, from (2.1), one finds _wδ_ = Fo _δ_ _c_ <sup>1</sup> F <sup>_/m_</sup> _c_ <sup>1</sup> F <sup>_/m_</sup> _<u>µ</u>_ _~~√~~_ k _,_ where Fo _δ_ := _m_ <sup>�</sup> _δ/_ (1 _−_ _δ_ ) is a _critical_ Forchheimer number, which yields _u_ ¯ _δ_ = Fo _δ_ inf Ω _c_ <sup>1</sup> F <sup>_/m_</sup> _c_ <sup>1</sup> F <sup>_/m_</sup> _<u>µ</u>_ _~~√~~_ k _._ In particular, when _m_ = 1, i.e., the reference law is Darcy–Forchheimer, we get _<u>µ</u>_ _c_ F _~~√~~_ _<u>µ</u>_ _c_ F _~~√~~_ k _wδ_ = Fo _δ_ _<u>µ</u>_ _c_ F _~~√~~_ k and _u_ ¯ _δ_ = Fo _δ_ inf Ω _<u>δ</u>_ = Ω 1 _−_ _δ_ <sup>inf</sup> k _._ _Subdomains.—_ We then define the subdomains Ω _δ_ [ _u_ ] = _{_ _x_ _∈_ Ω _|_ _∥_ _u_ ( _x_ ) _∥_ _<_ _u_ ¯ _δ}_ and ˆΩ _δ_ [ _u_ ] = _{_ _x_ _∈_ Ω _|_ _∥_ _u_ ( _x_ ) _∥_ _>_ _u_ ¯ _δ},_ which we respectively refer to as the _slow_ and _fast_ subdomains. If _x_ _∈_ Ω _δ_ [ _u_ ], we know that solving at _x_ the law given by _λ_ (cf. first equation in (2.6)) does not generate a local error greater than _δ_ relative to solving at _x_ the law stemming from _λ_ <sup>ˆ</sup> (cf. second equation in (2.6)). Indeed, suppose _x_ _∈_ Ω _δ_ [ _u_ ]; then, _∥_ _u_ ( _x_ ) _∥_ _<_ _u_ ¯ _δ_ ⩽ _wδ_ ( _x_ ) _,_ so that _d_ _c_ ˆ _,I_ ˆ[ _u_ ]( _x_ ) = ∆ _c_ ˆ _,I_ ˆ( _x_ _, ∥_ _u_ ( _x_ ) _∥_ ) _<_ ∆ _c_ ˆ _,I_ ˆ( _x_ _, wδ_ ( _x_ )) = _δ._ Hence, by solving the seepage law for _λ_ in Ω _δ_ [ _u_ ] and that for _λ_ <sup>ˆ</sup> in Ω <sup>ˆ</sup> _δ_ [ _u_ ], we make sure that the local error stays below the error tolerance _δ_ . Also note that if _x_ _∈_ Ωand Fo _m_ [ _u_ ]( _x_ ) _>_ Fo _δ_, then _x_ _∈_ Ω <sup>ˆ</sup> _δ_ [ _u_ ]; this is why Fo _δ_ is seen as a critical Forchheimer number above which we are certain that nonlinear effects are nonnegligeable. 2.7 Final model. Suppose we are in the framework of Section 2.6 with _δ_ _<u>∈</u>_ [0 _,_ 1). Furthermore, let Σv _,_ Σp _⊂_ _∂_ Ωbe relatively open in _∂_ Ω(i.e., Σv and <u>Σp</u> <u>are</u> each the intersection of an open subset of R <sup>_d_</sup> with _∂_ Ω) and such that _∂_ Ω= Σv _∪_ Σp and Σv _∩_ Σp = _∅_ . We also let _u_ 0 : Σv _→_ R and _p_ 0 : Σp _→_ R be functions setting the conditions on the boundary for the flux and pressure. For simplicity, a map on Ω and its trace on _∂_ Ωare denoted by the same symbol. 8 _2.7.1_ _Adaptive_ _setting._ We consider the problem where the seepage law for _λ_ applies in the slow subdomain and that for _λ_ <sup>ˆ</sup> in the fast one. In practice, the reference drag operator _λ_ <sup>ˆ</sup> is numerically more costly to handle, so that by only solving it in the fast subdomain, rather than the entire domain, we reduce the overall computational cost. This discontinuous problem, where the discontinuity in flux arises from the jump occurring between the seepage laws, is referred to as the _adaptive_ _problem_ and is as follows: Problem 2.2 (adaptive) . _Find_ _u_ : Ω _→_ R <sup>_d_</sup> _and_ _p_ : Ω _→_ R _such_ _that_                div _u_ = _q_ _in_ Ω _,_ _−_ _∇_ _p_ + _f_ = _λ_ [ _u_ ] _in_ Ω _δ_ [ _u_ ] _,_ _−_ _∇_ _p_ + _f_ = _λ_ <sup>ˆ</sup> [ _u_ ] _in_ Ω <sup>ˆ</sup> _δ_ [ _u_ ] _,_ _u_ _·_ _n_ = _u_ 0 _on_ Σv _,_ _p_ = _p_ 0 _on_ Σp _._ (2.11) The rigorous setting in which to solve such problem is described in [14], from where well-posedness can be deduced via a straightforward generalization of [14, Assumption 4.1 and Corollary 4.4] to space-dependent physical parameters, such as _µ_, _ν_, k and the inertial coefficients, which we further assume to be bounded below and above by strictly positive constants in Ω. In [14], the appropriate functional framework is developed and a multivalued formulation is derived to tackle the flux discontinuity at the transition zone between the laws. Remark 2.3 (average pressure) . _If_ _the_ _boundary_ _piece_ Σp _verifies_ Vol <sup>_d−_</sup> <sup>1</sup> (Σp) = 0 _,_ _where_ Vol <sup>_d−_</sup> <sup>1</sup> _is_ _the_ ( _d −_ 1) _-dimensional_ _Lebesgue_ _measure,_ _to_ _ensure_ _uniqueness_ _of_ _the_ _pressure_ _satisfying_ _Problem_ _2.2,_ _one_ _imposes_ _a_ _constraint_ _on_ _the_ _average_ _of_ _p:_ <u>1</u> _|_ Ω _|_ Ω _p_ = _p,_ ¯ (2.12) _for_ _a_ _given_ _p_ ¯ _∈_ R _._ _Tacitly,_ _we_ _thus_ _require_ (2.3) _in_ (2.2) _whenever_ Vol <sup>_d−_</sup> <sup>1</sup> (Σp) = 0 _._ _2.7.2_ _Regularized_ _setting._ Numerically, it is not diserable to solve a discontinuous problem such as Problem 2.2. Indeed, since we use an explicit fixed-point algorithm, convergence is not guaranteed without continuity. We therefore follow the approach developed once again in [14], which consists in averaging the two drag operators _λ_ and _λ_ <sup>ˆ</sup> via a convolution to obtain a smooth law. This introduces an additional parameter, _ε >_ 0, which vanishes as the regularization weakens. The details of this regularization are found in [14] and the corresponding Python code at [12]. Still, for completeness, we give here an informal derivation of this regularized law and the respective regularized problem. 9 The authors in [14] exploit the variational, or energetic, formulation of the adaptive model to regularize the law via a convolution of the underlying energy functional. It is shown there that a pair ( _u_ _, p_ ) is solution to Problem 2.2 if and only if it is a saddle point of the energy functional _E_ defined by _E_ ( _φ_ _, ψ_ ) = Ω Ω Ω _qψ_ + _f_ _·_ _φ_ _−_ Σv _u_ 0 _ψ −_ _∇_ _ψ ·_ _φ_ _−D_ ( _φ_ ) _,_ where _D_ is called the _dissipation_ and is minimized on a certain restricted function space by a certain component of the solution _u_ (cf. [13, 14]). It encodes the information of the two chosen drag operators _λ_ and _λ_ <sup>ˆ</sup> and is of the form _D_ ( _φ_ ) = 2 <sup><u>1</u></sup> Ω _,_ d �Ψ( _∥_ _φ_ _∥_ <sup>2</sup> ) 1 Ω _δ_ [ _φ_ ] + Ψ( <sup>ˆ</sup> _∥_ _φ_ _∥_ <sup>2</sup> ) 1 ˆΩ _δ_ [ _φ_ ] where 1 _A_ stands for the indicator function of set _A_, and Ψ _,_ Ψ: <sup>ˆ</sup> R+ _→_ R+ satisfy _λ_ [ _φ_ ] = Ψ <sup>_′_</sup> ( _∥_ _φ_ _∥_ <sup>2</sup> ) d _φ_ and _λ_ ˆ[ _φ_ ] = ˆΨ <sup>_′_</sup> ( _∥_ _φ_ _∥_ <sup>2</sup> ) d _φ_ _._ We note that the discontinuity of the adaptive law is reflected in the discontinuity of the integrand of _D_ with respect to the variable _∥_ _φ_ _∥_ . In fact, _D_ is not differentiable and merely has a subdifferential, which is equal to the right-hand side of the adaptive law in Problem 2.2. To make the dissipation smooth, the integrand of _D_ is convolved with a Gaussian kernel _Gε_ of mean 0 and standard deviation some fixed _ε >_ 0. The convolution is applied on the space of flux magnitudes and yields the regularized dissipation _Dε_, defined as _Dε_ ( _φ_ ) = <sup><u>1</u></sup> 2 Ω �� �� Ψ( _∥_ _φ_ _∥_ <sup>2</sup> ) 1 Ω _δ_ [ _φ_ ] + Ψ( <sup>ˆ</sup> _∥_ _φ_ _∥_ <sup>2</sup> ) 1 ˆΩ _δ_ [ _φ_ ] _,_ d _Gε ∗_ and the corresponding energy _Eε_, given by _Eε_ ( _φ_ _, ψ_ ) = Ω Ω Ω _∇_ _ψ ·_ _φ_ _−Dε_ ( _φ_ ) _._ _qψ_ + _f_ _·_ _φ_ _−_ Σv _u_ 0 _ψ −_ The regularized problem then consists in finding a pair ( _u_ _ε, pε_ ) which is a saddle point of _Eε_ . Equivalently, after differentiation of the regularized dissipation, it consists in letting the seepage law be _−_ _∇_ _pε_ + _f_ = _λ_ _δ,ε_ [ _u_ _ε_ ] _,_ where the regularized drag operator _λ_ _δ,ε_ is given by _λ_ _δ,ε_ [ _u_ _ε_ ] = d _G_ <sup>_′_</sup> _ε_ <sup>_∗_</sup> �� �� Ψ( _∥_ _u_ _ε∥_ <sup>2</sup> ) 1 Ω _δ_ [ _u_ _ε_ ] + Ψ( <sup>ˆ</sup> _∥_ _u_ _ε∥_ <sup>2</sup> ) 1 ˆΩ _δ_ [ _u_ _ε_ ] _._ This drag operator contains the information of the threshold flux _u_ ¯ _δ_ via the indicator functions and the resulting _regularized_ _problem_ is the following: 10 Problem 2.4 (regularized) . _Find_ _u_ _ε_ : Ω _→_ R <sup>_d_</sup> _and_ _pε_ : Ω _→_ R _such_ _that_            div _u_ _ε_ = _q_ _in_ Ω _,_ _−_ _∇_ _pε_ + _f_ = _λ_ _δ,ε_ [ _u_ _ε_ ] _in_ Ω _,_ _u_ _ε ·_ _n_ = _u_ 0 _on_ Σv _,_ _pε_ = _p_ 0 _on_ Σp _._ Problem 2.4 is indeed the problem we validate numerically in Section 3 as a tool to generate partitions of porous media into fast and slow subdomains. Thanks to [14, Corollary 5.3 and Theorem 5.4], it is well posed and converges in a weak sense to the adaptive problem as _ε →_ 0. Thus, the slow and fast subdomains Ω _δ_ [ _u_ _ε_ ] and ˆΩ _δ_ [ _u_ _ε_ ] it generates differ from those stemming from the adaptive model, namely, Ω _δ_ [ _u_ ] and Ω <sup>ˆ</sup> _δ_ [ _u_ ], but are expected, though not yet proven, to be not too different for a reasonably small choice of _ε_, such as _ε_ = 0 _._ 1, which is the value we take for the numerical experiments below. 2.8 Remark: exponential seepage laws. As an intriguing observation, we show here an alternative way of reducing the number of inertial coefficients in the untruncated law (2.4.3), which yields laws different from those derived in Section 2.5 and, to our knowledge, not found in the current literature, although we do not explore them further in the present paper. _2.8.1_ _Derivation._ The idea is to reduce the number of coefficients to a single one by requiring that there be a coefficient _c_ : Ω _→_ R satisfying _i_ ! _ci_ = _c_ <sup>_i_</sup> _,_ _i ∈_ N _._ Moreover, we give ourselves a truncating parameter _m ∈_ N0 _∪{∞}_ . From (2.4.2), for all _x_ _∈_ Ωand _a_ ⩾ 0, we yield �� _c√_ _√_ k _/µ_ ( _x_ ) _a_ �� _c√_ 1 + _η_ ( _x_ _, a_ ) = _m_ _i_ =0 <u>1</u> _i_ ! - _i_ ( _x_ ) _a_ ( _x_ ) _a_ �� _c√_ _√_ k _/µ_ exp _,_ = _Gm_ k _/µ_ where _Gm_ : R+ _→_ (0 _,_ 1] is defined, for all _b ∈_ R+, as <u>Γ(</u> _<u>m</u>_ <u>+ 1</u> _<u>, b</u>_ <u>)</u> Γ( _m_ + 1 _,_ 0) if _m ∈_ N0 _,_ 1 if _m_ = _∞,_ _Gm_ ( _b_ ) =    where Γ is the upper incomplete gamma function [7]. Thus, (2.4.3) gives _−_ _∇_ _p_ + _f_ = _Gm_ ( _c_ Re[ _u_ ]) exp ( _c_ Re[ _u_ ]) d _u_ in Ω _._ (2.13) 11 We may call this law _full_ _exponential_ _law_ if _m_ = _∞_ and _truncated_ _exponential_ _law_ if _m_ _∈_ N0. This is again a generalized Forchheimer law since, from it, we retrieve the Darcy–Forchheimer law if _m_ = 1 and _c_ = _c_ F, and indeed Darcy’s law if _m_ = 0. However, when _m >_ 1, we yield laws different from those presented in Section 2.5. Mathematically, this formulation makes sense for some nonpositive and noninteger values of _m_ since the gamma function is well defined on some of those values. Further note that _Gm_ _↑_ _G∞_ pointwise as _m →∞_, so that indeed the truncated exponential law approaches the full law as the truncating parameter _m_ grows. Note, however, that well-posedness for such exponential laws is not guaranteed by the arguments in [14] since operator boundedness does not hold in this case. _2.8.2_ _Local_ _error._ Following the reasoning of Section 2.6.2 for exponential laws, using (2.8.1) with coefficients _c_ and _c_ ˆ and truncating parameters _m_ and _m_ ˆ, the local error _dc,m_ ;ˆ _c,_ ˆ _m_ [ _u_ ]: Ω _→_ R+ may be defined as _._ _dc,m_ ;ˆ _c,_ ˆ _m_ [ _u_ ] = <sup>_<u>|Gm</u>_</sup> <sup><u>(</u></sup> <sup>_<u>c</u>_</sup> <sup><u>Re[</u></sup> <sup>_<u>u</u>_</sup> <sup><u>]) exp(</u></sup> _G_ ˆ _m_ <sup>_<u>c</u>_</sup> (ˆ <sup><u>Re[</u></sup> _c_ Re[ <sup>_<u>u</u>_</sup> _u_ <sup><u>])</u></sup> ]) exp(ˆ <sup>_<u>−</u>_</sup> <sup>_<u>G</u>_</sup> <sup><u>ˆ</u></sup> <sup>_<u>m</u>_</sup> _c_ <sup><u>(ˆ</u></sup> Re[ <sup>_<u>c</u>_</sup> <sup><u>Re[</u></sup> _u_ <sup>_<u>u</u>_</sup> ]) <sup><u>]) exp(ˆ</u></sup> <sup>_<u>c</u>_</sup> <sup><u>Re[</u></sup> <sup>_<u>u</u>_</sup> <sup><u>])</u></sup> <sup>_<u>|</u>_</sup> Example 2.5 (equal coefficients and full exponential) . _The_ _particular_ _case_ _c_ = _c_ ˆ _and_ _m > m_ ˆ _simplifies_ _into_ _dm_ ; _c,_ ˆ _m_ [ _u_ ] := _dc,m_ ; _c,_ ˆ _m_ [ _u_ ] = 1 _−_ <sup>_<u>G</u>_</sup> _G_ ˆ <sup>_<u>m</u>_</sup> _m_ <sup><u>(</u></sup> ( <sup>_<u>c</u>_</sup> _c_ <sup><u>Re[</u></sup> Re[ <sup>_<u>u</u>_</sup> _u_ <sup><u>])</u></sup> ]) <sup>_<_</sup> <sup>1</sup> <sup>_,_</sup> _which,_ _when_ _m_ ˆ = _∞,_ _further_ _cuts_ _down_ _to_ _dm_ ; _c_ [ _u_ ] := _dc,m_ ; _c,∞_ [ _u_ ] = 1 _−_ _Gm_ ( _c_ Re[ _u_ ]) _._ (2.14) The considerations in Section 2.6.3 still hold in the exponential setting given in Example 2.5. Indeed, one can find ∆ _m,_ ; _c,_ ˆ _m_ : Ω _×_ R+ _→_ [0 _,_ 1) so that, for all _x_ _∈_ Ω, there holds _dm_ ; _c,_ ˆ _m_ [ _u_ ]( _x_ ) = ∆ _m_ ; _c,_ ˆ _m_ ( _x_ _, ∥_ _u_ ( _x_ ) _∥_ ) _,_ where ∆ _m_ ; _c,_ ˆ _m_ ( _x_ _, ·_ ) is an increasing bijection. Using the same definition as in (2.6.3), when the reference law is the full exponential, from (2.5), one gets <sup>_−_</sup> _m_ <sup>1(1</sup> <sup>_−_</sup> <sup>_δ_</sup> <sup>)</sup> _c_ _~~√~~_ <sup>_<u>µ</u>_</sup> _wδ_ = _G_ <sup>_−_</sup> <sup>1</sup> _m_ _c_ _~~√~~_ <sup>_<u>µ</u>_</sup> k _,_ k which yields _u_ ¯ _δ_ = _G_ <sup>_−_</sup> _m_ <sup>1</sup> Ω <sup>_−_</sup> <sup>1</sup> _m_ <sup>(1</sup> <sup>_−_</sup> <sup>_δ_</sup> <sup>) inf</sup> Ω _<u>µ</u>_ _c_ _~~√~~_ _<u>µ</u>_ _c_ _~~√~~_ _._ The inverse _G_ <sup>_−_</sup> _m_ <sup>1</sup> The inverse _G_ <sup>_−_</sup> _m_ <sup>1</sup> can, in general, be computed numerically; but, if, for instance _m_ = 0, that is, the drag operator _λ_ is Darcy’s, then _G_ <sup>_−_</sup> 0 <sup>1</sup> = _−_ ln, so that _<u>µ</u>_ _c_ _~~√~~_ _<u>µ</u>_ _c_ _~~√~~_ <sup>_−_</sup> 0 <sup>1</sup> = _−_ ln, so that _u_ ¯ _δ_ = _−_ ln(1 _−_ _δ_ ) infΩ 12 _u_ ¯ _δ_ = _−_ ln(1 _−_ _δ_ ) infΩ k _._ 3 Numerical validation In this section, we present four test cases to validate the performance and quality of our approach, that is, the results of the numerical resolution of Problem 2.4 using Raviart–Thomas finite elements and an explicit fixed-point algorithm, as described in detail in [14]. Note that, in this section, as opposed to the rest of the paper, we refer to the model in Problem 2.4 as the _adaptive_ model, rather than _regularized_ ; this is to keep stressing the fact that there always is an underlying adaptability between the nonlinear and linear laws in the numerically solved model. In Section 3.1, two examples are proposed with two or more highly conductive channels and a background heterogeneity, as inspired by [32]. The examples in Sections 3.2 and 3.3 are based on the SPE10 benchmark study [8], where we consider, respectively, a single layer and multiple layers. 3.1 Highly permeable channels. This test case is based on the examples reported in [32] for a Darcy–Forchheimer system, and adapted here for our purposes. We consider in particular two configurations depending on the number of highly conductive channels that are present in the problem. In the first case, reported in Section 3.1.1, two vertical channels are present, while in Section 3.1.2 a network of vertical and horizontal channels is considered. For both tests, we consider the following physical data for the fluid: dynamic viscosity _µ_ = 0 _._ 001[Pa _·_ s] and density _ρ_ = 998 _._ 0[kg _·_ m <sup>_−_</sup> <sup>3</sup> ]. For the porous medium, the permeability is reported in Figure 1 for each configuration. To pass from permeability to porosity and vice-versa when needed, we use the Kozeny–Carman law: _<u>ϕ</u>_ <sup>3</sup> (1 _−_ _ϕ_ ) <sup>2</sup> <sup>_,_</sup> k = k ref <u>(1</u> _<u>−</u>_ _<u>ϕ</u>_ <u>ref</u> <u>)</u> <sup>2</sup> _ϕ_ <sup>3</sup> ref where k ref = 1 _._ 0152441851 _·_ 10 <sup>_−_</sup> <sup>9</sup> [m <sup>2</sup> ] and _ϕ_ ref = 35[%] (cf. [32]). Unless stated otherwise, we fix the error tolerance _δ_ = 0 _._ 1[ _−_ ], yielding the critical Forchheimer number Fo _δ_ _≃_ 0 _._ 11[ _−_ ] (cf. Section 2.6); moreover, as chosen in [32], we let _m_ = 1, corresponding to the classical Darcy–Forchheimer model, with coefficient _c_ F = 0 _._ 55[ _−_ ] (cf. Section 2.5). For each case, we consider two scenarios for different values of the top inflow magnitude: _Scenario_ _a_, with _u_ in = 7 _·_ 10 <sup>_−_</sup> <sup>3</sup> [kg _·_ m <sup>_−_</sup> <sup>2</sup> _·_ s <sup>_−_</sup> <sup>1</sup> ]; _Scenario_ _b_, with _u_ in = 7 _·_ 10 <sup>_−_</sup> <sup>2</sup> [kg _·_ m <sup>_−_</sup> <sup>2</sup> _·_ s <sup>_−_</sup> <sup>1</sup> ]. On the left and right parts of the boundary, we set zero flux, while on the bottom part, we impose the hydrostatic pressure _p_ atm + _ρgh_, where _p_ atm = 1 _._ 01325 _·_ 10 <sup>5</sup> [Pa], _h_ = 10[m] and _g_ = 9 _._ 81[m _·_ s <sup>_−_</sup> <sup>2</sup> ]. _3.1.1_ _Two_ _vertical_ _channels._ We consider here the case where only two highly conductive channels are present in the domain, spanning the domain from top to bottom. Their permeability is roughly two orders of magnitude higher than that 13 Figure 1: On the left, the log-permeability for the example of Section 3.1.1; on the right, for Section 3.1.2. of the surrounding porous medium, and they are aligned with the flow direction given by the top boundary condition (cf. left in Figure 1). Depending on the flux intensity, _Scenario_ _a_ or _Scenario_ _b_, we expect to observe a Darcy-Forchheimer, i.e., nonlinear, flow develop inside these channels and a Darcy, i.e., linear, flow outside. In Figure 2, we report the solution obtained for both scenarios. We notice that for _Scenario_ _b_, as expected, the flow in the two channels is higher than in _Scenario_ _a_, resulting in a higher Forchheimer number so that more cells are selected in the Darcy–Forchheimer region, or subdomain (identified in the legend of the figure with the value 1). For _Scenario_ _b_, both channels along with some extra cells are selected to be in the Darcy–Forchheimer region. For _Scenario_ _a_, only cells in the channels are selected; more precisely, all cells are selected in the left channel, possibly because it is narrower than the right one and thus develops a higher flow rate. Table 1 shows the _L_ <sup>2</sup> errors computed relative to a reference solution, namely, the solution to the global Darcy–Forchheimer model, that is, the Darcy–Forchheimer model applied in the whole domain, without any adaptivity involved. The errors are rather small, although we see that if a global Darcy model is used, we make an error that reaches several orders of magnitude more than with the adaptive model, especially for _Scenario_ _b_, even if the cells selected in the Darcy–Forchheimer subdomain in the adaptive model are many fewer than those in the Darcy subdomain. In both scenarios, the flux _u_ is affected by higher errors than the pressure _p_ . In Figure 5, we decrease the error tolerance _δ_ for both scenarios. We notice that by setting lower and lower values of _δ_, coherently, the Darcy–Forchheimer cells become more and more numerous. First, the two channels become entirely of Darcy– Forchheimer type; then, the top boundary condition and the heterogeneities of the background permeability start to play a role in determining where the rest of the Darcy–Forchheimer subdomain develops and thus which cells should be selected. 14 Figure 2: Solutions obtained to the adaptive model for the example in Section 3.1.1, in the top row for _Scenario_ _a_ and in the bottom row for _Scenario_ _b_ . The pressure is multiplied by 1000, and the velocity arrows inside the channels are scaled by 1 _/_ 6 and 1 _/_ 21 in comparison with those outside, respectively for each scenario. <u>Forchheimer</u> <u>region</u> <u>Darcy</u> <u>region</u> <u>Whole</u> <u>domain</u> <u>Darcy</u> <u>Adaptive</u> <u>Darcy</u> <u>Adaptive</u> <u>Darcy</u> <u>Adaptive</u> _errp_ 5.01e-10 3.64e-12 4.31e-10 8.36e-11 4.33e-10 8.28e-11 _Sce._ _a_ _err_ _u_ <u>6.89e-06</u> <u>1.47e-06</u> <u>4.95e-06</u> <u>2.61e-06</u> <u>6.28e-06</u> <u>1.95e-06</u> _errp_ 3.98e-08 1.70e-12 4.35e-08 9.68e-12 4.33e-08 9.37e-12 _Sce._ _b_ _err_ _u_ 6.20e-05 3.43e-08 1.27e-04 3.68e-07 6.28e-05 4.83e-08 Table 1: _L_ <sup>2</sup> errors of the adaptive and global Darcy solutions relative to the global Darcy–Forchheimer solutions, broken down in the Darcy–Forchheimer, Darcy and whole domains, for both scenarios of the example in Section 3.1.1. By taking _δ_ even smaller, we expect that all the cells will be selected to be of Darcy–Forchheimer type. _3.1.2_ _Network_ _of_ _channels._ In this example, we consider the same background permeability as in the previous case, on which we place a network of intersecting horizontal and vertical channels with same width. All these channels are completely immersed in the domain without touching the boundary and they have permeabilities much higher than the surrounding medium. We expect, compared with the 15 Figure 3: Darcy (red) and Darcy–Forchheimer (blue) regions depending on the error tolerance _δ_ decreasing from left to right according to _δ_ = 0 _._ 05, _δ_ = 0 _._ 0125 and _δ_ = 0 _._ 003125, in the top row for _Scenario_ _a_ and in the bottom row for _Scenario_ _b_, for the example in Section 3.1.1. previous case, a more intricate flow distribution and thus a complex subdivision of cells into linear and nonlinear regions. In Figure 4, we report the solutions for _Scenario_ _a_ and _Scenario_ _b_ by, recall, fixing the value of the error tolerance _δ_ = 0 _._ 1. As expected, _∥_ _u_ _∥_ for _Scenario_ _b_ is much higher than for _Scenario_ _a_, which results in a higher Forchheimer number and consequently in more cells marked as Darcy–Forchheimer. We notice that, for _Scenario_ _a_, the Darcy–Forchheimer cells lie mostly inside the network, with only a few more cells leaking out of it and connecting with the bottom boundary. In contrast, for _Scenario_ _b_, two rather large regions, about the top and bottom of the domain, are marked as Darcy–Forchheimer and connect with the network. Table 2 shows the relative errors made by the global Darcy model and the adaptive model with respect to the global Darcy–Forchheimer model, considered thus to be the reference. As for the two-channel case, we notice that the adaptive scheme is more accurate, by several order of magnitude, than the global Darcy model. In particular, the detrimental impact of the error made in the cells marked as Darcy– Forchheimer brings down the error in the whole domain, even if these cells are many fewer than the Darcy cells. The adaptive approach gives thus rather accurate results. In Figure 5, we show the region split by decreasing the error tolerance _δ_ . As 16 Figure 4: Solutions obtained to the adaptive model for the example in Section 3.1.2, in the top row for _Scenario_ _a_ and in the bottom row for _Scenario_ _b_ . The pressure is multiplied by 1000, and the velocity arrows inside the channels are scaled by 1 _/_ 11 and 1 _/_ 120 in comparison with those outside, respectively for each scenario. <u>Forchheimer</u> <u>region</u> <u>Darcy</u> <u>region</u> <u>Whole</u> <u>domain</u> <u>Darcy</u> <u>Adaptive</u> <u>Darcy</u> <u>Adaptive</u> <u>Darcy</u> <u>Adaptive</u> _errp_ 6.08e-10 5.56e-13 6.03e-10 6.67e-13 6.03e-10 6.60e-13 _Sce._ _a_ _err_ _u_ <u>1.43e-04</u> <u>8.02e-08</u> <u>4.76e-04</u> <u>5.27e-07</u> <u>1.56e-04</u> <u>1.07e-07</u> _errp_ 6.53e-08 1.85e-13 5.75e-08 1.24e-13 6.02e-08 1.47e-13 _Sce._ _b_ _err_ _u_ 1.55e-03 7.54e-10 9.02e-04 3.59e-08 1.55e-03 9.09e-10 Table 2: _L_ <sup>2</sup> errors of the adaptive and global Darcy solutions relative to the global Darcy–Forchheimer solutions, broken down in the Darcy–Forchheimer, Darcy and whole domains, for both scenarios of the example in Section 3.1.2. expected, the cells marked as Darcy–Forchheimer grow in number by filling up the zones near the top and bottom parts of the domain and then the areas in between the highly conductive channels. _3.1.3_ _Behavior_ _with_ _error_ _tolerance._ For both the two-channel and network examples, we plot in Figure 6 the errors obtained on the adaptive model relative the global Darcy–Forchheimer model as a function of the error tolerance _δ_ . The dashed lines for the relative errors, corresponding to _Scenario_ _b_, drop to zero starting from 17 Figure 5: Darcy (red) and Darcy–Forchheimer (blue) regions depending on the error tolerance _δ_ decreasing from left to right according to _δ_ = 0 _._ 05, _δ_ = 0 _._ 0125 and _δ_ = 0 _._ 003125, in the top row for _Scenario_ _a_ and in the bottom row for _Scenario_ _b_, for the example in Section 3.1.2. a certain value of _δ_, since, from that value on, all cells in the adaptive approach are classified as Darcy–Forchheimer. This phenomenon is not seen in _Scenario_ _a_ since the intensity of the top condition is one order of magnitude smaller than in the other scenario. In all examples and scenarios, the trend of the error is as expected: by decreasing _δ_, the relative errors decrease and, simultaneously, the numbers of cells belonging to the Darcy–Forchheimer subdmain increase. 3.2 One layer from SPE10. In this example, we consider a single layer, namely, Layer 35, of the SPE10 benchmark study [8] represented as a bidimensional domain. For the fluid, we consider the following physical parameters: the dynamic viscosity _µ_ = 3 _·_ 10 <sup>_−_</sup> <sup>4</sup> [Pa _·_ s] and the density _ρ_ = 1025[kg _·_ m <sup>_−_</sup> <sup>3</sup> ]. The permeability is given by the benchmark study and it is represented in Figure 7, where we notice some highly permeable paths surrounded by areas of low permeability. As in the previous examples, the error tolerance is by default set to _δ_ = 0 _._ 1; the nonlinear exponent _m_ = 1, so that we are considering the Darcy–Forchheimer law, and the Forchheimer coefficient is set as _cF_ = 0 _._ 55[ _−_ ]. We consider zero flux all around the boundary; moreover, we set five wells: one injector in the center of the domain and four identical producers at the corners. We 18 10 <sup>_−_</sup> <sup>5</sup> 10 <sup>_−_</sup> <sup>8</sup> 10 <sup>_−_</sup> <sup>11</sup> 10 <sup>_−_</sup> <sup>14</sup> 10 <sup>1</sup> 10 <sup>2</sup> 10 <sup>3</sup> 10 <sup>4</sup> 10 <sup>5</sup> 1 _/δ_ 1 _._ 0 0 _._ 8 0 _._ 6 0 _._ 4 0 _._ 2 0 _._ 0 channel - _errp_ network - _errp_ channel - _erru_ network - _erru_ channel - DF-cells network - DF-cells Figure 6: Pressure (in red) and flux (in blue) _L_ <sup>2</sup> relative errors by taking smaller values of the error tolerance _δ_ . The solid lines refer to _Scenario_ _a_ and the dashed lines to _Scenario_ _b_ for both the examples of Sections 3.1.1 (two-channel) and 3.1.2 (network). In green, the ratio between the number of Darcy–Forchheimer cells and the total number of cells. consider different scenarios depending on the flux imposed in the injection well: in _Scenario_ _a_, we set _u_ in = 10[kg _·_ s <sup>_−_</sup> <sup>1</sup> ]; in _Scenario_ _b_, _u_ in = 50[kg _·_ s <sup>_−_</sup> <sup>1</sup> ]; in _Scenario_ _c_, _u_ in = 200[kg _·_ s <sup>_−_</sup> <sup>1</sup> ]. Figure 7: Logarithm of permeability for the example in Section 3.2. We represent in Figure 8 the solution to the adaptive model obtained for the 19 different scenarios. We notice that by increasing the inflow at the injection well, the cells marked as Darcy–Forchheimer become more numerous and, in particular, are preferably selected along the high-permeability channels connecting some of the wells. Even if the two wells on the bottom left and top right are not in highly permeable areas, for _Scenario_ _c_, some Darcy–Forchheimer cells start to be selected around these two wells and, in particular for the second one, in the highly permeable region separating the well itself from the central injector. Figure 8: Solutions obtained to the adaptive model for the example in Section 3.2, in the top row for _Scenario_ _a_, in the middle row for _Scenario_ _b_ and in the bottom row for _Scenario_ _c_ . The velocity arrows are scaled by 1 _/_ 92, 1 _/_ 23 and 1 _/_ 4, respectively for each scenario. Figure 9 shows the Darcy–Forchheimer cells with decreasing error tolerance _δ_ . We notice that the number of cells belonging to the Darcy–Forchheimer region increases by first following highly permeable paths from the injection well to the 20 production wells, and then accepting also regions of lower permeability. In the last figure, the error tolerance is so small that most of the cells are categorized as Darcy– Forchheimer. We expect that by reducing _δ_ even further, we would get all the cells into the nonlinear subdomain. Figure 9: Darcy (red) and Darcy–Forchheimer (blue) regions depending on the error tolerance _δ_ decreasing from left to right according to _δ_ = 0 _._ 05, _δ_ = 0 _._ 0125 and _δ_ = 0 _._ 003125, in the top row for _Scenario_ _a_ and in the bottom row for _Scenario_ _c_, for the example in Section 3.2. In Figure 10, we show the _L_ <sup>2</sup> errors in pressure and flux for the adaptive model relative to the global Darcy–Forchheimer model, as well as the number of Darcy– Forchheimer cells selected by the adaptive model, all as functions of the error tolerance _δ_ . As for the examples of Section 3.1, by lowering the error tolerance, the adaptive approach tends to have a solution that is more similar to the global Darcy– Forchheimer model, and thus yields a smaller error. In fact, when the percentage of the Darcy–Forchheimer cells reaches 1, the adaptive model is equivalent to the global Darcy–Forchheimer one and thus has an error of exactly zero. 3.3 Three-dimensional test case. In this last test case, we consider a tridimensional portion of the SPE10 benchmark [8], composed of the first 15 layers. However, 21 10 <sup>_−_</sup> <sup>8</sup> 10 <sup>_−_</sup> <sup>10</sup> 10 <sup>_−_</sup> <sup>12</sup> 1 _._ 0 0 _._ 8 0 _._ 6 0 _._ 4 0 _._ 2 0 _._ 0 10 <sup>1</sup> 10 <sup>2</sup> 10 <sup>3</sup> 10 <sup>4</sup> 10 <sup>5</sup> 1 _/δ_ _qin_ = 10 - _errp_ _qin_ = 10 - _erru_ _qin_ = 10 - DF-cells _qin_ = 50 - _errp_ _qin_ = 50 - _erru_ _qin_ = 50 - DF-cells _qin_ = 200 - _errp_ _qin_ = 200 - _erru_ _qin_ = 200 - DF-cells Figure 10: Pressure (in red) and flux (in blue) _L_ <sup>2</sup> relative errors by taking smaller values of the error tolerance _δ_ . The solid lines refer to _Scenario_ _a_, the dashed lines to _Scenario_ _b_, and the dashed-and-dotted lines to _Scenario_ _c_, for the example of Section 3.2. In green, the ratio between the number of Darcy–Forchheimer cells and the total number of cells. to keep the computational cost limited, we select only the first 10 cells in the _x_ direction and the first 20 in the _y_ direction. As done in the previous example, we consider fives wells: one in the centre of the domain, the injector, and four in the corners, the producers. Here, the wells are represented as monodimensional objects and a Peaceman model [23,24] is used for the coupling with the surrounding porous medium. The wells are placed in the middle of each of their cells and are nonmatching with the porous-medium grid. By keeping the injection flow rate fixed, equal to 10[kg _·_ s <sup>_−_</sup> <sup>1</sup> ], we change the depth of the wells and see the impact on the selection procedure of Darcy and Darcy–Forchheimer cells by the adaptive model. Although the models presented in Section 2 only consider a scalar permeability k, we wish here to take into account the anisotropy given by the SPE10 case study in the vertical direction. To do so, we alter the Darcy–Forchheimer law slightly: in Ω _,_ _−_ _∇_ _p_ + _f_ = (1 + _c_ F Re[ _u_ ]) _ν_ K <sup>_−_</sup> <sup>1</sup> _u_ where K is now the permeability tensor and the Reynolds number is updated into Re[ _u_ ] = <sup><u>det(K)1</u></sup> <sup>_/_</sup> <sup>6</sup> _µ_ _∥_ _u_ _∥_ _._ 22 We refer the reader to [18, 25] for a justification of such a law. Note, however, that this form does not fit in the context of [13, 14], where the adaptive model is derived and shown to be well posed, since, for that, the norm of the flux in the Reynolds number would need to be weighed by K <sup>_−_</sup> <sup>1</sup> . We leave the precise numerical treatment of the tensor model for future investigation and accept for now the validity, in our context, of the above three-dimensional version of the Darcy–Forchheimer law. We have in fact, for the SPE10 study, a permeability tensor which is diagonal with equal values in the _x_ and _y_ directions and a different value in the _z_ direction. A representation of the permeability field is reported in Figure 11. Figure 11: Log-permeability field for the example in Section 3.3 in the horizontal (left) and vertical (right) directions. In Figure 12, we show a comparison of the obtained adaptive solution by making the wells deeper: 3.5 cells for _Scenario_ _a_, 7.5 cells for _Scenario_ _b_, and 9.5 cells for _Scenario_ _c_ . We notice that, by considering the wells deeper, we get more Darcy– Forchheimer cells since indeed more regions of high permeability are thus connected. For the same reason, we observe that the number of Darcy–Forchheimer cells on the top layer reduces in favor of deeper connections. Figure 12: Darcy (opaqued red) and Darcy–Forchheimer (blue) regions for different well depths for the example in Section 3.3. From left to right: _Scenario_ _a_ (3.5 cells deep), _Scenario_ _b_ (7.5) and _Scenario_ _c_ (9.5). The velocity arrows for _Scenario_ _a_ are halved compared to the other two scenarios. 23 4 Conclusion In conclusion, our study presents a strategy for an automatic selection of linear- and nonlinear-flow regions in highly heterogeneous porous media, particularly answering the challenges raised by deviations from Darcy’s law in highly permeable areas. Through a combination of theoretical derivations, empirical observations, and numerical simulations, we have demonstrated the significance of nonlinear corrections to Darcy’s law by accurately capturing complex flow behaviors, especially in regions with high permeability. Moreover, our approach, by using an adaptive regularized model based on a physically motivated flux threshold, offers a promising strategy for identifying and distinguishing between linear and nonlinear regimes within porous media. A local tolerance on the error, from which the threshold value is derived, has been introduced to switch between the linear and nonlinear laws effectively based on local physical properties. The experimental validation we have conducted across several numerical test cases shows the effectiveness of our methodology, although, as mentioned in the introduction, more investigation is needed to combine our strategy with a domaindecomposition technique and thus yield an complete, accurate and computationally efficient approach for flows in highly heterogeneous porous media. References [1] `[https://github.com/pmgbergen/porepy](https://github.com/pmgbergen/porepy)` . [2] E. Ahmed, A. Fumagalli, and A. Budiˇsa. A multiscale flux basis for mortar mixed discretizations of reduced Darcy–Forchheimer fracture models. _Comput._ _Methods_ _Appl._ _Mech._ _Eng._, 354:16–36, 2019. [3] J. D. Audu, F. A. Fairag, and S. A. Messaoudi. On the well-posedness of gen eralized Darcy–Forchheimer equation. _Bound._ _Value_ _Probl._, 2018(123), 2018. [4] E. Aulisa, L. Bloshanskaya, L. Hoang, and A. Ibragimov. Analysis of generalized Forchheimer flows of compressible fluids in porous media. _J._ _Math._ _Phys._, 50(10):103102, 2009. [5] A. P. Baitharu, S. Sahoo, and G. C. Dash. Numerical approach to non-Darcy mixed convective flow of non-Newtonian fluid on a vertical surface with varying surface temperature and heat source. _Karbala_ _Int._ _J._ _Mod._ _Sci._, 6(3), 2020. [6] A. Barhoi, C. Gohain, G. C. Hazarika, and M. Clement Joe Anand. Numerical solution of skin friction in porous medium using Brinkman Forchheimer model under fuzzy environment. _Int._ _J._ _Appl._ _Comput._, preprint, 2022. 24 [7] M. A. Chaudhry and S. M. Zubair. _On a Class of Incomplete Gamma Functions_ _with_ _Applications_ . Chapman & Hall, 2001. [8] M. A. Christie and M. J. Blunt. _SPE-66599-MS_, chapter Tenth SPE Compar ative Solution Project: A Comparison of Upscaling Techniques, page 13. Soc. Pet. Eng., Houston, Texas, 2001. [9] D. A. Di Pietro, M. Vohral´ık, and S. Yousef. Adaptive regularization, lineariza tion, and discretization and a posteriori error control for the two-phase Stefan problem. _Math._ _Comp._, 84:153–186, 2015. [10] M. S. Espedal, K. J. Hersvik, and B. G. Ersland. Domain decomposition meth ods for flow in heterogeneous porous media. _Contemp._ _Math._, 218:104–120, 1998. [11] M. Firdaouss, J.-L. Guermond, and P. Le Qu´er´e. Nonlinear corrections to Darcy’s law at low Reynolds numbers. _J._ _Fluid_ _Mech._, 343:331–350, 1997. [12] A. Fumagalli and F. S. Patacchini. `[https://github.com/compgeo-mox/](https://github.com/compgeo-mox/validate_adaptative)` `[validate_adaptative](https://github.com/compgeo-mox/validate_adaptative)` . [13] A. Fumagalli and F. S. Patacchini. Model adaptation for non-linear elliptic equations in mixed form: existence of solutions and numerical strategies. _ESAIM:_ _Math._ _Model._ _Numer._ _Anal._, 56(2):565–592, 2022. [14] A. Fumagalli and F. S. Patacchini. Well-posedness and variational numerical scheme for an adaptive model in highly heterogeneous porous media. _J. Comput._ _Phys._, 475:111844, 2023. [15] F. F´evotte, A. Rappaport, and M. Vohral´ık. Adaptive regularization, discretiza tion, and linearization for nonsmooth problems based on primal–dual gap estimators. _Comput._ _Methods_ _Appl._ _Mech._ _Eng._, 418:116558, 2024. [16] L. Hoang and A. Ibragimov. Structural stability of generalized Forchheimer equations for compressible fluids in porous media. _Nonlinearity_, 24(1):1–41, 2011. [17] E. Keilegavlen, R. Berge, A. Fumagalli, M. Starnoni, I. Stefansson, J. Varela, and I. Berre. Porepy: An open-source software for simulation of multiphysics processes in fractured porous media. _Comput._ _Geosci._, 2020. [18] P. M. Knupp and J. L. Lage. Generalization of the Forchheimer-extended Darcy flow model to the tensor premeability case via a variational principle. _J._ _Fluid_ _Mech._, 299:97–104, 1995. 25 [19] V. A. Kovtunenko. Mixed variational problem for a generalized Darcy– Forchheimer model driven by hydraulic fracture. _J._ _Vib._ _Test._ _Dyn._ _Syst._, 7(1):15–21, 2023. [20] P. Macini, E. Mesini, and R. Viola. Laboratory measurements of non-Darcy flow coefficients in natural and artificial unconsolidated porous media. _J._ _Pet._ _Sci._ _Eng._, 77(3):365–374, 2011. [21] E. Maruˇsi´c-Paloka and A. Mikeli´c. The derivation of a nonlinear filtration law including the inertia effects via homogenization. _Nonlinear_ _Anal._ _Theory_ _Methods_ _Appl._, 42(1):97–137, 2000. [22] S. P. Neuman. Theoretical derivation of Darcy’s law. _Acta_ _Mech._, 25(3-4):153– 170, 1977. [23] D. W. Peaceman. Interpretation of well-block pressures in numerical reservoir simulation (includes associated paper 6988). _Soc._ _Pet._ _Eng._ _J._, 18(03):183–194, 1978. [24] D. W. Peaceman. Interpretation of well-block pressures in numerical reservoir simulation with nonsquare grid blocks and anisotropic permeability. _Soc._ _Pet._ _Eng._ _J._, 23(03):531–543, 1983. [25] F. Russo Spena and A. Vacca. A potential formulation of non-linear models of flow through anisotropic porous media. _Transp._ _Porous_ _Media_, 45:405–421, 2001. [26] D. Ruth and H. Ma. On the derivation of the Forchheimer equation by means of the averaging theorem. _Transp._ _Porous_ _Media_, 7(3):255–264, 1992. [27] J. O. Skogestad, E. Keilegavlen, and J. M. Nordbotten. Domain decomposition strategies for nonlinear flow problems in porous media. _J._ _Comput._ _Phys._, 234:439–451, 2013. [28] W. Sobieski and A. Trykozko. Darcy’s and Forchheimer’s laws in practice. Part 1. The experiment. _Tech._ _Sci._, 17(4):321–335, 2014. [29] W. Sobieski and A. Trykozko. Darcy’s and Forchheimer’s laws in practice. Part 2. The numerical model. _Tech._ _Sci._, 17(4):337–350, 2014. [30] S. Whitaker. Flow in porous media I: A theoretical derivation of Darcy’s law. _Transp._ _Porous_ _Media_, 1(1):3–25, 1986. [31] S. Whitaker. The Forchheimer equation: A theoretical development. _Transp._ _Porous_ _Media_, 25(1):27–61, 1996. 26 [32] R. Winter, A. Valsamidou, H. Class, and B. Flemisch. A study on Darcy versus Forchheimer models for flow through heterogeneous landfills including macropores. _Water_, 14(4), 2022. [33] Z. Zeng and R. Grigg. A criterion for non-Darcy flow in porous media. _Transp._ _Porous_ _Media_, 63:57–69, 2006. [34] T. Zhang, Y. Zhao, Q. Gan, L. Yuan, G. Zhu, Y. Cai, and B. Cao. Experimental investigation of Forchheimer coefficients for non-Darcy flow in conglomerateconfined aquifer. _Geofluids_, pages 1–21, 2018. 27

섹션 본문 128문단 · 39,762자

(제목 없음)

1An adaptive model for the description of flows in highly heterogeneous porous media is developed in[13,14].There, depending on the magnitude of the fluid's velocity, the constitutive law linking velocity and pressure gradient is selected between two possible options, one better adapted to slow motion and the other to fast motion.We propose here to validate further this adaptive approach by means of more extensive numerical experiments, including a three-dimensional case, as well as to use such approach to determine a partition of the domain into slow-and fast-flow regions.

Introduction

2In the context of flow modeling in porous media, Darcy's law is omnipresent.It is a linear relationship between velocity and pressure gradient, and allows for tensor permeabilities.Its validity is supported both theoretically, via a derivation from Navier-Stokes equations, and empirically, through countless experiments.When velocities deviate from those typically found in porous media, as a result of particularly heterogeneous permeabilities, Darcy's law can, however, be challenged.This was noted experimentally in many studies [28,29,34].Indeed, in highly permeable areas of a porous medium, such as in fractures, macropores or conduits, the velocity may get high enough to generate nonnegligeable inertial and frictional effects which translate into a nonlinear relation with the pressure gradient.Experimentally, this deviation is noticed as an overestimation of the velocity by Darcy's law compared to that empirically measured.Indeed, from an energetic viewpoint, the effect of the nonlinearity is to penalize high velocities by giving them a high energetic cost.The nonlinearity can also be retrieved theoretically, from averaging and homogenization methods, without, however, providing an explicit formulation of this nonlinearity [21,22,26,30,31].Instead, these methods yield the nonlinearity as a perturbation, or correction, of Darcy's law which needs to be fitted empirically.One possible expression for the nonlinearity, which we assume in the present work, is polynomial, meaning that the pressure gradient is a polynomial function of the velocity.This approach includes the widely used Darcy-Forchheimer law, which is a quadratic correction.

3Numerically, the nonlinearity thus introduced increases precision but slows down simulations.Nevertheless, the portions of the porous medium where the nonlinear correction has a significant impact are typically small compared to the size of the whole domain.Therefore, the use of the nonlinear perturbation of Darcy's law can be limited to a small subdomain, while the classical Darcy law can be kept in most of the medium.As a result, a-priori knowledge of where these nonlinear regions lie should help improve accuracy without significant computational cost.Indeed, if a domain partition can be devised subdividing the medium into a slow region and a fast region, then a domain-decomposition algorithm [2,10,27] can be run over this partition where Darcy's law is solved in the slow region and a nonlinear law, such as the Darcy-Forchheimer law, is solved in the fast region.We expect this approach to be more precise than solving Darcy's law globally and faster than solving the nonlinear law globally.The crucial point here is to get the knowledge a priori of where each region lies; we aim to answer this point in the present paper, while we leave the domain-decomposition step for future investigation.Methods a posteriori are also envisageable [9,15], though not explored here.

4To locate the linear and nonlinear regions, we propose to use the adaptive model introduced in [13,14].There, the authors derive a model where the constitutive law linking velocity and pressure gradient switches from linear to nonlinear according to a fixed threshold on the seepage-flux magnitude: when the magnitude is below the threshold, the linear law is solved, and when it is above, the nonlinear law is solved instead.As a result, a law which naturally adapts itself given the flux speed is obtained.Although well-posedness of the adaptive model is proved in [13,14], the adaptive law is discontinuous in speed, leading to a jump of pressure gradient at the transition zones between the two laws.Consequently, the adaptive model is rather unsuited for numerical simulation.To circumvent this, the authors in [14] tackle this discontinuity via a regularization argument.More precisely, an energetic, or variational, formulation of the discontinuous problem is derived and smoothed by convolving it with a Gaussian kernel.Then, as an optimization problem, the smooth constitutive model ensues and is shown to converge to the original adaptive model as the regularization parameter vanishes.This regularized law is precisely that which we propose to use in this paper to determine the partition of the medium into slow and fast regions.The result of this task is a labeling of each mesh cell as belonging to one or the other subdomain and strongly depends on the tolerance we give ourselves on the error allowed when solving Darcy's law rather than a nonlinear one; this tolerance is encoded in the very definition of the flux threshold.

5This approach may seem to yield a slower model than a globally nonlinear one, since indeed the determination of the regions is carried out by solving another nonlinear, albeit smooth, problem, that is, the regularized problem.Overall then, solving the regularized model to obtain the regions and subsequently implementing a domain decomposition according to the obtained regions should be slower than simply solving the nonlinear model globally.However, we hope that our two-step approach (solving the regularized model followed by a domain decomposition) opens the possibility in a future work to introduce machine-learning techniques to determine the regions in a computationally efficient way.

6The paper is organized as follows: in Section 2, we summarize the various nonlinear laws considered by our model, we derive an expression for the flux threshold depending on the prescribed tolerance and we recall the adaptive and regularized models of [13,14]; in Section 3, we show the validity of the approach by experimenting on four different test cases in two and three space dimensions, the first two cases being inspired by an application in landfill management [32] and the remaining two cases being taken from the SPE10 benchmark reservoir scenario [8].The codes used to obtain our results are written in Python and can be found at [12], while the underlying discretization and equation resolution are performed using the open source Python simulation tool PorePy [1,17].

Model

7We place ourselves in the modeling context of [14]; for completeness, we summarize it here.In addition, we introduce some notions and quantities of particular interest in the present paper.

82.1 Notation.We denote by Ω ⊂ R d the porous medium, which we assume to be open, bounded and with Lipschitz boundary ∂Ω; we write n the outward normal unit vector of ∂Ω.Also, we write

9The unknowns of the problems discussed throughout the paper are the fluid's pressure p : Ω → R and the seepage flux u : Ω → R d defined by u = ρϕv, where ϕ is the medium's porosity and ρ and v are the fluid's density and velocity.Furthermore, we write ν and k the fluid's kinematic viscosity and the medium's scalar permeability.We suppose that ρ, ν, k: Ω → (0, ∞) and ϕ : Ω → (0, 1) are space-dependent knowns of the problem.

Conservation equations.

10We study the stationary flow of the fluid through the porous medium.The conservation of mass then reads div u = q in Ω, where q : Ω → R is a known fluid mass source, and the conservation of momentum is given by

11where f : Ω → R d is a known vector of external body forces, possibly including gravity.The conservation of momentum shows that the pressure gradient and the external forces balance the drag force −λ[u] undergone by the fluid.We refer to (2.2) as the seepage, or constitutive, law and to λ as the drag operator.

122.3 Drag operator.We let λ be of the form

13where d: Ω → (0, ∞) is the medium's drag, that is, d = ν/k, and α : Ω × R + → R + is a space-and flux-dependent function (the product αν possibly being interpreted as the kinematic viscosity perceived by the fluid in motion).This assumption physically means that λ[u] is colinear with u and has magnitude directly dependent on the position in Ω and on the Euclidean norm ∥u∥.Moreover, it does not exhibit any anisotropy, be it from the permeability or other quantities.Extensions to tensor permeabilities are envisageable [14,18,25] and one possibility is in fact mentioned in the context of our three-dimensional test case (cf.Section 3.3), but further investigation is required.Regarding anisotropies coming from physical quantities other than permeability, there does not seem to be any consensus on how to incorporate them [25], so that we do not consider this possibility in this paper.

14Volume-averaging and homogenization methods yield relevant information on the expression of the function α directly from the Navier-Stokes equations [21,22,26,30,31].By considering the interaction between micro-and macroscopic scales, these methods can be used to motivate the following choice:

15where η : Ω × R + → R + is referred to as the inertial correction and behaves linearly about 0 with respect to its second variable [31]; in particular, η(x, 0) = 0 for all x ∈ Ω.With this information, we take λ in (2.3) as

16(2.3) Additional theoretical arguments require that η be monotonously nondecreasing and coercive in its second variable [13,14], which intuitively implies that the viscosity perceived by the fluid cannot decrease with its speed.

Inertial correction.

17Unfortunately, volume-averaging and homogenization techniques do not give a unique and explicit expression of the inertial correction, so that assumptions on its form and experimental fitting of coefficients are needed.

182.4.1 Assumption.We assume that the inertial correction in (2.3) is such that η(x, 0) = 0 and η(x, •) is entire for all x ∈ Ω, i.e., that it can be expanded as

19where, for all i ∈ N, the empirical function η i : Ω → R + is defined by

20).A less general expression for the inertial correction is found in [25,Equation (5)].

21Note that the entireness of η sets the constraint that

22Further note that the nonnegativity of the functions η i is not a mathematically, nor physically, necessary condition but is assumed here for ease of presentation.

Coefficients.

23For all i ∈ N, we introduce the following dimensionless function c i : Ω → R + , referred to as inertial coefficient:

24where µ := ρν is the fluid's dynamic viscosity.With this notation, the inertial correction from (2.4.1) satisfies

25√ k/µ (x) a i for all and x ∈ Ω and a ⩾ 0.

26(2.5)

27The nonzero inertial coefficients in (2.4.2) are precisely the quantities to be chosen experimentally to get an expression for the inertial correction.

Reynolds number.

28In the present porous-medium context [25], given a flux u, the Reynolds number Re

29With this notation, together with (2.4.2), one can rewrite the seepage law (2.2) as

30(2.6)

312.5 Truncated seepage laws.In practice, one cannot experimentally tune all the nonzero inertial coefficients since, a priori, these are infinitely many.Therefore, we propose to truncate the law in (2.4.3), i.e., to keep only a finite number of coefficients.

32Another way of reducing the number of coefficients is presented in Section 2.8.We let I ⊂ N be the set of indices we want to keep in the truncated law, so that (2.4.3) rewrites as

33(2.7)

34In the limit case I = N, we recover the untruncated law (2.4.3).By considering finite index sets, a wide range of seepage laws can be obtained, many of which are already proposed in various theoretical and numerical studies [3,4,11,16,19].There does not seem to be a general agreement on which is best.

35Note that, here, no coefficient needs fitting so that this law is in fact not empirical.

Single-power law.

36For some m ∈ N, we take I = {m} in (2.5) to get

37where the coefficient c m is preferably denoted by c F : Ω → R, which is the Forchheimer coefficient (or Ergün number [5,6]), containing information on porosity and tortuosity [26].When m = 1, this is called the Darcy-Forchheimer law.Note that this formulation stays meaningful for any positive, noninteger value of m.

Power-expansion law.

38By setting I = {1, 2, . . ., m} in (2.5) for some m ∈ N, we yield

39which, as with the single-power law, includes the Darcy-Forchheimer law.Singlepower and power-expansion laws may thus be called generalized Forchheimer laws.

40in Ω.

41(2.8)

42The drag operator λ is referred to as the reference operator.

432.6.1 Untruncated error.Subtracting the two equations in (2.6) and using the untruncated law (2.4.3) with inertial coefficients c := (c i ) i∈N and ĉ := (ĉ i ) i∈N , the local error d c,ĉ [u] : Ω → R + of the first law relative to the second is defined by

442.6.2Truncated error.For truncated laws, subtracting again the two equations in (2.6) and using this time (2.5) with coefficients c := (c i ) i∈N and ĉ := (ĉ i ) i∈N and index sets I and Î, we define the local error

45Example 2.1 (equal coefficients and Darcy-Forchheimer).Of particular interest to us is the case c = ĉ and I = ∅.In this setting, the above error becomes

46More specifically, we shall consider Î = {m}, with m ∈ N and ĉm = c F , that is, the case when the first law is Darcy's and the reference law is a single-power law; then,

47where the mth Forchheimer number Fo m [u] : Ω → R + is defined by

48The dimensionless number Fo m [u] m quantifies the weight of the nonlinear term in the single-power law relative to 1, i.e., relative to the linear term.The first Forchheimer number, resulting from considering the Darcy-Forchheimer law as reference, is simply referred to as the Forchheimer number in the literature [20,33].

492.6.3Flux threshold and subdomains.In the setting given by Example 2.1, there exists a function ∆ ĉ, Î : Ω × R + → [0, 1) such that, for all x ∈ Ω, there holds

50and ∆ ĉ, Î (x, •) is an increasing bijection.Let δ ∈ [0, 1), referred to as error tolerance.

51Threshold.-Bybijectivity, there is a unique w δ : Ω → R + so that ∆ ĉ, Î (x, w δ (x)) = δ for all x ∈ Ω.We then set the flux threshold ūδ as

52When the reference law is a single-power law with exponent m ∈ N, then, from (2.1), one finds

53In particular, when m = 1, i.e., the reference law is Darcy-Forchheimer, we get

54which we respectively refer to as the slow and fast subdomains.

55If x ∈ Ω δ [u], we know that solving at x the law given by λ (cf.first equation in (2.6)) does not generate a local error greater than δ relative to solving at x the law stemming from λ (cf.second equation in (2.6)).Indeed, suppose x ∈ Ω δ [u]; then,

56Hence, by solving the seepage law for λ in Ω δ [u] and that for λ in Ωδ [u], we make sure that the local error stays below the error tolerance δ.Also note that if x ∈ Ω and Fo m [u](x) > Fo δ , then x ∈ Ωδ [u]; this is why Fo δ is seen as a critical Forchheimer number above which we are certain that nonlinear effects are nonnegligeable.

572.7 Final model.Suppose we are in the framework of Section 2.6 with δ ∈ [0, 1).Furthermore, let Σ v , Σ p ⊂ ∂Ω be relatively open in ∂Ω (i.e., Σ v and Σ p are each the intersection of an open subset of R d with ∂Ω) and such that ∂Ω = Σ v ∪ Σ p and Σ v ∩ Σ p = ∅.We also let u 0 : Σ v → R and p 0 : Σ p → R be functions setting the conditions on the boundary for the flux and pressure.For simplicity, a map on Ω and its trace on ∂Ω are denoted by the same symbol.

Adaptive setting.

58We consider the problem where the seepage law for λ applies in the slow subdomain and that for λ in the fast one.In practice, the reference drag operator λ is numerically more costly to handle, so that by only solving it in the fast subdomain, rather than the entire domain, we reduce the overall computational cost.This discontinuous problem, where the discontinuity in flux arises from the jump occurring between the seepage laws, is referred to as the adaptive problem and is as follows:

59(2.11)

60The rigorous setting in which to solve such problem is described in [14], from where well-posedness can be deduced via a straightforward generalization of [14, Assumption 4.1 and Corollary 4.4] to space-dependent physical parameters, such as µ, ν, k and the inertial coefficients, which we further assume to be bounded below and above by strictly positive constants in Ω.In [14], the appropriate functional framework is developed and a multivalued formulation is derived to tackle the flux discontinuity at the transition zone between the laws.

61for a given p ∈ R. Tacitly, we thus require

622.7.2 Regularized setting.Numerically, it is not diserable to solve a discontinuous problem such as Problem 2.2.Indeed, since we use an explicit fixed-point algorithm, convergence is not guaranteed without continuity.We therefore follow the approach developed once again in [14], which consists in averaging the two drag operators λ and λ via a convolution to obtain a smooth law.This introduces an additional parameter, ε > 0, which vanishes as the regularization weakens.The details of this regularization are found in [14] and the corresponding Python code at [12].Still, for completeness, we give here an informal derivation of this regularized law and the respective regularized problem.

63The authors in [14] exploit the variational, or energetic, formulation of the adaptive model to regularize the law via a convolution of the underlying energy functional.It is shown there that a pair (u, p) is solution to Problem 2.2 if and only if it is a saddle point of the energy functional E defined by

64where D is called the dissipation and is minimized on a certain restricted function space by a certain component of the solution u (cf.[13,14]).It encodes the information of the two chosen drag operators λ and λ and is of the form

65where 1 A stands for the indicator function of set A, and Ψ, Ψ :

66We note that the discontinuity of the adaptive law is reflected in the discontinuity of the integrand of D with respect to the variable ∥φ∥.In fact, D is not differentiable and merely has a subdifferential, which is equal to the right-hand side of the adaptive law in Problem 2.2.To make the dissipation smooth, the integrand of D is convolved with a Gaussian kernel G ε of mean 0 and standard deviation some fixed ε > 0. The convolution is applied on the space of flux magnitudes and yields the regularized dissipation D ε , defined as

67and the corresponding energy E ε , given by

68The regularized problem then consists in finding a pair (u ε , p ε ) which is a saddle point of E ε .Equivalently, after differentiation of the regularized dissipation, it consists in letting the seepage law be

69where the regularized drag operator λ δ,ε is given by

70This drag operator contains the information of the threshold flux ūδ via the indicator functions and the resulting regularized problem is the following:

71Problem 2.4 is indeed the problem we validate numerically in Section 3 as a tool to generate partitions of porous media into fast and slow subdomains.Thanks to [14, Corollary 5.3 and Theorem 5.4], it is well posed and converges in a weak sense to the adaptive problem as ε → 0. Thus, the slow and fast subdomains Ω δ [u ε ] and Ωδ [u ε ] it generates differ from those stemming from the adaptive model, namely, Ω δ [u] and Ωδ [u], but are expected, though not yet proven, to be not too different for a reasonably small choice of ε, such as ε = 0.1, which is the value we take for the numerical experiments below.

722.8 Remark: exponential seepage laws.As an intriguing observation, we show here an alternative way of reducing the number of inertial coefficients in the untruncated law (2.4.3), which yields laws different from those derived in Section 2.5 and, to our knowledge, not found in the current literature, although we do not explore them further in the present paper.

Derivation.

73The idea is to reduce the number of coefficients to a single one by requiring that there be a coefficient c : Ω → R satisfying

74Moreover, we give ourselves a truncating parameter m ∈ N 0 ∪ {∞}.From (2.4.2), for all x ∈ Ω and a ⩾ 0, we yield

75where G m : R + → (0, 1] is defined, for all b ∈ R + , as

76where Γ is the upper incomplete gamma function [7].Thus, (2.4.3) gives

77(2.13)

78We may call this law full exponential law if m = ∞ and truncated exponential law if m ∈ N 0 .This is again a generalized Forchheimer law since, from it, we retrieve the Darcy-Forchheimer law if m = 1 and c = c F , and indeed Darcy's law if m = 0.However, when m > 1, we yield laws different from those presented in Section 2.5.Mathematically, this formulation makes sense for some nonpositive and noninteger values of m since the gamma function is well defined on some of those values.Further note that G m ↑ G ∞ pointwise as m → ∞, so that indeed the truncated exponential law approaches the full law as the truncating parameter m grows.Note, however, that well-posedness for such exponential laws is not guaranteed by the arguments in [14] since operator boundedness does not hold in this case.

Local error.

79Following the reasoning of Section 2.6.2 for exponential laws, using (2.8.1) with coefficients c and ĉ and truncating parameters m and m, the local error d c,m;ĉ, m[u] : Ω → R + may be defined as

80) .

81Example 2.5 (equal coefficients and full exponential).The particular case c = ĉ and m > m simplifies into

82which, when m = ∞, further cuts down to

83The considerations in Section 2.6.3 still hold in the exponential setting given in Example 2.5.Indeed, one can find ∆ m,;c, m : Ω × R + → [0, 1) so that, for all x ∈ Ω, there holds

84where ∆ m;c, m(x, •) is an increasing bijection.Using the same definition as in (2.6.3), when the reference law is the full exponential, from (2.5), one gets

85m can, in general, be computed numerically; but, if, for instance m = 0, that is, the drag operator λ is Darcy's, then G −1 0 = − ln, so that

Numerical validation

86In this section, we present four test cases to validate the performance and quality of our approach, that is, the results of the numerical resolution of Problem 2.4 using Raviart-Thomas finite elements and an explicit fixed-point algorithm, as described in detail in [14].Note that, in this section, as opposed to the rest of the paper, we refer to the model in Problem 2.4 as the adaptive model, rather than regularized ; this is to keep stressing the fact that there always is an underlying adaptability between the nonlinear and linear laws in the numerically solved model.

87In Section 3.1, two examples are proposed with two or more highly conductive channels and a background heterogeneity, as inspired by [32].The examples in Sections 3.2 and 3.3 are based on the SPE10 benchmark study [8], where we consider, respectively, a single layer and multiple layers.

883.1 Highly permeable channels.This test case is based on the examples reported in [32] for a Darcy-Forchheimer system, and adapted here for our purposes.We consider in particular two configurations depending on the number of highly conductive channels that are present in the problem.In the first case, reported in Section 3.1.1,two vertical channels are present, while in Section 3.1.2a network of vertical and horizontal channels is considered.

89For both tests, we consider the following physical data for the fluid: dynamic viscosity µ = 0.001[Pa • s] and density ρ = 998.0[kg• m −3 ].For the porous medium, the permeability is reported in Figure 1 for each configuration.To pass from permeability to porosity and vice-versa when needed, we use the Kozeny-Carman law:

90where k ref = 1.0152441851 • 10 −9 [m 2 ] and ϕ ref = 35[%] (cf.[32]).

91Unless stated otherwise, we fix the error tolerance δ = 0.1[−], yielding the critical Forchheimer number Fo δ ≃ 0.11[−] (cf.Section 2.6); moreover, as chosen in [32], we let m = 1, corresponding to the classical Darcy-Forchheimer model, with coefficient c F = 0.55[−] (cf.Section 2.5).

92For each case, we consider two scenarios for different values of the top inflow magnitude: Scenario a, with u in = 7 3.1.1Two vertical channels.We consider here the case where only two highly conductive channels are present in the domain, spanning the domain from top to bottom.Their permeability is roughly two orders of magnitude higher than that of the surrounding porous medium, and they are aligned with the flow direction given by the top boundary condition (cf.left in Figure 1).Depending on the flux intensity, Scenario a or Scenario b, we expect to observe a Darcy-Forchheimer, i.e., nonlinear, flow develop inside these channels and a Darcy, i.e., linear, flow outside.

93In Figure 2, we report the solution obtained for both scenarios.We notice that for Scenario b, as expected, the flow in the two channels is higher than in Scenario a, resulting in a higher Forchheimer number so that more cells are selected in the Darcy-Forchheimer region, or subdomain (identified in the legend of the figure with the value 1).For Scenario b, both channels along with some extra cells are selected to be in the Darcy-Forchheimer region.For Scenario a, only cells in the channels are selected; more precisely, all cells are selected in the left channel, possibly because it is narrower than the right one and thus develops a higher flow rate.

94Table 1 shows the L 2 errors computed relative to a reference solution, namely, the solution to the global Darcy-Forchheimer model, that is, the Darcy-Forchheimer model applied in the whole domain, without any adaptivity involved.The errors are rather small, although we see that if a global Darcy model is used, we make an error that reaches several orders of magnitude more than with the adaptive model, especially for Scenario b, even if the cells selected in the Darcy-Forchheimer subdomain in the adaptive model are many fewer than those in the Darcy subdomain.In both scenarios, the flux u is affected by higher errors than the pressure p.

95In Figure 5, we decrease the error tolerance δ for both scenarios.We notice that by setting lower and lower values of δ, coherently, the Darcy-Forchheimer cells become more and more numerous.First, the two channels become entirely of Darcy-Forchheimer type; then, the top boundary condition and the heterogeneities of the background permeability start to play a role in determining where the rest of the Darcy-Forchheimer subdomain develops and thus which cells should be selected.By taking δ even smaller, we expect that all the cells will be selected to be of Darcy-Forchheimer type.

963.1.2Network of channels.In this example, we consider the same background permeability as in the previous case, on which we place a network of intersecting horizontal and vertical channels with same width.All these channels are completely immersed in the domain without touching the boundary and they have permeabilities much higher than the surrounding medium.We expect, compared with the previous case, a more intricate flow distribution and thus a complex subdivision of cells into linear and nonlinear regions.

97In Figure 4, we report the solutions for Scenario a and Scenario b by, recall, fixing the value of the error tolerance δ = 0.1.As expected, ∥u∥ for Scenario b is much higher than for Scenario a, which results in a higher Forchheimer number and consequently in more cells marked as Darcy-Forchheimer.We notice that, for Scenario a, the Darcy-Forchheimer cells lie mostly inside the network, with only a few more cells leaking out of it and connecting with the bottom boundary.In contrast, for Scenario b, two rather large regions, about the top and bottom of the domain, are marked as Darcy-Forchheimer and connect with the network.

98Table 2 shows the relative errors made by the global Darcy model and the adaptive model with respect to the global Darcy-Forchheimer model, considered thus to be the reference.As for the two-channel case, we notice that the adaptive scheme is more accurate, by several order of magnitude, than the global Darcy model.In particular, the detrimental impact of the error made in the cells marked as Darcy-Forchheimer brings down the error in the whole domain, even if these cells are many fewer than the Darcy cells.The adaptive approach gives thus rather accurate results.

99In Figure 5, we show the region split by decreasing the error tolerance δ.As Sce. a err p 6.08e-10 5.56e-13 6.03e-10 6.67e-13 6.03e-10 6.60e-13 err u 1.43e-04 8.02e-08 4.76e-04 5.27e-07 1.56e-04 1.07e-07

100Sce. b err p 6.53e-08 1.85e-13 5.75e-08 1.24e-13 6.02e-08 1.47e-13 err u 1.55e-03 7.54e-10 9.02e-04 3.59e-08 1.55e-03 9.09e-10 expected, the cells marked as Darcy-Forchheimer grow in number by filling up the zones near the top and bottom parts of the domain and then the areas in between the highly conductive channels.a certain value of δ, since, from that value on, all cells in the adaptive approach are classified as Darcy-Forchheimer.This phenomenon is not seen in Scenario a since the intensity of the top condition is one order of magnitude smaller than in the other scenario.In all examples and scenarios, the trend of the error is as expected: by decreasing δ, the relative errors decrease and, simultaneously, the numbers of cells belonging to the Darcy-Forchheimer subdmain increase.

1013.2 One layer from SPE10.In this example, we consider a single layer, namely, Layer 35, of the SPE10 benchmark study [8] represented as a bidimensional domain.

102For the fluid, we consider the following physical parameters: the dynamic viscosity µ = 3

103The permeability is given by the benchmark study and it is represented in Figure 7, where we notice some highly permeable paths surrounded by areas of low permeability.As in the previous examples, the error tolerance is by default set to δ = 0.1; the nonlinear exponent m = 1, so that we are considering the Darcy-Forchheimer law, and the Forchheimer coefficient is set as c F = 0.55[−].

104We consider zero flux all around the boundary; moreover, we set five wells: one injector in the center of the domain and four identical producers at the corners.We We represent in Figure 8 the solution to the adaptive model obtained for the different scenarios.We notice that by increasing the inflow at the injection well, the cells marked as Darcy-Forchheimer become more numerous and, in particular, are preferably selected along the high-permeability channels connecting some of the wells.Even if the two wells on the bottom left and top right are not in highly permeable areas, for Scenario c, some Darcy-Forchheimer cells start to be selected around these two wells and, in particular for the second one, in the highly permeable region separating the well itself from the central injector.Figure 9 shows the Darcy-Forchheimer cells with decreasing error tolerance δ.We notice that the number of cells belonging to the Darcy-Forchheimer region increases by first following highly permeable paths from the injection well to the production wells, and then accepting also regions of lower permeability.In the last figure, the error tolerance is so small that most of the cells are categorized as Darcy-Forchheimer.We expect that by reducing δ even further, we would get all the cells into the nonlinear subdomain.In Figure 10, we show the L 2 errors in pressure and flux for the adaptive model relative to the global Darcy-Forchheimer model, as well as the number of Darcy-Forchheimer cells selected by the adaptive model, all as functions of the error tolerance δ.As for the examples of Section 3.1, by lowering the error tolerance, the adaptive approach tends to have a solution that is more similar to the global Darcy-Forchheimer model, and thus yields a smaller error.In fact, when the percentage of the Darcy-Forchheimer cells reaches 1, the adaptive model is equivalent to the global Darcy-Forchheimer one and thus has an error of exactly zero.

1053.3 Three-dimensional test case.In this last test case, we consider a tridimensional portion of the SPE10 benchmark [8], composed of the first 15 layers.However, q in = 10 -err p q in = 10 -err u q in = 10 -DF-cells q in = 50 -err p q in = 50 -err u q in = 50 -DF-cells q in = 200 -err p q in = 200 -err u q in = 200 -DF-cells to keep the computational cost we select only the first 10 cells in the x direction and the first 20 in the y direction.As done in the previous example, we consider fives wells: one in the centre of the domain, the injector, and four in the corners, the producers.Here, the wells are represented as monodimensional objects and a Peaceman model [23,24] is used for the coupling with the surrounding porous medium.The wells are placed in the middle of each of their cells and are nonmatching with the porous-medium grid.By keeping the injection flow rate fixed, equal to 10[kg • s −1 ], we change the depth of the wells and see the impact on the selection procedure of Darcy and Darcy-Forchheimer cells by the adaptive model.Although the models presented in Section 2 only consider a scalar permeability k, we wish here to take into account the anisotropy given by the SPE10 case study in the vertical direction.To do so, we alter the Darcy-Forchheimer law slightly:

106where K is now the permeability tensor and the Reynolds number is updated into Re[u] = det(K) 1/6 µ ∥u∥ .

107We refer the reader to [18,25] for a justification of such a law.Note, however, that this form does not fit in the context of [13,14], where the adaptive model is derived and shown to be well posed, since, for that, the norm of the flux in the Reynolds number would need to be weighed by K −1 .We leave the precise numerical treatment of the tensor model for future investigation and accept for now the validity, in our context, of the above three-dimensional version of the Darcy-Forchheimer law.We have in fact, for the SPE10 study, a permeability tensor which is diagonal with equal values in the x and y directions and a different value in the z direction.A representation of the permeability field is reported in Figure 11.In Figure 12, we show a comparison of the obtained adaptive solution by making the wells deeper: 3.5 cells for Scenario a, 7.5 cells for Scenario b, and 9.5 cells for Scenario c.We notice that, by considering the wells deeper, we get more Darcy-Forchheimer cells since indeed more regions of high permeability are thus connected.For the same reason, we observe that the number of Darcy-Forchheimer cells on the top layer reduces in favor of deeper connections.

Conclusion

108In conclusion, our study presents a strategy for an automatic selection of linear-and nonlinear-flow regions in highly heterogeneous porous media, particularly answering the challenges raised by deviations from Darcy's law in highly permeable areas.Through a combination of theoretical derivations, empirical observations, and numerical simulations, we have demonstrated the significance of nonlinear corrections to Darcy's law by accurately capturing complex flow behaviors, especially in regions with high permeability.

109Moreover, our approach, by using an adaptive regularized model based on a physically motivated flux threshold, offers a promising strategy for identifying and distinguishing between linear and nonlinear regimes within porous media.A local tolerance on the error, from which the threshold value is derived, has been introduced to switch between the linear and nonlinear laws effectively based on local physical properties.The experimental validation we have conducted across several numerical test cases shows the effectiveness of our methodology, although, as mentioned in the introduction, more investigation is needed to combine our strategy with a domaindecomposition technique and thus yield an complete, accurate and computationally efficient approach for flows in highly heterogeneous porous media.

2. 5

110.1 Darcy's law.Taking I = ∅ in (2.5) gives the widely used Darcy law :

2. 6

111Comparing seepage laws.Given a flux u and two drag operators λ and λ, the resulting forces −∇p + f and −∇p + f are obtained by the laws (cf.(2.2))

Remark 2 . 3 (

112average pressure).If the boundary piece Σ p verifies Vol d−1 (Σ p ) = 0, where Vol d−1 is the (d − 1)-dimensional Lebesgue measure, to ensure uniqueness of the pressure satisfying Problem 2.2, one imposes a constraint on the average of p:

113On the left and right parts of the boundary, we set zero flux, while on the bottom part, we impose the hydrostatic pressure p atm + ρgh, where p atm = 1.01325 • 10 5 [Pa], h = 10[m] and g = 9.81[m • s −2 ].

Figure 1 :

114Figure 1: On the left, the log-permeability for the example of Section 3.1.1;on the right, for Section 3.1.2.

Figure 2 :err p 5 .

115Figure 2: Solutions obtained to the adaptive model for the example in Section 3.1.1,in the top row for Scenario a and in the bottom row for Scenario b.The pressure is multiplied by 1000, and the velocity arrows inside the channels are scaled by 1/6 and 1/21 in comparison with those outside, respectively for each scenario.

Figure 3 :

116Figure 3: Darcy (red) and Darcy-Forchheimer (blue) regions depending on the error tolerance δ decreasing from left to right according to δ = 0.05, δ = 0.0125 and δ = 0.003125, in the top row for Scenario a and in the bottom row for Scenario b, for the example in Section 3.1.1.

Figure 4 :

117Figure 4: Solutions obtained to the adaptive model for the example in Section 3.1.2,in the top row for Scenario a and in the bottom row for Scenario b.The pressure is multiplied by 1000, and the velocity arrows inside the channels are scaled by 1/11 and 1/120 in comparison with those outside, respectively for each scenario.

3.1. 3

118Behavior with error tolerance.For both the two-channel and network examples, we plot in Figure 6 the errors obtained on the adaptive model relative the global Darcy-Forchheimer model as a function of the error tolerance δ.The dashed lines for the relative errors, corresponding to Scenario b, drop to zero starting from

Figure 5 :

119Figure 5: Darcy (red) and Darcy-Forchheimer (blue) regions depending on the error tolerance δ decreasing from left to right according to δ = 0.05, δ = 0.0125 and δ = 0.003125, in the top row for Scenario a and in the bottom row for Scenario b, for the example in Section 3.1.2.

120p network -err p channel -err u network -err u channel -DF-cells network -DF-cells

Figure 6 :

121Figure 6: Pressure (in red) and flux (in blue) L 2 relative errors by taking smaller values of the error tolerance δ.The solid lines refer to Scenario a and the dashed lines to Scenario b for both the examples of Sections 3.1.1(two-channel) and 3.1.2(network).In green, the ratio between the number of Darcy-Forchheimer cells and the total number of cells.

Figure 7 :

122Figure 7: Logarithm of permeability for the example in Section 3.2.

Figure 8 :

123Figure 8: Solutions obtained to the adaptive model for the example in Section 3.2, in the top row for Scenario a, in the middle row for Scenario b and in the bottom row for Scenario c.The velocity arrows are scaled by 1/92, 1/23 and 1/4, respectively for each scenario.

Figure 9 :

124Figure 9: Darcy (red) and Darcy-Forchheimer (blue) regions depending on the error tolerance δ decreasing from left to right according to δ = 0.05, δ = 0.0125 and δ = 0.003125, in the top row for Scenario a and in the bottom row for Scenario c, for the example in Section 3.2.

Figure 10 :

125Figure 10: Pressure (in red) and flux (in blue) L 2 relative errors by taking smaller values of the error tolerance δ.The solid lines refer to Scenario a, the dashed lines to Scenario b, and the dashed-and-dotted lines to Scenario c, for the example of Section 3.2.In green, the ratio between the number of Darcy-Forchheimer cells and the total number of cells.

Figure 11 :

126Figure 11: Log-permeability field for the example in Section 3.3 in the horizontal (left) and vertical (right) directions.

Figure 12 :

127Figure 12: Darcy (opaqued red) and Darcy-Forchheimer (blue) regions for different well depths for the example in Section 3.3.From left to right: Scenario a (3.5 cells deep), Scenario b (7.5) and Scenario c (9.5).The velocity arrows for Scenario a are halved compared to the other two scenarios.

Table 2 :

128L 2 errors of the adaptive and global Darcy solutions relative to the global Darcy-Forchheimer solutions, broken down in the Darcy-Forchheimer, Darcy and whole domains, for both scenarios of the example in Section 3.1.2.

참고문헌 32건

  1. (제목 없음) Transport in Porous Media · Springer Science+Business Media · 2001 10.1023/a:1012044015534
  2. On a Class of Incomplete Gamma Functions with Applications Chapman and Hall/CRC eBooks · Informa · 2001 10.1201/9781420036046
  3. Interpretation of Well-Block Pressures in Numerical Reservoir Simulation(includes associated paper 6988 ) Society of Petroleum Engineers Journal · Society of Petroleum Engineers · 1978 10.2118/6893-pa
  4. Laboratory measurements of non-Darcy flow coefficients in natural and artificial unconsolidated porous media Journal of Petroleum Science and Engineering · Elsevier BV · 2011 10.1016/j.petrol.2011.04.016
  5. The derivation of a nonlinear filtration law including the inertia effects via homogenization Nonlinear Analysis · Elsevier BV · 2000 10.1016/s0362-546x(98)00346-0
  6. Analysis of generalized Forchheimer flows of compressible fluids in porous media Journal of Mathematical Physics · American Institute of Physics · 2009 10.1063/1.3204977
  7. Generalization of the Forchheimer-extended Darcy flow model to the tensor premeability case via a variational principle Journal of Fluid Mechanics · Cambridge University Press · 1995 10.1017/s0022112095003430
  8. On the derivation of the Forchheimer equation by means of the averaging theorem Transport in Porous Media · Springer Science+Business Media · 1992 10.1007/bf01063962
  9. Adaptive regularization, linearization, and discretization and a posteriori error control for the two-phase Stefan problem Mathematics of Computation · American Mathematical Society · 2014 10.1090/s0025-5718-2014-02854-8
  10. Flow in porous media I: A theoretical derivation of Darcy's law Transport in Porous Media · Springer Science+Business Media · 1986 10.1007/bf01036523
  11. A Criterion for Non-Darcy Flow in Porous Media Transport in Porous Media · Springer Science+Business Media · 2006 10.1007/s11242-005-2720-3
  12. Structural stability of generalized Forchheimer equations for compressible fluids in porous media Nonlinearity · IOP Publishing · 2010 10.1088/0951-7715/24/1/001
  13. The Forchheimer equation: A theoretical development Transport in Porous Media · Springer Science+Business Media · 1996 10.1007/bf00141261
  14. Domain decomposition strategies for nonlinear flow problems in porous media Journal of Computational Physics · Elsevier BV · 2012 10.1016/j.jcp.2012.10.001
  15. Interpretation of Well-Block Pressures in Numerical Reservoir Simulation With Nonsquare Grid Blocks and Anisotropic Permeability Society of Petroleum Engineers Journal · Society of Petroleum Engineers · 1983 10.2118/10528-pa
  16. Nonlinear corrections to Darcy's law at low Reynolds numbers Journal of Fluid Mechanics · Cambridge University Press · 1997 10.1017/s0022112097005843
  17. Darcy’s and Forchheimer’s laws in practice – Part 1: The experiment Technical Sciences / University of Warmia and Mazury in Olsztyn · 2014
  18. DARCY'S AND FORCHHEIMER'S LAWS IN PRACTICE. PART 2. THE NUMERICAL MODEL Technical Sciences / University of Warmia and Mazury in Olsztyn · 2014
  19. Theoretical derivation of Darcy's law Acta Mechanica · Springer Science+Business Media · 1977 10.1007/bf01376989
  20. Experimental Investigation of Forchheimer Coefficients for Non-Darcy Flow in Conglomerate-Confined Aquifer Geofluids · Hindawi Publishing Corporation · 2018 10.1155/2018/4209197
  21. A multiscale flux basis for mortar mixed discretizations of reduced Darcy–Forchheimer fracture models Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2019 10.1016/j.cma.2019.05.034
  22. On the well-posedness of generalized Darcy–Forchheimer equation Boundary Value Problems · Springer Nature · 2018 10.1186/s13661-018-1043-6
  23. Numerical approach to non-Darcy mixed convective flow of non-Newtonian fluid on a vertical surface with varying surface temperature and heat source Karbala International Journal of Modern Science · University of Kerbala · 2020 10.33640/2405-609x.1753
  24. PorePy: an open-source software for simulation of multiphysics processes in fractured porous media Computational Geosciences · Springer Science+Business Media · 2020 10.1007/s10596-020-10002-5
  25. Model adaptation for non-linear elliptic equations in mixed form: existence of solutions and numerical strategies ESAIM. Mathematical modelling and numerical analysis · EDP Sciences · 2022 10.1051/m2an/2022016
  26. A Study on Darcy versus Forchheimer Models for Flow through Heterogeneous Landfills including Macropores Water · Multidisciplinary Digital Publishing Institute · 2022 10.3390/w14040546
  27. Domain decomposition methods for flow in heterogeneous porous media Contemporary mathematics - American Mathematical Society · American Mathematical Society · 1998 10.1090/conm/218/03005
  28. RETRACTED: Numerical Solution of Skin Friction in Porous Medium Using Brinkman Forchheimer Model Under Fuzzy Environment Research Square · 2022 10.21203/rs.3.rs-2273104/v1
  29. Well-posedness and variational numerical scheme for an adaptive model in highly heterogeneous porous media Journal of Computational Physics · Elsevier BV · 2022 10.1016/j.jcp.2022.111844
  30. Mixed variational problem for a generalized Darcy–Forchheimer model driven by hydraulic fracture Journal of Vibration Testing and System Dynamics · L&H Scientific Publishing LLC · 2023 10.5890/jvtsd.2023.03.003
  31. Adaptive regularization, discretization, and linearization for nonsmooth problems based on primal–dual gap estimators Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2023 10.1016/j.cma.2023.116558
  32. Predicting Nonlinear-Flow Regions in Highly Heterogeneous Porous Media Using Adaptive Constitutive Laws And Neural Networks SSRN Electronic Journal · 2024 10.2139/ssrn.4927959