Next Article in Journal
Excess Lifetime Extropy of Order Statistics
Previous Article in Journal
Surface Pencil Couple with Bertrand Couple as Joint Principal Curves in Galilean 3-Space
Previous Article in Special Issue
Intrusive and Impact Modes of a Falling Drop Coalescence with a Target Fluid at Rest
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Numerical Simulation of Constrained Flows through Porous Media Employing Glimm’s Scheme

by
Rogério M. Saldanha da Gama
1,*,
José Julio Pedrosa Filho
1,
Rogério Pazetto S. da Gama
1,
Daniel Cunha da Silva
2,
Carlos Henrique Alexandrino
3,4 and
Maria Laura Martins-Costa
3
1
Mechanical Engineering Graduate Program (FEN), Rio de Janeiro State University, Rio de Janeiro 20550-013, RJ, Brazil
2
Mathematics and Design Department (CEH-CAp), Rio de Janeiro State University, Rio de Janeiro 20550-013, RJ, Brazil
3
Laboratory of Theoretical and Applied Mechanics (LMTA), Mechanical Engineering Graduate Program (TEM-PGMEC), Federal Fluminense University, Niterói 24210-240, RJ, Brazil
4
Institute of Science Engineering and Technology, Federal University of Vales do Jequitinhonha e Mucuri, Teófilo Otoni 39800-371, MG, Brazil
*
Author to whom correspondence should be addressed.
Axioms 2023, 12(11), 1023; https://doi.org/10.3390/axioms12111023
Submission received: 26 September 2023 / Revised: 25 October 2023 / Accepted: 25 October 2023 / Published: 30 October 2023
(This article belongs to the Special Issue Computational and Experimental Fluid Dynamics)

Abstract

:
This work uses a mixture theory approach to describe kinematically constrained flows through porous media using an adequate constitutive relation for pressure that preserves the problem hyperbolicity even when the flow becomes saturated. This feature allows using the same mathematical tool for handling unsaturated and saturated flows. The mechanical model can represent the saturated–unsaturated transition and vice-versa. The constitutive relation for pressure is a continuous and differentiable function of saturation: an increasing function with a strictly convex, increasing, and positive first derivative. This significant characteristic permits the fluid to establish a tiny controlled supersaturation of the porous matrix. The associated Riemann problem’s complete solution is addressed in detail, with explicit expressions for the Riemann invariants. Glimm’s semi-analytical scheme advances from a given instant to a subsequent one, employing the associated Riemann problem solution for each two consecutive time steps. The simulations employ a variation in Glimm’s scheme, which uses the mean of four independent sequences for each considered time, ensuring computational solutions with reliable positions of rarefaction and shock waves. The results permit verifying this significant characteristic.

1. Introduction

Transport phenomena in porous media present several relevant engineering applications, including problems that impact energy self-sufficiency and the environment. Among the examples, there are underground flows. They may contain various contaminants picked up from seepage and soil percolation. Another pertinent phenomenon is related to oil extraction, including enhanced oil recovery. Other examples are soil contamination by toxic waste or nuclear waste storage in deep rocky layers or the deep ocean seabed [1,2,3,4,5,6,7,8,9,10].
The motion strongly depends on saturation in flows through unsaturated porous media, and a force dependent on the saturation gradient mainly originates the fluid flow. These flows have been highly studied for about a century [11]; most use a volume average technique introduced by Whitaker [12] and analyzed by Alazmi and Vafai [13], combined with a continuum mechanics approach. Highly deformable porous media are handled using consolidation models based on Biot’s theory [14] and multi-scale models(a hierarchy from micro-scales to macro-scales, e.g., [15]). This work used a distinct approach: a continuum theory of mixtures. The mixture comprises continuous constituents simultaneously occupying the whole volume [16,17]. This viewpoint studies unsaturated fluid flow through porous media, considering a transition from unsaturated to saturated flow and vice versa. The unsaturated porous matrix is considered a three-constituent mixture composed of one solid constituent (porous matrix), one liquid constituent (conveniently called the fluid), and one gas constituent. This third constituent inclusion allows the consideration of the mixture’s compressibility, assuming it to be a very-low-density gas.
The dominance of normal stresses in these flows through porous media was suggested by Allen [18], reducing the partial stress tensor to a stress proportional to pressure. In this work, a continuous and differentiable constitutive relation as a function of the fluid fraction represents pressure: an increasing function, its first derivative being a strictly convex increasing, and positive function. This relation can impose an upper limit on the fluid fraction. In the vicinity of this upper limit, the fluid experienced high-pressure values, corresponding to an increase in the resistance of the porous matrix to a more significant fluid inflow. This constitutive relation ensures that the system remains hyperbolic even when the porous matrix becomes saturated.
Systems of parabolic or elliptic partial differential equations appropriately describe most transport phenomena, generally admitting regular solutions. Well-known numerical methods can implement their simulations. Since a finite velocity can characterize the propagation of any information in transport phenomena, hyperbolic systems allow a more realistic description of many phenomena. However, these systems may not admit regular solutions, requiring the generalization of the space of permissible solutions to include discontinuous solutions, which can involve shock waves.
Martins-Costa et al. [19] studied three distinct one-dimensional fluid flow geometries through unsaturated porous media using a mixture theory description. The constitutive relation used for the pressure allowed explicit closed equations to represent the Riemann invariants, leading to the complete solution of the associated Riemann problem [20]. This Riemann problem allows building a numerical solution using Glimm’s scheme [21] to handle the nonlinear system of hyperbolic equations. Glimm’s method is associated with an operator splitting procedure to consider the non-homogeneous portion of the differential equations.
Reference [22] proposed a restriction to the hyperbolic system to represent the filling of an unsaturated porous medium by a fluid employing a mixture theory description. The constitutive relation used for the pressure accounts for the upper bound arising from the rigid porous medium and the incompressible fluid assumptions. Previous work considered a geometric boundary preventing physically meaningless solutions throughout the porous medium, based on a pressure relation that is a one-sided geometrical constraint on the fluid fraction (see references therein). In [22], the fluid fraction unilateral geometric restriction was imposed solely in an appropriate vicinity of the porosity. The pressure and its first derivative are always continuous, and one can analytically calculate the associated Riemann invariants.
Martins-Costa et al. [23] proposed a model for pressure to analyze a liquid penetrating an unsaturated porous matrix, permitting a slight supersaturation. In [23], the authors used the mathematically imposed unilateral geometrical constraint, ensuring that the maximum value reached by the fluid fraction is the porosity and the saturation upper bound—the transition from unsaturated to saturated flow from previous work (see references therein). The model in [23] identifies the transition from unsaturated to saturated flow and vice versa, enabling the problem to remain hyperbolic, even when the flow becomes saturated. Combining a splitting method (separating the original equation into two pieces at each time step) with Glimm’s methodology can simulate the problem. However, this proposed pressure relation has a weakness: it is a continuous but nondifferentiable function of the fluid fraction.
This work proposes a more realistic constitutive relation for pressure as a function of saturation, where the first derivative is no longer a discontinuous function. The pressure is continuous and differentiable with an increasing function as the first derivative. In this case, a minimal (controlled) supersaturation is allowed, accounting for some minimal deformation of the porous matrix and always preserving the problem’s hyperbolicity. It presents the solution via Glimm’s method (advancing in time through the solution of the associated Riemann problem). The implementation of Glimm’s scheme uses a strategy to provide solutions free from the randomness of the sign of the random number used, resulting from the methodology proposed by Chorin [24], which guarantees solutions with more reliable rarefaction and shock wave positions, showing a strong tendency to preserve symmetry.
Despite the simplifications, the one-dimensional flow model in a porous matrix used in this work can be considered a first approximation for relevant and usual practical situations in engineering, such as flows in oil reservoirs or soil contamination by pollutants. The one-dimensional approach is reasonable when one of the flow directions has an order of magnitude greater than the others.

