1 Introduction

In natural environments, bacteria and other microorganisms tend to attach onto soil grain surfaces. Attached bacterial cells are often embedded within a self-produced matrix of extracellular polymeric substance (EPS) which protects the cells from environmentally harsh conditions (Taylor and Jaffé 1990a, b; Ebigbo et al. 2010, 2012). These cells together with the surrounding EPS are referred to as biofilm (Iltis et al. 2011). Biofilm has been of interest to many researchers, because in the presence of water and necessary nutrients, it can grow in porous media. Biofilm occupies void pore spaces blocking water flow, which consequently reduces hydrodynamic properties of porous media like porosity and permeability. This leads to a condition known as bioclogging (see Baveye et al. 1998). In addition, biofilm has the intrinsic ability of degrading certain compounds (Wood and Whitaker 1998). So, over the past several decades, the features of bioclogging and biodegradation in porous media with biofilm have given rise to a broad range of applications, such as bioremediation, biobarriers (Baveye et al. 1998; Cunningham et al. 1991; Mitchell et al. 2009), microbial enhanced oil recovery (Afrapoli et al. 2011), and protection of steel corrosion (Videla and Herrera 2009; Zuo 2007).

A number of macroscale models for describing solute transport in porous media with biofilm are available in the literature (Baveye and Valocchi 1989; Cunningham and Mendoza-Sanchez 2006; van Noorden et al. 2010; Ebigbo et al. 2010, 2012; Kapellos et al. 2007; Rittmann 1993; Thullner et al. 2004). There are two major classes of macroscale models: one-equation and two-equation models. Under the condition of local mass equilibrium, where the average concentrations of solute in water phase and biofilm are assumed to be linearly related, a one-equation model may be developed (Golfier et al. 2009). Under non-equilibrium conditions, where there may be mass-transfer limitation, a so-called biofilm model has been widely used (see, e.g., MacDonald et al. 1999; Rittmann 1993). Orgogozo et al. (2010) derived two one-equation models for the cases of mass-transfer limited consumption and reaction-rate limited consumption. Alternatively, under non-equilibrium conditions, a general two-equation model (one equation for solute transport in water phase, the other for solute transport in biofilm) may be used. But, the solute mass exchange between the two domains needs to be determined, for instance, by the first-order kinetics (Ebigbo et al. 2010).

In another line of research, pore-scale modeling has been employed in the studies of reactive transport in porous media with biofilm (Dupin et al. 2001; Pintelon et al. 2009). It not only sheds light on physical fundamentals of flow and transport at the pore scale, but also can provide constitutive relationships which appear in upscaled macroscale transport equations, like effective dispersive tensor, effective reaction rate, and relationship between permeability and biofilm volume fraction (Ezeuko et al. 2011; Graf von der Schulenburg et al. 2009; Hesse et al. 2009; Kim and Fogler 2000; Li et al. 2006; Stewart and Kim 2004; Suchomel et al. 1998a, b; Thullner et al. 2002; Thullner and Baveye 2008). Graf von der Schulenburg et al. (2009) developed a Lattice-Boltzmann (LB) model to study the coupled interactions between nutrient transport, biofilm growth, and hydrodynamics. The biofilm growth was described by an individual-based biofilm model which was able to track the distribution and spreading pattern of biofilm based on some local evolution rules. There are also a few studies of bioclogging in porous media using pore-network modeling (PNM). In most of these studies, only regularly arranged cylindrical tubes were used to represent the porous media of interest. Biofilm growth was assumed to occur uniformly around the pore walls. Inside a cylindrical pore, either local mass equilibrium (Ezeuko et al. 2011) or a first-order kinetic model with a constant mass exchange coefficient was used (e.g., Thullner and Baveye 2008). But, it is worth noting that even in the tubes of a pore network we still need to distinguish non-equilibrium from equilibrium conditions. A constant mass exchange coefficient may not capture the complex kinetics of solute transport between water phase and biofilm over a wide range of prevailing conditions. Its value is expected to be dependent on conditions of water flow, reaction rate, etc. The main objective of this work is to explore such dependencies in a single pore domain.

In this work, with the ultimate goal of developing a pore-network model of biofilm growth, we simulated solute transport in a single pore and developed relationships for tube-scale rate of solute mass exchange between water phase and biofilm. This will serve as important inputs to the PNM in future studies. The procedure is similar to the work of Raoof and Hassanizadeh (2010), Raoof et al. (2010), who developed a pore-network model of adsorbing solute transport. To avoid possible confusion, we define three scales, namely microscale, tube scale, and REV scale (or macroscale). Because micro- and REV scales are well known, we only explain tube scale as follows. At the tube scale, all quantities are defined as averages over the whole tube, such as average solute concentration or biofilm volume fraction. At the microscale, the solute mass exchange is described directly by imposing continuity of solute flux across the interface between water phase and biofilm. But, at the tube scale, a kinetic mass exchange model may be needed to couple the average concentrations in water phase and biofilm under non-equilibrium conditions. In this work, we developed this concept and obtained relationships for the tube-scale exchange rate coefficient as a function of Damköhler number and biofilm volume fraction.

The paper is organized as follows. In Sect. 2, we provide a microscale description of solute transport in pore spaces with biofilm. Then, upscaled rate of solute mass exchange between water phase and biofilm, averaged over a single pore, is presented. In Sect. 3, we develop a linear formula for the rate of kinetic mass exchange. As the first step, we investigate coefficient of this mass exchange formula for a single pore. The details of numerical experiments for determining this coefficient are presented in Sect. 4. Dependencies of tube-scale mass exchange coefficient on a number of tube-scale parameters (such as pore dimension and shape, Damköhler number, and biofilm volume fraction) are presented and discussed in Sect. 5. Also, verification studies of the proposed mass exchange rate in a long capillary tube are given. Finally, conclusions and future perspectives are provided in Sect. 6.

