version 3.10-dev
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
Flow and transport in porous media

This section gives a brief introduction to the general physics concepts used for single and multi-phase flow in porous media in many DuMux models. The following description mostly concerns models on the Darcy (homogenized) continuum scale and assumes the existence of a representative elementary volume (REV) for which average quantities are defined. For a more comprehensive treatment of the mathematical modeling and description of the physical processes, we recommend the references [24], [40]. (Before we start, we remark that DuMux can be used to solve general conservation equations such as the Navier-Stokes equations and also support other modeling concepts such as pore-networks models to simulate pore-scale processes. Here, we focus on models in the scope of Darcy's law.)

We start with a few basic definitions and introduce some notation.

Phase. A phase is defined as a continuum having distinct properties (e.g. density and viscosity). If phases are miscible, they contain dissolved portions of the substance of the other phase. Fluid and solid phases are distinguished. The fluid phases have different affinities to the solid phases. The phase, which has a higher affinity to the solid phases is referred to as the (more) wetting phase. In the case of two phases, the less wetting one is called the nonwetting phase.

For compositional multi-phase models, fluid phases may be composed of several components, while the solid phases are assumed to consist exclusively of a single component.

Component. The term component stands for constituents of the phases which can be associated with a unique chemical species or, more generally, with a group of species exploiting similar physical behavior. For example, the figure at the beginning of the section shows shows a water-gas-NAPL system composed of the phases water (subscript w), gas ( g), and NAPL ( n). These phases are composed of the components water (superscript w), the pseudo-component air ( a), and an organic contaminant ( c).

The composition of the components in a phase can influence the phase properties. Furthermore, for mass transfer, the phase behavior is quite different from the component behavior.

Thermodynamic equilibrium. For the non-isothermal, multi-phase, multi-component processes in porous media we state the assumption of local thermodynamic equilibrium. Chemical equilibrium means that the mass/mole fractions of a component in different phases are in equilibrium. Thermal equilibrium assumes the same temperature for all considered phases. Mechanical equilibrium means that the forces at the fluid-fluid and solid-fluid phase interfaces are in balance and the interfaces are not moving. Assuming that one of these conditions hold locally (within an REV) can be used to simplified the governing equations. For instance, it can often be assumed due to slow transport processes in porous media that all phases have the same temperature. In other words, reaching thermal equilibrium in an REV is a process much faster than time scales of interest.

Notation (convention). The subscript index α, e.g. w, n, and g refers to the phase, while the superscript κ, e.g. w, a, and c refers to the component. The following symbols are often used in the DuMux documentation of the mathemetical models for flow in porous media.

Symbol Description Symbol Description
pα phase pressure ϕ porosity
T temperature K intrinsic permeability tensor
Sα phase saturation τ tortuosity
xακ mole fraction of component κ in phase α g gravitational acceleration
Xακ mass fraction of component κ in phase α qακ volume source term of κ in α
ϱmol,α molar density of phase α uα specific internal energy
ϱα mass density of phase α hα specific enthalpy
M molar mass of a phase or component cs specific heat enthalpy
krα relative permeability λpm heat conductivity
μα phase viscosity qh heat source term
Dακ diffusivity of component κ in phase α vα velocity

Porous medium properties

The porosity ϕ is defined as the fraction of the volume occupied by fluids in an REV Vfluid divided by the total volume of the REV Vtotal.

ϕ=VfluidVtotal=1VsolidVtotal.

The intrinsic permeability is a measure on the REV scale of the ease of fluid flow through porous media. It relates the potential gradient and the resulting flow velocity in the Darcy equation. As the porous medium may have a structure leading to preferential flow in certain directions, intrinsic permeability is in general a tensorial quantity K. For isotropic porous media, it can be reduced to a scalar quantity K.

Mixture properties

The composition of a phase is described by mass or mole fractions of the components. The mole fraction xακ of component κ in phase α is defined as:

xακ=nακinαi,

where nακ is the number of moles of component κ in phase α. The mass fraction Xακ is defined similarly using the mass of component κ in phase α instead of nακ, Xακ=massακmassαtotal.

The molar mass Mκ of the component κ relates the mass fraction to the mole fraction and vice versa.

Fluid properties

The most important fluid properties to describe fluid flow on the REV scale are density and viscosity.

The density ρα of a fluid phase α is defined as the ratio of its mass to its volume (ρα=massαvolumeα) while the molar density ρmol,α is defined as the ratio of the number of moles per volume (ρmol,α=molesαvolumeα).

The dynamic viscosity μα characterizes the resistance of a fluid to flow. As density, it is a fluid phase property. For Newtonian fluids, the dynamic viscosity relates the shear stress τs to the velocity gradient:

τs=μαdvα,xdy.

The kinematic viscosity να:=μαρα is more often used in the description of incompressible systems.

Both density and viscosity generally depend on pressure, temperature, and phase composition.

Fluid-fluid and Fluid-solid interactions

If more than a single fluid is present in the porous medium, the fluids interact with each other and the solids, which leads to additional properties for multi-phase systems.

The saturation Sα of a phase α is defined as the ratio of the volume occupied by that phase to the total pore volume within an REV. As all pores are filled with some fluid, the sum of the saturations of all present phases is equal to one.

Capillary pressure. Immiscible fluids form a sharp interface as a result of differences in their intermolecular forces translating into different adhesive and cohesive forces at the fluid-fluid and fluid-fluid-solid interfaces creating interfacial tension on the microscale. From the mechanical equilibrium which has also to be satisfied at the interface, a difference between the pressures of the fluid phases results defined as the capillary pressure (phase difference pressure) pc:

pc=pnpw.

On the microscale, pc can be calculated from the surface tension according to the Laplace equation.

On the REV scale, however, capillary pressure needs to be defined by quantities of that scale. Several empirical relations provide expressions to link pc to the wetting-phase saturation Sw. An example is the relation given by Brooks and Corey [18] to determine pc based on Se, which is the effective wetting-phase saturation, the entry pressure pd, and the parameter λ describing the pore-size distribution:

pc=pdSe1λ,Se=SwSw,r1Sw,r,

where Sw,r is the residual wetting phase saturation which cannot be displaced by another fluid phase and remains in the porous medium.

Relative permeability. The presence of two fluid phases in the porous medium reduces the space available for flow for each of the fluid phases. This increases the resistance to flow of the phases, which is accounted for by the means of the relative permeability kr,α0, which scales the intrinsic permeability. The relative permeability strongly and nonlinearly depends on the saturation. The relations describing the relative permeabilities of the wetting and nonwetting phase are different as the wetting phase predominantly occupies small pores and the edges of larger pores while the nonwetting phases occupies large pores. The relative permeabilities for the wetting phase kr,w and the nonwetting phase in a two-fluid-phase system can be modeled, for instance following Brooks and Corey [18], by

kr,w=Se2+3λλ,kr,n=(1Se)2(1Se2+λλ).

Also see Dumux::FluidMatrix::BrooksCorey for where these constitutive relations are implemented in DuMux.

Transport processes in porous media

On the macro-scale, mass transport can be characterized by the driving force of the transport process. Pressure gradients result in the advective transport of a fluid phase and all the components constituting the phase, while concentration gradients result in the diffusion of a component within a phase.

Advective transport is determined by the flow field. On the macro-scale, the Darcy or filter velocity v is calculated using the Darcy equation depending on the potential gradient (pαραg), accounting for both pressure difference and gravitation, the intrinsic permeability of the porous medium, and the viscosity μ of the fluid phase:

v=Kμ(pρg).

v is proportional to (pρg) with the proportional factor Kμ. This equation can be extended to multi-phase flow by considering phase velocities vα of phase α and modeling phase interaction through the relative permeability kr,α,

vα=kr,αKμα(pαραg)

Molecular diffusion is a process determined by the concentration gradient. It is commonly modeled as Fickian diffusion following Fick's first law:

jd=ραDακXακ,

where Dακ is the molecular diffusion coefficient of component κ in phase α. In a porous medium, the actual path lines are tortuous due to the impact of the solid matrix. This tortuosity and the impact of the presence of multiple fluid phases is accounted for by using an effective diffusion coefficient Dpm,ακ:

Dpm,ακ=ϕταSαDακ,

where τα is the tortuosity of phase α (see Dumux::DiffusivityConstantTortuosity).

Gas mixing laws

Prediction of the p- ϱ- T behavior of gas mixtures is typically based on one of two concepts: Dalton's law or Amagat's law. Both laws make the same predictions for ideal gases but differ for non-ideal gas mixtures. In the following the two concepts will be explained in more detail.

Dalton's law assumes that the gases in the mixture are non-interacting (with each other) and each gas independently applies its own pressure (partial pressure), the sum of which is the total pressure:

p=ipi.

Here pi refers to the partial pressure of component i. As an example, if two equal volumes of gas A and gas B are mixed, the volume of the mixture stays the same but the pressures add up (see figure)

The density of the mixture, ϱ, can be calculated as follows:

ϱ=mV=mA+mBV=ϱAV+ϱBVV=ϱA+ϱB,

or for an arbitrary number of gases:

ϱ=iϱi,ϱm=iϱm,i.

Amagat's law assumes that the volumes of the component gases are additive. The interactions of the different gases are the same as the average interactions of the components. This is known as Amagat's law:

V=iVi.

As an example, if two volumes of gas A and B at equal pressure are mixed, the pressure of the mixture stays the same, but the volumes add up.

The density of the mixture, ϱ, can be calculated as follows:

ϱ=mV=mVA+VB=mmAϱA+mBϱB=mXAmϱA+XBmϱB=1XAϱA+XBϱB,

or for an arbitrary number of gases:

ϱ=1iXiϱi,ϱm=1ixiϱm,i.

Ideal gases. An ideal gas is defined as a gas whose molecules are spaced so far apart that the behavior of a molecule is not influenced by the presence of other molecules. This assumption is usually valid at low pressures and high temperatures. The ideal gas law states that, for one gas:

p=ϱRTM=ϱmRT.

Using the assumption of ideal gases and Dalton's law (or equivalently Amagat's law) leads to the following expression for the (mass) density and molar density of the mixture:

ϱ=pRTiMixi,ϱm=pRT.

Also see Dumux::IdealGas for where this is implemented in DuMux.

Porous medium flow models

A list of porous medium flow models implemented in DuMux can be found in Porous medium flow (Darcy). The module description found under the link features a description of the governing equations describing each mathematical model.


🛠 Edit above doc on GitLab