2. Mechanical Model

The three constituents’ mixture is chemically non-reacting without phase change, composed of a very slightly deformable solid constituent at rest, a fluid constituent (a Newtonian liquid), and a gas with negligible mass density, accounting for the mixture’s compressibility. Mass and momentum balance equations must be solved for the fluid constituent only, since the solid constituent is slightly deformable and the gas constituent ha negligible mass density [16,17]:
ρ F t + ( ρ F u F ) = 0 ρ F u F t + ( u F ) u F = T F + m F + ρ F b F
In Equation (1), the index F refers to the fluid constituent: ρ F is its mass density (the local ratio between its mass and the mixture volume), u F is its velocity, T F is the partial stress tensor (assumed to be symmetrical, so the angular momentum balance is automatically satisfied). Also, m F is the momentum source acting on the fluid constituent due to its interaction with the other mixtures’ constituents and b F is the body force per unit mass acting on it. To satisfy the momentum balance for the mixture, the sum of all momentum source terms must be zero.
The ratio between ρ F (fluid constituent mass density), ρ F , and ρ f (fluid mass density, measured from a continuum mechanics viewpoint) defines the fluid fraction ϕ :
ϕ = ρ F ρ f
Mixture theory allows kinematic independence among the constituents, requiring a source term to consider their dynamic interaction. This force is a momentum supply m F , represented by two terms: the first one considers the drag effect of the solid constituent (porous matrix) on the fluid constituent (the Darcian term, adequately discussed by Srinivasan and Rajagopal [25]). The second term attempts to model capillary forces following a mixture theory approach, showing the strong dependency of motion on the saturation that characterizes unsaturated flows through porous media. Combining a splitting procedure with Glimm’s method allows for the simulation of the problem with the Darcian term, enabling one to account for homogeneous and non-homogeneous pieces of the hyperbolic system. However, this work neglected it. Martins-Costa and Saldanha da Gama [19] considered the effect of the Darcian term on flows through a porous matrix. This work used a splitting procedure to split away the non-homogeneous portion of the hyperbolic operator (time-evolutionary system) and Glimm’s method to solve the homogeneous associated problem. The purely time-evolutionary problem uses Glimm’s scheme solution as initial data.
m F = μ f K ϕ 2 u F μ f 𝒟 K ϕ m F = μ f 𝒟 K ϕ
In Equation (3), μ f is the viscosity of the fluid and K is the specific permeability of the porous medium, both measured following a continuum mechanics approach. Also, 𝒟 represents a diffusion coefficient.
The constitutive equation for the partial stress tensor acting on the fluid constituent (analogous to the Cauchy stress tensor in Continuum Mechanics), assuming dominance of normal stresses over shear stresses and interphase tractions [18], is given by:
T F = ϕ p ¯ 1
with p ¯ being a pressure and 1 being the identity tensor.
Combining the balance Equation (1) with the constitutive assumptions presented in Equations (3) and (4), and supposing dependency on position x and on time t only. Also, assuming that the velocity in the flow direction u is the only non-vanishing component of u F , and the absence of body forces affecting the flow direction, the problem is expressed as:
ϕ t + x ϕ u = 0 ρ f ϕ u t + ϕ u u x = x ϕ p ¯ ρ f μ f 𝒟 K ϕ x
Employing a reference pressure p allows for a convenient redefinition of the pressure, such that:
p ϕ x = x ϕ p ¯ + ρ f μ f 𝒟 K ϕ x
Using the pressure redefinition given by Equation (6) permits writing the nonlinear system (5) as a nonlinear homogeneous hyperbolic system:
ϕ t + x ϕ u = 0 t ϕ u + x p + ϕ u 2 = 0

3. Constitutive Relation

