Suelen Gasparin

Julien Berger

Denys Dutykh

Nathan Mendes

An adaptive simulation of nonlinear heat and moisture transfer as a boundary value problem

Keywords: coupled heat and moisture diffusive transfer, boundary value problems, semi-discretization in time, semi-discretization in space, bvp4c MSC: [2010] 35R30 (primary), 35K05, 80A20, 65M32 (secondary) ), 44.10.+i, 02.60.Cb, 02.70.Bf (secondary)

This work presents an alternative view on the numerical simulation of diffusion processes applied to the heat and moisture transfer through porous building materials. Traditionally, by using the finite-difference approach, the discretization follows the Method Of Lines (MOL), when the problem is first discretized in space to obtain a large system of coupled Ordinary Differential Equations (ODEs). Thus, this paper proposes to change this viewpoint. First, we discretize in time to obtain a small system of coupled ODEs, which means instead of having a Cauchy (Initial Value) Problem (IVP), we have a Boundary Value Problem (BVP). Fortunately, BVPs can be solved efficiently today using adaptive collocation methods of high order. To demonstrate the benefits of this new approach, three case studies are presented, in which one of them is compared with experimental data. The first one considers nonlinear heat and moisture transfer through one material layer while the second one considers two material layers. Results show how the nonlinearities and the interface between materials are easily treated, by reasonably using a fourth-order adaptive method. Finally, the last case study compares numerical results with experimental measurements, showing a good agreement.

Introduction

The hygrothermal transfer through porous structures is a matter of concern in many areas such as building physics, geophysics, environmental engineering and energy systems whose the transient evolution of heat and moisture migration plays an important role. Particularly, in the area of building physics, the heat and moisture transfer process through the porous envelope, roofing systems and the ground can strongly affect the energy efficiency, the thermal comfort of the occupants and the durability of the components [4,[START_REF] Tariku | Transient model for coupled heat, air and moisture transfer through multilayered porous media[END_REF][START_REF] Woloszyn | Tools for performance simulation of heat, air and moisture conditions of whole buildings[END_REF]. Therefore, reliable assessment of hygrothermal transfer in building materials is a major issue, requiring efficient numerical tools for heat and moisture transfer in building materials [START_REF] Clarke | Moisture flow modelling within the ESP-r integrated building performance simulation system[END_REF].

As building material properties are temperature-and moisture-dependent and the boundary conditions are driven by weather variables, the models included in those tools are based on numerical approaches using discrete representations of the continuous equations. To compute the solution, standard discretization and incremental techniques are applied, such as the Euler implicit scheme in [START_REF] Janssen | Simulation efficiency and accuracy of different moisture transfer potentials[END_REF]29] to solve large systems of equations. Furthermore, when dealing with nonlinearities, hygrothermal properties of porous materials have to be updated as a function of the temperature and moisture content fields at each iteration [START_REF] Ferguson | A comparison of the finite element and control volume numerical solution techniques applied to timber drying problems below the boiling point[END_REF]. The difficulties to compute the solution increase, particularly when using implicit schemes that require sub-iterations to treat those issues. In the literature [START_REF] Abuku | Impact of wind-driven rain on historic brick wall buildings in a moderately cold and humid climate: Numerical analyses of mould growth risk, indoor climate and energy consumption[END_REF][START_REF] Dalgliesh | Hygrothermal Performance of Building Envelopes: Uses for 2D and 1D simulation[END_REF][START_REF] Santos | Simultaneous heat and moisture transfer in soils combined with building simulation[END_REF], the important numerical costs of simulation tools are also mentioned and it is a matter of concern due to the substantial scale of buildings, where heat and moisture transfer phenomena have to be simulated.

In addition, in the models proposed in literature, the problem previously described is generally solved by traditional approaches such as the finite-difference method [START_REF] Gasparin | Stable explicit schemes for simulation of nonlinear moisture transfer in porous materials[END_REF], the finite-volume method [13, 28, 29] and the finite-element method [START_REF] Janssen | Conservative modelling of the moisture and heat transfer in building components under atmospheric excitation[END_REF][START_REF] Rouchier | Influence of concrete fracture on the rain infiltration and thermal performance of building facades[END_REF]45], which are well established in the fields of thermal sciences and building physics. In these classical approaches, the higher accuracy obtained for the space discretization of the numerical schemes is to order O (∆x 2 ) . For a space standard discretization ∆x = 10 -2 , it implies that the error ε on the solution of the equations cannot be lower than O (10 -4 ) . Within the issue of comparing the model numerical predictions with experimental observations as carried out for instance in [26,32,34], it is of major importance to control the accuracy of the solution.

For sure, the accuracy of the computed solution can be increased by reducing the space and time discretization parameters. However, as mentioned before, the standard approaches proposed in literature has a high degree of freedom. Therefore, increasing the number of spatial and temporal grid points will inevitably increase the computational time of the numerical model. With high-order numerical schemes, it is possible to have the same precision of low-order numerical schemes but with a lower computational cost, as shown in [START_REF] Müller | Some issues in modelling venous haemodynamics[END_REF]. For this reason, these traditional methods have to be improved or even replaced by innovative and efficient ways of numerical simulation [START_REF] Pallin | Hygrothermal simulations of foundations: Part 1: Soil material properties[END_REF], particularly with the issue of comparing the model predictions with experimental observations. Therefore, this article aims at contributing to the numerical development of hygrothermal transfer, by proposing a new approach to simulate the one-dimensional heat and moisture diffusive transfer trough single and multilayered building porous materials. The Method of Horizontal Lines is here proposed to solve the nonlinear heat and moisture transfer to increase significantly the accuracy in space with a low computational time of the numerical model. Usually, when using finite-differences, the discretization follows the Method of Lines (MOL). It means that the problem is first discretized in space to obtain a large system of coupled ODEs. Here, a different point of view is proposed based on discretizing first in the time domain to obtain a Boundary Value Problem (BVP). Such problems can be easily solved using adaptive collocation methods of high order. This approach is investigated in this paper to compute with high accuracy combined heat and mass transfer problems in porous materials.

The manuscript is organized as follows. Section 2 details the physical model of heat and moisture transfer while fundamentals of the proposed method are shown in Section 3. Numerical results are discussed in Section 4 and simulation are compared with experimental data in Section 5. Finally, in Section 6, the main conclusions are outlined with future perspectives.

Physical model