2 Microscale Governing Equations of Solute Transport

In this work, we consider saturated water flow in porous media with biofilm growing on the pore walls. The effect of planktonic biomass on solute consumption in water phase is neglected. Biofilm is treated as a continuum phase. Moreover, it is assumed that water flow through biofilm is negligible (Orgogozo et al. 2010). Therefore, with respect to solute transport, both advective and diffusive processes happen in water phase, while in biofilm only diffusion is assumed to occur. The degradation of solute in biofilm is modeled by Monod kinetics (Monod 1949). In the following, we present microscale solute transport equations. Given a rate-limiting solute, its microscale transport equations and associated boundary conditions are given as:

$$\begin{aligned}&\hbox {In the water:}\;\frac{\partial C_\mathrm{w} }{\partial t}+\nabla \cdot \left( {C_\mathrm{w} \mathbf{v}_\mathrm{w} } \right) -\nabla \cdot \left( {D_\mathrm{w} \nabla C_\mathrm{w} } \right) =0 \end{aligned}$$
(1a)
$$\begin{aligned}&\hbox {In the biofilm:}\;\frac{\partial C_\mathrm{b} }{\partial t}-\nabla \cdot \left( {D_\mathrm{b} \nabla C_\mathrm{b} } \right) =-k\frac{C_\mathrm{b} }{K_\mathrm{s} +C_\mathrm{b} }\rho _\mathrm{b} \end{aligned}$$
(1b)
$$\begin{aligned}&\hbox {At the solid wall:}\;D_\mathrm{w} \nabla C_\mathrm{w} \cdot \mathbf{n}^\mathrm{ws}=D_\mathrm{b} \nabla C_\mathrm{b} \cdot \mathbf{n}^\mathrm{bs}=0 \end{aligned}$$
(1c)
$$\begin{aligned}&\hbox {At the interface between water and biofilm:}\; D_\mathrm{w} \nabla C_\mathrm{w} \cdot \mathbf{n}^\mathrm{wb}=D_\mathrm{b} \nabla C_\mathrm{b} \cdot \mathbf{n}^\mathrm{wb} \end{aligned}$$
(1d)

where \(\mathbf{v}_\mathrm{w} \) (L/T) is the water velocity, \(C_\mathrm{w} \) \((\hbox {M/L}^{3})\) is the mass concentration of solute in the water, \(C_\mathrm{b} \) \((\hbox {M/L}^{3})\) is the mass concentration of solute in the biofilm, \(D_\mathrm{w} \) and \(D_\mathrm{b} \) (L\(^{2}\)/T) are the molecule diffusivities of solute in the water and biofilm, respectively, \(\mathbf{n}^\mathrm{ws}\) and \(\mathbf{n}^\mathrm{bs}\) are the normal vectors pointing to the solid wall, \(\mathbf{n}^\mathrm{wb}\) is the normal vector outward from the water phase, k (1/T) is the maximum reaction rate, \(\rho _\mathrm{b} \) \((\hbox {M/L}^{3})\) is the biomass density (dry mass per wet volume), and \(K_\mathrm{s} \) \((\hbox {M/L}^{3})\) is the half-saturation constant at which the reaction rate is half of \(k\rho _\mathrm{b} \).

To obtain the upscaled rate of solute mass exchange between water phase and biofilm over a single pore, the volume-averaging technique (Hassanizadeh and Gray 1979; Wood and Whitaker 1998, 2000; Davit et al. 2010) is applied to the above microscale transport equations. The details are given in “Appendix 1.” The resulting formula for average mass exchange rate is given as:

$$\begin{aligned} r_\mathrm{m} =-D_\mathrm{w} \frac{1}{V}\int _{S^\mathrm{wb}} {\nabla C_\mathrm{w} \cdot \mathbf{n}^\mathrm{wb}\mathrm{d}\sigma } =D_\mathrm{b} \frac{1}{V}\int _{S^\mathrm{wb}} {\nabla C_\mathrm{b} \cdot \mathbf{n}^\mathrm{bw}\mathrm{d}\sigma } \end{aligned}$$
(2)

Here, \(S^\mathrm{wb}\) denotes the boundary between water and biofilm domains within a single pore, and \(r_\mathrm{m} \) \((\hbox {M/L}^{3}\hbox {T})\) denotes the rate of solute mass exchange between the two domains.

As seen in Eq.  2, the current form of solute mass exchange is still related to the microscale information on solute concentration gradients. At the tube scale, the mass exchange term may be expressed as a function of the average solute concentrations in the two domains because of the selection of primary variables in the governing equations. Such a relationship is developed in the next section. It must be noted that the upscaled solute transport equations (35 and  37) are valid for any averaging domain. That can be, for example, a long capillary tube, a bundle of tubes, or a REV. The form of equations remains the same, only the interpretation of average-scale variables will be different. The same holds for the empirical model of mass exchange rate developed in the next section.

3 Rate of Solute Mass Exchange Between Water Phase and Biofilm

As described in the previous section, the volume-averaged rate of solute mass exchange between water phase and biofilm is given by Eq.  2. At the microscale, solute concentration gradient at the wb interface can be approximated in the following manner (see Raoof and Hassanizadeh 2010):

$$\begin{aligned}&\hbox {In the water:}\; \nabla C_\mathrm{w} \cdot \mathbf{n}^\mathrm{wb}=\frac{\left. {C_\mathrm{w} } \right| _\mathrm{wb} -\left. {C_\mathrm{w} } \right| _\mathrm{local} }{d} \end{aligned}$$
(3a)
$$\begin{aligned}&\hbox {In the biofilm:} \;\nabla C_\mathrm{b} \cdot \mathbf{n}^\mathrm{wb}=\frac{\left. {\left. {C_\mathrm{b} } \right| _\mathrm{local} -C_\mathrm{b} } \right| _\mathrm{wb} }{d} \end{aligned}$$
(3b)