Before presenting the constitutive assumption for pressure, it is convenient to define saturation as:
ψ = ϕ ε
where ε is the porosity. Saturation is, originally, less than or equal to one.
Nevertheless, in this paper, a “super-saturation” is allowed to take into account some small deformation of the porous medium and preserve the hyperbolic behavior of the system of equations.
In other words, the following is allowed:
0 ψ = ϕ ε < 1 + δ ε , δ < < ε
in which δ is a tiny positive constant. The proposition in Equation (9) allows admitting a tiny supersaturation.
At this point, one can consider a relationship between pressure and saturation, allowing the introduction of the following constitutive equation for pressure:
p = p ˜ ϕ = ϕ ε + δ + α 2 ϕ ε + δ ϕ 2 α ln ε + δ ϕ ε + δ , α 0
that can be rewritten as:
p = p ^ φ = φ + α 2 φ 1 φ 2 α ln 1 φ , α 0
in which:
φ = ϕ ε + δ
where p is a pressure proportional to p , defined in Equation (6), and the variable φ is, from now on, called saturation.
The constitutive relation presented in Equation (11) depends on saturation and a consistently positive parameter α . This relation provides an upper bound for saturation, ensuring a reliable and always physically consistent simulation. The porous matrix’s minimal and controlled supersaturation is permitted, so the hyperbolicity is maintained irrespective of the fluid fraction value. The constitutive relation presented in Equation (11) bestows closed-form expressions for the Riemann invariants, as seen in the section describing the associated Riemann problem.
Combining the nonlinear homogeneous hyperbolic system (7) with the constitutive relation (11) results in the following nonlinear homogeneous hyperbolic system with saturation and velocity as unknowns:
φ t + x φ u = 0 t φ u + x p + φ u 2 = 0 p = p ^ φ = φ + α 2 φ 1 φ 2 α ln 1 φ , α 0
Even if the pressures become extremely large, the supersaturation presents an a priori limit:
lim p φ = 1
The flow is said to be “saturated” in the regions where ε ϕ < ε + δ . When ϕ > ε (supersaturated regions), the propagation speeds and pressure increase quickly for larger saturation values. The system of partial differential equations is always hyperbolic, presenting a realistic response.

4. The Associated Riemann Problem

