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]:
In Equation (1), the index refers to the fluid constituent: is its mass density (the local ratio between its mass and the mixture volume), is its velocity, is the partial stress tensor (assumed to be symmetrical, so the angular momentum balance is automatically satisfied). Also, is the momentum source acting on the fluid constituent due to its interaction with the other mixtures’ constituents and 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
(fluid constituent mass density),
, and
(fluid mass density, measured from a continuum mechanics viewpoint) defines the fluid fraction
:
Mixture theory allows kinematic independence among the constituents, requiring a source term to consider their dynamic interaction. This force is a momentum supply
, 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.
In Equation (3), is the viscosity of the fluid and 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:
with
being a pressure and
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
, and the absence of body forces affecting the flow direction, the problem is expressed as:
Employing a reference pressure
allows for a convenient redefinition of the pressure, such that:
Using the pressure redefinition given by Equation (6) permits writing the nonlinear system (5) as a nonlinear homogeneous hyperbolic system:
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:
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:
that can be rewritten as:
in which:
where
is a pressure proportional to
, 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:
Even if the pressures become extremely large, the supersaturation presents an a priori limit:
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:
Consider the Cauchy problem given by:
in which
and
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
. In other words, the following system represents (13):
employing a similarity variable such that:
In this way, (15) becomes:
To satisfy the nonlinear problem (15), either and must be constants, or ( eigenvalue of and eigenvector).
The eigenvalues of the matrix
, defined in Equation (15), in increasing order, are given by:
The equation below allows for obtaining the associated eigenvectors:
Taking into account Equation (21) allows obtaining the following equations:
or, in an alternative form,
Since the eigenvalues correspond to the similarity variable , two states, and , are connected by a continuous function of satisfying Equation (23) if, and only if, decreases as increases, and this connection is called a 1-rarefaction. On the other hand, two states ( and ) are connected by a continuous function of satisfying Equation (24) if, and only if, increases as 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 .
Now, it is opportune to return to the hyperbolic system represented in a convenient form, (15). A constant left state
connected to a constant state
, employing a continuous function of
, with
, must satisfy:
On the other hand, to connect the constant state
to a constant state
, employing a continuous function of
, with
, the following relation must be satisfied:
Since (25) holds, the solution to problem (16) consists of connecting the states and to an intermediate state through continuous functions of the similarity variable .
So, in this case, once
and
are given,
is obtained from the system combining Equations (26) and (27), in which
and
are the unique solutions of the following system:
Now, it is appropriate to define the (invertible) function of saturation
and its inverse as:
The solution in this case may be represented by:
in which:
This continuous solution is called a 1-rarefaction/2-rarefaction and takes place if, and only if,
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,
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:
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
and
, connected by a shock, must satisfy the following:
in which
is the shock speed, and
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
to the constant state
whenever
. This shock is called a 1-shock. The relationship between these two states is given by:
The speed of the 1-shock, denoted by
, is given by:
The constant state
links to the right state
by employing a shock called a 2-shock through the same protocol. If
, then the states
and
are such that:
The speed of the 2-shock, denoted by
,is given by:
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 coincides with the left state , the solution will be a 2-rarefaction or a 2-shock. If the intermediate state 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:
in which
and
are obtained from:
For a 1-rarefaction/2-shock, the solution is given by:
in which
and
are obtained from:
For a 1-shock/2-rarefaction, the solution is given by:
in which
and
are obtained from:
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
so that interactions among nearby shocks of adjacent Riemann problems are never allowed. The CFL condition ensures the solution’s uniqueness:
where
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
representing the unknowns:
The spatial domain
is discretized into
computing cells given by the real intervals
of equal width
, with
. For each spatial interval
, the location of its center
and its extremes
are given, respectively, by:
The initial condition is converted into a piecewise constant function in each spatial interval , assuming the values , , these values being updated at each time step. At each time step , piecewise constant functions obtained from a random choice are considered for the spatial interval . The states are denoted by and . Note that satisfying the CFL condition (Equation (47)) ensures that there is no interaction among shock or rarefaction waves of the solution and within the spatial interval . The solution evolves from these data to a subsequent time , .
The pairs and define states on the left and the right at the ends of the spatial interval , , defining local Riemann problems centered on . These Riemann problems have exact solutions.
The advance of the solution from time
to
in a spatial interval
Ii involves a random choice of a state. The chosen state depends on a random number
in the range
. The solution is then updated as follows:
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
, is denoted as
in the spatial interval
Ii, being given by:
The second solution is determined using the sequence
, the symmetric counterpart of
, denoted as
in the spatial interval
being given by:
Next, the third and fourth solutions are similarly obtained from the sequences
and their symmetric counterparts
, respectively, as:
and:
Finally, one can obtain a solution that can be considered independent of the sign of
by taking the following arithmetic mean:
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
and their symmetric counterparts
, 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 , , …, , and . All the figures represent the interval .
The horizontal dashed line indicates the maximum allowable value for saturation ().
Figure 1 depicts the evolution of saturation and velocity when initial data are given as
,
, and
for
, considering constant saturation, a step function with a very high constant saturation, and a step function ranging from the maximum considered velocity for negative
values to the minimum considered velocity for positive
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 , 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
and
, and
and
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
.
Figure 3 represents the behavior of saturation and velocity, with initial data
and
for saturation and
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
and
as initial data for saturation, while the initial velocity is given by
and
. 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
and initial velocity
and
, 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:
,
, and
, and for velocity:
and
, characterizing linear decreasing saturation linked to constant values near the interval
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.