Here, the subscript local indicates that the solute concentration is evaluated at a point within water or biofilm domains located at a distance d from the interface, and the subscript wb indicates the solute concentration at the interface. Then, substitution of Eqs.  3a and  3b into Eq.  2 yields:

$$\begin{aligned} r_\mathrm{m} =-D_\mathrm{w} \frac{1}{V}\int _{S^\mathrm{wb}} {\frac{\left. {C_\mathrm{w} } \right| _\mathrm{wb} -\left. {C_\mathrm{w} } \right| _\mathrm{local} }{d}\mathrm{d}\sigma } =-D_\mathrm{b} \frac{1}{V}\int _{S^\mathrm{wb}} {\frac{\left. {C_\mathrm{b} } \right| _\mathrm{local} -\left. {C_\mathrm{b} } \right| _\mathrm{wb} }{d}\mathrm{d}\sigma } \end{aligned}$$
(4)

We assume the continuity of solute concentration at the interface, i.e., \(\left. {C_\mathrm{w} } \right| _\mathrm{wb} =\left. {C_\mathrm{b} } \right| _\mathrm{wb} \). So, we can eliminate this term between the two integrals in Eq.  4, and after some algebra, we obtain the following expression for the mass exchange rate:

$$\begin{aligned} r_\mathrm{m} =\frac{D_\mathrm{w} D_\mathrm{b} }{D_\mathrm{w} +D_\mathrm{b} }\frac{1}{V}\frac{1}{d}\int _{S^\mathrm{wb}} {\left( {\left. {C_\mathrm{w} } \right| _\mathrm{local} -\left. {C_\mathrm{b} } \right| _\mathrm{local} } \right) \mathrm{d}\sigma } \end{aligned}$$
(5)

Note that the diffusivity product appears in the numerator. The mass exchange would vanish if either of diffusivity coefficients goes to zero. Now, in an empirical way, we linearly relate the integral of those microscale concentrations to the average concentrations by introducing two variable coefficients:

$$\begin{aligned}&\int _{S^\mathrm{wb}} {\left. {C_\mathrm{w} } \right| _\mathrm{local} \mathrm{d}\sigma =k_\mathrm{w} S^\mathrm{wb}} \bar{{C}}_\mathrm{w} \end{aligned}$$
(6a)
$$\begin{aligned}&\int _{S^\mathrm{wb}} {\left. {C_\mathrm{b} } \right| _\mathrm{local} \mathrm{d}\sigma =k_\mathrm{b} } S^\mathrm{wb}\bar{{C}}_\mathrm{b} \end{aligned}$$
(6b)

where \(k_\mathrm{w} \) and \(k_\mathrm{b} \) are the postulated dimensionless coefficients which may depend on flow conditions in a single pore.

Substitution of Eqs.  6a and  6b into Eq.  5 and redefining variables yield:

$$\begin{aligned} r_\mathrm{m} =\frac{D_\mathrm{w} D_\mathrm{b} }{D_\mathrm{w} +D_\mathrm{b} }\gamma \xi \left( {\bar{{C}}_\mathrm{w} -\varsigma \bar{{C}}_\mathrm{b} } \right) \end{aligned}$$
(7)

where

$$\begin{aligned} \gamma =\frac{S^\mathrm{wb}}{V} (1/\hbox {L}),\quad \xi =\frac{k_\mathrm{w} }{d} (1/\hbox {L}),\quad \varsigma =\frac{k_\mathrm{b} }{k_\mathrm{w} } (-) \end{aligned}$$
(8)

Here, \(\gamma \) is called the specific surface area of biofilm over the pore domain. The idealized case is to fit both coefficients for a single pore. However, for simplicity, in our following calculations, we only focus on the first coefficient \(\xi \) by setting \(\varsigma \) to unity. Thus, the mass exchange rate is simplified as:

$$\begin{aligned} r_\mathrm{m} =\frac{D_\mathrm{w} D_\mathrm{b} }{D_\mathrm{w} +D_\mathrm{b} }\gamma \xi \left( {\bar{{C}}_\mathrm{w} -\bar{{C}}_\mathrm{b} } \right) \end{aligned}$$
(9)

At this point, we have derived the empirical mass exchange rate of solute (Eq.  9). It is quite similar to the traditionally used linear exchange term, except that two solute diffusivities are explicitly included in our formula. Note that in the following, we will refer to the coefficient \(\xi \) as the mass exchange coefficient.

4 Numerical Determination of Mass Exchange Coefficient \(\xi \) for a Single Pore

In this section, we describe the numerical procedure for determining the mass exchange coefficient \(\xi \). First, microscale equations (1a1d) are made dimensionless and then solved numerically in a single pore domain. From the numerical solution, average concentrations for the whole water and biofilm domains, as well as the mass exchange rate, \(r_\mathrm{m} \), are calculated. Results are substituted back into Eq. 9 in order to calculate \(\xi \). We considered three typical shapes of pore cross sections. These are circle, square, and equilateral triangle as shown in Fig. 1. We note that the biofilm accumulation pattern in a pore depends on the shape of its cross section and many other factors. In the present work, we defined the following prespecified accumulation patterns for the three different cross sections. In the case of circle, biofilm is assumed to attach to the pore walls with a uniform thickness (see Fig. 1a). In the case of square and equilateral triangle, biofilm is assumed to grow in the corners, as shown in Fig. 1b, c.

Fig. 1
figure 1

Three types of pore cross section. The growth pattern of biofilm and its accumulation within the pore are indicated from left to right (notice that only one corner is schematically shown in the case of square or equilateral triangle)

4.1 Dimensionless Microscopic Equations of Solute Transport

For making microscale equations (1a and  1b) dimensionless, we define the following dimensionless variables (denoted by an asterisk) and numbers:

$$\begin{aligned} C_\mathrm{w}^{*}= & {} \frac{C_\mathrm{w} }{K_\mathrm{s} }, \quad C_\mathrm{b}^{*} =\frac{C_\mathrm{b} }{K_\mathrm{s} }, \quad Pe^\mathrm{w}=\frac{\bar{{v}}_\mathrm{z} L^\mathrm{ref}}{D_\mathrm{w} }, \quad Pe=\frac{v^\mathrm{ref}L^\mathrm{ref}}{D_\mathrm{w} },\nonumber \\ \varGamma= & {} \frac{D_\mathrm{b} }{D_\mathrm{w} }, \quad t^{{*}}=\frac{D_\mathrm{w} t}{\left( {L^\mathrm{ref}} \right) ^{2}}, \quad Da=\frac{k\rho _\mathrm{b} }{K_\mathrm{s} D_\mathrm{w} }\left( {L^\mathrm{ref}} \right) ^{2} \end{aligned}$$
(10)

Here, the half-saturation constant, \(K_\mathrm{s} \), is selected to be the reference concentration, \(L^\mathrm{ref}\) is the reference length, \(\bar{{v}}_\mathrm{z} \) is the average water velocity in the pore, \(v^\mathrm{ref}\) is the reference velocity, Pe\(^\mathrm{w}\) and Pe are the tube-scale and microscale Péclet numbers in the water phase, respectively, \(\varGamma \) is the diffusivity ratio, and Da is Damköhler number defined as the ratio of reaction rate to diffusive mass-transfer rate. For different cross sections, we select different reference lengths which are d, w, and l for circle, square, and equilateral triangle, respectively (see Fig. 1). In the following, the dimensionless solute transport equations in a general pore will be presented associated with the velocity field along the flow direction.

For a pore with non-circular cross section, we need to numerically obtain the z-velocity distribution. Toward this end, the Stokes equation (assuming no transversal velocities) is solved. In addition, it is assumed that the pressure gradient along the tube is constant:

$$\begin{aligned}&\nabla ^{2}v_\mathrm{z} =\frac{1}{\mu }\frac{\mathrm{d}p}{\mathrm{d}z}=\mathrm{constant} \end{aligned}$$
(11a)
$$\begin{aligned}&\hbox {No-slip condition is assumed at the pore wall and water--biofilm interfaces:}\, v_\mathrm{z} =0 \nonumber \\ \end{aligned}$$
(11b)

To make Eq. 11 dimensionless, we employ the following dimensionless variables:

$$\begin{aligned}&z^{{*}}=\frac{z}{L^\mathrm{ref}}, \quad \nabla ^{{*}}=L^\mathrm{ref}\nabla ,\nonumber \\&v_\mathrm{z}^{*} =\frac{v_\mathrm{z} }{v^\mathrm{ref}} \left( v^\mathrm{ref}=-\frac{\left( {L^\mathrm{ref}} \right) ^{2}}{\mu } \frac{\mathrm{d}p}{\mathrm{d}z}, \hbox {the selected reference velocity}\right) \end{aligned}$$
(12)

Then, the dimensionless Stokes equation reads:

$$\begin{aligned} \nabla ^{{*}2}v_\mathrm{z}^{*} =-1 \end{aligned}$$
(13)

Based on the numerically obtained z-velocity distribution, the conductivity of the pore can be calculated as:

$$\begin{aligned} K=\frac{\int _A {v_\mathrm{z} \mathrm{d}\sigma } }{{-\mathrm{d}p}/{\mathrm{d}z}}=\frac{\left( {L^\mathrm{ref}} \right) ^{4}}{\mu }\int _{A^{{*}}} {v_\mathrm{z}^{*} \mathrm{d}\sigma ^{{*}}} =\frac{\left( {L^\mathrm{ref}} \right) ^{4}}{\mu }K^{{*}} \end{aligned}$$
(14)

where A is the cross-sectional area available for water flow and \(K^{{*}}=\int _{A^{{*}}} {v_\mathrm{z}^{*} \mathrm{d}\sigma ^{{*}}} \) is the dimensionless conductivity. Its value would depend on the biofilm volume fraction.

Now, according to the dimensionless variables listed in (10) and (12), the dimensionless equations of solute transport can be written as:

$$\begin{aligned}&\hbox {In the water phase:} \; \frac{\partial C_\mathrm{w}^{*} }{\partial t^{{*}}}+Pev_\mathrm{z}^{*} \frac{\partial C_\mathrm{w}^{*} }{\partial z^{{*}}}-\nabla ^{{*2}}C_\mathrm{w}^{*} =0 \end{aligned}$$
(15a)
$$\begin{aligned}&\hbox {In the biofilm:}\; \frac{\partial C_\mathrm{b}^{*} }{\partial t^{{*}}}-\varGamma \nabla ^{{*2}}C_\mathrm{b}^{*} +Da\frac{C_\mathrm{b}^{*} }{1+C_\mathrm{b}^{*} }=0 \end{aligned}$$
(15b)