The hyperbolic system presented in Equation (13) can be written in a more convenient form:
P t φ φ u + A x φ φ u = 0 , A = 0 1 p u 2 2 u , p = 1 + α 1 φ 2
Consider the Cauchy problem given by:
φ t + x φ u = 0 t φ u + x φ u 2 + p = 0 φ , u = ( φ L , u L ) , < x < 0 , t = 0 ( φ R , u R ) , 0 < x < , t = 0  
in which φ L and φ R are positive valued constants. Problem (16) is a Riemann problem [20], and its solution (in a generalized space of allowable solutions) is subjected solely to the ratio x / t . In other words, the following system represents (13):
d φ d η η t + d d η φ u η x = 0 d d η φ u η t + d d η φ u 2 + p η x = 0
employing a similarity variable such that:
η = x / t η t = 1 t η ; η x = 1 t
In this way, (15) becomes:
η 1 p u 2 2 u η d φ d φ u = 0
To satisfy the nonlinear problem (15), either φ and u must be constants, or η = λ ( λ eigenvalue of A and d φ , d φ u eigenvector).
The eigenvalues of the matrix A , defined in Equation (15), in increasing order, are given by:
λ 1 = u 1 α 1 φ         and         λ 2 = u + 1 + α 1 φ
The equation below allows for obtaining the associated eigenvectors:
u 1 α 1 φ d φ d φ u = 0   and   u + 1 + α 1 φ d φ d φ u = 0
Taking into account Equation (21) allows obtaining the following equations:
1 φ + α φ 1 φ d φ + u = c o n s t a n t ( a s s o c i a t e d   t o   λ 1 ) 1 φ + α φ 1 φ d φ + u = c o n s t a n t ( a s s o c i a t e d   t o   λ 2 )
or, in an alternative form,
ln φ + α ln φ 1 φ + α 1 φ + λ 1 = c o n s t a n t ( a s s o c i a t e d   t o   λ 1 )
ln φ α ln φ 1 φ α 1 φ + λ 2 = c o n s t a n t ( a s s o c i a t e d   t o   λ 2 )
Since φ 0 , 1 ,
d d φ ln φ + α ln φ 1 φ + α 1 φ = 1 φ + α φ + α 1 φ + α 1 φ 2 > 0
Since the eigenvalues correspond to the similarity variable η , two states, φ 1 , u 1 and φ 2 , u 2 , are connected by a continuous function of η satisfying Equation (23) if, and only if, φ decreases as λ 1 increases, and this connection is called a 1-rarefaction. On the other hand, two states ( φ 1 , u 1 and φ 2 , u 2 ) are connected by a continuous function of η satisfying Equation (24) if, and only if, φ increases as λ 2 increases, and this connection is called a 2-rarefaction. In these cases, the functional relationship between φ and η is obtained from Equation (23) or Equation (24) by replacing the considered eigenvalue with η . Equation (22) allows obtaining the function u .
Now, it is opportune to return to the hyperbolic system represented in a convenient form, (15). A constant left state φ L , u L connected to a constant state φ , u , employing a continuous function of η , with λ 1 L < λ 1 , must satisfy:
ln φ L + α ln φ L 1 φ L + u L = ln φ + α ln φ 1 φ + u , w i t h φ L > φ
On the other hand, to connect the constant state φ R , u R to a constant state φ , u , employing a continuous function of η , with λ 2 R > λ 2 , the following relation must be satisfied:
ln φ R α ln φ R 1 φ R + u R = ln φ α ln φ 1 φ + u , w i t h φ R > φ
Since (25) holds, the solution to problem (16) consists of connecting the states φ L , u L and φ R , u R to an intermediate state φ , u through continuous functions of the similarity variable η .
So, in this case, once φ L , u L and φ R , u R are given, φ , u is obtained from the system combining Equations (26) and (27), in which φ and u are the unique solutions of the following system:
u = 1 2 ln φ L φ R + α ln φ L 1 φ R φ R 1 φ L + u L + u R ln φ + α ln φ 1 φ = 1 2 ln φ L φ R + α ln φ L φ R 1 φ L 1 φ R + u L u R
Now, it is appropriate to define the (invertible) function of saturation F = F ^ φ and its inverse as:
F = F ^ φ = ln φ + α ln φ 1 φ + α 1 φ , f = f ^ F ^ φ = φ , 0 < φ < 1
The solution in this case may be represented by:
φ = φ L , < η λ 1 L f ^ F ^ φ L + λ 1 L η , λ 1 L < η < λ 1 φ , λ 1 η λ 2 f ^ F ^ φ R λ 1 R + η , λ 2 < η < λ 2 R φ R , λ 2 R η < u = u L , < η λ 1 L α + 1 ln φ L φ α ln 1 φ L 1 φ + u L , λ 1 L < η < λ 1 u , λ 1 η λ 2 α + 1 ln φ R φ + α ln 1 φ R 1 φ + u R , λ 2 < η < λ 2 R u R , λ 2 R η <
in which:
λ 1 L = u L 1 + α 1 φ L ; λ 1 = u 1 + α 1 φ λ 2 = u + 1 + α 1 φ ; λ 2 R = u R + 1 + α 1 φ R
This continuous solution is called a 1-rarefaction/2-rarefaction and takes place if, and only if,
u R u L ln φ L φ R + α ln φ L 1 φ R φ R 1 φ L
When the equality holds, the connection is either a 1-rarefaction or a 2-rarefaction since the intermediate state coincides with the left state (in this case, there is only a 2-rarefaction) or with the right state (in this case, there is only a 1-rarefaction). In other words,
ln φ L φ R + α ln φ L 1 φ R φ R 1 φ L = u R u L , w i t h φ L > φ R φ R = φ 1 r a r e f a c t i o n ln φ R φ L + α ln φ R 1 φ L φ L 1 φ R = u R u L , w i t h φ R > φ L φ L = φ 2 r a r e f a c t i o n
Nevertheless, initial data satisfying the continuous solutions given by Equation (32) cannot always adequately represent the problem. Consequently, the space of permissible solutions must be expanded to allow for discontinuous solutions.
These discontinuous solutions are constructed by connecting two states by a discontinuity. They must satisfy the entropy conditions [20,26,27,28] and the Rankine–Hugoniot jump conditions [20,26,29,30,31]. The jump conditions associated with the nonlinear hyperbolic system (15) are given by:
φ u φ = φ u 2 + p φ u = s
in which denotes the “jump” of “ ”.
Since (25) holds, for any two states that a continuous function cannot connect, a shock links them and satisfy the entropy conditions. Two states φ 1 , u 1 and φ 2 , u 2 , connected by a shock, must satisfy the following:
φ 2 u 2 φ 1 u 1 φ 2 φ 1 = φ 2 u 2 2 φ 1 u 1 2 + p 2 p 1 φ 2 u 2 φ 1 u 1 = s
in which s is the shock speed, and η = s is the shock position. As pointed out, to satisfy the entropy conditions, two states are linked by a shock if, and only if, a continuous function cannot connect them (a rarefaction coupling) [20,27,29,30,31].
A shock links the left state φ L , u L to the constant state φ , u whenever φ L < φ . This shock is called a 1-shock. The relationship between these two states is given by:
u u L = 1 φ L 1 φ p p L , φ L < φ , p = p ^ φ , p L = p ^ φ L
The speed of the 1-shock, denoted by s 1 , is given by:
s 1 = φ u φ L u L φ φ L
The constant state φ , u links to the right state φ R , u R by employing a shock called a 2-shock through the same protocol. If φ R < φ , then the states φ , u and φ R , u R are such that:
u u R = 1 φ 1 φ R p R p , φ R < φ , p = p ^ φ , p R = p ^ φ R
The speed of the 2-shock, denoted by s 2 ,is given by:
s 2 = φ R u R φ u φ R φ
Note that:
u L u R = 1 φ L 1 φ R p R p L , φ L < φ R φ = φ R 1 s h o c k u L u R = 1 φ L 1 φ R p R p L , φ R < φ L φ = φ L 2 s h o c k
Table 1 summarizes the possible solutions (rarefactions or shocks) for the Riemann problem (16) in a generalized sense concerning the conditions for saturation and velocity at the left, intermediate, and right states.
Table 2 presents the conditions for the four possible solutions to the Riemann problem, showing the links by rarefactions and/or by shocks.
Note that when the intermediate state φ , u coincides with the left state φ L , u L , the solution will be a 2-rarefaction or a 2-shock. If the intermediate state φ , u coincides with the right state, the solution will be a 1-rarefaction or a 1-shock.
Equation (30) presents the complete solution for a 1-rarefaction/2-rarefaction. For a 1-shock/2-shock, the solution is given by:
φ = φ L , < η < s 1 φ , s 1 < η < s 2 φ R , s 2 < η < u = u L , < η < s 1 u , s 1 < η < s 2 u R , s 2 < η <
in which φ and u are obtained from:
u u L = 1 φ L 1 φ p p L , φ L < φ u u R = 1 φ 1 φ R p R p , φ R < φ 1 φ L 1 φ p p L + 1 φ 1 φ R p R p + u R u L = 0 u = 1 2 u L + u R 1 φ L 1 φ p p L + 1 φ 1 φ R p R p
For a 1-rarefaction/2-shock, the solution is given by:
φ = φ L , < η λ 1 L f ^ F ^ φ L + λ 1 L η , λ 1 L < η < λ 1 φ , λ 1 η < s 2 φ R , s 2 < η < u = u L , < η λ 1 L α + 1 ln φ L φ α ln 1 φ L 1 φ + u L , λ 1 L < η < λ 1 u , λ 1 η < s 2 u R , s 2 < η <
in which φ and u are obtained from:
u u L = ln φ L φ + α ln φ L 1 φ 1 φ L φ , φ L > φ u u R = 1 φ 1 φ R p R p , φ R < φ
For a 1-shock/2-rarefaction, the solution is given by:
φ = φ L , < η < s 1 φ , s 1 < η λ 2 f ^ F ^ φ R λ 1 R + η , λ 2 < η < λ 2 R θ R , λ 2 R η < u = u L , < η < s 1 u , s 1 < η λ 2 α + 1 ln φ R φ + α ln 1 φ R 1 φ + u R , λ 2 < η < λ 2 R u R , λ 2 R η <
in which φ and u are obtained from:
u u L = 1 φ L 1 φ p p L , φ L < φ u u R = ln φ R φ α ln φ R 1 φ 1 φ R φ , φ R > φ

5. Glimm’s Method