The physical problem considers one-dimensional heat and moisture transfer through a porous material defined by the spatial domain Ω x = [ 0, L ] and time domain Ω t = [ 0, τ ] . The following convention is adopted: x = 0 corresponds to the surface in contact with the inside room and, x = L , corresponds to the outside surface. The moisture transfer occurs due to capillary migration and vapour diffusion. The heat transfer is governed by diffusion and latent mechanisms. The physical problem can be formulated as [27,[START_REF] Remki | Hygrothermal transfer in wood drying under the atmospheric pressure gradient[END_REF]:

∂ρ w ∂t = ∂ ∂x k l ∂P c ∂x + δ v ∂P v ∂x , (2.1a)
ρ 0 c 0 + ρ w c w ∂T ∂t + c w T ∂ρ w ∂t = ∂ ∂x λ ∂T ∂x + L v δ v ∂P v ∂x , (2.1b)
where ρ w is the volumetric moisture content of the material, δ v and k l , the vapour and liquid permeabilities, P v , the vapour pressure, T , the temperature, R v , the water vapour gas constant, P c , the capillary pressure, c 0 , the material heat capacity, ρ 0 , the material density, c w , the water heat capacity, λ , the thermal conductivity, and, L v , the latent heat of evaporation. Equation (2.1a) can be written using the vapour pressure P v as the driving potential. For this, we consider the physical relation, known as the Kelvin equation, between P v and P c , and the Clausius-Clapeyron equation:

P c = ρ l R v T ln P v P s (T ) , ∂P c ∂P v = ρ l R v T P v .
where P v comes from the relation φ =

P v P s ( T )
, in which φ is the relative humidity. Thus, by neglecting the variation of the capillary pressure and the mass content with temperature [START_REF] Rouchier | Influence of concrete fracture on the rain infiltration and thermal performance of building facades[END_REF], the partial derivative of P c can be written as:

∂P c ∂x = ∂P c ∂P v ∂P v ∂x + ∂P c ∂T ∂T ∂x ≃ ρ l R v T P v ∂P v ∂x .
In addition, we have:

∂ρ w ∂t = ∂ρ w ∂φ ∂φ ∂P v ∂P v ∂t + ∂ρ w ∂T ∂T ∂t ≃ ∂ρ w ∂φ ∂φ ∂P v ∂P v ∂t .
Considering the relation ρ w = w (φ) , obtained from the sorption isotherm, and from the relation between the vapour pressure P v and the relative humidity φ , we get:

∂ρ w ∂t = w ′ (φ) P s (T ) ∂P v ∂t .
We denote by Considering the previous notation, Equation (2.1) can be rewritten as:

k M def := k l ρ l R v T P v + δ v :
c M (T, P v ) ∂P v ∂t = ∂ ∂x k M (T, P v ) ∂P v ∂x , (2.2a) c T (T, P v ) ∂T ∂t + c T M (T, P v ) ∂P v ∂t = ∂ ∂x k T (T, P v ) ∂T ∂x + k T M (T, P v ) ∂P v ∂x .
(2.2b)

Finally, the problem of interest is a coupled system of two nonlinear parabolic partial differential equations, with vapour pressure P v and temperature T gradients as driving potentials. Their boundary conditions are expressed as:

n • k M (T, P v ) ∂P v ∂x = h M P v -P v, ∞ (t) -g ∞ (t) , n • k T (T, P v ) ∂T ∂x + k T M (T, P v ) ∂P v ∂x = h T T -T ∞ (t) -q ∞ (t) + L v h M P v -P v, ∞ (t) ,
where P v, ∞ and T ∞ stand for the vapour pressure and temperature of the air, h M and h T are the convective transfer coefficients and n is the normal that assumes + 1 or -1 at the left or right boundary sides. If the bounding surface is in contact with the outside air, g ∞ is the liquid flow from wind driven rain and q ∞ is the sensible heat from the rain:

q ∞ = g ∞ • H l ,
where, H l is the water enthalpy. If the bounding surface is in contact with the inside building air then g ∞ = 0 and the variable q ∞ is the enclosure and long-wave radiative heat exchanged among the room surfaces:

q ∞ = m j=1 s ξ σ T j (x = 0) 4 -T (x = 0) 4 ,
where s is the view factor between two surfaces, σ is the Stefan-Boltzmann constant, ξ is the emissivity of the wall surface, j represents the m bounding walls. We consider a uniform vapour pressure and temperature distributions as initial conditions:

P v (x, t = 0) = P v, i and T (x, t = 0) = T i .
One of the interesting outputs in the building physics framework are the sensible q s and the latent q l heat fluxes [46], which are respectively defined as:

q s (t) def := -k T (T, P v ) ∂T ∂x x 0 and q l (t) def := -k T M (T, P v ) ∂P v ∂x x 0 .
The moisture flow g is similarly computed:

g (t) def := -k M (T, P v ) ∂P v ∂x x 0 , where x 0 ∈ [ 0, L ] .

Dimensionless representation

Before solving this problem directly, it is of great importance to get a dimensionless formulation. It enables us to determine important scaling parameters such as Biot and Fourier numbers. It allows also to estimate the relative magnitude of various terms in governing equations, and thus, eventually to simplify the problem using asymptotic methods [31]. In addition, the dimensionless form enables to manipulate numerically the quantities at the order of O (1) where the floating point arithmetics are designed to have minimal rounding errors [24]. Considering the temperature range of interest in building applications, temperature dependence was neglected when compared to their dependence with moisture content, with all transport coefficients considered as moisture content dependent. Therefore, the governing Equation (2.2) can be written in a dimensionless form as:

c ⋆ M (v) ∂v ∂t ⋆ = Fo M ∂ ∂x ⋆ k ⋆ M (v) ∂v ∂x ⋆ , (2.3a)
c ⋆ T (v) ∂u ∂t ⋆ + γ 1 c ⋆ T M (v) ∂v ∂t ⋆ = Fo T ∂ ∂x ⋆ k ⋆ T (v) ∂u ∂x ⋆ + γ 2 k ⋆ T M (v) ∂v ∂x ⋆ , (2.3b)
which can be expressed by the following equation in a matrix form:

    c ⋆ M Fo M 0 γ 1 c ⋆ T M Fo T c ⋆ T Fo T     •     ∂v ∂t ∂u ∂t     = ∂ ∂x       k ⋆ M 0 γ 2 k ⋆ T M k ⋆ T   •     ∂v ∂x ∂u ∂x         .
(2.4)

The dimensionless formulation of the boundary conditions is:

n • k ⋆ M (v) ∂v ∂x ⋆ = Bi M v -v ∞ (t ⋆ ) -g ⋆ ∞ (t ⋆ ) , (2.5a) n • k ⋆ T (v) ∂u ∂x ⋆ + γ 2 k ⋆ T M (v) ∂v ∂x ⋆ = Bi T u -u ∞ (t ⋆ ) -q ⋆ ∞ (t ⋆ ) + γ 2 Bi T M v -v ∞ (t ⋆ ) , (2.5b)
where the dimensionless quantities are defined as:

u def := T T 0 , v def := P v P v, 0 , x ⋆ def := x L , u ∞ def := T ∞ T 0 , v ∞ def := P v, ∞ P v, 0 , t ⋆ def := t t 0 , c ⋆ M def := c M c M, 0 , c ⋆ T def := c T c T, 0 , c ⋆ T M def := c T M c T M, 0 , k ⋆ M def := k M k M, 0 , k ⋆ T def := k T k T, 0 , k ⋆ T M def := k T M k T M, 0 , Bi M def := h M • L k M, 0 , Bi T def := h T • L k T, 0 , Bi T M def := h M • L • L v k T M, 0 , Fo M def := t 0 • k M, 0 L 2 • c M, 0 , Fo T def := t 0 • k T, 0 L 2 • c T, 0 , g ⋆ ∞ def := g ∞ • L P v, 0 • k M, 0 , γ 1 def := c T M, 0 • P v, 0 c T, 0 • T 0 , γ 2 def := k T M, 0 • P v, 0 k T, 0 • T 0 , q ⋆ ∞ def := q ∞ • L T 0 • k T, 0 ,
where the subscript 0 represents a reference value, chosen according to the application problem and the superscript ⋆ represents a dimensionless quantity of the same variable. The dimensionless values of each numerical application can be found in the Appendix B.

The Method of Horizontal Lines

The perception of objects might change depending on the viewpoint. Keeping that in mind, in this study we apply the same idea to Partial Differential Equations (PDEs). Since our main applications include the heat and/or moisture transfer, we explain the idea on the simplest parabolic (or Fourier) equation, which is traditionally written as [14,16]:

∂u ∂t = ν ∂ 2 u ∂x 2 , x ∈ I ≡ [ 0, ℓ ] , t 0 , (3.1)
where ν > 0 is the diffusion coefficient. The last equation has to be supplemented with right and compatible initial and boundary conditions to obtain a well-posed problem [START_REF] Hadamard | Sur les problèmes aux dérivées partielles et leur signification physique[END_REF]. The way how Equation (3.1) is written conditions the tools and, thus, the way how it is solved numerically (or study it theoretically [14]). Indeed, the most popular approach nowadays is the so-called Method Of Lines (MOL) [START_REF] Hamdi | Method of lines[END_REF]25,35,[START_REF] Schiesser | Method of lines solution of the Korteweg-de vries equation[END_REF][START_REF] Hygro-Bat | Vers une méthode de conception HYGRO-thermique des BA-Timents performants[END_REF]. It consists in semidiscretization in space as the first step. With this goal in mind, let us consider a uniform (for the sake of simplicity) discretization in space:

I ∆x def := x j ≡ j • ∆x | j = 0, 1, 2, . . . N, N + 1 , ∆x def := ℓ N + 1 .
The classical second-order central finite difference scheme yields the following system of coupled ordinary differential equations (ODEs) [START_REF] Richtmyer | Difference Methods for Initial-Value Problems[END_REF]:

du j dt = ν ∆x 2 u j-1 -2 u j + u j+1 , j = 1, 2, . . . , N ,
with u j (t) def := u (x j , t) is the solution nodal value. For simplicity of the discussion, we write here evolution equations only for interior nodes. There are still two remaining equations dependent on the boundary conditions which will be discussed in a further Section.

Hence, the Partial Differential Equation (3.1) solved with MOL yields approximatively to a large system of coupled differential equations. In typical accurate numerical simulations N 10 2 . . . 10 3 . Then, the last system of equations can be discretized using various explicit or implicit time-marching schemes [START_REF] Butcher | Numerical Methods for Ordinary Differential Equations[END_REF]. This philosophy is shown schematically in Figure 1(a). To make the language more accurate, we can refer to this approach as the Method of Vertical Lines (MOVL). From a brief literature survey we can conclude that the dominant majority of numerical simulations in the field of HAM transfer follow this philosophy. However, in this study we would like to propose an alternative view on diffusion equations. Namely, we claim that Equation (3.1) can be solved by a totally different numerical technique, if it is rewritten in Cauchy-Kovalevskaya form as:

ν ∂ 2 u ∂x 2 = ∂u ∂t , x ∈ I ≡ [ 0, ℓ ] , t 0 . (3.2)
By defining a uniform time discretization:

I ∆t def := t n ≡ n • ∆t | n = 0, 1, 2, . . . M, M + 1 , ∆t def := τ M + 1 .
Equation (3.2) yields to the following system:

ν ∂ 2 u (x, t n ) ∂x 2 = ∂u ∂t t = t n , x ∈ I ≡ [ 0, ℓ ] , t 0 .
The main term now is the second-order elliptic differential operator in space, while the time derivative can be seen (and treated) as a source term of secondary importance. In other words, instead of having an evolution problem, we have a Boundary Value Problem (BVP), which can be tackled by appropriate methods. This approach is schematically depicted in Figure 1(b), which will be called in this work as the Method of Horizontal Lines (MOHL).

In the following Section 3.1, we propose a reformulation for scalar nonlinear equations.

Scalar nonlinear equations

Consider the following dimensionless nonlinear diffusion equation, which can describe the heat or the moisture transfer in a 1D section * of a porous material: where the right-hand side F (x, t) ∈ L 2 (0, T ), L 2 (I) and describes eventual sources/sinks inside the material. The time horizon T > 0 is fixed. We assume that coefficients c (u) and D (u) are positive definite:

c (u) u t -D (u) u x x = F (x, t) , x ∈ I ≡ [ 0, ℓ ] , (3.3
c (u) c min > 0 , D (u) d min > 0 , ∀ u . (3.4)
For the moisture diffusion, the coefficient c

(u) is the moisture storage coefficient c ⋆ M (u) and the coefficient D (u) is the diffusion coefficient Fo M •k ⋆ M (u)
. For the heat transfer, F (x, t) incorporates the other terms. The subscripts denote partial derivatives, i.e., u t def := ∂u ∂t ,

u x def := ∂u ∂x , etc.Equation (3.
3) has to be completed by initial and boundary conditions.

The boundary conditions are described by Equation (2.5), which are of (mixed) Robintype and the initial condition as u 0 (x) ≡ u (x, 0) ∈ H 1 (I) . Then, the Boundary-Value Problem (BVP) (3.3) has a unique solution u (x, t) ∈ L 2 (0, T ), H 1 (I) .

Problem reformulation as a BVP

For our purposes it will be more advantageous to recast Equation (3.3) in a non-conservative form. By assuming that function D (u) is continuously differentiable, we introduce its derivative:

d (u) def := dD (u) du ≡ D ′ (u) .
After taking one derivative, Equation (3.3) becomes:

u t -ā (u, u x ) u x -d (u) u x x = f (x, t) , (3.5)
where we introduce the effective coefficients:

ā (u, u x ) def := d (u) u x c (u) , d (u) def := D (u) c (u) ,
and also the effective source term:

f (u, x, t) def := F (x, t) c (u) . Equation (3.5) is equivalent to Equation (3.
3) for smooth solutions. Under assumptions (3.4) the solutions are indeed smooth. Equation (3.5) is an evolution equation written in time-space: first we write the derivatives with respect to time, then the spatial ones. According to the philosophy of the approach described in Section 3, let us rewrite it in space-time:

d (u) u x x + ā (u, u x ) u x = f (u, x, t) + u t .
In other words, we see the time derivative u t as a source term for our convenience. Finally, we rewrite the last equation as a system of first-order differential equations in the spatial variable x :

   u x = ϑ , ϑ x = f + u t d (u) - ā (u, ϑ) d (u) ϑ .
The last system can be rewritten with original coefficients as well:

   u x = ϑ , ϑ x = F + c (u) u t D (u) - d (u) ϑ D (u) ϑ .
In order to have a true BVP, we have to get rid of the solution dependence on time. To do it, we (semi-)discretize the solution u in time, i.e., we replace the surface u (x, t) by a sequence of lines:

u n (x) def := u (x, t n ) , t n = n ∆ t , n ∈ N 0 ,
where ∆t > 0 is a chosen time step. See Figure 1(b) for an illustration. This method is called the Method Of Horizontal Lines (MOHL). At each time layer t n we have to solve a true BVP:

   u n x = ϑ n , ϑ n x = F n + c (u n ) u ⋆ t n D (u n ) - d (u n ) ϑ n D (u n ) ϑ n ,
where u ⋆ t n is an approximation of the time derivative. Depending on the accuracy we would like to achieve, we can take the following backward finite-difference formulas:

u ⋆ t n = u n -u n-1 ∆t + O ∆t , u ⋆ t n = 3 u n -4 u n-1 + 2 u n-2 2 ∆t + O ∆t 2 .
In this case, the second-order accuracy in time is implemented in the calculations in order to have a more precise solution, so that we can use ∆t ⋆ 10 -1 . The final scheme is unconditionally stable according to the construction of the method.

Numerical methods

All numerical results in this paper were computed using Matlab™2017b.The solver bvp4c [START_REF] Shampine | Solving boundary value problems for ordinary differential equations in MATLAB with bvp4c[END_REF] is employed to solve the BVP problem at every time step, other solvers also can be employed such as the bvp5c [START_REF] Shampine | Solving boundary value problems for ordinary differential equations in MATLAB with bvp4c[END_REF] and even bvp6c [START_REF] Hale | A Sixth-Order Extension to the MATLAB Package bvp4c of J. Kierzenka and L. Shampine[END_REF]. The codes for bvp4c & bvp5c are available within any standard Matlab™ distribution, while the code bvp6c was developed by Dr. Nick Hale (Stellenbosh University, South Africa) and is freely available. All these methods are based on finite-difference approximations that implement various orders of Lobatto IIIA formula. This is a collocation method and the corresponding collocation polynomial provides a C 1 (I) approximation of the uniform fourth, fifth or sixth orders of accuracy in ∆x, respectively. Special attention should be given to the fact that other implementation details are quite different among the solvers, the order is not the only difference between them. In our numerical simulations we use adaptive methods of the fourth order which in most practical applications are enough.

Let us consider a system of ordinary differential equations of the form u ′ (x) = f (x, u) , within the interval [ a, b ] subjected to two boundary conditions ψ (u (a), u (b)) = 0. To use any of the BVP solvers, three inputs are required: the initial guess, a function with the boundary conditions and another function with the system of ordinary equations. They will return essentially three outputs: the spatial grid mesh, the solution approximation of u (x) at the mesh points and the approximation to u ′ (x). Note that the solvers produce a solution that is continuous in the considered interval [ a, b ] and with a continuous first derivative. For more details on the methods and their implementations refer to [START_REF] Hale | A Sixth-Order Extension to the MATLAB Package bvp4c of J. Kierzenka and L. Shampine[END_REF][START_REF] Shampine | Solving boundary value problems for ordinary differential equations in MATLAB with bvp4c[END_REF].

The essential feature of these algorithms is the adaptive distribution of collocation nodes. The grid adaptation and error control are based on the residuals (there are two: one for the equation and one for the boundary conditions) of the C 1 (I) continuous solution. The convergence speed towards the BVP solution depends essentially on the quality of the initial guess. Here we deal with an IVP-BVP problem. Thus, the BVP-solution value on the previous time step can be a good approximation. However, some physics-based or vector-based extrapolation techniques might also be used to further reduce internal iterations on every time step. The boundary conditions are directly provide as one of the inputs of the solver. No special treatment need to be carried out before supplying it.

Extension to the coupled transfer

There are two ways of using the BVP approach in the heat and mass transfer System (2.3). The first one is to take advantage of the solver bvp4c that provides directly the derivative of the field as output. First, it is computed the solution for v and then, it is computed the solution for u , which is the approach used in the application Section. This approach works because System (2.3) is weakly coupled. The procedure to implement the MOHL is described in Algorithm 1.

Therefore, using this approach, the system of first-order differential equations for the mass balance equation Equation (2.3a) is written as:

     v n x = ϑ n , ϑ n x = (v ⋆ t ) n d (v n ) - ā (v n , ϑ n ) d (v n ) ϑ n , (3.6)
while the system of the energy equation Equation (2.3b) as:

       u n x = µ n , µ n x = (u ⋆ t ) n b (v n ) + c (v n ) -f (v n ) b (v n ) ϑ n x + h (v n , ϑ n ) -ḡ (v n , ϑ n ) b (v n ) ϑ n - ē (v n , ϑ n ) b (v n ) µ n , (3.7)
where,

ā (v n , ϑ n ) = Fo M c ⋆ M (v n ) • d k ⋆ M (v n ) d v ϑ n , b (v n ) = Fo T • k ⋆ T (v n ) c ⋆ T (v n ) , ē (v n , ϑ n ) = Fo T c ⋆ T (v n ) • d k ⋆ T (v n ) d v ϑ n , c (v n ) = Fo M • γ 1 • k ⋆ M (v n ) • c ⋆ T M (v n ) c ⋆ T (v n ) • c ⋆ M (v n ) , ḡ (v n , ϑ n ) = Fo T • γ 2 c ⋆ T (v n ) • d k ⋆ T M (v n ) d v ϑ n , d (v n ) = Fo M • k ⋆ M (v n ) c ⋆ M (v n ) , h (v n , ϑ n ) = Fo M • γ 1 • c ⋆ T M (v n ) c ⋆ T (v n ) • c ⋆ M (v n ) • d k ⋆ M (v n ) d v ϑ n , f (v n ) = Fo T • γ 2 • k ⋆ T M (v n ) c ⋆ T (v n ) .
In addition, the boundary conditions that complement Equation (3.6) are:

R v,L = k ⋆ M (v n ) • ϑ n -Bi M, L • v n + Bi M, L • v ∞, L + g ∞ , R v,R = k ⋆ M (v n ) • ϑ n + Bi M, R • v n -Bi M, R • v ∞, R , (3.8)
and, the boundary conditions that complement Equation (3.7) are:

           R u,L = Fo T k ⋆ T (v n ) µ n + k ⋆ T M (v n ) γ 2 ϑ n -Bi T, L (u n -u ∞, L ) -Bi T M, L γ 2 (v n -v ∞, L ) + q ∞ , R u,R = Fo T k ⋆ T (v n ) µ n + k ⋆ T M (v n ) γ 2 ϑ n +Bi T, R (u n -u ∞, R ) + Bi T M, R γ 2 (v n -v ∞, R ) , (3.9)
where, R represents the residual and the subscripts L and R represent values of the left and right boundary conditions.

When dealing with highly coupled equations, the issue is to rewrite System (2.3) in a vectorized way, such as Equation (2.4), and solve it at as only one equation. In the next section, the MOHL is tested in two cases of numerical application.

Algorithm 1 MOHL's algorithm for the weakly coupled heat and moisture transfer problem. ⊲ from Equation (3.8) and (3.9) 4: Define initial solution: v 0 and u 0 ; 5: Set relative and absolute tolerances "tol" of the solver; 6: while t < τ do 7:

[ v n , v n x ] = bvp4c (ODE of v n , BC of v n , v 0 ); 8: [ u n , u n x ] = bvp4c (ODE of u n , BC of u n , u 0 ); 9:
Compute refined solution;

10:

Update: v 0 and u 0 ;

11:

Increment: t := t + ∆t and n := n + 1 ; 12: return v (x, t), v x (x, t) , u (x, t) and u x (x, t) .

Numerical benchmark

Simulations of one-dimensional coupled heat and moisture transport are carried out with the MOHL method, the Euler implicit method used in a numbers of works (see for instance [START_REF] Janssen | Simulation efficiency and accuracy of different moisture transfer potentials[END_REF]29]) and a reference solution to verify the applicability and the advantages of the proposed method. The Euler implicit scheme approximates the continuous operator to the order O (∆x 2 + ∆t) . The reference solutions are computed using the Matlab™ open source toolbox Chebfun [START_REF] Janssen | Simulation efficiency and accuracy of different moisture transfer potentials[END_REF].

To compare and validate the proposed method, the error between solution components u num and v num , obtained by the MOHL method or the Euler implicit, and the reference solutions u ref and v ref , are computed as functions of x using the following Euclidean norms:

ε 2, u (x) def := 1 N t N t j = 1 u num j (x , t j ) -u ref j (x , t j ) 2 , ε 2, v (x) def := 1 N t N t j = 1 v num j (x , t j ) -v ref j (x , t j ) 2 ,
where N t is the number of temporal steps. The uniform norm errors ε ∞, u and ε ∞, v are given by the maximal values of ε 2, u (x) and ε 2, v (x) :

ε ∞, u def := sup x ∈ 0, L ε 2, u (x) , ε ∞, v def := sup x ∈ 0, L ε 2, v (x) .
In the aftermath, the numerical case studies are presented.

Single layer case

In order to contemplate the applicability of the presented method, the first case study considers the combined effects of the heat and moisture transfer. A physical application is performed in a 10-cm monolithic bearing material. To test the robustness of the scheme with strong nonlinearities, the properties of the material are gathered from [START_REF] Hagentoft | Assessment Method of Numerical Prediction Models for Combined Heat, Air and Moisture Transfer in Building Components: Benchmarks for One-dimensional Cases[END_REF] and reminded in Table 3 Simulations with the MOHL method were performed using the solver bvp4c with the relative and absolute tolerances set to tol = 10 -5 for moisture and tol = 10 -6 for temperature. The time step discretization is of ∆t ⋆ = 10 -1 and, for the space discretization an adaptive technique is employed, as explained in Section 3.3. The initial guess is composed by 10 spatial nodes, for vapour pressure and temperature fields. For the Euler Implicit solution, simulations have been performed with ∆x ⋆ = 10 -2 and ∆t ⋆ = 10 -2 .

Figure 3 presents the selected mesh determined by the solver for the last profile of temperature and vapour pressure fields, with the reference solution and with the refined solution. This last one is an evaluation of the solution that covers all the interval [ 0, L ] in more points than the selected mesh. Note that at each time layer the number of points of the selected mesh varies, with a maximum of 15 points for the moisture field and 19 points for the temperature field. Over the simulation time the number of nodes remained almost the same, which means it was sufficient for the set tolerance. If we decrease the tolerance, the number of nodes of the spatial grid would rise accordingly. Simulation results of the temperature, vapour pressure and relative humidity evolution on the boundaries of the building component (x = 0 m and x = 0.1 m ) are presented in Figures 4(a), 4(b) and 4(c), respectively. The proposed method has been able to follow successfully the solicitations from the boundary conditions and represent the solution. The step on the relative humidity at the right boundary can be observed on the vapour pressure and relative humidity evolution. The vapour pressure diffuses over the material almost instantaneously with the step imposed. The level of moisture is high but the material is not saturated. It can be noted that for the simulation of such cases with really high levels of moisture, it is better to change the physical model using, for instance, the moisture content or the capillary pressure as potentials [29].

The computed temperature and relative humidity distribution profiles for t = { 30, 36, 40 } h are presented in Figures 5(a) and 5(b). As this material has a fast liquid transfer, the profiles of relative humidity are almost straight lines. The material is highly permeable but with a low hygroscopicity, as it does not retain the moisture. For the temperature, it can also be observed that it diffuses quickly and it has the opposite effect of the relative humidity. Furthermore, it can be noted a good agreement between the MOHL method, the Euler implicit and the reference solution.

The error ε 2 between the MOHL and the Euler implicit method with the reference solution are given in Figure 6. For the temperature distribution, the error is to the order of O 10 -5 and, for the vapour pressure component is to the order of O 10 -3 . The error is not of the same order for each solutions perhaps due to the following reasons: (i) the properties are more nonlinear for the moisture balance equations; (ii) or the residual effect of initial guess for the vapour pressure profile; (iii) or moisture diffusive is much slower than heat, for the present case; (iv) the order of the dimensionless fields u and v are not the same. Even with this difference, these results are consistent to the tolerance, that was set to tol = 10 -5 and to the discretization on time, that is second-order accurate O (∆t 2 ) . It is admissible that the actual error is slight larger than the prescribed tolerance. The solver estimates the residual and not the actual error strictu sensu (since the exact solution is unavailable). It is required that the error decrease when the tolerance decrease as shown in Table 1.

The accuracy of the solution depends on several factors, one of them is the absolute and relative tolerances of the solver. To compare different values of the tolerance with the solver bvp4c, Table 1 presents the error ε ∞ for both solutions, the dimensionless temperature (u) and the dimensionless vapour pressure (v), as well as the number of mesh points used by the solver. As the tolerances get more restrictive, the solver adapts the solution making the number of mesh points to increase to provide a consistent solution with the specified accuracy. The initial number of points was 10 . For the tolerance tol 10 -3 , more than 10 nodes are needed to compute the solution. For this case study, a tolerance of tol = 10 -3 would be enough to provide an accuracy to order of O (10 -4 ).

The CPU time required to compute the solution of this case study is provided in Table 2. The compuational time required for the Euler explicit approach is also included. It has been evaluated using Matlab™ platform on a computer with a processor Intel ® Core i5 CPU 2.80 GHz and 15.6 GB of RAM memory. The Euler explicit requires more time due to the CFL stability condition, since it is not possible to increase the time discretization. For the Euler implicit solution, it takes an average of 11 iterations at each time step to converge to the solution which increases the global computational time of the method. The MOHL method is faster than the two Euler approaches implemented here. It can be remarked that for the same order of accuracy of the solution, the proposed method is two times faster. Moreover, as it can be seen in Table 1, the accuracy of the solution can be increased with a relatively low increase of the spatial mesh and of the CPU time.

One of the advantages of using the solver bvp4c is that it has as output the respective derivatives of the fields, making the computation of the fluxes straightforward. Thus, The total moisture flow (liquid plus vapour) at both boundaries are shown in Figure 8. As it can be observed, the flow follows variations of the boundary conditions. Furthermore, the left boundary has higher variations because its convective mass transfer coefficient is higher than the one at the other boundary. The step of relative humidity at the right boundary can also be observed on the moisture flow which suddenly changes.

Multilayered domain

In building constructions, multiple layers are commonly found. The configuration assumed at the interface between materials follows the hydraulic continuity (P v, 1 = P v, 2 and T v, 1 = T v, 2 ), which considers interpenetration of both porous structure layers [START_REF] De Freitas | Moisture migration in building walls -Analysis of the interface phenomena[END_REF]. Both materials are homogeneous and isotropic, and only heat and moisture transfer are simulated, through a perfectly airtight structure.

Consider Equation (2.3b) over a multidomain in which

x ⋆ ∈ [ 0, x ⋆ int ) ∪ [ x ⋆ int , 1 ]
. The coefficients are written in a general form as illustrated for the moisture diffusion: where x ⋆ int is the location of the interface between materials and the indices 1 and 2 represent each material layer. Thus, by using the MOHL approach, it is assumed that at the interface, the solution and the solution derivative of the problem are continuous. In this way, the method will search for the solution that can satisfy both conditions automatically. These interface assumptions are verified with an analytical solution in the Appendix C.

k ⋆ M (v, x ⋆ ) = k ⋆ M, 1 (v) , x ⋆ < x ⋆ int , k ⋆ M, 2 (v) , x ⋆ x ⋆ int , ( 4

Application

This case study considers a porous wall formed by 2 layers: 10-cm of a load bearing material and 2-cm of finishing material. Figure 9 shows schematically this physical situation. The selected materials further complicate the case, with the first layer having a faster liquid transfer while the second layer acts as a hygroscopic finish. The properties used for these materials were obtained from [START_REF] Hagentoft | Assessment Method of Numerical Prediction Models for Combined Heat, Air and Moisture Transfer in Building Components: Benchmarks for One-dimensional Cases[END_REF] which are given in Tables 3 and4.

Initial conditions are considered uniform over the spatial domain, with an initial temperature of T i = 293.15 K and an initial vapour pressure of P v, i = 1.16 • 10 3 Pa , referent to a relative humidity of 50 % . The boundary conditions oscillate sinusoidally during 120 hours of simulation, which are represented in Figure 10. The convective mass and heat transfer coefficients are set with the same values as in the previous case study.

The rain is present in the simulation between hours [START_REF] Rouchier | Identification of the hygrothermal properties of a building envelope material by the covariance matrix adaptation evolution strategy[END_REF]65 ] h , reaching a maximum value of 2 • 10 -4 kg/(m 2 • s) at 52 h , as presented in Figure 11( included at the left boundary, which causes a rapid increase of moisture within the material. The liquid flow from the rain can vary according to the wind speed [5]. In the literature [START_REF] Gasparin | Stable explicit schemes for simulation of nonlinear moisture transfer in porous materials[END_REF][START_REF] Hagentoft | Assessment Method of Numerical Prediction Models for Combined Heat, Air and Moisture Transfer in Building Components: Benchmarks for One-dimensional Cases[END_REF][START_REF] Janssen | Simulation efficiency and accuracy of different moisture transfer potentials[END_REF][START_REF] Rouchier | Influence of concrete fracture on the rain infiltration and thermal performance of building facades[END_REF], it is possible to find values within the range [ 2 • 10 -5 , 8 • 10 -4 ] kg/(m 2 • s) . Simulations were performed using the bvp4c, with relative and absolute tolerances of the solver set to 10 -5 . The time is incremented with a discretization of ∆t ⋆ = 10 -1 , with an initial guess composed by 20 spatial nodes, for both the vapour pressure and the temperature. The main advantage of using the approach of MOHL is that there is no need to perform sub-iterations at each time step to consider the nonlinearities of the material properties. Besides, no special treatment is needed at the interface. Everything is handled automatically. For the Euler implicit solution, simulations have been performed with ∆x ⋆ = 10 -2 and ∆t ⋆ = 10 -1 . Figures 12(a) and 12(b) present the selected mesh for the last profile of temperature and vapour pressure fields, respectively, and also, the refined and the reference solutions. At each time iteration, the number of mesh points varies with an average of 498 mesh points for the moisture field and 235 mesh points for the temperature field. Due to high nonlinearities, a concentration of nodes is noted at the interface between materials and where the gradients are higher. For the domain of the second layer, with the finishing material, only 33 nodes were used to compute the vapour pressure field, where 20 are concentrated closer to the interface between the two materials. It indicates that the method proposed can be adapted according to the physical phenomenon.

The MOHL has demonstrated a good agreement with the reference solution given by Chebfun to reproduce the physical phenomenon. Distributions of the error ε 2 on function of x are shown in Figure 13. The error of the MOHL is ε ∞, v = 8.3 • 10 -4 for the vapour pressure and ε ∞, u = 10 -4 for the temperature. These values depend on the order of the discretization in time and on the chosen tolerance of the solver.

Figure 14(b) presents the relative humidity profiles when the rain flow occurs. It is possible to observe a liquid concentration on the left edge, and, a stable situation on the right edge. This behaviour is observed due to different material properties. As the second layer is less hygroscopic than the first layer, the rain flow crosses both materials and arrives at the right boundary with little intensity. Additionally, Figure 14(a) presents the temperature profiles for the same time instants. The temperature increases in the middle of the material are due to the moisture content gradients on the storage coefficient.

The evolution of temperature, vapour pressure and relative humidity at the boundary surfaces (x = 0 m and x = 0.12 m ) are shown in Figures 15(a), 15(b) and 15(c), respectively. The vapour pressure varies according to the sinusoidal fluctuations of the boundary conditions affected by the rain flow. At x = 0 m , the vapour pressure suddenly increases due to the rain flow imposed at the surface. The moisture due to the rain flow diffuses through both layers. Although, as the second layer is composed with a less hygroscopic material, the vapour pressure completely reaches this surface by 70 h . In Figure 15(a), it is possible to observe a peak of temperature on the right boundary, which is caused because the heat transfer coefficient under vapour pressure gradient k ⋆ T M is ten times higher in the second layer than in the first one.

Figure 16(a) indicates the sensible, the latent and the total heat fluxes over both materials, at the instant t = 60 h , a while after the peak of rain flow. Furthermore, Figure 16(b) presents the total moisture flow for the same time. In Material 1 , the sensible and latent heat fluxes have high values but with opposite signs. As the latent heat flux is slight higher they do not cancel each other. Material 2 has a higher diffusive coefficient than Material 1 , which explains the horizontal line for the fluxes and flow profiles. Another important point is that the total flux and flow across the interface between the two materials are continuous, which is consistent with the assumption of hydraulic continuity [START_REF] De Freitas | Moisture migration in building walls -Analysis of the interface phenomena[END_REF][START_REF] Derluyn | Influence of the nature of interfaces on the capillary transport in layered materials[END_REF].

The moisture storage coefficient and the moisture diffusive coefficients are shown in Figures 17(a) and 17(b), respectively. They are presented on function of the space distribution for different time instant t = { 40, 50, 60, 70 } h. The differences are high between the material properties and it is possible to observe the non-linearities due to the moisture content gradients.

Comparison of the numerical predictions with experimental data

In this section, the physical model with the MOHL numerical model is compared with experimental data gathered from the French project HYGRO-BAT [2]. The measurements were performed at the French laboratory LOCIE (Laboratory of Optimisation of the Conception and Engineering of the Environment). One dimensional coupled heat and moisture transfer through a single-layered wall is monitored by sensors placed within the material and at its surfaces. The liquid transfer k l in the moisture balance equation -Equation (2.1a) -is neglected in this study. Surface sensors provide boundary conditions for the coupled simulation, while the other sensors provide reference measurements for the model confirmation.

The wall considered in their study is composed of a 16-cm layer of wood fibre material, which is subjected to variations on the temperature and relative humidity for a 2-week period. The material properties are given in Table 5 of the Appendix A. The reference data for the evaluation is provided by temperature and humidity sensors SHT75 Sensirion, located at x = { 4, 8, 12 } cm inside the wall. They are located sparsely within the wall to avoid interferences among them. The sensors have an uncertainty of measurement of σ meas T = 0.3 • C for temperature and of σ meas φ = 0.018 for relative humidity. In addition, the uncertainty regarding the position of the sensors is of σ pos = 1 cm for the sensors located at x = { 4, 12 } cm and of σ pos = 0.5 cm for the other sensors. The uncertainty on position is higher for the sensor at x = { 4, 12 } cm , since according to the experiment design, they have been settled by perforating a whole in the wood fibre layer. The temperature and relative humidity at the interior and exterior boundaries are measured and given in Figures 18(a) and 18(b), respectively. In these figures, the uncertainties related to the sensors measurements are shown in gray color. At the interior boundary, the temperature is set to approximately 24 • C and the relative humidity set to 40 % , at the first week, and to 70 % at the second week. The exterior temperature and relative humidity values are given by their measurement at the boundary, which is filtered by a 2-cm coating layer, excluding solar radiation and driving rain phenomena. Thus, both boundaries are expressed as Dirichlet conditions for the model confirmation. For more details about the experiment one may refer to [START_REF] Rouchier | Hygric characterization of wood fiber insulation under uncertainty with dynamic measurements and Markov Chain Monte-Carlo algorithm[END_REF] and [START_REF] Rouchier | Identification of the hygrothermal properties of a building envelope material by the covariance matrix adaptation evolution strategy[END_REF]. In this wok, the temporal derivative of ρ w in Equation (2.1b) was also taken into account, differently from [START_REF] Rouchier | Identification of the hygrothermal properties of a building envelope material by the covariance matrix adaptation evolution strategy[END_REF].

For confirming simulations, the relative errorǫ -between the solutions and the data are computed as:

ǫ (t) def := Y num k (x k , t) -Y meas k (x k , t) 2 Y meas k (x k , t) ,
where Y num k is the computed solution and Y meas k is the measured data. Simulations are performed on a single-layered wall of a material that separates two ambiances. The initial condition for the temperature and vapour pressure profiles are given by an interpolation of the measurements at x = { 0, 4, 8, 12, 16 } cm , at the first time instant. The solver chosen to perform the MOHL method is the bvp4c, with relative and absolute tolerances set to 10 -4 . The solution has been computed with a time step of ∆t ⋆ = 0.1 , the equivalent of 6 min .

Results of the simulation are compared in terms of temperature and vapour pressure. Figure 19 presents the measured data and the simulation results in each one of the locations of the sensors, at x = { 4, 8, 12 } cm . The error between the predicted solution and the experimental observations is between the uncertainties of the sensors during almost all simulation period. The uncertainties are displayed on gray in Figure 19 and they are calculated according to the position of the sensor (σ posi ) and according to the sensor measurement error (σ meas ):

σ total = (σ meas ) 2 + (σ pos ) 2
where σ total are the total uncertainties regarding the temperature and the vapour pressure fields. The detailed computation of the measurement uncertainties can be verified in [START_REF] Berger | A new model for simulating heat, air and moisture transport in porous building materials[END_REF].

For the temperature evolution, the highest difference is when the relative humidity at the left boundary change from 40 % to 70 % . From the 7 th day, the measured value of temperature rises more than on the simulated one as can be observed in Figure 19(a). With the variations at the boundaries, the simulated temperature (v. Figures 19(c) and 19(e)) varies more than the measured temperature. It seems that the total diffusion coefficient of the temperature used for the simulation is higher than the real one. The difference between the simulated and measured values of temperature reaches a maximum of 2 • C affected by the moisture flow.

A high influence of the step on the relative humidity can be observed at x = 4 cm in Figure 19(b), which decreases along the thickness. Simulations do not completely follow the variations of vapour pressure, but not because of the numerical method, but because of the physical model, which does not consider liquid transport neither hysteresis. In Figures 19(d) and 19(f), the differences between simulations and measurements get higher, with the incoming moisture flow reaching a maximum of 77 Pa and 80 Pa , respectively. The absolute difference is higher at x = 4 cm , as it is closer to the left boundary and consequently to the incoming flow.

The relative error ǫ of the computed solutions are presented in Figure 20. Simulations with the MOHL method showed a good agreement with the reference data. The maximum relative error for temperature solution is 0.7 % and for vapour pressure is 5.7 % . The average error on the dynamic profiles is 0.2 % for temperature and 1.7 % for vapour pressure, values which are close to the ones obtained by Rouchier et al. [START_REF] Rouchier | Identification of the hygrothermal properties of a building envelope material by the covariance matrix adaptation evolution strategy[END_REF].

The MOHL method can provide a very accurate solution of the physical model. The difference that it is observed in Figure 19 is attributed to the model that describes the phenomenon, as previously mentioned, and to the values of the estimated properties. Nevertheless, despite these discrepancies, simulated results are considered satisfactory for the prediction of heat and moisture transport.

Conclusions

Mesh refinement is a great issue in the field of numerical simulations of thermal sciences problems. Therefore, the present article shows that the unsteady problem of heat and moisture transfer can be solved from a different perspective. Namely, we interchange the order of discretization by proposing a numerical model accurate to the order O (∆x 4 ∼ ∆x 6 ) with a moderate decrease of computational efforts. Traditionally, the numerical analysts discretize the differential governing equations first in space and, then, the coupled system of ODEs is solved in time. This approach is usually referred to as the Method Of Lines (MOL) [START_REF] Hamdi | Method of lines[END_REF].

Here, we proposed another point of view on the same problem, the so-called Method Of Horizontal Lines (MOHL). It consists of a semi-discretization; first, in time and only then in space using appropriate methods. So, the Initial-Boundary Value Problem (IVP-BVP) is replaced by a sequence of BVPs. Moreover, we took advantage of the fact that today there are well-tested robust adaptive numerical methods to tackle BVPs in one space dimension [START_REF] Hale | A Sixth-Order Extension to the MATLAB Package bvp4c of J. Kierzenka and L. Shampine[END_REF][START_REF] Shampine | Solving boundary value problems for ordinary differential equations in MATLAB with bvp4c[END_REF]. The resulting discretization is fully implicit, thus, unconditionally stable. In other words, the semi-discretization in time is not subject to any kind of restriction regarding the time step [8]. Thus, the time step can be chosen based on the accuracy considerations solely. The distribution of spatial nodes is adaptive and can change at every time step. The grid is further refined (or unrefined) to meet a prescribed error tolerance. The numerical solution error is estimated by computing the continuous residual (inside the domain and at the boundaries).

This new method has been evaluated on two numerical case studies of heat and moisture transfer in porous media. Each case aimed at exciting the non-linear properties of the material to induce sharp profiles of temperature and vapour pressure. The first case considered a single material layer with sinusoidal variations of boundary conditions, taking into account a sudden rain effect at one boundary. The second case studied the heat and moisture diffusive transfer through a multi-layered material. For both cases, the numerical method has shown a high accuracy and perfect agreement with the respective reference solutions. The error was of the order O (10 -4 ) or less. The advantage of the proposed method is the adaptive spatial mesh grid according to the solicitations of the physical phenomena. Moreover, it has been demonstrated that for the same order of accuracy of the solution, the MOHL numerical model is twice faster than the classical implicit Euler with central finite-difference approach. In the multilayered domain case study, for example, the nodes were concentrated at the interface between materials and at higher gradients, which allowed a solution with high order of accuracy.

The last case study aimed at highlighting the use of the numerical model to compare the numerical predictions with experimental data. The configuration represents a one layer wall exposed to climatic boundary conditions. On the other side, the boundary conditions are controlled so as to impose a step in relative humidity from 40 % to 70 % with a constant temperature. The comparison revealed a satisfactory agreement between the numerical results and the experimental data. The MOHL numerical model can provide a very accurate solution of the physical model to predict the heat and moisture transfer in porous materials.

As a technical improvement of the present method, there is another possible direction. Namely, one could notice that we have used a higher-order (at least, fourth order) C 1 continuous interpolation in space and only second-order discretization in time. It might appear as an imbalanced discretization. Hence, this point might be improved in future works by choosing higher-order differentiating in time as well. Another improvement can be achieved if we generalize the method to non-uniform time steps as well. For the dimensionless properties of the material, they can be written as:

Nomenclature

c ⋆ M (v) =

B.2. Case from Section 4.2

Problem (2.3) is considered with Fo T = 0.02 , Fo M = 0.07 , γ 1 = 0.01 and γ 2 = 0.13 . The reference time is t 0 = 1 h , and, the final simulation time is fixed to τ ⋆ = 120 . The reference temperature and vapour pressure were taken the same as the initial condition. At the boundaries, the Biot numbers assume the following values: Bi M, L = 4.4 , Bi M, R = 0.6 , Bi T, L = 6 , Bi T, R = 2 , Bi T M, L = 0.1 and Bi T M, R = 0.02 . The ambient temperature, vapour pressure and rain flow are written as follows: u ∞, L (t ⋆ ) = 1 -0.02 • sin ( 2 π t ⋆ /24 ) , u ∞, R (t ⋆ ) = 1 + 0.01 • sin ( 2 π t ⋆ /48 ) , v ∞, L (t ⋆ ) = 0.5 + 0.3 • sin ( 2 π t ⋆ /48 ) 2 • P s (u ∞, L (t ⋆ ) • T 0 )/P v, 0 , v ∞, R (t ⋆ ) = 0.5 + 0.2 • sin ( 2 π t ⋆ /72

) 2 • P s (u ∞, R (t ⋆ ) • T 0 )/P v, 0 , g ⋆ ∞, L (t ⋆ ) = 3.8 • sin (π t ⋆ /105) 70 , q ⋆ ∞, L (t ⋆ ) = 1.8 • 10 -4 • g ⋆ ∞, L (t ⋆ ) • (u ∞, L -u ref ) .

B.3. Case from Section 5

Problem (2.3) is considered with Fo T = 0.06 , Fo M = 0.02 , γ 1 = 5.17

  the total moisture transfer coefficient under vapour pressure gradient, k T M def := L v δ v : the heat coefficient due to a vapour pressure gradient, k T def := λ : the heat transfer coefficient under temperature gradient, c M def := w ′ (φ) P s (T ) : the moisture storage coeficient, c T def := ρ 0 c 0 + w (φ) c w : the energy storage coeficient, c T M def := c w T w ′ (φ) P s (T ) : the coupling storage coefficient.

Figure 1 .

 1 Figure 1. The classical numerical solution strategy based on the MOL (a) and the proposed approach view based on BVPs (b).

1: Initialization; 2 :

 2 Define functions: ODE of v and ODE of u ; ⊲ from Equation (3.6) and (3.7) 3: Define functions: BC of v and BC of u ;

Figure 2 .

 2 Figure 2. Temperature T (a) and relative humidity φ (b) boundary conditions.

  of the Appendix A. Initial conditions are considered uniform over the spatial domain, with an initial temperature of T i = 293.15 K and an initial vapour pressure of P v, i = 1636.53 Pa , referent to the relative humidity of 70 % . The boundary conditions, represented by the relative humidity φ and temperature T , are shown in Figure 2. They oscillate during 72 hours of simulation. The convective mass and heat transfer coefficients are set to h M = 2 • 10 -7 s/m and h T = 25 W/(m 2 • K) at the left boundary, and to h M = 3 • 10 -8 s/m and h T = 8 W/(m 2 • K) , at the right boundary. No additional source term is considered for the moment.

Figure 3 .

 3 Figure 3. Selected mesh determined by bvp4c for the last profile (at t = 72 h) of temperature (a) and vapour pressure (b) fields.

Figure 4 .

 4 Figure 4. Evolution of the temperature (a), vapour pressure (b) and of the relative humidity (c) on the edges of the material (at x = 0 m and x = 0.1 m ).

Figure 5 .

 5 Figure 5. Temperature (a) and relative humidity (b) profiles at different times.

Figure 6 .

 6 Figure 6. Error ε 2 computed over the time with the MOHL and the Euler approaches, for the dimensionless temperature -u-and vapour pressure -vsolutions.

Figure 7 .

 7 Figure 7. Sensible, latent and total heat fluxes at the left boundary and (a) at the right boundary (b), for the one-layer case.

Figures 7 (

 7 Figures 7(a) and 7(b) present the sensible and latent heat fluxes at the left and right boundaries. As illustrated in those figures, the sensible heat flux is the main component of the surface energy balance. The latent heat flux at the right boundary slightly changes with the step on the relative humidity at t = 36 h , showing its little influence on the heat diffusion.The total moisture flow (liquid plus vapour) at both boundaries are shown in Figure8. As it can be observed, the flow follows variations of the boundary conditions. Furthermore, the left boundary has higher variations because its convective mass transfer coefficient is higher than the one at the other boundary. The step of relative humidity at the right boundary can also be observed on the moisture flow which suddenly changes.

Figure 8 .

 8 Figure 8. Moisture flow at the boundaries, for the one-layer case.

  a), which generates a sensible heat flux of 12 W/m 2 at this boundary as shown in Figure 11(b). The rain flux is

Figure 9 .

 9 Figure 9. Schematic representation of the two-layered wall.

Figure 10 .

 10 Figure 10. Boundary conditions of temperature T (a) and relative humidity φ (b) for the multilayered case.

Figure 11 .Figure 12 .

 1112 Figure 11. Rain flow imposed at the left boundary (a) and the sensible heat flux caused by the rain (b).

Figure 13 .

 13 Figure 13. Error ε 2 computed for the MOHL method, for the temperature and vapour pressure solutions of the multilayered case.

Figure 14 .

 14 Figure 14. Temperature (a) and relative humidity (b) profiles at different times for the multilayered case.

Figure 15 .

 15 Figure 15. Evolution of the temperature (a), of vapour pressure (b) and of relative humidity (c) on the boundary surfaces for the multilayered case.

Figure 16 .Figure 17 .

 1617 Figure 16. Profile of sensible, latent and total heat fluxes (a) and of moisture flow (b) at t = 60 h .

Figure 18 .

 18 Figure 18. Ambient temperature (a) and relative humidity (b) of the experimental investigation.

Figure 19 .

 19 Figure 19. Evolution of the temperature and vapour pressure at x = { 4, 8, 12 } cm inside of the material of the measured data versus the simulation solution.

Figure 20 .

 20 Figure 20. Relative error of the simulated temperature (a) and vapour pressure (b) solutions computed at the interior of the material.

169. 5

 5 v 5 -814.2 v 4 + 534.4 v 3 + 2625 v 2 -4642 v + 2217 v 5 + 2182v 4 -12520v 3 + 27210v 2 -26680 v + 10050 , c ⋆ T (v) = 246.6 v 2 -778.9 v + 656.9 v 4 -41.37 v 3 + 395.2 v 2 -985.6 v + 760.7 , c ⋆ T M (v) = 4207 v 4 -24860 v 3 + 50920 v 2 -43030 v + 14570 v 3 + 8614 v 2 -28190 v + 23480 , k ⋆ M (v) =4.045 v 6.448 + 16.23 , k ⋆ T (v) = 15.3 v 2 -46.53 v + 38.04 v 4 -10.46 v 3 + 46.24 v 2 -85.34 v + 56.1 , k ⋆ T M (v) = 1.644 v 2 -7.013 v + 7.505 v 4 -3.133 v 3 + 4.859 v 2 -8.003 v + 7.408 .

  The properties are scaled with the following reference values:c M, 0 = 0.061 , c T, 0 = 1.6862 • 10 6 , c T M, 0 = 5.0963 • 10 3 , k M, 0 = 5.4712 • 10 -9 , k T, 0 = 0.5021 , k T M, 0 = 0.0161 . 139.5 v 4 -668 v 3 -28.81 v 2 + 1191 v + 974.1 v 5 + 333.6 v 4 -1308 v 3 + 448.4 v 2 + 943.6 v + 1468 , k ⋆ T M (v) = -77400 v 4 + 202700 v 3 -245700 v 2 + 239400 v + 120600 v 5 -8436 v 4 + 22580 v 3 -26780 v 2 + 25320 v + 12160 .

• 10 - 3

 3 and γ 2 = 7.72 • 10 -3 . The reference time is t 0 = 1 h , and, the final simulation time is fixed to τ ⋆ = 336 . The reference temperature is T 0 = 293.15 K and the reference vapour pressure is P v, 0 = 1166.91 Pa .The boundary conditions are gathered from the experimental data and just adimensionalized. The dimensionless form of the initial condition are:u 0 (x ⋆ ) = -0.08806 • (x ⋆ ) 4 + 0.1688 • (x ⋆ ) 3 -0.1143 • (x ⋆ ) 2 -0.01621 • x ⋆ + 1.015 , v 0 (x ⋆ ) = -0.408 • (x ⋆ ) 4 + 1.188 • (x ⋆ ) 3 -1.053 • (x ⋆ ) 2 + 0.08969 • x ⋆ + 1.092 .

Figure 21 .

 21 Figure 21. Comparison of the solutions computed for a two-layers domain problem.

Table 1 .

 1 Maximum error ε ∞ computed with different tolerances with the solver bvp4c.

	tol	ε ∞, u	mesh	ε ∞, v	mesh CPU time
	10 -6 3.5 • 10 -5	19	2.1 • 10 -4	21	21.9 s
	10 -5 1.5 • 10 -4	10	4.5 • 10 -4	15	15.9 s
	10 -4 1.5 • 10 -4	10	8.9 • 10 -4	11	15.3 s
	10 -3 1.5 • 10 -4	10	5.4 • 10 -4	10	13.9 s
	10 -2 1.5 • 10 -4	10	2.3 • 10 -4	10	13.3 s
	10 -1 1.5 • 10 -4	10	7.2 • 10 -3	10	13.1 s

Table 2 .

 2 Features and CPU time of the methods implemented in the single layer

	case study.
		BVP	Euler implicit Euler explicit
	∆t ⋆	10 -1	10 -2	10 -5
	N x, u	10	101	201
	N x, v	15	101	201
	ε ∞, u	O (10 -4 )	O (10 -4 )	O (10 -4 )
	ε ∞, v	O (10 -4 )	O (10 -4 )	O (10 -4 )
	CPU time s	18.5	57.5	2572
	CPU time -	0.49	1	44

Acknowledgements

The authors acknowledge the Brazilian Agencies CAPES of the Ministry of Education for the financial support of this work, which was conducted during a scholarship supported by the International Cooperation Program CAPES/COFECUB (Grant # 774/13). The authors also acknowledge the Junior Chair Research program "Building performance assessment, evaluation and enhancement" from the University of Savoie Mont Blanc in collaboration with The French Atomic and Alternative Energy Center (CEA) and Scientific and Technical Center for Buildings (CSTB).

Parameters involved in the dimensionless representation

q ⋆ , g ⋆ source terms

[-]

A. Material properties Table 3. Hygrothermal properties of the load bearing material [START_REF] Hagentoft | Assessment Method of Numerical Prediction Models for Combined Heat, Air and Moisture Transfer in Building Components: Benchmarks for One-dimensional Cases[END_REF].

Property Value Unit

Thermal capacity

Sorption isotherm w (φ) = 47.1 1 + -1692.94 • ln(φ)

Vapour permeability δ v (φ) = 6.413

Thermal conductivity λ (φ) = 0.5 + 0.0045

The reference time is t 0 = 1 h, thus, the final simulation time is fixed to τ ⋆ = 72 . The reference temperature and vapour pressure were taken the same as the initial condition. At the boundaries, the Biot numbers assume the following values: Bi M, L = 3.65, Bi M, R = 0.55 , Bi T, L = 6.45 , Bi T, R = 2.06 , Bi T M, L = 0.13 and Table 4. Hygrothermal properties of the finishing material [START_REF] Hagentoft | Assessment Method of Numerical Prediction Models for Combined Heat, Air and Moisture Transfer in Building Components: Benchmarks for One-dimensional Cases[END_REF].

Property Value Unit

Thermal capacity

Table 5. Hygrothermal properties of the wood fibre [START_REF] Rouchier | Identification of the hygrothermal properties of a building envelope material by the covariance matrix adaptation evolution strategy[END_REF].

Property Value Unit

Thermal capacity

Bi T M, R = 0.02 . The temperature and vapour pressure vary sinusoidally over the time as the following expressions:

The properties are dimensionalised with the following reference values:

The dimensionless properties of the material can be written as:

.343 • 10 -4 v + 0.9994 , with the following reference values:

C. Analytical solution for the interface assumptions

Consider the simplified boundary value problem:

The problem at the left can be written as:

And, the problem at right as:

The analytical solution of Problems (C.1) and (C.2) are, respectively:

, whit the following derivatives:

By assuming that the solution is continuous, u 1 (0) ≡ u 2 (0) , we can have the relation between the constants:

If we assumed that the flux is continuous at the interface x = 0 we have:

0) , which leads to the following relation:

Although, if we assumed that the derivative solution is continuous at the interface x = 0 we have:

0) , which leads to the following relation:

Now, we have two analytical solutions, one that considers the flux continuous, called here as Analytical-A, and the other analytical solution that consider the derivative solution continuous, called here as Analytical-B. Figure 21 presents both analytical solutions, with the Chebfun solution and the one computed with MOHL. It is shown that the Chebfun and MOHL solutions are in perfect agreement with the solution Analytical-B. This means that both numerical solutions compute the more regular solution and the flux is not continuous at the interface.