1 Introduction

Isothermal absorption of moisture in unsaturated porous media is relevant in various fields of engineering as, e.g., building physics (Gummerson et al. 1980; Pel and Brocken 1996; Krus 1996; Roels et al. 2000; Carmeliet et al. 2004, 2007; Roels and Carmeliet 2006; Derluyn et al. 2013; Janetti and Wagner 2017) and earth sciences (Zimmerman and Bodvarsson 1989, 1991; Lockington 1993; Parlange et al. 1998). It has been shown that, under certain assumptions, the moisture transfer obeys a diffusion law in which the local moisture content is the driving potential, while the diffusivity is a function of the moisture content itself. This diffusion law is suitable to predict the transient moisture absorption in homogeneous, capillary active, construction materials and soils if gravity is negligible when compared to the capillary forces (Pel and Brocken 1996; Krus 1996; Carmeliet et al. 2004; Janetti and Wagner 2017).

While the above problem can easily be solved via numerical methods (Häupl et al. 1997; Künzel and Kiessl Oct 1996; Schijndel 2009; Janssen 2013), it may be a challenge to find a rigorous analytical solution since, as mentioned above, the diffusivity depends strongly on the moisture content. Various approximated solutions have been proposed mainly for applications in soil sciences by assuming simplified water content profiles depending on adjustable parameters (Zimmerman and Bodvarsson 1989, 1991; Parlange et al. 1998; Zhou 2014; Hristov 2016). The values of these parameters were then determined by requiring the assumed solution to satisfy an integral form of the equation which describes conservation of moisture.

Alternatively, an analytical solution can be found if the diffusivity is approximated by a step function of the water content. Solutions for a single step function are available in previous studies, as, e.g., Crank (1951, 1975) and Janetti and Wagner (2017). In Janetti and Wagner (2017), it is shown that this simplified model is adequate to reproduce the fundamental absorption behavior of certain building materials as, e.g., calcium silicate and ceramic brick, but it may be inaccurate in some other cases. In particular, the single step diffusivity may fail to represent accurately the water content profile near the absorbing face and in the nearly dry region. In this study, the solution proposed by Janetti and Wagner (2017) is extended to the case of a multiple step function which is able to approximate arbitrary curves and hence may be applied to a larger variety of real materials and absorption behaviors.

The solution proposed in the paper may be useful as a benchmark for numerical models, or for inverse determination of the diffusivity. Moreover, with respect to widespread numerical methods (e.g., finite element or finite difference methods), the proposed approach contains much less degrees of freedom since a few steps are in general sufficient to reproduce well the absorption behavior.

2 Description of the Method

We consider isothermal absorption in a material which can be assumed homogeneous at the macroscopic scale and where gravity is negligible when compared to the capillary forces. According to several authors (Gummerson et al. 1980; Pel and Brocken 1996 among others), the one-dimensional moisture transfer is described by the following diffusion equation, which is derived from the moisture balance on an infinitesimal element of volume:

$$\begin{aligned} \frac{\partial u}{\partial t}=\frac{\partial }{\partial x}\left( D(u)\frac{\partial u}{\partial x}\right) \end{aligned}$$
(1)

Here u denotes the local volumetric water content \(\mathrm{(m^3/m^3)}\) and D(u) the diffusivity \(\mathrm{(m^2/s)}\), while the initial and boundary conditions are given by the following equations:

$$\begin{aligned}&u\left( 0,x\right) =u_0<1 \end{aligned}$$
(2)
$$\begin{aligned}&u\left( t,0\right) =1 \end{aligned}$$
(3)
$$\begin{aligned}&\lim \limits _{x \rightarrow \infty } u\left( t,x\right) =u_0 \end{aligned}$$
(4)

To solve the problem given by Eqs. (14), the diffusivity D(u), which characterizes the material behavior, has to be known. Experimental data (Pel and Brocken 1996; Carmeliet et al. 2004; Bianchi Janetti et al. 2016) show that this function presents generally a nearly exponential growth. In fact, approximated solutions for an exponential diffusivity curve have been already published in various studies (Zimmerman and Bodvarsson 1989, 1991; Parlange et al. 1998; Zhou 2014; Hristov 2016). In this paper, we shall follow a different approach by introducing a multiple step function defined as follows:

$$\begin{aligned} D(u)=\left\{ \begin{aligned}&D_{1}\ : u<u_{1}^*\\ \vdots \\&D_{i}\ : u_{i-1}^*<u<u_{i}^*\\ \vdots \\&D_{n}\ : u_{n-1}^*<u \end{aligned}\right. \end{aligned}$$
(5)

with the coefficients \(u_{i}^*\) denoting the water contents at which the diffusivity changes. This approach is profitable since it allows to describe arbitrary diffusivity functions. Even if \(D_{i+1}>D_{i}\) holds in general, different configurations are possible, as explained later in the paper.

3 Analytical Solution

The analytical solution of the above problem for \(n=2\) has been presented by Crank (1951, 1975) and applied in Janetti and Wagner (2017) to reproduce the behavior of real building materials. In this paper, that solution is extended to the general case by dividing the domain into n regions in each of which the diffusivity may assume a different constant value as stated by Eq. (5). Accordingly, Eq. (1) can be rewritten as follows:

$$\begin{aligned} \frac{\partial u_i}{\partial t}=D_{i}\frac{\partial ^2 u_i}{\partial x^2} \end{aligned}$$
(6)

with \(i=1,\ldots ,n\). The solution u(tx) of the original problem can hence be represented by n functions, valid in different regions delimited by the coefficients \(u_{i}^*\):

$$\begin{aligned} u(t,x)=\left\{ \begin{aligned}&u_1(t,x)\ : u<u_{1}^*\\ \vdots \\&u_i(t,x)\ : u_{i-1}^*<u<u_{i}^*\\ \vdots \\&u_n(t,x)\ : u_{n-1}^*<u\\ \end{aligned}\right. \end{aligned}$$
(7)

The boundaries separating these regions evolve during time, and their positions are identified by \(x_{i}^*(t)\), i.e.: \(u(t,x_{i}^*(t))=u_{i}^*\). Moreover, since the function u(tx) and the flux have to be continuous, the following conditions are satisfied:

$$\begin{aligned} u_i\left( t,x_{i}^*\right)= & {} u_{i+1}\left( t,x_{i}^*\right) \end{aligned}$$
(8)
$$\begin{aligned} D_{i}\frac{\partial u_i}{\partial x}\left( t,x_{i}^*\right)= & {} D_{i+1}\frac{\partial u_{i+1}}{\partial x}\left( t,x_{i}^*\right) \end{aligned}$$
(9)

To solve the above problem, the well-known Boltzmann transformation can be applied, as described, e.g., in Crank (1975). According to this approach, each solution of Eq. (6) is a function of a unique independent variable \(\lambda \), defined as follows:

$$\begin{aligned} \lambda =\frac{x}{\sqrt{t}} \end{aligned}$$
(10)

For simplicity and since no ambiguity is likely to occur, we use the same notation \(u_i(\lambda )\) for the function \(u_i(\lambda )=u_i(1,\lambda )\) of one variable. Thus, Eq. (6) can be reformulated as follows:

$$\begin{aligned} \frac{\lambda }{2}\frac{\mathrm{d} u_i(\lambda )}{\mathrm{d} \lambda }+D_{i}\frac{\mathrm{d}^2 u_i(\lambda )}{\mathrm{d} \lambda ^2}=0 \end{aligned}$$
(11)

with the boundary conditions:

$$\begin{aligned}&\lim \limits _{\lambda \rightarrow \infty } u_1\bigl (\lambda \bigr )=u_0 \end{aligned}$$
(12)
$$\begin{aligned}&u_n\bigl (0\bigr )=1 \end{aligned}$$
(13)

and continuity conditions:

$$\begin{aligned}&u_i\left( \lambda _{i}^*\right) =u_{i+1}\left( \lambda _{i}^*\right) =u^*_{i} \end{aligned}$$
(14)
$$\begin{aligned}&D_{i}\frac{\mathrm{d} u_i}{\mathrm{d} \lambda }\left( \lambda _{i}^*\right) =D_{i+1}\frac{\mathrm{d} u_{i+1}}{\mathrm{d} \lambda }\left( \lambda _{i}^*\right) \end{aligned}$$
(15)

where according to Eq. (10): \(x_{i}^*(t)=\lambda _{i}^*\ \sqrt{t}\). The general solution of Eq. (11) is:

$$\begin{aligned} u_i(\lambda )=C_{i,1}\int ^{\lambda }_{0}\mathrm{e}^{-s^2/\left( 4D_{i}\right) }\mathrm{d}s+C_{i,2} \end{aligned}$$
(16)

with

$$\begin{aligned} \int ^{\lambda }_{0}\mathrm{e}^{-s^2/\left( 4D_{i}\right) }\mathrm{d}s=\sqrt{D_{i} \pi }\ \mathrm{erf}\left( \frac{\lambda }{\sqrt{4 D_{i}}}\right) \end{aligned}$$
(17)

Each solution \(u_i(\lambda )\) holds in a different region \([\lambda _{i}^*,\lambda _{i-1}^*]\) with \(\lambda _{i}^*<\lambda _{i-1}^*\), as shown in Fig. 1.

Fig. 1
figure 1

Schematic representation of the curve \(u(\lambda )\)

The coefficients \(C_{i,j}\) are determined by the boundary and continuity conditions as follows. From Eqs. (1214) and (16), we obtain for \(i=1,\ldots ,n\):

$$\begin{aligned} C_{i,1}= & {} \frac{u_{i-1}^*-u_{i}^*}{\sqrt{D_{i} \pi }\ \left[ \mathrm{erf}\left( \frac{\lambda _{i-1}^*}{\sqrt{4 D_{i}}}\right) -\mathrm{erf}\left( \frac{\lambda _{i}^*}{\sqrt{4 D_{i}}}\right) \right] } \end{aligned}$$
(18)
$$\begin{aligned} C_{i,2}= & {} u_{i-1}^*-C_{i,1} \sqrt{D_{i} \pi }\ \mathrm{erf}\left( \frac{\lambda _{i-1}^*}{\sqrt{4 D_{i}}}\right) \end{aligned}$$
(19)

with \(u_{0}^*=u_0\), \(u_{n}^*=1\), \(\lambda _{0}^*=\infty \) and \(\lambda _{n}^*=0\). Considering Eq. (15) and the general solution expressed by Eq. (16), we can write \(n-1\) equations of the form:

$$\begin{aligned} D_{i}C_{i,1}\mathrm{e}^{-\lambda _{i}^{{*}^{2}}{/}\left( 4D_{i}\right) }=D_{i+1}C_{i+1,1}\mathrm{e}^{-\lambda _{i}^{{*}^{2}}{/}\left( 4D_{i+1}\right) } \end{aligned}$$
(20)

with \(i=1,\ldots ,n-1\). Note that for \(n=2\) one single equation remains, as considered in Janetti and Wagner (2017). By taking into account Eqs. (1819), Eq. (20) can be rewritten as follows:

$$\begin{aligned} \begin{aligned} \underbrace{\frac{D_{i}\left( u_{i-1}^*-u_{i}^*\right) \mathrm{e}^{-\lambda _{i}^{{*}^{2}}/\left( 4D_{i}\right) }}{\sqrt{D_{i} \pi }\ \left[ \mathrm{erf}\left( \frac{\lambda _{i-1}^*}{\sqrt{4 D_{i}}}\right) -\mathrm{erf}\left( \frac{\lambda _{i}^*}{\sqrt{4 D_{i}}}\right) \right] }}_{a_i}=\underbrace{\frac{D_{i+1}\left( u_{i}^*-u_{i+1}^*\right) \mathrm{e}^{-\lambda _{i}^{{*}^{2}}/\left( 4D_{i+1}\right) }}{\sqrt{D_{i+1} \pi }\ \left[ \mathrm{erf}\left( \frac{\lambda _{i}^*}{\sqrt{4 D_{i+1}}}\right) -\mathrm{erf}\left( \frac{\lambda _{i+1}^*}{\sqrt{4 D_{i+1}}}\right) \right] }}_{b_i} \end{aligned} \end{aligned}$$
(21)

To simplify the notation, the left- and right-hand sides of the equations above are denoted as \(a_i\) and \(b_i\), respectively. In order to find the \(n-1\) coefficients \(\lambda _{i}^*\) which satisfy system (21), it is suitable to define the following function g:

$$\begin{aligned} g(\lambda _{1},\ldots ,\lambda _{i},\ldots ,\lambda _{n-1}) = \sum _{i=1}^{n-1}\left| a_i(\lambda _{i-1},\lambda _{i})-b_i(\lambda _{i},\lambda _{i+1})\right| . \end{aligned}$$
(22)

It is worth to note that the problem described by Eqs. (15) has one unique bounded solution \(u(t,x)<1\), as stated, e.g., in Barták et al. (1991), page 185. For this reason, we expect the function g to have one single root, which coincides with its minimum value, i.e., exists one unique lambda-set which satisfies the equation \(g(\lambda _{1},\ldots ,\lambda _{i},\ldots ,\lambda _{n-1}) = 0\). Indeed, this root defines unequivocally the solution u(tx).

The coefficients \(\lambda _{i}^*\) can thus be determined by searching for the minimum of the function g. To this aim, a multidimensional optimization method, such as a direct search method (Lagarias et al. 1998; McKinnon 1998; Torczon 1997) or a Quasi-Newton method (Bonnans et al. 2006), can be used. Once the \(\lambda _{i}^*\) are known, the coefficients \(C_{i,j}\) appearing in Eq. (16) are calculated through Eqs. (1819).

In the following section, more details on the proposed method are given by considering a practical example.

4 Example for \(n=3\)

In this section, the case of a diffusivity function having three steps (\(n=3\)) is solved as an example. The solution \(u(\lambda )\) is obtained as follows:

$$\begin{aligned} u(\lambda )=\left\{ \begin{aligned}&u_1(\lambda )=C_{1,1}\sqrt{D_{1} \pi }\ \mathrm{erf}\left( \frac{\lambda }{\sqrt{4 D_{1}}}\right) +C_{1,2}\ : \lambda>\lambda _{1}^*\\&u_2(\lambda )=C_{2,1}\sqrt{D_{2} \pi }\ \mathrm{erf}\left( \frac{\lambda }{\sqrt{4 D_{2}}}\right) +C_{2,2}\ : \lambda _{1}^*>\lambda>\lambda _{2}^*\\&u_3(\lambda )=C_{3,1}\sqrt{D_{3} \pi }\ \mathrm{erf}\left( \frac{\lambda }{\sqrt{4 D_{3}}}\right) +C_{3,2}\ : \lambda _{2}^*>\lambda \\ \end{aligned}\right. \end{aligned}$$
(23)

Here the coefficients \(C_{i,j}\) are expressed by Eqs. (1819), while \(\lambda _{1}^*\) and \(\lambda _{2}^*\) are determined by finding the minimum of the function, \(g(\lambda _{1},\lambda _{2})\) expressed by Eq. (22) for \(n=3\). Despite its apparent simplicity, this model is able to reproduce a large variety of empirically observed absorption behaviors, as illustrated by the three representative cases discussed below.

The first case we consider regards a diffusivity function which steeply increases with the water content, as shown in Fig. 2a. As already noted above, this curve may well approximate the fundamental behavior of capillary active materials. The resulting moisture profiles are reported in Fig. 2b for three different initial values of the water content. Note that, according to Eq. (23), the function \(u_1(\lambda )\) applies in the region of low water content (III), the function \(u_2(\lambda )\) in the middle water content region (II) and the function \(u_3(\lambda )\) in the region of high water content (I).

Fig. 2
figure 2

a Increasing diffusivity function D(u); b resulting water content profiles for three different initial values of the volumetric moisture content \(u_0\)

Fig. 3
figure 3

a Diffusivity function D(u) having a maximum in the middle region II; b resulting water content profiles for three different initial values of the volumetric moisture content \(u_0\)

The second example taken into account refers to a diffusivity function which decreases when the water content approaches its maximum value, as shown in Fig. 3. This behavior was empirically observed in Carmeliet et al. (2004); Roels and Carmeliet (2006) and can be explained by considering that, in the nearly saturated region (I), the water transfer occurs mainly due to diffusion of entrapped air through the unsaturated material. This process is significantly slower than the capillary suction determining moisture transfer in the middle region (II), and hence results in a lower diffusivity in region I. It is worth to note, however, that the validity of Eq. (1) near to saturation is questionable. Carmeliet et al. (2004) observed that a purely diffusive approach may be inadequate in the nearly saturated region, since there a one-to-one relation between moisture potential (i.e., capillary pressure) and water content is not verified. Nevertheless, the diffusion equation seems to reproduce well the experimental data, as shown in Fig. 4. In this plot, the water content profiles deriving from different diffusivity functions are compared. In particular, two different multiple step functions (\(n=3\); \(n=6\)) and a quasi-exponential curve are considered. The water content profile related to the quasi-exponential diffusivity has been obtained by numerical simulation.

In the last case investigated, which is reported in Fig. 5, the diffusivity is higher in the nearly dry region (III) than in the middle region (II). This effect can be explained by considering that, at low water content, vapor diffusion becomes decisive, leading to an increase in the total moisture transfer.

In Fig. 6, the function \(g(\lambda _{1},\lambda _{2})\) is shown for the three cases described above with \(u_0~=~0~\mathrm {(m^3/m^3)}\). Since \(\lambda _{1}>\lambda _{2}\) holds, only the values under the main diagonal have been plotted.

Fig. 4
figure 4

a Diffusivity D(u) approximated by different multiple step functions (\(n=3\) and \(n=6\)) and by a quasi-exponential curve. The three curves are superimposed in region I; b resulting water content profiles and measured data by Carmeliet et al. (2004) [material: calcium silicate; \(\rho \ \varPsi = 900\ \mathrm{(kg/m^3)}\)]

Fig. 5
figure 5

a Diffusivity function D(u) having a minimum in the middle region II; b resulting water content profiles for three different initial values of the volumetric moisture content \(u_0\)

The coefficients \(\lambda ^*_{1}\) and \(\lambda ^*_{2}\) have been calculated by the MATLAB function fminsearch, based on the Nelder–Mead algorithm (Lagarias et al. 1998). This simplex-based algorithm falls in the class of direct search methods, i.e., uses only function values, without any derivative information. It has the advantage to be less time-consuming comparing to other direct search methods and produces significant improvement for the first few iterations. On the other hand, in some cases, it might fail to converge or converge to a non-minimizing point, as observed in Lagarias et al. (1998); McKinnon (1998).

In all examples considered in this study, the Nelder–Mead algorithm behaves indeed quite well. However, in case numerical issues should arise, the use of another algorithm for which convergence has been more generally proved [e.g., a pattern search algorithm (Torczon 1997)] is recommended.

Fig. 6
figure 6

Contour lines of the function \(g(\lambda _{1},\lambda _{2})\) for the three exemplary cases described above with \(u_0 = 0~\mathrm {(m^3/m^3)}\). The minimum value \(g(\lambda ^*_{1},\lambda ^*_{2})=0\) is identified by a cross-symbol

5 Inverse Determination of the Diffusivity Function

In this section, a method is presented for inverse determination of the diffusivity function through a series of water uptake tests. Differently to other well-established techniques (Pel and Brocken 1996; Krus 1996; Carmeliet et al. 2004), the one proposed here does not require any knowledge of the water content distribution in the absorbing sample and can thus be advantageous in terms of costs and time.

Let us first observe that, according to the model introduced above, the following equation holds for an arbitrary initial water content \(u_0\):

$$\begin{aligned} \frac{m(t)-m_0}{A \varPsi \rho } \cong \int ^{\infty }_{0}[u(t,x)-u_0]\ \mathrm{d}x. \end{aligned}$$
(24)

Here m(t) denotes the total mass of moisture in the absorbing sample \(\mathrm{(kg)}\) at the time t (s), \(m_0\) the initial mass of moisture \(\mathrm{(kg)}\), A the absorbing surface \((\mathrm{m}^2)\), \(\varPsi \) the porosity \(\mathrm{(-)}\) and \(\rho \) the density of water \(\mathrm{(kg/m^3)}\). The function u(tx) is related to an arbitrary multiple step diffusivity described by Eq. (5). Note that the term \((m(t)-m_0)/(A \varPsi \rho )\), on the left-hand side of Eq. (24), can be easily determined by weighting the moist sample during the absorption process (Plagge et al. 2005). Similarly, the initial water content \(u_0\) can also be measured. Moreover, according to Fig. 1 and Eq. (10), we can write:

$$\begin{aligned} \int ^{\infty }_{0}[u(t,x)-u_0]\ \mathrm{d}x = \sum _{i=1}^{n}\int ^{\lambda ^*_{i-1} \sqrt{t}}_{\lambda ^*_{i} \sqrt{t}}[u_i(t,x)-u_0]\ \mathrm{d}x \end{aligned}$$
(25)

with:

$$\begin{aligned} \int ^{\lambda ^*_{i-1} \sqrt{t}}_{\lambda ^*_{i} \sqrt{t}}\left[ u_i(t,x)-u_0\right] \ \mathrm{d}x= & {} \sqrt{\frac{4 t D_i}{\pi }}\frac{\left( u_{i-1}^*-u_i^*\right) \left[ \mathrm{e}^{-\lambda _{i-1}^{{*}^{2}}/(4 D_i)}-\mathrm{e}^{-\lambda _i^{{*}^{2}}/(4 D_i)}\right] }{\left[ \mathrm{erf}\left( \frac{\lambda _{i-1}^*}{\sqrt{4 D_{i}}}\right) -\mathrm{erf}\left( \frac{\lambda _{i}^*}{\sqrt{4 D_{i}}}\right) \right] }\nonumber \\&\quad +\sqrt{t}\left\{ \left[ \lambda _{i-1}^*\left( u_{i-1}^*-u_0\right) -\lambda _i^*\left( u_i^*-u_0\right) \right] \right\} . \end{aligned}$$
(26)

In order to characterize the whole diffusivity function, a series of n water uptake tests is required. The parameters \(D_i\) are determined, starting from the highest water content level and decreasing step by step to the lowest one. The first test is hence performed with initial water content \(u_{0}=u_{n-1}^*\), to determine the diffusivity of the nearly saturated region \(D_n\). Accordingly, Eq. (24) is written as follows:

$$\begin{aligned} \frac{m(t)-m_0}{A \varPsi \rho } \cong \left( 1-u_{n-1}^*\right) \sqrt{\frac{4 t D_n}{\pi }} \end{aligned}$$
(27)

from which we immediately obtain:

$$\begin{aligned} D_n \cong \frac{\pi }{4 t}\left[ \frac{m(t)-m_0}{A \varPsi \rho \left( 1-u_{n-1}^*\right) }\right] ^2. \end{aligned}$$
(28)

Each parameter \(D_{k<n}\) can then be determined through a test performed with \(u_0=u_{k-1}^*\), by assuming that the diffusivity values at higher water content \(D_{i>k}\) are already known. To this aim, it is worth to introduce the function f, defined as follows:

$$\begin{aligned} \begin{aligned} f(\lambda _{k},\ldots ,\lambda _{i},\ldots ,\lambda _{n-1}, D_k) =&\left| \frac{m(t)-m_0}{A \varPsi \rho }-\sum _{i=k}^{n}\int ^{\lambda _{i-1} \sqrt{t}}_{\lambda _{i} \sqrt{t}}[u_i(t,x)-u_0]\ \mathrm{d}x \right| \\ {}&+ \sum _{i=k}^{n-1}\left| a_i-b_i\right| \end{aligned} \end{aligned}$$
(29)

where the coefficients \(a_i\) and \(b_i\) are given by Eq. (21) and \(\lambda _{k-1}=\infty \). The unknown parameters \(\lambda _{i}^*\) and \(D_k\) can thus be determined by searching for the zero of the function f, i.e., by using one of the optimization techniques cited above (Lagarias et al. 1998; McKinnon 1998; Torczon 1997; Bonnans et al. 2006).

Note that the choice of the limit water contents \(u_i^*\) is arbitrary. If no information on the real diffusivity curve is available, a equally spaced distribution can be used. On the other hand, a finer partition at high water content might be advantageous, in case a nearly exponential behavior is expected. Obviously, the more tests are performed, the better the real diffusivity function can be approximated.

Fig. 7
figure 7

Equally spaced partition: a diffusivity function D(u); b water content profiles for three different initial values of the volumetric moisture content \(u_0\)

In order to test this inverse procedure, virtual experiments performed by means of numerical simulation are carried out. These simulated experiments shall substitute in this study real absorption tests. Hence, a diffusivity function with exponential behavior is assumed as input function of the simulation, while \(n=3\) is assigned in the multiple step model.

In the first instance, three equal water content regions, delimited by \(u_1^*=1/3\) and \(u_2^*=2/3\), are considered. The step function resulting from the inverse method and the exponential curve (i.e., input function) are shown in Fig. 7a, while in Fig. 7b the related water content profiles are plotted. It can be observed that, even if the fundamental absorption behavior is captured, the multiple step diffusivity underestimates the exponential curve in the middle water content range.

The accuracy can be significantly improved by adopting a finer partition at high water content, instead of equally spaced steps, as shown in Fig. 8 (\(u_1^*=0.6\); \(u_2^*=0.9\)). In this plot, the multiple step diffusivity approximates quite well the exponential curve. Of course, further improvement could be obtained by increasing the number of steps.

Fig. 8
figure 8

Partition presenting finer steps at high water content: a diffusivity function D(u); b water content profiles for three different initial values of the volumetric moisture content \(u_0\)

6 Conclusions

In this paper, an analytical solution for the problem of moisture absorption in homogeneous, capillary active materials is presented. The problem is solved by assuming the diffusivity as a multiple step function of the moisture content. While other analytical solutions available in the literature are accurate only for certain diffusivity functions, the one proposed here is applicable for an arbitrary diffusivity curve, and hence can be used to predict a large variety of absorption behaviors. The proposed solution can also be used for the inverse determination of the diffusivity function via water uptake tests, as explained in the last part of the paper. This inverse technique has been tested through simulated experiments with promising results and is now ready to be applied in the laboratory.