Glimm’s method is executed by employing the complete solution of the associated Riemann Problem presented in Equations (15)–(46). Glimm’s scheme is an essential tool for handling discontinuous hyperbolic problems. It advances from an instant n to a subsequent instant n + 1, employing the Riemann problem solution for each two consecutive time steps. The solution for the initial value problems, nonlinear hyperbolic problems subjected to arbitrary initial data, uses the solution of the associated Riemann problems [21,24]. Glimm’s method marches in time by using the solution of a previously decided number of associated Riemann problems to approximate nonlinear hyperbolic problems.
The first step is to approximate the arbitrary initial condition (a function of the position) using piecewise constant functions. The next step is to solve a Riemann problem with a step function as the initial condition for each two consecutive steps. The Courant-Friedrichs-Lewy (CFL) condition [20,24] must always be verified for the interval Δ t so that interactions among nearby shocks of adjacent Riemann problems are never allowed. The CFL condition ensures the solution’s uniqueness:
Δ t Δ x 2 λ max
where λ max is the absolute value of the maximum propagation speed (accounting for the eigenvalues and the shock speeds) for all the Riemann problems at a given time.
To explain Glimm’s semi-analytical scheme, applied to the initial value problem associated with a one-dimensional nonlinear hyperbolic system, a general conservation law is defined below, with the vector v representing the unknowns:
t v + x f v with v = φ φ u f v = φ u φ u 2 + p v x , 0 = v 0 x
The spatial domain L , + L is discretized into 2 M computing cells given by the real intervals I i = x i 1 / 2 , x i + 1 / 2 of equal width Δ x = x i + 1 / 2 x i 1 / 2 = L / M , with i = 1 , ,   2 M . For each spatial interval I i , the location of its center x i and its extremes x i 1 / 2 ,   x i + 1 / 2 are given, respectively, by:
x i = L + i 1 2 Δ x x i 1 / 2 = x i Δ x 2 x i + 1 / 2 = x i + Δ x 2
The initial condition v 0 x is converted into a piecewise constant function in each spatial interval I i , assuming the values v i 0 = v 0 x i , i = 1 , , 2 M , these values being updated at each time step. At each time step t = t n , piecewise constant functions obtained from a random choice are considered for the spatial interval I i . The states are denoted by v i 1 / 2 n and v i + 1 / 2 n . Note that satisfying the CFL condition (Equation (47)) ensures that there is no interaction among shock or rarefaction waves of the solution v i 1 / 2 n and v i + 1 / 2 n within the spatial interval I i . The solution evolves from these data to a subsequent time t n + 1 = t n + Δ t , Δ t > 0 .
The pairs v i 1 / 2 n and v i + 1 / 2 n define states on the left and the right at the ends of the spatial interval I i , I i x i 1 / 2 , x i + 1 / 2 , defining local Riemann problems centered on x i . These Riemann problems have exact solutions.
The advance of the solution from time t n to t n + 1 = t n + Δ t in a spatial interval Ii involves a random choice of a state. The chosen state depends on a random number θ in the range 1 / 2 , + 1 / 2 . The solution is then updated as follows:
v i n + 1 = v i 1 / 2 n + 1 θ Δ x Δ t 0 θ < 1 2 v i + 1 / 2 n + 1 θ Δ x Δ t 1 2 < θ < 0
giving rise to a new piecewise constant function.
According to Olivier and Grönig [32], the momentary repetition of the θ sign may cause errors in the shock or rarefaction wave positions. For instance, this could be observed by making the number θ always positive.
This work proposes considering four distinct sequences to minimize any error in the wave positions—four solutions by Glimm’s method at each step in the time from tn to tn+1. The first solution, coming from the sequence + θ n , is denoted as v i n + 1 + 1 in the spatial interval Ii, being given by:
v i n + 1 + 1 = v i 1 / 2 n + 1 θ n Δ x Δ t 0 θ n < 1 2 v i + 1 / 2 n + 1 θ n Δ x Δ t 1 2 < θ n < 0
The second solution is determined using the sequence θ n , the symmetric counterpart of + θ n , denoted as v i n + 1 1 in the spatial interval I i being given by:
v i n + 1 1 = v i 1 / 2 n + 1 θ n Δ x Δ t 0 θ n < 1 2 v i + 1 / 2 n + 1 θ n Δ x Δ t 1 2 < θ n < 0
Next, the third and fourth solutions are similarly obtained from the sequences + θ n and their symmetric counterparts θ n , respectively, as:
v i n + 1 + 2 = v i 1 / 2 n + 1 θ n Δ x Δ t 0 θ n < 1 2 v i + 1 / 2 n + 1 θ n Δ x Δ t 1 2 < θ n < 0
and:
v i n + 1 2 = v i 1 / 2 n + 1 θ n Δ x Δ t 0 θ n < 1 2 v i + 1 / 2 n + 1 θ n Δ x Δ t 1 2 < θ n < 0
Finally, one can obtain a solution that can be considered independent of the sign of θ n by taking the following arithmetic mean:
v ¯ i n + 1 = v i n + 1 + 1 + v i n + 1 1 + v i n + 1 + 2 + v i n + 1 2 4

6. Numerical Results