Based on the geometric information and assumed biofilm evolution pattern in each type of pore domain (see Fig. 2), we obtain the following geometric relationships for specific cross sections:

  1. 1.

    Circle (Fig. 2a):

    $$\begin{aligned} r_\mathrm{b}^{*}= & {} 0.5\sqrt{1-\varepsilon ^\mathrm{b}} \end{aligned}$$
    (16a)
    $$\begin{aligned} S_\mathrm{wb}^{*}= & {} \pi L^{{*}}\sqrt{1-\varepsilon ^\mathrm{b}} \end{aligned}$$
    (16b)

    where \(r_\mathrm{b}^{*} \) is the dimensionless radius of curvature of the interface between the water phase and biofilm and \(S_\mathrm{wb}^{*} \) is the dimensionless interfacial area (i.e., the contact area). Here, the original diameter of the circular cross section is taken as the reference length.

    Fig. 2
    figure 2

    Dimensionless computational domains for three pores with different cross sections in rectangular coordinates: a circle; b square, a quarter is shown; and c equilateral triangle, a corner is shown

  2. 2.

    Square (Fig. 2b):

    $$\begin{aligned} r_\mathrm{b}^{*}= & {} \left\{ {{\begin{array}{l@{\quad }l} {\sqrt{\frac{\varepsilon ^\mathrm{b}}{4-\pi }}}&{}\quad {\varepsilon ^\mathrm{b}\le 1-\frac{\pi }{4}} \\ {\sqrt{\frac{1-\varepsilon ^\mathrm{b}}{\pi }}}&{}\quad {\varepsilon ^\mathrm{b}>1-\frac{\pi }{4}} \\ \end{array} }} \right. \end{aligned}$$
    (17a)
    $$\begin{aligned} S_\mathrm{wb}^{*}= & {} \left\{ {{\begin{array}{l@{\quad }l} {2\pi L^{{*}}\sqrt{\frac{\varepsilon ^\mathrm{b}}{4-\pi }}}&{}\quad {\varepsilon ^\mathrm{b}\le 1-\frac{\pi }{4}} \\ {2L^{{*}}\sqrt{\left( {1-\varepsilon ^\mathrm{b}} \right) \pi }}&{}\quad {\varepsilon ^\mathrm{b}>1-\frac{\pi }{4}} \\ \end{array} }} \right. \end{aligned}$$
    (17b)
  3. 3.

    Equilateral triangle (Fig. 2c):

    $$\begin{aligned} r_\mathrm{b}^{*}= & {} \left\{ {{\begin{array}{l@{\quad }l} {\sqrt{\frac{\sqrt{3}\varepsilon ^\mathrm{b}}{12\sqrt{3}-4\pi }}}&{}\quad {\varepsilon ^\mathrm{b}\le 1-\frac{\sqrt{3}}{9}\pi } \\ {\sqrt{\frac{\sqrt{3}\left( {1-\varepsilon ^\mathrm{b}} \right) }{4\pi }}}&{}\quad {\varepsilon ^\mathrm{b}>1-\frac{\sqrt{3}}{9}\pi } \\ \end{array} }} \right. \end{aligned}$$
    (18a)
    $$\begin{aligned} S_\mathrm{wb}^{*}= & {} \left\{ {{\begin{array}{l@{\quad }l} {\pi L^{{*}}\sqrt{\frac{\sqrt{3}\varepsilon ^\mathrm{b}}{3\sqrt{3}-\pi }}}&{}\quad {\varepsilon ^\mathrm{b}\le 1-\frac{\sqrt{3}}{9}\pi } \\ {\pi L^{{*}}\sqrt{\frac{\sqrt{3}\left( {1-\varepsilon ^\mathrm{b}} \right) }{\pi }}}&{}\quad {\varepsilon ^\mathrm{b}>1-\frac{\sqrt{3}}{9}\pi } \\ \end{array} }} \right. \end{aligned}$$
    (18b)

Also, we can calculate the average water velocity in the pore as:

$$\begin{aligned} \bar{{v}}_\mathrm{z} =v^\mathrm{ref}\frac{\left( {L^\mathrm{ref}} \right) ^{2}}{A^{0}}\frac{K^{{*}}}{1-\varepsilon ^\mathrm{b}} \end{aligned}$$
(19)

where \(A^{0}\) is the cross-sectional area of a pore in the absence of biofilm. Then, we are able to define the pore-scale Péclet number for the whole pore as:

$$\begin{aligned} Pe^\mathrm{w}=\frac{\bar{{v}}_\mathrm{z} L^\mathrm{ref}}{D_\mathrm{w} }=\frac{\bar{{v}}_\mathrm{z} }{v^\mathrm{ref}}Pe \end{aligned}$$
(20)

Finally, it is noted that in the case of circular cross section, the axisymmetric transport equations (47 and  48) are employed in numerical experiments. The derivation is presented in “Appendix 2.”

4.2 Dimensionless Mass Exchange Rate

To better fit the coefficient from numerically calculated dimensionless microscale information, we relate the mass exchange rate to its dimensionless form as:

$$\begin{aligned} r_\mathrm{m} =\frac{D_\mathrm{w} K_\mathrm{s} }{\left( {L^\mathrm{ref}} \right) ^{2}}r_\mathrm{m}^{*} \end{aligned}$$
(21)

where

$$\begin{aligned} r_\mathrm{m}^{*} =\gamma ^{{*}}\xi ^{{*}}\frac{\varGamma }{1+\varGamma }\left( {\bar{{C}}_\mathrm{w}^{*} -\bar{{C}}_\mathrm{b}^{*} } \right) \end{aligned}$$
(22)

Here, \(\xi ^{{*}}=\xi L^\mathrm{ref}\) is the dimensionless mass exchange coefficient, \(\gamma ^{{*}}=\gamma L^\mathrm{ref}\) is the dimensionless specific surface area, and \(\bar{{C}}_\mathrm{w}^{*} \) and \(\bar{{C}}_\mathrm{b}^{*} \) are the dimensionless average solute concentrations in the water phase and biofilm, respectively. By solving the dimensionless solute transport equations in each case, we can calculate the dimensionless mass exchange rate by:

$$\begin{aligned} r_\mathrm{m}^{*} =-\gamma ^{{*}}\left. {\left( {\overline{\nabla ^{{*}}C_\mathrm{w}^{*} } \cdot \mathbf{n}^\mathrm{wb}} \right) } \right| _\mathrm{wb} \end{aligned}$$
(23)

where \(\overline{\nabla ^{{*}}C_\mathrm{w}^{*} } \cdot \mathbf{n}^\mathrm{wb}\) denotes the average dimensionless solute flux over the contact area, into the biofilm.

Finally, from Eqs.  22 to  23, we get the following relationship:

$$\begin{aligned} \xi ^{{*}}\frac{\varGamma }{1+\varGamma }\left( {\bar{{C}}_\mathrm{w}^{*} -\bar{{C}}_\mathrm{b}^{*} } \right) =-\left. {\left( {\overline{\nabla ^{{*}}C_\mathrm{w}^{*} } \cdot \mathbf{n}^\mathrm{wb}} \right) } \right| _\mathrm{wb} \end{aligned}$$
(24)

From numerical simulation of microscale transport equations, all terms except \(\xi ^{{*}}\) in Eq.  24 can be calculated. Thus, we can determine \(\xi ^{{*}}\) for each set of solution.

4.3 Description of Numerical Simulations

The dimensionless microscale equations of solute transport in both water phase and biofilm were solved in a commercial software COMSOL, which is FEM (finite element method) based. It is noted that only steady-state numerical results were used for coefficient fittings. This is because the timescale for solute transport through a pore domain is much smaller than that for biofilm growth. For the three different computational domains, as shown in Fig. 2, the symmetry was used for reducing computational efforts. The following boundary conditions were imposed. In the water phase, we used a constant solute concentration \(C_\mathrm{in}^{*} \) at the inlet and fully developed condition at the outlet; in the biofilm, no-flux boundary conditions were imposed; and the condition of continuous solute flux was used at the interface between the water flow and biofilm.

For each type of pore domain, we set up a base case for the later reference. The employed dimensionless physical and geometric parameters are listed in Table 1. In the mesh independence study, we increased and decreased the mesh density by 40 %, and no discernible difference in solute concentration distributions was found. In next section, we first present fitted conductivities for water flow as a function of biofilm volume fraction. Then, we investigate the dependencies of the dimensionless coefficient \(\xi ^{{*}}\) on Péclet number, biofilm volume fraction, ratio of diffusivity in biofilm to that in water, etc. Finally, we present verification studies of the proposed mass exchange rate.

Table 1 Employed dimensionless parameters for the base cases

5 Results and Discussion

5.1 Pore Conductivity Under Biofilm Growth

Pore conductivity is an important input parameter for the PNM (Budek and Szymczak 2012). It is expected that the conductivity for water flow decreases with the accumulation of biofilm. According to the assumed accumulation patterns of biofilm, we plotted the dimensionless conductivities versus biofilm volume fraction for the three types of pore domains in Fig. 3. In the case of circle, the dimensionless conductivity is given as:

$$\begin{aligned} K^{{*}}= \frac{\pi }{128}\left( {1-\varepsilon ^\mathrm{b}} \right) ^{2} \end{aligned}$$
(25a)
Fig. 3
figure 3

Pore conductivities as a function of biofilm volume fraction

In the cases of square and equilateral triangle, we fitted the numerical results with polynomial expressions and obtained the following empirical formulae:

Square:

$$\begin{aligned} {K}^{{*}}= & {} 0.161\left( {\varepsilon ^\mathrm{b}} \right) ^{5}- 0.471\left( {\varepsilon ^\mathrm{b}} \right) ^{4}+ 0.516\left( {\varepsilon ^\mathrm{b}} \right) ^{3}\nonumber \\&- 0.219\left( {\varepsilon ^\mathrm{b}} \right) ^{2}- 0.022\varepsilon ^\mathrm{b} + 0.035 \end{aligned}$$
(25b)

Equilateral triangle:

$$\begin{aligned} {K}^{{*}}= & {} -0.0142\left( {\varepsilon ^\mathrm{b}} \right) ^{4}+ 0.0378\left( {\varepsilon ^\mathrm{b}} \right) ^{3} - 0.0285\left( {\varepsilon ^\mathrm{b}} \right) ^{2}\nonumber \\&- 0.0005\varepsilon ^\mathrm{b} + 0.0054 \end{aligned}$$
(25c)

It is seen that the conductivity of a general pore is mainly determined by the shape of its cross section and the biofilm volume fraction. We note that following the procedure used in this work, the conductivity of a pore with arbitrary shape of cross section can be numerically fitted as a function of biofilm volume fraction.

5.2 Mass Exchange Coefficient for the Case of Circular Cross Section

In most PNM of biofilm, usually pores are assumed to have circular cross sections (e.g., Kim and Fogler 2000; Thullner and Baveye 2008). In this subsection, results for the dependencies of the dimensionless mass exchange coefficient \(\xi ^{{*}}\) in a pore domain with circular cross section are presented. To fully understand the dependencies, we selected six dimensionless variables which may affect this coefficient. They are length of pore domain (\(L^{{*}})\), Péclet number (\(Pe^\mathrm{w})\), Damköhler number (Da), biofilm volume fraction (\(\varepsilon ^\mathrm{b})\), inlet solute concentration (\(C_\mathrm{in}^{*} )\), and diffusivity ratio (\(\varGamma )\).

Figure 4 shows the dependencies of the dimensionless mass exchange coefficient on the length of pore domain and Péclet number. To demonstrate individual dependencies, we presented the numerical results in the following way. In each graph, we plotted the dependency of \(\xi ^{{*}}\) on the variable given by the horizontal axis under the value of variable given by the legend. Meanwhile, the values of the rest four variables are kept constant given in Table 1. It is seen that \(\xi ^{{*}}\) is independent of pore length. It is also found that at low Péclet numbers (\(Pe^\mathrm{w}<\)1), \(\xi ^{{*}}\) can be regarded as being independent of \(Pe^\mathrm{w}\). When \(Pe^\mathrm{w}>\)1, there are slight variations in \(\xi ^{{*}}\) in the ranges of large Damköhler number, small biofilm volume fraction, and small diffusivity ratio. In general, it can be concluded that the dimensionless coefficient \(\xi ^{{*}}\) is insensitive to Péclet number for typical flow conditions in porous media, particularly when \(Pe^\mathrm{w}<\)1. The first row of Fig. 5 shows the dependencies of \(\xi ^{{*}}\) on Damköhler number for different biofilm volume fractions, dimensionless inlet solute concentrations, and diffusivity ratios. When \(Da<\)1, \(\xi ^{{*}}\) can be considered to be independent of Damköhler number. But, beyond this range, \(\xi ^{{*}}\) increases with the increase in Da. This is because of the increase in the mass exchange rate, while the concentration difference between the water and biofilm does not change much. For a simple unit cell, Golfier et al. (2009) identified the local mass equilibrium regime where Péclet and Damköhler numbers were both smaller than unity. In such case, a simple one-equation model for solute transport can be used. But, when Péclet number is larger than unity, local mass non-equilibrium occurs which requires extra efforts in the modeling (Davit et al. 2010). In the case of using two-equation model with the mass exchange rate, our numerical results show that the dimensionless mass exchange coefficient remains constant when there is no mass-transfer limitation (i.e., for small Damköhler number).

Fig. 4
figure 4

Dependence of the dimensionless mass exchange coefficient on the length of pore domain and Péclet number

Fig. 5
figure 5

Dependence of the dimensionless mass exchange coefficient on a Damköhler number, b biofilm volume fraction, c dimensionless inlet solute concentration, and d diffusivity ratio

The second row of Fig. 5 shows the dependencies of \(\xi ^{{*}}\) on biofilm volume fraction under different operating conditions. Basically, \(\xi ^{{*}}\) decreases exponentially with the increase in biofilm volume fraction, except at very high biofilm volume fractions where it increases slightly. In addition, it is seen that the dependencies of \(\xi ^{{*}}\) on biofilm volume fraction, inlet solute concentration, and diffusivity ratio are strongly coupled. The third row of Fig. 5 shows the dependencies of \(\xi ^{{*}}\) on dimensionless inlet concentration for different biofilm volume fractions, Damköhler numbers, and diffusivity ratios. From the Monod kinetics (see Eq.  1b), it is seen that the bioreaction rate reduces to either first order or zeroth order when the solute concentration is much smaller or much larger than the half-saturation constant, respectively. Therefore, \(\xi ^{{*}}\) is expected to be independent of \(C_\mathrm{in}^{*} \) at very high or low dimensionless inlet solute concentrations. But, due to the strong coupling effect among these dependent variables, the transitional zone between high and low inlet concentrations is enlarged with the increase in Damköhler number or diffusivity ratio, and flattened with the decrease of biofilm volume fraction. It is interesting to see that in the regime of zeroth-order bioreaction, \(\xi ^{{*}}\) is solely dependent on biofilm volume fraction. Finally, the last row of Fig. 5 shows the dependencies of \(\xi ^{{*}}\) on diffusivity ratio. It is seen that \(\xi ^{{*}}\) decreases dramatically with the increase in diffusivity ratio when \(\varGamma <0.1\). When \(\varGamma \)=1.0, the dimensionless mass exchange coefficient more or less converges to a constant value of 12.

With the help of microscale simulations, we have identified the four dimensionless variables that have significant effects on the value of the mass exchange coefficient \(\xi ^{{*}}\); they are Damköhler number, biofilm volume fraction, dimensionless inlet solute concentration, and diffusivity ratio. It is found that \(\xi ^{{*}}\) increases dramatically under severe mass-transfer limitations, such as at large Damköhler numbers and small diffusivity ratios. Over the past few years, several researchers (Golfier et al. 2009; Hesse et al. 2009; Orgogozo et al. 2010; Wood et al. 2007) have attempted to solve a closure problem of pore-scale concentration fluctuation filed, in order to obtain the effective reaction rate, dispersion tensor, etc. But, each closure problem needs to be numerically solved for pre-specified pore structure and flow condition. Alternatively, in this work, we worked on an empirical equation of the mass exchange rate. Based on lots of microscale simulations, in the next section, we will numerically fit empirical formulae which can be directly used in further PNM.

5.3 Empirical Formulae for the Mass Exchange Coefficient

As discussed in the previous section, \(\xi ^{{*}}\) strongly depends on Damköhler number, biofilm volume fraction, dimensionless inlet solute concentration, and diffusivity ratio. Also, these dependences are intricately coupled. As a result, it is quite difficult to numerically fit the results and obtain a general formula for \(\xi ^{{*}}\) as a function of all dependent variables. However, an explicit expression for the dependence of \(\xi ^{{*}}\) on various variables is needed for pore-network modeling. To this end, as a first attempt, we have chosen constant values for three parameters. First, we fixed the diffusivity ratio of solute to be 0.5 which is close to experimentally measured values. We notice that for values of diffusivity ratio around 0.5, the coefficient \(\xi ^{{*}}\) does not vary much (see Fig. 5). Also, variation in Péclet number has little effect on the value of \(\xi ^{{*}}\), especially in the lower range of \(Pe^\mathrm{w}\) values; so, we set \(Pe^\mathrm{w}=0.1\). Finally, we focused on the condition of mass-transfer limitations and assumed first-order bioreaction to occur in the biofilm. As a result, the input solute concentration does not play a role anymore. With these assumptions, we only need to consider the dependence of \(\xi ^{{*}}\) on Damköhler number and biofilm volume fraction. In addition, Damköhler number was constrained between 0.01 and 1000.

We determined \(\xi ^{{*}}\), varying Da and \(\varepsilon ^\mathrm{b}\), for three different cross sections: circle, square, and equilateral triangle. Results are shown in Fig. 6. We then numerically fitted expressions to these results and obtained the following empirical formulae for \(\xi ^{{*}}\):

Fig. 6
figure 6

Dependence of the dimensionless mass exchange coefficient on biofilm volume fraction and Damköhler number for the cases of a circular cross section, b square cross section, and c equilateral triangular cross section, while fixing the remaining variables

Circular (\(R^2\) 0.96):

$$\begin{aligned} \xi ^{{*}}=\frac{-52.2+0.06\ln \left( {Da} \right) +18.2\hbox {Exp}\left( {\varepsilon ^\mathrm{b}} \right) }{1+1.63\times 10^{-4}Da-0.94\varepsilon ^\mathrm{b}}+58.9 \end{aligned}$$
(26a)

Square (\(R^2\) 0.91):

$$\begin{aligned} \xi ^{{*}}=\frac{12.7+0.02Da-12\varepsilon ^\mathrm{b}}{1+3.54\times 10^{-4}Da-0.95\varepsilon ^\mathrm{b}} \end{aligned}$$
(26b)

Equilateral triangular (\(R^2\) 0.93):

$$\begin{aligned} \xi ^{{*}}=\frac{12.4+0.03Da-10.6\varepsilon ^\mathrm{b}}{1+4.48\times 10^{-4}Da-0.93\varepsilon ^\mathrm{b}} \end{aligned}$$
(26c)

5.4 Solute Transport in a Long Capillary Tube

In this subsection, verification studies of the proposed mass exchange rate against microscale simulations of solute transport in a long capillary tube with circular cross section are presented. The corresponding dimensionless solute transport equations (53 and  54) in the long tube are presented in “Appendix 3.” Taylor–Aris dispersion (Aris 1956) is used for solute transport in the water phase, and first-order bioreaction is considered. Here, three different case studies are conducted with the tube dimensionless length of 50, while the tube diameter taken as the reference length. The employed dimensionless geometric and physical parameters are listed in Table 2. We varied Péclet number, Damköhler number, and biofilm volume fraction to represent three typical transport regimes of reaction-rate limited consumption, mass-transfer limited consumption, and an intermediate regime (Orgogozo et al. 2010); we referred to them as case 3, case 2, and case 1, respectively. Because Péclet number, Damköhler number, and biofilm volume fraction are fixed in each case, we can calculate the corresponding specific area and meanwhile obtain the values of dimensionless coefficient \(\xi ^{{*}}\) from Eq. 26a. All numerical simulations here were conducted in COMSOL.

Table 2 Employed dimensionless geometric and physical parameters for solute transport in a long capillary tube

Note that for the comparison between the two scales, the results of microscale simulations were averaged over a dimensionless length of 5 along the tube. In case 1, Péclet and Damköhler numbers are 100 and 10, respectively. This represents a general non-equilibrium condition for solute mass exchange between water phase and biofilm (Orgogozo et al. 2010). The comparison of concentration distributions along the tube is shown in Fig. 7a. It is seen that a good match was obtained. Also, a good match was obtained for case 2 (i.e., the case of mass-transfer limited consumption). As shown in Fig. 7b, most of solute is immediately consumed at the inlet region due to the high bioreaction rate. When the condition of reaction-rate limited consumption (case 3) was considered, shown in Fig. 7c, a small discrepancy of solute concentration in the water phase was observed. But, the solute concentration in the biofilm was predicted well by the macroscale model. Notice that here we did not present our results in terms of breakthrough curve of solute, mainly because we are more interested in timescales much larger than the resident time in a pore domain when tracking biofilm evolution in porous media.

We have shown that the value of mass exchange coefficient depends on operating conditions. But, in most studies of modeling solute transport between water phase and biofilm, either the mass exchange coefficient has been assumed to be constant or local equilibrium mass transfer has been simply assumed. Fig. 7d shows the sensitivity of solute concentration distributions to the value of mass exchange coefficient, \(\xi ^{{*}}\). Here, case 1 is used as the basis with \(\xi ^{{*}}\) of 13.8. By increasing the value of \(\xi ^{{*}}\), the mass transfer approaches local equilibrium. Otherwise, the mass transfer is away from equilibrium. It is seen that the predicted results are strongly dependent on \(\xi ^{{*}}\), and solute concentration in the water phase goes up quickly with decreasing \(\xi ^{{*}}\). This sensitivity study indicates that an accurate estimation of the mass exchange coefficient based on operating conditions is crucial to the numerical modeling of solute transport and biofilm growth.

Fig. 7
figure 7

Comparisons of solute concentration distributions along the capillary tube for a case 1, b case 2, and c case 3; and d effect of the mass exchange coefficient on solute concentration distributions

6 Conclusions and Future Work

The present work has contributed to describing the solute mass exchange between water phase and biofilm over a single pore domain. This will serve as an important input to the pore-network modeling. We derived a semiempirical equation for the mass exchange rate between water phase and biofilm. A coefficient (usually called mass exchange coefficient) is present as an upscaled property in the mass exchange rate, which is determined by microscale information. To understand the dependencies of this coefficient on a number of variables like Péclet number, Damköhler number, and biofilm volume fraction, we conducted a large number of microscale simulations in a single pore. Three formulae for the mass exchange coefficient were obtained for three types of pore cross section: circle, square, and triangle. Finally, we verified the proposed mass exchange rate against microscale simulations of solute transport in a long capillary tube. Based on the numerical studies in this work, we draw the following main conclusions. In addition, a few words on future work are given below.

  1. 1.

    For a pore domain with circular cross section, the dimensionless mass exchange coefficient strongly depends on Damköhler number, biofilm volume fraction, dimensionless inlet solute concentration, and solute diffusivity ratio. These dependences are intricately coupled. But, the dimensionless coefficient is independent of pore length and insensitive to Péclet number.

  2. 2.

    By fixing diffusivity ratio and considering small Péclet flow regime and first-order reaction, empirical formulae for the dimensionless mass exchange coefficient were obtained for three types of pore cross section. They are functions of biofilm volume fraction and Damköhler number.

  3. 3.

    In a long capillary tube, the macroscale model with the developed mass exchange rate can predict solute concentration distributions in both water phase and biofilms satisfactorily.

In the near future, the developed mass exchange term with numerically fitted mass exchange coefficient will be used in the pore-network modeling of reactive transport in porous media associated with biofilm growth.