Cunha da Silva et al. [33] showed the dependency on the sign of a random number in the implementation of Glimm’s method because a momentary repetition of the random number sign might provoke errors in the wave positions. The authors compared the usual implementation of Glimm’s method using the sequences + θ n and their symmetric counterparts θ n , and the strategy of using the arithmetic mean of the employed approximations for each random choice with some known exact solutions. This arithmetic average strategy presented better results [33].
Based on the conclusions of [33], this section presents all the results obtained by employing the arithmetic mean presented in Equation (55), which considers four solutions instead of the two solutions used by [33].
The construction of all of the following images follows the same structure: the first graph, on the upper left side, represents the initial data for saturation and velocity. The subsequent seven graphs represent the saturation and the velocity for t = γ Δ t , t = 2 γ Δ t , …, t = 6 γ Δ t , and t = 7 γ Δ t . All the figures represent the interval x 1 , 1 .
The horizontal dashed line indicates the maximum allowable value for saturation ( φ = 1 ).
Figure 1 depicts the evolution of saturation and velocity when initial data are given as φ = 0.9   for   < x < , u = + 1.0   for   < x < 0 , and u = 1.0 for 0 x < , considering constant saturation, a step function with a very high constant saturation, and a step function ranging from the maximum considered velocity for negative x values to the minimum considered velocity for positive x values.
Note that saturation reaches a value near unity (saturated flow) in the first selected time instant. As expected, the width of the region with higher saturation increases as time evolves, so that at t = 7 γ Δ t , almost the whole domain presents a saturation value near unity. The velocity value is zero in the same spatial regions, keeping the imposed initial values only at two minimal spatial regions. Note that the shocks are at the same spatial position for saturation and velocity.
Figure 2 presents the evolution of saturation and velocity considering φ = 0.5   for   < x < 0.25 0.25 < x < and φ = 0.8   for   0.25 x 0.25 , and u = 0.0   for   < x < 0 0.25 < x < and u = 1.0   for   0 x 0.25 as initial data.
In Figure 2, saturation approaches unity only in a tiny spatial region in the two graphs after the initial data near the higher saturation imposed in the initial condition. The small region with higher saturation and the tiny region with low velocity provoke saturation and velocity variation along almost the whole domain, except for two narrow regions near the extremes of the interval x 1 , 1 .
Figure 3 represents the behavior of saturation and velocity, with initial data φ = 0.5   for   < x < 0.25 0.25 < x < and φ = 0.8   for   0.25 x 0.25 for saturation and u = 0.0   for   < x < for velocity. A small region with higher saturation imposed at the center of the domain (with zero velocity) is sufficient to influence saturation and velocity throughout almost the whole spatial domain. However, saturation does not approach unity, as in the previous figures.
Figure 4 depicts saturation and velocity over time, considering φ = 0.9   for   < x < 0.25 0.25 < x < and φ = 0.6   for   0.25 x 0.25 as initial data for saturation, while the initial velocity is given by u = 1.0   for   0.25 x 0 and u = 1.0   for   0 < x 0.25 . The lower saturation region and the tiny low- and high-velocity regions imposed as initial data influence saturation and velocity throughout the spatial domain; saturation barely approaches unity.
The initial data used to depict Figure 5 are constant saturation, with φ = 0.9   for   < x < and initial velocity u = 0.0   for   < x < 0.25 0 < x < and u = 1.0   for   0.25 x 0 , representing a tiny region with the maximum considered velocity. As in the previous figures, this tiny high-velocity region influences the behavior of saturation and velocity along the spatial domain. Also, as in Figure 1 and Figure 2, saturation approaches unity.
Figure 6 considers the following initial data for saturation: φ = 0.9   for   < x < 0.25 , φ = 0.4   for   0.25 < x < , and φ = 0.65 x   for   0.25 x 0.25 , and for velocity: u = 0.0   for   < x < 0.25 0.25 < x < and u = 2 x 0.5   for   0.25 x 0.25 , characterizing linear decreasing saturation linked to constant values near the interval x 1 , 1 ends and constant zero velocities near the interval ends linked to a triangular shape with negative velocities. This shape abruptly reaches the minimum velocity and then increases as a linear function to zero. The initial data influence the whole spatial domain, and saturation approaches unity.

7. Final Remarks

The constitutive relation for the pressure proposed in this work allows a very small supersaturation of the porous matrix by the fluid. This supersaturation is controllable; any additional fluid inlet provokes a rapid and meaningful augmentation in pressure and speed propagation.
The model allows for preserving the hyperbolic nature of the problem and, employing Glimm’s method for the simulation, ensuring consistent physical results. The implementation of Glimm’s scheme depends on the random number sign, so a strategy using an average value of four different solutions obtained using the sequences of random numbers + θ n and θ n , provides more accurate results concerning shock wave and rarefaction wave positions. As the space interval decreases, the accuracy of the results improve.
This reliable tool adequately describes problems with the transition between saturated/unsaturated flow through porous media and vice versa and provides an accurate numerical solution via Glimm’s method.

Author Contributions

Conceptualization, R.M.S.d.G. and M.L.M.-C.; methodology, R.M.S.d.G.; software, R.P.S.d.G.; validation, M.L.M.-C., C.H.A., D.C.d.S. and J.J.P.F.; formal analysis, R.M.S.d.G. and M.L.M.-C.; investigation, R.M.S.d.G.; resources, R.M.S.d.G.; writing—original draft preparation, M.L.M.-C. and R.M.S.d.G.; writing—review and editing, M.L.M.-C.; visualization, R.P.S.d.G.; supervision, R.P.S.d.G.; project administration, R.M.S.d.G. and M.L.M.-C.; funding acquisition, R.M.S.d.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research was partially supported by the Brazilian Agency CNPq, grant number [304962/2022-8].

Data Availability Statement

Not applicable.

Acknowledgments

The authors gratefully acknowledge the financial support of the Brazilian agencies CNPq and CAPES.

Conflicts of Interest

Theauthors declare that there are no conflict of interest regarding the publication of this paper.

References

  1. Diamantopoulos, E.; Durner, W. Dynamic nonequilibrium of water flow in porous media: A review. Vadose Zone J. 2012, 11, vzj2011.0197. [Google Scholar] [CrossRef]
  2. Li, Y.; Liu, C.; Li, H.; Chen, S.; Lu, K.; Zhang, Q.; Luo, H. A review on measurement of the dynamic effect in capillary pressure. J. Pet. Sci. Eng. 2022, 208, 109672. [Google Scholar] [CrossRef]
  3. Li, Y.; Luo, H.; Li, H.; Liu, X.; Tan, Y.; Chen, S.; Cai, J. A brief review of dynamic capillarity effect and its characteristics in low permeability and tight reservoirs. J. Pet. Sci. Eng. 2020, 189, 106959. [Google Scholar] [CrossRef]
  4. Yan, G.; Li, Z.; Bore, T.; Galindo Torres, S.A.; Scheuermann, A.; Li, L. A lattice Boltzmann exploration of two-phase displacement in 2D porous media under various pressure boundary conditions. J. Rock Mech. Geotech. Eng. 2022, 14, 1782–1798. [Google Scholar] [CrossRef]
  5. Yan, G.; Li, Z.; Galindo Torres, S.A.; Scheuermann, A.; Li, L. Transient Two-Phase Flow in Porous Media: A Literature Review and Engineering Application in Geotechnics. Geotechnics 2022, 2, 32–90. [Google Scholar] [CrossRef]
  6. Lo, W.; Sposito, G.; Lin, T.-H. Dynamic water potential waves in unsaturated soils. Adv. Water Resour. 2022, 165, 104198. [Google Scholar] [CrossRef]
  7. Lo, W.C.; Yang, C.C.; Hsu, S.Y.; Chen, C.H.; Yeh, C.L.; Hilpert, M. The dynamic response of the water retention curve in unsaturated soils during drainage to acoustic excitations. Water Resour. Res. 2017, 53, 712–725. [Google Scholar] [CrossRef]
  8. Berre, I.; Boon, W.M.; Flemisch, B.; Fumagalli, A.; Glaser, D.; Keilegavlen, E.; Scotti, A.; Devloo, P.; Duran, O.; Favino, M.; et al. Verification benchmarks for single-phase flow in three-dimensional fractured porous media. Adv. Water Resour. 2021, 147, 103759. [Google Scholar] [CrossRef]
  9. Wang, L.; Golfier, F.; Tinet, A.J.; Chen, W.; Vuik, C. An efficient adaptive implicit scheme with equivalent continuum approach for two-phase flow in fractured vuggy porous media. Adv. Water Resour. 2022, 163, 104186. [Google Scholar] [CrossRef]
  10. Hoteit, H.; Firoozabadi, A. Modeling of Multicomponent Diffusions and Natural Convection in Unfractured and Fractured Media by Discontinuous Galerkin and Mixed Methods: Modeling of Multicomponent Diffusions and Natural Convection. Int. J. Num. Meth. Engn. 2017, 114, 3. [Google Scholar] [CrossRef]
  11. Tien, C.L.; Vafai, K. Convective and radiative heat transfer in porous media. Adv. Appl. Mech. 1990, 27, 225–281. [Google Scholar]
  12. Whitaker, S. Advances in theory of fluid motion in porous media. Ind. Eng. Chem. 1969, 61, 1428. [Google Scholar] [CrossRef]
  13. Alazmi, B.; Vafai, K. Analysis of variants within the porous media transport models. J. Heat Transf. 2000, 122, 303–326. [Google Scholar] [CrossRef]
  14. Biot, M.A. General theory of three-dimensional consolidation. J. Appl. Phys. 1941, 12, 155–164. [Google Scholar] [CrossRef]
  15. Hassanizadeh, S.M.; Gray, S.M. Mechanics and thermodynamics of multiphase flows in porous media including interphase boundaries. Adv. Water Resour. 1990, 13, 169–186. [Google Scholar] [CrossRef]
  16. Atkin, R.J.; Craine, R.E. Continuum theories of mixtures: Basic theory and historical development. Q. J. Mech. Appl. Math. 1976, 29, 209–244. [Google Scholar] [CrossRef]
  17. Rajagopal, K.R.; Tao, L. Mechanics of Mixtures. In Advances in Mathematics for Applied Sciences; World Scientific: Singapore, 1995; Volume 35. [Google Scholar]
  18. Allen, M.B. Mechanics of multiphase fluid flows in variably saturated porous media. Int. J. Eng. Sci. 1986, 24, 339–351. [Google Scholar] [CrossRef]
  19. Martins-Costa, M.L.; Saldanha da Gama, R.M. Numerical simulation of one-dimensional flows through porous media with shock waves. Int. J. Numer. Meth. Eng. 2001, 52, 1047–1067. [Google Scholar] [CrossRef]
  20. Smoller, J. Shock-Waves and Reaction-Diffusion Equations; Cambridge University Press: New York, NY, USA, 1983. [Google Scholar]
  21. Glimm, J. Solutions in the Large for Nonlinear Hyperbolic Systems of Equations. Comm. Pure Appl. Math. 1965, 18, 697–715. [Google Scholar] [CrossRef]
  22. Martins-Costa, M.L.; Saldanha da Gama, R.M. A new constrained constitutive equation for unsaturated flows of incompressible liquids through rigid porous media. J. Porous Media 2011, 14, 205–217. [Google Scholar] [CrossRef]
  23. Martins-Costa, M.L.; Monte Alegre, D.; Freitas Rachid, F.B.; Jardim, L.G.C.M.; Saldanha da Gama, R.M. A hyperbolic mathematical modeling for describing the transition saturated/unsaturated in a rigid porous medium. Int. J. Non-Linear Mech. 2017, 95, 168–177. [Google Scholar] [CrossRef]
  24. Chorin, A.J. Random choice solution of hyperbolic systems. J. Comput. Phys. 1976, 22, 517–533. [Google Scholar] [CrossRef]
  25. Srinivasan, S.; Rajagopal, K.R. A thermodynamic basis for the derivation of the Darcy, Forchheimer and Brinkman models for flows through porous media and their generalizations. Int. J. Non-Linear Mech. 2014, 58, 162–166. [Google Scholar] [CrossRef]
  26. Martins-Costa, M.L.; Saldanha da Gama, R.M. Glimm’s method simulation for the pollutant transport in an isothermal atmosphere. Comput. Mech. 2003, 32, 214–223. [Google Scholar] [CrossRef]
  27. Lax, P. Shock Waves and Entropy. In Contributions to Nonlinear Functional Analysis; Academic Press: New York, NY, USA, 1971. [Google Scholar]
  28. Keyfitz, B.; Kranzer, H. Existence and uniqueness of entropy solutions to the Riemann problem for hyperbolic systems of two nonlinear conservation laws. J. Diff. Eqns. 1978, 27, 444–476. [Google Scholar] [CrossRef]
  29. Dafermos, C. Hyperbolic Conservation Laws in Continuum Physics; Springer-Verlag: Heidelberg-Berlin, Germany, 2010. [Google Scholar]
  30. Godlewskiand, E.; Raviart, P.A. Hyperbolic Systems of Conservation Laws, Mathématiques & Applications; Ellipses: Paris, France, 1991. [Google Scholar]
  31. Toro, E.F. Riemann Solvers and Numerical Methods for Fluid Dynamics; Springer: Berlin, Germany, 1999. [Google Scholar]
  32. Olivier, H.; Grönig, H. The random choice method applied to two-dimensional shock focusing and diffraction. J. Comput. Phys. 1986, 63, 85–106. [Google Scholar] [CrossRef]
  33. Cunha da Silva, D.; Martins-Costa, M.L.; Saldanha da Gama, R.M. Application of Glimm scheme for describing flow through porous media with kinematical constrained fluid fraction. In Proceedings of the 18th Brazilian Congress of Thermal Sciences and Engineering, ENCIT, Online, 16–20 November 2020. [Google Scholar]
Figure 1. The saturation φ and the velocity u behavior, for x 1 , 1 , considering constant saturation and step function for the velocity as initial data.
Figure 1. The saturation φ and the velocity u behavior, for x 1 , 1 , considering constant saturation and step function for the velocity as initial data.
Axioms 12 01023 g001
Figure 2. The saturation φ and the velocity u behavior, for x 1 , 1 , considering a small region with higher saturation and a tiny region with low velocity as initial data.
Figure 2. The saturation φ and the velocity u behavior, for x 1 , 1 , considering a small region with higher saturation and a tiny region with low velocity as initial data.
Axioms 12 01023 g002
Figure 3. The saturation φ and the velocity u behavior, for x 1 , 1 , considering a small region with higher saturation and constant (zero) velocity as initial data.
Figure 3. The saturation φ and the velocity u behavior, for x 1 , 1 , considering a small region with higher saturation and constant (zero) velocity as initial data.
Axioms 12 01023 g003
Figure 4. The saturation φ and the velocity u behavior, for x 1 , 1 , considering a small region with lower saturation and two tiny regions with subsequent low and high velocities as initial data.
Figure 4. The saturation φ and the velocity u behavior, for x 1 , 1 , considering a small region with lower saturation and two tiny regions with subsequent low and high velocities as initial data.
Axioms 12 01023 g004
Figure 5. The saturation φ and the velocity u behavior, for x 1 , 1 , considering constant saturation and a tiny high-velocity region as initial data.
Figure 5. The saturation φ and the velocity u behavior, for x 1 , 1 , considering constant saturation and a tiny high-velocity region as initial data.
Axioms 12 01023 g005
Figure 6. The saturation φ and the velocity u behavior, for x 1 , 1 , considering the following as initial data: saturation given by a constant high value followed by a linear decreasing function and a constant small value, and a small region of constant zero velocity abruptly falling to the minimum velocity, subsequently increasing linearly to zero followed by a constant zero value.
Figure 6. The saturation φ and the velocity u behavior, for x 1 , 1 , considering the following as initial data: saturation given by a constant high value followed by a linear decreasing function and a constant small value, and a small region of constant zero velocity abruptly falling to the minimum velocity, subsequently increasing linearly to zero followed by a constant zero value.
Axioms 12 01023 g006
Table 1. Riemann problem possible solutions: conditions for saturation and velocity.
Table 1. Riemann problem possible solutions: conditions for saturation and velocity.
φ L > φ < φ R 1—rarefaction/2—rarefaction u L < u < u R
φ L < φ > φ R 1—shock/2—shock u L > u > u R
φ L > φ > φ R 1—rarefaction/2—shock u L < u > u R
φ L < φ < φ R 1—shock/2—rarefaction u L > u < u R
φ L = φ < φ R 2—rarefaction u L = u < u R
φ L > φ = φ R 1—rarefaction u L < u = u R
φ L = φ > φ R 2—shock u L = u > u R
φ L < φ = φ R 1—shock u L > u = u R
Table 2. Riemann problem solution: a priori choice.
Table 2. Riemann problem solution: a priori choice.
1-rarefaction/
2-rarefaction
u R u L ln φ L α + 1 1 φ R α φ R α + 1 1 φ L α
1-shock/
2-shock
u R u L 1 φ R 1 φ L p L p R
1-rarefaction/
2-shock
1 φ R 1 φ L p L p R < u R u L < ln φ L α + 1 1 φ R α φ R α + 1 1 φ L α , φ L > φ R
1-shock/
2-rarefaction
1 φ R 1 φ L p L p R < u R u L < ln φ L α + 1 1 φ R α φ R α + 1 1 φ L α , φ L < φ R
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

da Gama, R.M.S.; Pedrosa Filho, J.J.; da Gama, R.P.S.; da Silva, D.C.; Alexandrino, C.H.; Martins-Costa, M.L. Numerical Simulation of Constrained Flows through Porous Media Employing Glimm’s Scheme. Axioms 2023, 12, 1023. https://doi.org/10.3390/axioms12111023

AMA Style

da Gama RMS, Pedrosa Filho JJ, da Gama RPS, da Silva DC, Alexandrino CH, Martins-Costa ML. Numerical Simulation of Constrained Flows through Porous Media Employing Glimm’s Scheme. Axioms. 2023; 12(11):1023. https://doi.org/10.3390/axioms12111023

Chicago/Turabian Style

da Gama, Rogério M. Saldanha, José Julio Pedrosa Filho, Rogério Pazetto S. da Gama, Daniel Cunha da Silva, Carlos Henrique Alexandrino, and Maria Laura Martins-Costa. 2023. "Numerical Simulation of Constrained Flows through Porous Media Employing Glimm’s Scheme" Axioms 12, no. 11: 1023. https://doi.org/10.3390/axioms12111023

APA Style

da Gama, R. M. S., Pedrosa Filho, J. J., da Gama, R. P. S., da Silva, D. C., Alexandrino, C. H., & Martins-Costa, M. L. (2023). Numerical Simulation of Constrained Flows through Porous Media Employing Glimm’s Scheme. Axioms, 12(11), 1023. https://doi.org/10.3390/axioms12111023

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop