## Abstract

Soil salinization is a major cause of soil degradation and hampers plant growth. For soils saturated with saline water, the evaporation of water induces accumulation of salt near the top of the soil. The remaining liquid gets an increasingly larger density due to the accumulation of salt, giving a gravitationally unstable situation, where instabilities in the form of fingers can form. These fingers can, hence, lead to a net downward transport of salt. We here investigate the appearance of these fingers through a linear stability analysis and through numerical simulations. The linear stability analysis gives criteria for onset of instabilities for a large range of parameters. Simulations using a set of parameters give information also about the development of the fingers after onset. With this knowledge, we can predict whether and when the instabilities occur, and their effect on the salt concentration development near the top boundary.

## 1 Introduction

Evaporation of saline water from soils can cause accumulation of salts in the upper part of the soil, which has a large environmental impact as it hampers plant growth and affects biological activities (Daliakopoulos etÂ al. 2016). As water evaporates, the salts accumulate near the top of the porous medium, which has a negative impact on root water uptake (Chaves etÂ al. 2008). If the solubility limit of the salt is exceeded, the salts precipitate. In this case, a salt crust at the top of the soil is formed, disconnecting the soil from the atmosphere (Chen 1992; Jambhekar etÂ al. 2015; Mejri etÂ al. 2017). The appearance of the salt crust strongly affects the growth conditions for many agricultural plants (Pitman and LÃ¤uchli 2002; Singh 2016). In arid regions, for example in Tunisia, soil salinization and soil crust formation are already interfering with and disabling agricultural activities (Mejri etÂ al. 2020). This is not a new problem, but is gradually causing a greater impact as larger areas are affected (Vereecken etÂ al. 2009).

Different observations in natural systems show that evaporation processes from soils cause an accumulation of salts in the upper part of the soil (Allison and Barnes 1985). This can again lead to salt precipitation, creating salt lakes and/or density-driven currents due to varying salt concentrations (Duffy and Al-Hassan 1988; Geng and Boufadel 2017). As salts accumulate at the top of the soil due to water evaporating, the density of the remaining liquid increases with increased salt concentrations (Geng and Boufadel 2015, 2017). This may lead to a gravitationally unstable setting since the liquid near the top of the soil is the heaviest, due to the accumulated salts (Gilman and Bear 1996; Nield and Bejan 2017; Wooding etÂ al. 1997). When the soil is permeable, density instabilities in the form of fingers can be triggered (Wooding etÂ al. 1997), which is also relevant in the context of CO\(_2\) storage (Elenius etÂ al. 2012; Riaz etÂ al. 2006). The formation of density instabilities in the form of fingers induces a downward transport of the accumulated salts from the upper part of the soil toward the lower part, where the salt concentration is lower. Hence, when the density instabilities develop, they can hinder the salt concentrations near the top of the soil to exceed its solubility limit. However, for soils of low permeability, these instabilities will typically not develop, or they develop at a later time. Under these conditions, salts will continue to accumulate until salt precipitates, and a salt crust at the top of the soil is formed. This means that the occurrence of salt precipitation is tightly connected to the development of convective instabilities. Hence, understanding the process of soil salinization and the interplay with density instabilities is key questions to prevent degradation of soil quality and to ensure food production (Shokri etÂ al. 2010; Shokri-Kuehni etÂ al. 2020).

It is well-known that the question of whether the density instabilities occur, can be addressed by a linear stability analysis. Such an analysis has been applied to a wide range of porous-media problems where the density difference creates a gravitationally unstable setting (Nield and Bejan 2017). The onset of instabilities where an increased salt concentration at the top of the porous domain triggers the instabilities, is analyzed in Elenius etÂ al. (2012); Riaz etÂ al. (2006); van Duijn etÂ al. (2019). Fingers are found to appear when the strength of the density difference overcomes the resistance of the porous medium. This is usually expressed and quantified through a critical threshold of the Rayleigh number, such that when the Rayleigh number is larger than this threshold, instabilities can occur. A density difference, and hence a change in salt concentration, is needed to induce instabilities. Hence, a strong diffusion would hinder the density difference to be strong enough, as the concentration profile is smoothed. A large resistance of the porous medium, which corresponds to a small permeability, makes it more difficult for the density difference to trigger instabilities.

The above-mentioned works on salt-induced instabilities consider a prescribed salt concentration or a prescribed density on the top boundary (Elenius etÂ al. 2012; Riaz etÂ al. 2006; van Duijn etÂ al. 2019). When considering evaporation from a porous medium, the salt concentration at the top boundary develops with time as the water gradually evaporates and the dissolved salts remain. As we will see later, this can be modeled with a Robin-type boundary condition for the salt, which means that the value of the salt concentration is connected to its gradient at the top boundary. Such boundary conditions have been considered in other linear stability problems, see e.g., Barletta etÂ al. (2009); Hattori etÂ al. (2015).

In this work, we consider soils that remain fully saturated with water throughout the evaporation. This means that we consider a case where the modeled porous medium is connected to a deeper groundwater aquifer, which is also fully saturated. The deeper groundwater aquifer supplies the modeled soil with water during the evaporation. We also assume that the capillary pressure of the system remains below the entry pressure of the soil, such that the soil remains fully saturated. If conditions of partial saturation occur, it would be necessary to include also the flow of air through the unsaturated zone, or to use Richards equation. Evaporation would typically lead to an unsaturated zone in the upper part of the porous medium, which again has an impact on the evolution of the salt concentration (Shokri etÂ al. 2010; Shokri-Kuehni etÂ al. 2020).

Following the above assumptions, the evaporation of water induces a vertical, upward throughflow through the domain. The effect of upward throughflow with a given density difference between the top and bottom boundaries has been found to have a stabilizing effect on the onset of instabilities (Homsy and Sherwood 1976; van Duijn etÂ al. 2002). That means, a stronger upward throughflow would increase the critical Rayleigh number, making it more difficult for the density difference to trigger the formation of downward-flowing fingers. It is, hence, not obvious whether an increased evaporation flux of water would have a stabilizing or destabilizing effect: an increased evaporation leads to an increased upward throughflow, which stabilizes the system, but at the same time the accumulation of salts near the top boundary is increased, which destabilizes.

The method of linear stability gives estimates for the onset of gravitational instabilities and for the time of their appearance, by considering a simplified system of equations. However, estimates for a large range of parameters can be found at low costs. After the instabilities have formed, one has to rely on numerical simulations of the governing model equations to address the further development of the salt concentration. Numerical simulations can give information on the strength and shape of the appearing convection pattern, as well as their effect on the salt transport and salt precipitation. However, these numerical simulations are expensive and need to be performed on bounded domains. Although we consider a simplified setup by assuming fully saturated conditions, this proposed analysis gives valuable insight for this idealized case and creates a starting point for further analysis when incorporating an unsaturated zone in the future.

This paper is organized as follows. In Sect. 2, we formulate the general model equations together with initial and boundary condition to address evaporation from a porous medium saturated with saline water. In Sect. 3, we consider a simplified model, for which we perform a linear stability analysis, giving criteria for when instabilities can occur. Section 4 explains the numerical framework used to simulate the general model. The results from the linear stability analysis and the numerical simulations are compared and discussed in Sect. 5, before final remarks are given in Sect. 6.

## 2 Mathematical Model

This section describes the physical assumptions, the domain, the partial differential equations and the boundary and initial conditions which form the mathematical model considered in this paper to describe evaporation from the top of a porous medium and the subsequent changes within the medium. Figure 1 sketches the domain together with the most important model choices. All variables and parameters are summarized in TableÂ 1.

### 2.1 Domain and Model Equations

The considered domain is unbounded in the vertical direction and either bounded or unbounded in the horizontal directions. Specifically, we consider either

or

where \({\mathcal {W}}\) denotes the horizontal half width. Note that the positive vertical direction is pointing downward: hence, \(z=0\) indicates the top of the domain. Within our domain, we consider mass conservation of water and salt, along with Darcyâ€™s law representing the momentum conservation. The porous medium is assumed to be fully saturated with liquid, and the liquid consists of water and dissolved salt. Exemplary, the salt sodium chloride NaCl is used. We formulate the conservation of each of these two components independently. Both water and salt are advected with the liquidâ€™s velocity, and both are subject to diffusion:

Here, \(\kappa \in \{\mathrm {w, NaCl} \}\) represents the two components of the liquid phase, and \({\mathsf {x}}^\kappa\) denotes the mole fraction of the component \(\kappa\). Hence, the sum of these two mole fractions is by definition 1, which is also reflected in (3). Further, \(\phi\) is porosity, \(\rho _\mathrm {mol}\) is the molar density of the liquid phase, and *M* is the molar mass of the liquid mixture. Finally, *D* is the effective diffusivity of the components in the mixture. Note that *D* represents the diffusion of water mixed with salt, which is why we use the same diffusion coefficient for both components. A large diffusivity *D* would lead to disturbances and gradients in the concentration fields being quickly smoothed away. The reaction term \(r^\kappa\) accounts for chemical reactions inside the domain and is only non-zero when salt precipitation takes place within the porous medium. This means, \(r^\mathrm {w} =0\) while

where \({\mathsf {x}}^\mathrm {NaCl}_{\text {max}}\) is the solubility limit of NaCl. Hence, we have a sink term for NaCl in (3) when \({\mathsf {x}}^\mathrm {NaCl}\) exceeds its solubility limit. The Darcy flux \({\mathbf {Q}}\) is given by

where the permeability *K* is assumed to be a scalar, as the porous medium is assumed to be isotropic. The liquid viscosity \(\mu\) is assumed to be constant. Here we use the mass density \(\rho\) of the liquid phase. Finally, *P* is the pressure, and *g* is gravity. Note that the unit vector \({\mathbf {e}}_z\) points downward. Also note that a larger density of the liquid supports a stronger downward flow.

We assume that the liquid density varies with the salt mass fraction \(X^\mathrm {NaCl}\) through the linear dependence

where \(\rho _{0}\) and \(X^{\mathrm {NaCl}}_0\) are the initial liquid density and salt mass fraction, and \(\gamma\) is a volumetric constant. Note that the initial salt mass fraction is a constant and hence corresponds to a uniform salt distribution in space. The conversion between molar density and mass density is through

where the molar mass *M* of the liquid mixture also depends on the salt content. Both molar and mass liquid density increase with the salt concentration. Note that if a different type of solute is considered, expression (6) still applies, although with a different value of \(\gamma\).

If the salt exceeds its solubility limit, salt precipitates and becomes part of the solid. In this case, the porosity \(\phi\) will change with time, and we apply a mole balance for the solid salt to describe this process:

Here, \(\rho _\mathrm {mol,solid}\) is the molar density of the solid salt phase and \(r_\mathrm {solid}\) the reaction term. We have that \(r_\mathrm {solid}=-r^{\mathrm {NaCl}}\). When there is precipitation, the porosity of the porous medium and thus the permeability decreases. For the calculation of the permeability, a Kozeny-Carman-type relationship based on the initial values \(\phi _0\), \(K_0\), is used:

Note that as long the salt remains below the solubility limit, there is no precipitation, and \(\phi\), *K* remain equal to their initial values \(\phi _0\), \(K_0\). These initial values are constants, and hence correspond to an initially homogeneous porous medium.

### 2.2 Discussion of Physical Processes

In Fig. 2, the relevant fluxes described by Eq. (3) and (5) are illustrated in the context of the development of instabilities. Darcyâ€™s law describes the convective flux depending on a pressure gradient force and a gravitational force. In the considered setup, the pressure gradient generates an upward force due to evaporation at the top, while the gravitational force, however, points downward. Hence, the resulting convective flux depends on the balance of the two counter-effective forces.

Considering a perturbation with increased salt concentration and liquid density, the increased density induces stronger gravitational forces. In case of a still dominating pressure gradient force, the convective flux is in upward direction but slowed down at the location of the perturbation. This leads to a compensation of the flux by the fluxes from the surrounding, which accumulates salt and thus enhances the perturbation. This means that the salt accumulation increases the density and gravitational force even more, which can lead to a dominating gravitational force. In this case, a resulting convective downward flux is generated, which leads to a development of so-called fingers which transport the accumulated salt downward. In addition, diffusive fluxes are considered in Eq. (3). The development of instabilities is counteracted by the diffusive transport, which tries to balance out the concentration differences. Hence, the balance of the counteracting convective and diffusive fluxes determines if and how fast instabilities develop.

Parameters like the permeability for the porous medium, the diffusion coefficient for the fluid mixture or the evaporation rate as boundary condition have also an important influence on the development of the instabilities. In case of higher permeabilities, for example the convective flux is enhanced compared to the diffusive flux. This leads to a faster development of the instabilities.

### 2.3 Initial and Boundary Conditions

As initial conditions, we take, see (6) and (8),

At the top of the domain, we allow water to evaporate while salt remains behind. This corresponds to specifying a given molar flux \(E_\mathrm {mol}\) for the water component, while a zero flux is considered for NaCl:

Since the vertical unit vector \({\mathbf {e}}_z\) points downward, the evaporation flux \(E_\mathrm {mol}>0\) corresponds to an upward flux of water. In general, the Darcy flux \({\mathbf {Q}}\) will be non-zero on the top boundary due to the presence of the evaporative flux. This also means that the no-flux boundary for salt (13) is a Robin boundary condition. Since water escapes through the top boundary while salt remains behind, we expect an accumulation of salt concentration near the top boundary. Increasing \(E_\mathrm {mol}>0\) yields the concentration of NaCl increasing faster near the top boundary. We will here assume a prescribed evaporation flux that is constant with respect to both time and space. This is a simplification, especially when time periods of more than a few hours are considered (Heck etÂ al 2020) and should in this case be interpreted as an averaged evaporation flux.

Since the domain is semi-infinite in the vertical direction, boundary conditions at the bottom boundary are not needed. There the values are inherited from the initial conditions.

For the horizontal extent of the domain, we separate between the bounded and unbounded case. In the unbounded case, we do not need any boundary conditions in the horizontal direction. For the bounded case, we apply no-flux boundary conditions at the vertical walls. This corresponds to

where \({\mathbf {n}}\) is the horizontal unit vector pointing out of the sidewalls of the bounded domain \(\varOmega _{{\mathcal {W}}}\).

The general equations formulated here form the starting point for our further investigation of evaporation from the porous medium and subsequent onset of density instabilities. For the linear stability analysis in Sect. 3, we use a slightly simplified system of equations and cast the equations in non-dimensional form to keep the analysis as general as possible. The numerical setup described in Sect. 4 uses the model as described above, but using bounded domains. The comparison between the two approaches in Sect. 5 considers the dimensional case in order to connect back to the physical problem.

## 3 Linear Stability Analysis

To address when instabilities can occur and give a criterion for the onset of instabilities depending on the model parameters, we perform a linear stability analysis following relatively standard steps, but giving a non-standard outcome due to the special setup following the evaporation from the top boundary.

To accommodate the linear stability analysis, we consider here slightly simplified model equations than the general presented in Sect. 2. These simplified equations are non-dimensionalized to find ratio of parameters that characterize the overall behavior. The equations are non-dimensionalized using identified reference values characterizing the setup. As we have somewhat untypical boundary conditions due to the evaporation at the top boundary, the chosen reference values are non-standard. From the non-dimensional formulation, we derive a time-dependent stable solution ("the ground state"). Due to the gradually growing salt concentration following the evaporation, the salt ground state is unbounded and does not exhibit a steady state. For finite times, the time-dependent ground state is perturbed using the frozen-profile approach, in order to address its stability. Since the perturbed quantities are small, we linearize the equations for the perturbed quantities. The linearized perturbation equations are then finally formulated as an eigenvalue problem, which is solved numerically. This will give information on the stability of the ground state as a function of time.

Note that the linear stability analysis is made general in the sense that it is also applicable for salt types other than NaCl by adjusting the value of corresponding parameters, in particular of the volumetric constant \(\gamma\).

### 3.1 Simplified Model Equations

We apply the method of linear stability for a simplified version of the model presented in Sect. 2. We assume that the salt is completely dissolved and that its mass fraction is small compared to the mass fraction of water. We take advantage of the fact that \({\mathsf {x}}^\mathrm {w}\approx 1\) and hence simplify the mass conservation equation for water. Then we invoke the Boussinesq approximation, meaning that the liquid density \(\rho\) can be considered constant except in the gravity term of Darcyâ€™s law. Further, we disregard salt precipitation, which means that the simplified model is only valid up to the salt reaches its solubility limit. Porosity and permeability will, hence, remain constant. With these simplifications, Eq. (3) reduce to

where *X* is the mass fraction of salt. Since only salt mass fraction is used as a variable in the following, we skip the superscript. Darcyâ€™s law is kept as in (5), and the density of the liquid is still depending linearly on the salt concentration (6). Note that these model equations are simplified since varying water mass fraction is not accounted for, and since we apply the Boussinesq approximation. However, for relatively low variability in the salt content (i.e., below the solubility limit of salt), these assumptions are reasonable.

As initial condition for the salt, we use the corresponding version of (10), namely

where \(X_0\) is the initial mass fraction, and the boundary conditions (14) at the sidewalls are, hence, correspondingly formulated for *X*.

Due to the difference in addressing the mass of water and salt, the boundary conditions (12) and (13) are replaced with

where *E* is the evaporation rate in terms of a volume flux of water. The two evaporation fluxes \(E_{\mathrm {mol}}\) and *E* are related through

For convenience and to identify parameter dependencies, we will recast the equations in a dimensionless form.

### 3.2 Non-dimensional Model

The corresponding non-dimensional variables are denoted by a hat:

We choose reference quantities that are meaningful to address the effect of evaporation, taking into account that the domain is vertically unbounded and that no prescribed density difference is given.

As length reference, we choose an intrinsic length, namely the ratio between diffusion and evaporation \(\ell _{\text {ref}} = D/E\), which quantifies the length scale at which diffusion can smooth out concentration differences caused by the evaporation. As time reference, we use \(t_{\text {ref}}=\phi \ell _{\text {ref}}/E=\phi D/E^2\), which corresponds to the natural time scale for evaporative transport inside the porous medium. As reference concentration and density, we use the initial concentration and density; \(X_{\text {ref}}=X_0, \rho _{\text {ref}}=\rho _0\gamma X_0\). Note that the salt mass fraction is itself non-dimensional, hence the new variable \({\hat{X}}\) is only a scaled version of *X*. For density-driven instability problems, there is usually a prescribed density difference, which is used as the reference density. However, this is not the case here due to the no-flux boundary condition used for salt. Since the salt concentration, and hence, the density could grow unbounded, this model problem does not exhibit a natural density difference. Hence, the initial density scaled with \(\gamma\) and \(X_0\) is used as reference density. We have here chosen to include also \(\gamma\) and \(X_{0}\) in the reference density for convenience. This choice is not essential for the non-dimensionalization and not including these two factors would essentially give the same results in the linear stability analysis, just accordingly scaled. The reference velocity is set as a gravitational velocity \(Q_{\text {ref}}= {\rho _{\text {ref}}g}K/\mu\), and the reference pressure is chosen to balance the velocity in Darcyâ€™s law \(P_{\text {ref}}=\mu \ell _{\text {ref}} Q_{\text {ref}}/K\). To summarize all choices, we list them below:

We finally introduce the evaporative Rayleigh number \(R = Q_{\text {ref}}/E\). Hence, the Rayleigh number describes the ratio between the gravitational flow and the flow induced by the evaporative flux at the top boundary. Note that a larger evaporation rate corresponds to a smaller Rayleigh number. Summarizing, we have

### Remark 1

In many density-driven instability problems, a typical density difference is used in the reference velocity \(Q_{\text {ref}}\) and hence in the Rayleigh number *R* (see e.g., Riaz etÂ al. 2006). However, in our model setup no typical density difference appears as we do not prescribe a fixed density at the top of the domain. Instead, we propose a reference velocity that only involves the initial density \(\rho _0\). The choice of reference velocity does not affect the linear stability analysis results.

### Remark 2

Note that the definition of the Rayleigh number does not include the diffusion coefficient *D*. Here it appears in the reference length, and hence also in the reference time. As we will see later, the critical Rayleigh number will be a function of non-dimensional time and a non-dimensional length parameter, which indirectly gives the dependence of the onset of instabilities on the diffusion.

The non-dimensional model equations are then

where the non-dimensional density is given as

For the non-dimensional variables, we have the initial condition

and boundary conditions at the top boundary

In the bounded case, the no-flux boundary conditions are imposed on \({\hat{x}},{\hat{y}}=\pm {\hat{\beta }}\), where \({\hat{\beta }} = {\mathcal {W}} E/D\). Hence

### 3.3 Ground State Solution

We will investigate the stability of a particular solution of the system of Eqs. (26)â€“(28) under the conditions (30)â€“(32). This solution depends on \({\hat{z}}\) and \({\hat{t}}\). It is called the *ground state* and is denoted by \(\{\hat{{\mathbf {Q}}}^0,{\hat{X}}^0,{\hat{P}}^0 \}\).

For the ground state discharge \(\hat{{\mathbf {Q}}}^0({\hat{t}},{\hat{z}})\), it is clear from (26) together with the boundary condition (31) that the only possible solution is

that is, a constant upward velocity according to the prescribed evaporation rate.

The ground state salt mass fraction \({\hat{X}}^0({\hat{t}},{\hat{z}})\) fulfills the following problem:

In Appendix A, we show that this problem has the explicit solution

where

Note in particular that

enabling a simple evaluation of the integral in (38). The solution is shown in Fig. 3. Clearly, the salt concentration at the top of the domain gradually increases with time and diffuses down through the domain.

Note that since (28) (and hence (35)) does not incorporate the precipitation rate in case the salt mass fraction exceeds the solubility limit, the solution (38) is only valid up to the point where the salt mass fraction at the top reaches the solubility limit. The (non-dimensional) solubility limit depends on the type of salt and the initial concentration. Note, however, that the ground state (38) does not depend on the type of salt. Our analysis can, hence, be straightforwardly applied to any salt type, but only up to times where the corresponding solubility limit is reached.

The ground state pressure \({\hat{P}}^0({\hat{t}},{\hat{z}})\) is such that

As we only have boundary conditions for the value of the velocity, the pressure is only known up to a constant. Hence,

where the integration constant \(C({\hat{t}})\) cannot be determined, but where a natural choice would be atmospheric pressure at the top boundary. This is, however, not necessary as the following analysis does not depend on the value of the pressure.

### 3.4 Linear Perturbation and Eigenvalue Problem

Our purpose is to investigate the linear stability of the ground state \(\{\hat{{\mathbf {Q}}}^0,{\hat{X}}^0,{\hat{P}}^0\}\). We present the main steps in this section, while details and intermediate steps are given in Appendix B. We write

where \({\mathbf {q}} = (u,v,w), \chi\) and *p* are small, perturbed quantities, which we will now study further. Note that although these are all non-dimensional, we write them without the hat to simplify the notation. By inserting (43)â€“(45) into (26)â€“(28) and into (31)â€“(32) and linearizing the result, we obtain the linear perturbation equations with corresponding homogeneous boundary conditions for the perturbed quantities. These equations can be expressed using *w*, \(\chi\) and *p* only.

Since the perturbed quantities fulfill a linear initial-boundary value system, in which none of the coefficients depend on the spatial coordinates \({\hat{x}}\) and \({\hat{y}}\), we consider solutions of the form

Here \({\hat{a}}_x\) and \({\hat{a}}_y\) are horizontal wavenumbers. Let \({\hat{a}}^2 = {\hat{a}}_x^2+{\hat{a}}_y^2\). When the domain is unbounded, i.e.,Â the half space \(\{{\hat{z}}>0\}\), we allow any \({\hat{a}}>0\). In case of the bounded domain \(\{({\hat{x}},{\hat{y}},{\hat{z}}): |{\hat{x}}|,|{\hat{y}}|<{\hat{\beta }},{\hat{z}}>0\}\), we need to choose \({\hat{a}}_x\) and \({\hat{a}}_y\) so that the boundary conditions (33) are satisfied. This requires

Using (46) allows us to eliminate the amplitude \({\tilde{p}}\) as a dependentent variable, and only consider amplitudes \({\tilde{w}}\) and \({\tilde{\chi }}\).

Assuming, in addition, that the coefficients of the initial-boundary value problem do not depend on time \({\hat{t}}\), we can further separate the variables according to

see e.g., Subrahmanyan (1961); Nield and Bejan (2017). Here, \(\sigma\) is the exponential growth rate in time, while \({\hat{w}}\) and \({\hat{\chi }}\) describe the variability of the perturbation with \({\hat{z}}\). For \(\sigma <0\), small perturbations decay in time and the ground state is stable. For \(\sigma >0\), perturbations grow in time, and the ground state is unstable.

Since \({\hat{X}}^0 = {\hat{X}}^0({\hat{t}},{\hat{z}})\), the separation of variables as proposed in (48) does not directly apply. This is circumvented by assuming that the rate of change of \({\hat{X}}^0({\hat{t}},{\hat{z}})\) is small compared to any exponentially growing instability. This is known as the quasi steady state approach (QSSA) or the "frozen profile" approach (Riaz etÂ al. 2006; van Duijn etÂ al. 2002). Hence, \({\hat{X}}^0\) is considered to be evaluated at a fixed time.

Thus, we arrive at an eigenvalue problem in terms of \(\{{\hat{w}},{\hat{\chi \}}}\) and *R*, with independent parameters \({\hat{a}}\), \({\hat{t}}\) and \(\sigma\). The object is to determine the smallest positive eigenvalue \(R=R_*({\hat{a}},{\hat{t}},\sigma )\). We verified numerically, see Appendix C and van Duijn etÂ al. (2019), that there is exchange of stability; i.e., the ground state looses its stability, corresponding to perturbations start growing and \(\sigma >0\), for \(R>R_*({\hat{a}},{\hat{t}},0)\). Hence, it suffices to analyze the eigenvalue problem for the case of neutral stability; that is, \(\sigma =0\). Thus, we need to consider the problem (skipping the asterisk in \(R_*)\):

Given \({\hat{a}}>0\), \({\hat{t}}>0\), and \({\hat{X}}^0={\hat{X}}^0({\hat{t}},{\hat{z}})\) by (38), find the smallest \(R=R({\hat{a}},{\hat{t}})>0\) such that

has a non-trivial solution.

Note that \('\) denotes the derivative with respect to \({\hat{z}}\).

### Remark 3

In the work of Riaz etÂ al. (2006), the ground state results from a diffusion process and depends on \({\hat{\xi }}=\frac{{\hat{z}}}{\sqrt{{\hat{t}}}}\) only. This allows them to perform the coordinate transformation \(({\hat{t}},{\hat{z}})\rightarrow ({\hat{t}},{\hat{\xi }})\) and then apply the QSSA to the transformed linear problem. This yields a sharp stability bound. In our case, the ground state results from diffusion and upward convection due to evaporation. Consequently, the ground state (38) does not have such a simple dependence. Therefore, we apply the QSSA directly to the original coordinates \(({\hat{t}},{\hat{z}})\).

### 3.5 Solution of the Eigenvalue Problem

The eigenvalue problem (49) is solved via a Laguerre-Galerkin method. Again, details are given in Appendix B. This results in a system of linear equations for the unknown weights, which can be expressed as a matrix multiplied with a vector containing the weights. Through the eigenvalues of the resulting matrix, we can find the corresponding minimal *R* as a function of \({\hat{a}}\) for given \({\hat{t}}\), i.e.,Â \(R=R({\hat{a}},{\hat{t}})\). Results are shown in Fig. 4. From the figure, we observe that the system becomes gradually more unstable for increasing \({\hat{t}}\). With the Rayleigh number specified by model parameters \(R_s=\frac{\gamma \rho _0 gK X_0}{E\mu }\), the system remains stable when \(R_s<R\) in Fig. 4. As the curves for *R* move downward with increasing time, we can for given parameters find a corresponding onset time, which is when \(R_s=R\). For a fixed time \({\hat{t}}\), the minimum *R* always appears for \({\hat{a}}\) approaching 0. This corresponds to longer wavelengths being more unstable. The behavior of *R* for small wavenumbers \({\hat{a}}\) is detailed in Appendix D. There we also derive an approximation (in fact a lower bound) for the value of *R* at \({\hat{a}}=0\). We find

Hence, the evaporation problem is stable as long as

In Fig. 4, we treat \({\hat{a}}\) as a continuous variable. This is allowed when the domain is unbounded. For bounded domains, with zero-flux boundary conditions on the sidewalls, only values of \({\hat{a}}\) that are multiples of \(\pi /{\hat{\beta }}\) are allowed (see (47)). We observe in Fig. 4 that for fixed \({\hat{t}}\), the minimum *R* always occurs for the lowest possible \({\hat{a}}\). Hence in the bounded case, we would only need to solve the eigenvalue problem for \({\hat{a}}=\pi /{\hat{\beta }}\). For a fixed \({\hat{\beta }}\) (and hence a fixed \({\hat{a}}\)), the system becomes generally more unstable for later times \({\hat{t}}\). In Fig. 5, we show the critical Rayleigh number for various choices of \({\hat{\beta }}\) as a function of \({\hat{t}}\), which hence are the *R*-values from Fig. 4 corresponding to \({\hat{a}}=\pi /{\hat{\beta }}\). Note that for larger values of \({\hat{\beta }}\), the critical Rayleigh numbers tend to those for \({\hat{a}}\rightarrow 0\), which corresponds to an infinitely wide domain or an infinitely long wavelength, where no effect of the imposed boundary conditions at the sidewalls are found. These results imply that we can find unique times for onset of instabilities for a given set of parameters, both in the bounded and unbounded case. For a given \({\hat{\beta }}\) and model parameters \(R_s\), the corresponding unique onset time can be found in Fig. 5 by finding the corresponding time where \(R=R_s\) for our choice of \({\hat{\beta }}\). Similarly, for a given \({\hat{a}}\) and model parameters \(R_s\), we can find the corresponding unique onset time in Fig. 4.

Note that although we show results for a large range of non-dimensional times in Figs. 4 and 5, the results are only physically meaningful when the stable salt concentration does not reach its non-dimensional solubility limit. However, the eigenvalue problem (49) can be used for any salt.

### 3.6 Effect of Varying the Evaporation Rate

Although the solutions of the eigenvalue problem (49) can be used to discuss the effect of all model parameters, we discuss here in particular the effect of the evaporation rate *E*. The expected influence of *E* on the stability is a-priori not obvious as it affects the system in two different ways: firstly, a larger evaporation rate corresponds to a stronger vertical, upward throughflow, and secondly, a larger evaporation rate means that the accumulation of salts at the top of the domain is faster. As shown by Homsy and Sherwood (1976); van Duijn etÂ al. (2002), an increased throughflow corresponds to the system being more stable. However, an increased accumulation of salts at the top of the domain is expected to destabilize the system as the density difference is then larger.

To investigate the overall effect of increasing evaporation rate, we recall the definitions

where \({\hat{a}}\) is the lowest possible wavenumber in the bounded domain case and hence the most unstable mode. Eliminating *E* from (50) yields

Recall that \({\mathcal {W}}\) is the half width of the domain, \(Q_\text {ref}\) is the reference velocity, and *D* is the diffusivity of the salt. For a given setup, these numbers would remain constant, but different setups result in different values of *k*. Returning to Fig. 4, this means that for a given *k* we look for the points where the curves for fixed times cross the curves \(R=k{\hat{a}}\). As a given *E* corresponds to a given \({\hat{a}}\) (and also *R*), we can find a corresponding onset time \({\hat{t}}\) for each *E*. Due to the shape of the curves from Fig. 4, there will be an evaporation rate for which a minimum non-dimensional onset time is found. In Fig. 6, we re-plot Fig. 4 together with the line corresponding to \(k=1\), as well as the corresponding onset times as a function of *R* for various choices of *k*. The minimum onset times seen in Fig. 6b correspond to the times where the line \(R=k{\hat{a}}\) is tangential to a line corresponding to a fixed time in Fig. 6a.

When the evaporation rate increases, *R* decreases. Hence, as *E* increases, we follow a specific curve (corresponding to the chosen value of *k*) in Fig. 6b, from right to left. We see that as evaporation increases, the corresponding non-dimensional onset time decreases until it reaches a minimum, but then increases as *E* increases even further. Hence, it appears that for large evaporation rates, increasing *E* further has a stabilizing effect since the onset time increases. However, Fig. 6b shows *non-dimensional* onset times. To re-dimensionalize the onset times, we multiply with \(t_{\text { ref }} = {\phi D}/{E^2}\). Hence, for increased evaporation rates, the time scaling is smaller. Therefore, when considering the dimensional onset times, these are found to always decrease as the evaporation rate increases. This is independent of the choice of *k*. Hence, an increased evaporation rate always has a destabilizing effect on the system, since instabilities can appear earlier in dimensional time.

## 4 Numerical Simulation of the Original Model

We apply a numerical, REV-scale model to simulate the model equations described in Sect. 2. Inline with the formulation in Sect. 2, and due to the applied numerical model using dimensional variables, we now consider the dimensional model. Using dimensional variables also helps to connect back to the physical problem. The numerical model is able to give insights in the distribution and development of the salt concentration in the entire domain. This means that the onset as well as the development of instabilities can be observed in detail. However, it is computationally cost intensive as quite a fine spatial, and temporal discretization is necessary to reduce the influence of numerical diffusion and resolve the instabilities. The numerical model is implemented in the open-source simulator \(\mathrm {DuMu}^{x}\)Â (Koch etÂ al. 2020) for multi-phase, multi-component flow and transport in porous media. It is a research code written in C++ and based on Dune (Bastian etÂ al. 2021), a scientific numerical software framework.

The model considers the precipitation of salt if the solubility limit is exceeded. In this section, we, therefore, first define the reaction term. Additional boundary and initial conditions are specified as we here consider a vertically bounded domain and introduce initial perturbations for the salt mole fraction. Further the spatial and temporal discretizations are described. The domain is discretizied by a cell-centered finite volume scheme, and an implicit Euler method is used for the time discretization. In the end, the evaluation method of the simulation results is described, the numerical onset time is defined, and the influence of different initial perturbations is shown.

### 4.1 Salt Precipitation Reaction in the Numerical Model

In the numerical model, the precipitation of solid salt is considered if the solubility limit is exceeded. Therefore, the reaction term in the mole balance of the solute and solid salt (Eq. (3) and (8)) has to be specified. For the reaction terms of NaCl \(r_\mathrm {solid} = -r^\mathrm {NaCl}\), an equilibrium reaction is assumed. This is based on the assumption that the chemical reaction is so fast that every mol of NaCl above the solubility limit \({\mathsf {x}}^\mathrm {NaCl}_\mathrm {max}\) can precipitate within one numerical time stepÂ \(\varDelta t\).

### 4.2 Boundary and Initial Conditions

The numerical model uses additional boundary and initial conditions to the ones described in Sect. 2.3. As the domain is finite at the bottom for the numerical simulation, boundary conditions for the bottom are necessary. A Dirichlet boundary condition sets the pressure in the liquid phase corresponding to the hydro-static pressure at the domain depth, and the salt concentration is set equal to the initial mole fraction \({\mathsf {x}}_0^\mathrm {NaCl}\). The depth *d* of the domain is chosen so that at the time of onset no increase in concentration is observable at the bottom, and so, the influence of the bottom boundary is assumed to be negligible.

where \(P_\text {atm}\) corresponds to atmospheric pressure.

As initial condition additionally a hydro-static pressure profile is used which leads to better convergence at the beginning of the simulations:

The numerical model uses also an initial perturbation for \({\mathsf {x}}^\mathrm {NaCl}\), denoted \({\mathsf {x}}^\mathrm {NaCl}_{0,\mathrm {p}}\), to correspond to the perturbations used in the analytical analysis. If no initial perturbations are applied, instabilities are triggered by tiny numerical errors in the order of machine precision. Instead, two different types of perturbations are used, a periodic and a random one, which can either be applied in the top row of cells or in the whole domain. The periodic perturbation is applied by using a cosine function along the *x*-coordinate:

with the wavelength \(\lambda\) and the amplitude *A*. The wavelength and amplitude need to be prescribed. Which amplitude to use will be discussed in Sect. 4.5, while the choice of wavelength is discussed in Sect. 5.1. Alternatively, a random perturbation for \({\mathsf {x}}^\mathrm {NaCl}_{0,\mathrm {p}}\) is used. In this case, values for \({\mathsf {x}}^\mathrm {NaCl}_{0,\mathrm {p}}\) are randomly picked for every discrete cell from a normal distribution \({\mathcal {N}}\) using a mean value of \(\mu _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}={\mathsf {x}}_0^\mathrm {NaCl}\) and a standard deviation \(\sigma _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}\):

The choice of standard deviation is discussed in Sect. 4.5.

### 4.3 Discretization

For the spatial discretization, a cell-centered finite volume scheme applying the two-point flux approach is used, with a first order upwind scheme for the convective flux and a second order scheme for the diffusive fluxes (Helmig 1997). A first order, implicit Euler method is used for time discretization (Helmig 1997). A convergence study for the spatial and temporal discretization is conducted (see Appendix E), ensuring that there is a negligible influence of numerical diffusion effects. For the spatial discretization, it is important to use finer grid cells than the expected wavelength in order to resolve the instabilities: \(\varDelta x \ll \lambda\). Through preliminary testing we found that the expected wavelength depends on the permeability and the vertical density difference and is smaller for higher permeabilities. At least 10 cells are used per wavelength of the highest investigated permeability, as the convergence study shows tolerable errors for this discretization. For longer wavelengths, the error should be even less. Studies on the discretization of \(\mathrm {CO_2}\)-brine systems in the context of \(\mathrm {CO_2}\)-storage were done by Elenius and Johannsen (2012). Elenius and Gasda (2021) state also that 10-20 cells per finger are sufficient to resolve the convective flow in the most cases.

As the instabilities are initiated at the top, a fine resolution in *z*-direction is important near the top boundary (\(z=0\)). Due to the steep gradient of the salt mole fraction near the top boundary, a smaller \(\varDelta z\) better represents these changes and gives also a lower influence of numerical diffusion. Based on the convergence study, a relatively fine \(\varDelta z\) is used near the top with \(\varDelta z^\mathrm {top} = 3.3 \cdot 10^{-4}~\mathrm {m}\). To lower the computational costs in the lower parts of the domain, coarser cell sizes can be used. Hence, \(\varDelta z\) increases continuously toward the bottom.

A time step of \(\varDelta t = 50~\mathrm {s}\) is used. This means that the grid velocity of the top cell in *z*-direction \({\varDelta z^\mathrm {top}}/{\varDelta t}\) is higher than the evaporation rate *E* and thus is able to capture the evaporation process correctly.

### 4.4 Evaluation of Numerical Simulations

To estimate the numerical onset time, the mean value \(\mu _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\) and the standard deviation \(\sigma _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\) of the salt mole fraction \({\mathsf {x}}^\mathrm {NaCl}\) of the grid cells in the top row are calculated. The standard deviation is a measure for the variation of the salt mole fraction, where a standard deviation of zero would correspond to homogeneous salt mole fraction in the top row. Since the development of fingers gradually lead to variations in the salt mole fraction, we expect an increasing standard deviation as the fingers develop. As we start out with a perturbed initial salt mole fraction, the standard deviation will first decrease before it later increases as density instabilities develop. Hence, as a measure for the onset time for the numerical simulations we use the time when the standard deviation is at its minimum. Physically, this corresponds to the case where the convective flux starts to dominate the diffusive fluxes in horizontal direction, which leads to the enhancement of the perturbations. The development of \(\mu _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\) and \(\sigma _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\) and their physical interpretation will be discussed in detail in Sect. 5.4.

### 4.5 Influence of Initial Perturbation on Onset

Figure 7 shows the development of the standard deviation \(\sigma _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\) and onset time for different parameters for the periodic initial perturbation (Fig. 7a) and the random initial perturbation (Fig. 7b). Also the case without perturbations is shown, where the perturbations are triggered by tiny numerical errors. This figure shows that the amplitude and the standard deviation of the initial perturbation do not affect the onset time. If the initial perturbation is applied only to the top of the domain and not in the whole domain, the onset is later for both perturbation types. However, for the periodic perturbations the difference in onset is relatively small. For the periodic perturbations (56), it is of importance that the width of the domain is a multiple of the initial wavelength. Here, simulations with \(\lambda = 0.03\)m are used, hence \({\mathcal {W}}=0.30\)m is a multiple of it, while \({\mathcal {W}}=0.25\)m is not. For the latter case, the onset time is earlier.

In the following investigations, we use a perturbation in the whole domain. This corresponds better to the manner perturbations are applied in the linear stability analysis and hence benefits the comparison of the onset times between the linear stability analysis and the numerical simulations. An amplitude of \(A= 10^{-6}\) is used for the periodic perturbations and a standard deviation of \(\sigma _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}= 10^{-6}\) for the random perturbations.

## 5 Onset and Development of Density Instabilities

Here we compare results from linear stability analysis and numerical simulations with respect to predicted onset times for instabilities and with respect to the behavior of the salt concentration before onset of instabilities. The comparison is kept dimensional, hence results from the linear stability analysis are re-dimensionalized. Most parameters are for simplicity kept fixed and are as specified in Table 2. These parameters are chosen to realistically represent saline water in a porous domain, with evaporation corresponding to 34.7 cm/year. The permeability *K* of the porous medium is varied. We consider the cases \(K=10^{-10}\) m\(^2\), \(K=10^{-11}\) m\(^2\), \(K=10^{-12}\) m\(^2\) and \(K=10^{-13}\) m\(^2\).

Note that the specified evaporation rate is used for the numerical simulations as an input parameter. For the linear stability analysis, the choice of evaporation rate translates into a Rayleigh number, which determines the onset time, as described in Sect. 3.5. We separate between the bounded case, where the domain has a fixed width, and the unbounded case, where we investigate the onset of a specific wavelength and use periodic boundary conditions. For both cases, we can compare the onset times from the linear stability analysis and from the numerical simulations.

### 5.1 Onset Times for a Domain of Fixed Width

We here investigate the onset of instabilities in the bounded case. We use a domain with a fixed width of 60 cm. In the linear stability analysis, we assume that the most unstable wavelength will be dominating, and we find the corresponding onset time for this wavelength, as described in Sect. 3.5. In the numerical simulations, we use an initial random perturbation, which is assumed to trigger the onset of the most unstable wavelength. The development of the standard deviation and the appearing (average) wavelength is shown in Fig. 8. The resulting onset times are in Table 3. Both the analytic and numerical approach show that lower permeabilities correspond to later onset times. Although the numbers are of the same order of magnitude, the deviation between onset times estimated by the linear analysis and numerical simulations is quite large.

This analysis reveals some fundamental differences in the underlying assumptions in the two approaches. The linear stability analysis indicates that the most unstable wavelength should be the longest one that will fit into the domain, as lower wavenumbers \({\hat{a}}\) are more unstable, as seen in Fig. 4. For this case that would correspond to a wavelength of 60 cm. In the simulations, we can observe that different wavelengths are dominating before and after the estimated onset time. Since we use a random perturbation, several wavelengths are represented, and they can also interact with each other. The appearing wavelengths after onset are generally found to be shorter for increasing permeability, as seen in Fig. 8. For the lower permeabilities \(K=10^{-13}\) m\(^2\) and \(K=10^{-12}\) m\(^2\), the early appearing dominating wavelengths are 15 cm and 12 cm, respectively, which is close to the ones assumed by the linear stability analysis. For the larger permeabilities \(K=10^{-11}\) m\(^2\) and \(K=10^{-10}\) m\(^2\), the appearing dominating wavelengths are 4 cm and 1.5 cm, respectively. Although the linear stability analysis indicates that the wavelength of 60 cm should be more unstable and hence preferred, the initial random perturbation have triggered modes that are much shorter in wavelength. The wavelengths that do appear in the numerical simulations depend on the permeability, following a similar trend as observed in Riaz etÂ al. (2006). This is remarkable since the setup is different. Also, using a random perturbation in the numerical simulations can give nonlinear effects as the different wavelengths interact with each other, possibly affecting the resulting onset mode and time. However, the linear stability analysis assumes that the perturbation is a specific wavelength and hence does not account for any interaction between different wavelengths. This motivates to rather use a specific wavelength for the numerical perturbation and compare with the onset time of this wavelength from the linear stability analysis.

### 5.2 Onset Times of a Fixed Wavelength

We here investigate the onset of instabilities in the unbounded case. Although we use a domain of a width 60 cm for the numerical simulations, we apply periodic boundary conditions on the sidewalls to mimic the domain being unbounded. By using an initial perturbation with a fixed wavelength in the numerical simulations, we investigate the onset of this particular wavelength. This means that the same type of perturbation is used for both numerical simulation and for the linear stability analysis. We use wavelengths based on those that appeared after onset in the numerical simulations in Sect. 5.1, but adjusted such that they fit within the domain. For the linear stability analysis, we then investigate the onset of this particular wavelength, as explained in Sect. 3.5. For the numerical simulations, a small amplitude of the cos-perturbation is used, and the development of the standard deviation and average appearing wavelength is seen in Fig. 9. The used wavelengths and resulting onset times are found in Table 4. For two of the lower permeabilities, no onset time could be found from the numerical simulations. For one case (\(K=10^{-12}\) m\(^2\) and wavelength 0.12 m), the standard deviation increases throughout the simulation, which means that no local minimum could be detected. For another case (\(K=10^{-13}\) m\(^2\) and wavelength 0.15 m), salt precipitation occurred before onset of instabilities.

For the cases where numeric onset times could be determined, the onset times generally agree well with the ones predicted by the linear stability analysis. For high permeabilities, the numeric onset times deviate from the analytical ones with less than \(40\%\), whereas for low permeabilites, the deviations are less than 10 \(\%\). For the \(K=10^{-10}\) m\(^2\) simulations, we see that the onset of instabilities occurs shortly after the perturbation is applied, possibly because the size of the perturbation was too large, since only a small density increase is needed for fingers to develop (cf.Â Fig. 11), and hence, triggered the development of the instabilities at an earlier time than expected. In general, we see that lower permeabilities correspond to larger onset times, as also observed by Riaz etÂ al. (2006).

In the numerical simulations, the appearing wavelength at onset is the one used in the initial perturbation. For the permeability \(K=10^{-12}\) m\(^2\) and using a wavelength of 0.06 m, a slightly longer average wavelength appears shortly after onset as two waves merge. The merging of waves is a common development after onset of instabilities, although it usually appears some time after the instabilities are developed.

### 5.3 Behavior of Top Salt Concentration Before and Near Onset of Instabilities

Using the explicit solution (38) for the ground state salt concentration, we can address the expected development of the salt concentration over time before onset of instabilities. For convenience, the comparison is shown using salt mole fractions, but the numbers could also be converted to salt mass fractions. The largest salt concentration is always found at the top of the domain, hence we focus on this one in the following. Salt precipitates if exceeding \({\mathsf {x}}^\mathrm {NaCl}_\mathrm {max}=0.0977\) (corresponding to \(X_{\text {max}}=0.26\)). That means, if the ground state salt concentration (38) at the top exceeds this \({\mathsf {x}}^\mathrm {NaCl}_\mathrm {max}\) before onset of instabilities is expected, then salt will instead precipitate. In this case, instabilities will not develop, as the salt mole fraction cannot extend beyond \({\mathsf {x}}^\mathrm {NaCl}_\mathrm {max}\), hence the corresponding density difference is not large enough to trigger instabilities. This occurred for the numerical simulation of \(K=10^{-13}\) m\(^2\) and using a wavelength of 0.015 m, as seen in Fig. 9g. Note however, as seen from the numerical simulations, the salt concentration at the top of the domain can still increase after the onset of instabilities, before the instabilities are too strong. Hence, one could have salt precipitating after instabilities develop. The linear stability analysis can, however, only determine whether salt precipitation would occur before onset of instabilities.

We compare the salt mole fraction found from the explicit solution (38) with the one from the numerical simulations. For the numerical simulations, we take the average over all the cells in the top row. Since DuMu\(^\text {x}\) uses a cell-centered scheme, this means that we are not looking at the salt mass fraction at the top, but \(\frac{1}{2}\varDelta z_{\text {top}}\) away from the top. Hence, the explicit solution is, therefore, also evaluated at the height corresponding to the center of the top grid cells.

The time evolution of the salt mole fractions are found in Fig. 10 for the bounded cases from Sect. 5.1, and in Fig. 11 for the unbounded cases from Sect. 5.2. Since the development of the salt mole fraction is not varying with the applied perturbation, we only show the cases corresponding to wavelengths 0.01 m, 0.03 m, 0.06 m and 0.3 m for the permeabilities \(K=10^{-10}\) m\(^2\), \(K=10^{-11}\) m\(^2\), \(K=10^{-12}\) m\(^2\) and \(K=10^{-13}\) m\(^2\), respectively. The salt mole fractions coming from numerical simulations and explicit solutions are expected to coincide until onset of instabilities. The explicit solutions are plotted beyond the corresponding onset time for comparison, but develop as if instabilities do not occur. Hence, the numerical and explicit solutions should deviate after onset of instabilities. We see, however, that especially for low permeabilities, the explicit and numerical salt mole fractions deviate also slightly before onset of instabilities. For the low permeabilities, the salt mole fraction increases much more before onset of instabilities, compared to the high-permeability cases. This also causes a larger change in the density at the top of the domain, which disrupts the Bousinessq approximation used to derive the explicit solution. However, the overall fit between the explicit solution and the numerical solution is very good. The explicit solution deviate from the numeric one with less than \(2\%\) before the onset time, giving confidence that the simplifications used to derive the explicit ground state solution (i.e., neglecting the water mole fraction and applying the Boussinesq approximation) were applicable. We also see clearly that the simulated salt concentration at the top follows to a large extent the analytic solution also after onset of instabilities. This is due to the instabilities being so weak in the beginning, hence their capability to transport salt downward is not developed.

### 5.4 Development of the Salt Concentration After Onset of Instabilities

In this section, the development of instabilities before and after their onset is discussed, using the results of the numerical simulations. Here we also show the case of salt precipitation which occurs for some parameter sets. Different phases of the development are defined with help of the mean value \(\mu _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\) and the standard deviation \(\sigma _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\) of the salt mole fraction \({\mathsf {x}}^\mathrm {NaCl}\) of the grid cells in the top row. These phases can be explained and distinguished by the different dominant physical processes.

In Fig. 12, the evaluation of the numeric simulations is shown for the different permeabilities and initial perturbations. We here present only one wavelength (0.01 m, 0.03 m, 0.06 m or 0.3 m) per permeability for the periodic initial perturbations as they show a similar general behavior. The development of \(\mu _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\) and \(\sigma _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\) over time indicates the different phases of the formation of instabilities.

In the first phase, the initial standard deviation decreases due to the spreading of the initially applied perturbations by molecular diffusion. In Fig. 13a, the influence of the different fluxes on the resulting flux is shown for the first phase. As already mentioned in Sect. 2.2, the higher density at the location of the perturbation leads to an increased gravitational force and a slowed down convective upward flux. As we apply a constant evaporation rate a lower pressure develops at these locations. This horizontal pressure gradient induces a horizontal component to the convective flux toward the perturbation. However, in the first phase the diffusive flux dominates the convective flux in the horizontal direction, which leads to a degradation of the perturbation. In the vertical direction, the driving force of the pressure gradient outweighs the gravitational force. This results in an upward convective flux which also dominates the diffusive flux in the vertical direction. This leads to an upward transportation and accumulation of salt at the top during this phase.

The second phase starts at the time of onset, when the standard deviation reaches its minimum and the perturbations start to increase. The reason for that can be seen in Fig. 13b. The increasing salt concentration and fluid density enhances the gravitational downward forces, which in the following enhances the horizontal component of the convective flux toward the perturbation. In this phase, the convective flux dominates the diffusive flux in horizontal direction. This leads to an increased transport of salt toward the perturbation and consequently to its enhancement. The vertical direction of the resulting flux is still upward, which increases the salt concentration at the top. This is also demonstrated by the continuous increase of \(\mu _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\) during this phase.

For the higher permeabilities \(K=10^{-10} - 10^{-12}~\mathrm {m^2}\), the third phase is characterized by a resulting downward flow and starts at the maximum value of \(\mu _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\). Until the start of the third phase, the liquid density has increased so much at the top and especially at the location of perturbations that the high gravitational force causes an convective and resulting flux downward; so-called fingers. With a lower permeability a higher density difference is needed to overcome the resistance of the porous medium, resulting in higher maximum values for \(\mu _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\). The resulting flux transports the accumulated salt at the top downward, which leads to a decrease of \(\mu _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\). Later in this phase, \(\mu _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\) stabilizes as the upward transported salt equals the amount which is transported downward with the fingers. A larger value for this stabilized salt mole fraction is observed for lower permeabilities. To match the upward flow, determined by the constant evaporation rate, the downward flow needs larger density differences for lower permeabilities. In all these cases, the solubility limit of the salt is never reached, and thus, no salt precipitation is observed in these systems. For the lowest considered permeability \(K = 10^{-13}~\mathrm {m^2}\), \(\mu _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\) reaches the solubility limit before a convective downward flow develops. Here salt precipitates and \(\mu _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\) stays constant at the solubility limit as we use an equilibrium approach to simulate the precipitation reaction (see Eq. (52)).

Note that in case of no precipitation, further phases for the instabilities can be defined. The fingers start to merge and form larger fingers with longer wavelengths. As we concentrate on the initial development of the instabilities, we refer to Slim (2014) for a detailed description of these merging regimes. Slim describes similar phases, although there the instabilities are not evaporation-driven.

## 6 Final Remarks

As water evaporates from a porous medium saturated with saline water, the accumulated salt near the top boundary will either trigger density instabilities, or precipitate in form of a salt crust, or both. In this work, we have addressed the onset of instabilities using two approaches: analytically by applying a linear stability analysis and numerically by performing simulations. The linear stability analysis simplifies the governing equations and formulates an eigenvalue problem giving conditions for whether and when instabilities can develop. The advantage of the linear stability analysis is that results for a large range of parameters can be obtained at very low costs. The numerical simulations can address the original governing equations and can time-step these to address when instabilities develop. The computational costs are larger, but also information for the further development after the onset of instabilities can be obtained.

The onset times of instabilities depend not only on the physical parameters as the mediumâ€™s permeability and the strength of the evaporation rate, but also on which type of instability is considered. The boundary conditions on the sidewalls and which wavelength develops, affect the development of the instabilities. We here considered two cases; either a bounded case with no-flux boundary conditions on the sidewalls, where we tried to trigger the most unstable wavelength, or an unbounded case using periodic boundary conditions, where we tried to trigger a specific wavelength. For the first case, the onset times predicted by the two approaches deviate as the applied perturbation is different, and the two methods predict the onset of different instability modes. For the second case, the onset times largely coincide. In both cases, the development of the salt concentration up to onset of instabilities match up to the difference arising from using the Boussinesq approximation in the analytic case. This gives confidence that the two methods can correctly predict the onset of instabilities, when a specific wavelength is expected.

The numerical experiments show the development of the salt concentration also after onset of instabilities. In particular, we see how the salt concentration at the top of the domain continues to increase for some time after onset, as the instabilities are in the beginning too weak to cause a net downward transport of salt. This means that salt can still precipitate even if instabilities have been triggered.

The linear stability analysis can quickly give criteria for onset of instabilities for a large range of parameters. The numerical simulations can further give detailed information of the further development of instabilities, when applying given parameter choices. From the linear stability analysis, we see how the onset of instabilities depend strongly on parameters such the strength of the evaporation rate and of the permeability, where the latter was also investigated by the numerical simulations. The times for onset of instabilities are found to be in the range of hours to days for a realistic evaporation rate, depending on the permeability. This means that, in the lack of rainfall in that period, our findings give onset times that are realistic especially in arid regions. However, for specific implications, field-related analysis is necessary. This study shows that the current framework is suitable as analysis strategy for onset times of evaporation-induced density instabilities.

Our analysis opens also for comparison with column experiments that consider evaporation from the top of a porous column saturated with saline water having different salts, e.g., Piotrowski etÂ al. (2020). However, the current analysis is performed under the assumption that the porous medium remains fully saturated. Hence, an extension to unsaturated porous media would give more accurate results, also in the context of relating to field observations. To accommodate such an extension, Richards equation for the evolution of the water saturation needs to be includedâ€”both in the linear stability analysis and in the numerical simulations. In this case, also capillary forces play a role for the evolution of the water saturation, giving potentially more interactions between evaporation and subsequent density instabilities. The current study remains valid for the case when the capillary pressure stays below the entry pressure, while further research is needed to address the case of varying water saturation.

## References

Allison, G.B., Barnes, C.J.: Estimation of evaporation from the normally dry lake frome in south australia. J. Hydrol.

**78**(3), 229â€“242 (1985)Barletta, A., Celli, M., Rees, D.A.S.: The onset of convection in a porous layer induced by viscous dissipation: A linear stability analysis. Int. J. Heat Mass Transf.

**52**(1), 337â€“344 (2009)Bastian, P., Blatt, M., Dedner, A., Dreier, N., Engwer, C., Fritze, R., GrÃ¤ser, C., GrÃ¼ninger, C., Kempf, D., KlÃ¶fkorn, R., Ohlberger, M., Sander, O.: The dune framework: basic concepts and recent developments. Comput. Math. Appl.

**81**, 75â€“112 (2021)Bear, J.: Dynamics of fluids in porous media. American Elsevier Publisher Co. (1972)

Chandrasekhar, S.: Hydrodynamic and hydromagnetic stability. Dover Publications Inc, New York (1961)

Chaves, M.M., Flexas, J., Pinheiro, C.: Photosynthesis under drought and salt stress: regulation mechanisms from whole plant to cell. Ann. Bot.

**103**(4), 551â€“560 (2008)Chen, X.Y.: Evaporation from a salt encrusted sediment surface-field and laboratory studies. Soil Res.

**30**(4), 429â€“442 (1992)Daliakopoulos, I.N., Tsanis, I.K., Koutroulis, A., Kourgialas, N.N., Varouchakis, A.E., Karatzas, G.P., Ritsema, C.J.: The threat of soil salinity: a European scale review. Sci. Total Environ.

**573**, 727â€“739 (2016)Duffy, C.J., Al-Hassan, S.: Groundwater circulation in a closed desert basin: topographic scaling and climatic forcing. Water Resour. Res.

**24**(10), 1675â€“1688 (1988)Elenius, M.T., Gasda, S.E.: Convective mixing driven by non-monotonic density. Transp. Porous Media

**138**, 133â€“155 (2021)Elenius, M.T., Johannsen, K.: On the time scales of nonlinear instability in miscible displacement porous media flow. Comput. Geosci.

**16**, 133â€“155 (2012)Elenius, M.T., Nordbotten, J.M., Kalisch, H.: Effects of a capillary transition zone on the stability of a diffusive boundary layer. IMA J. Appl. Math.

**77**(6), 771â€“787 (2012)Geng, X., Boufadel, M.C.: Numerical modeling of water flow and salt transport in bare saline soil subjected to evaporation. J. Hydrol.

**524**, 427â€“438 (2015)Geng, X., Boufadel, M.C.: The influence of evaporation and rainfall on supratidal groundwater dynamics and salinity structure in a sandy beach. Water Resour. Res.

**53**(7), 6218â€“6238 (2017)Gilman, A., Bear, J.: The influence of free convection on soil salinization in arid regions. Transp. Porous Media

**23**(3), 275â€“301 (1996)Hattori, T., Patterson, J.C., Lei, C.: On the stability of transient penetrative convection driven by internal heating coupled with a thermal boundary condition. Int. Commun. Heat Mass Transfer

**64**, 29â€“33 (2015)Heck, K., Coltman, E., Schneider, J., Helmig, R.: Influence of radiation on evaporation rates a numerical analysis. Water Resour. Res.

**56**(10), e2020WR027332 (2020)Helmig, R.: Multiphase Flow and Transport Processes in the Subsurface: A Contribution to the Modeling of Hydrosystems. Springer-Verlag (1997)

Homsy, G.M., Sherwood, A.E.: Convective instabilities in porous media with through flow. AIChE J.

**22**(1), 168â€“174 (1976)Jambhekar, V.A., Helmig, R., SchrÃ¶der, N., Shokri, N.: Free-flow-porous-media coupling for evaporation-driven transport and precipitation of salt in soil. Transp. Porous Media

**110(2), 251â€“280**, 11 (2015)Koch, T., GlÃ¤ser, D., Weishaupt, K., Ackermann, S., Beck, M., Becker, B., Burbulla, S., Class, H., Coltman, E., Emmert, S., Fetzer, T., GrÃ¼ninger, C., Heck, K., Hommel, J., Kurz, T., Lipp, M., Mohammadi, F., Scherrer, S., Schneider, M., Seitz, G., Stadler, L., Utz, M., Weinhardt, F., Flemisch, B.: DuMux 3â€“an open-source simulator for solving flow and transport problems in porous media with a focus on model coupling. Comput Math Appl (2020)

Mejri, E., Bouhlila, R., Helmig, R.: Heterogeneity effects on evaporation-induced halite and gypsum co-precipitation in porous media. Transp. Porous Media

**118**, 39â€“64 (2017)Mejri, E., Helmig, R., Bouhlila, R.: Modeling of evaporation-driven multiple salt precipitation in porous media with a real field application. Geosciences

**10**, (2020)Nield, D.A., Bejan, A.: Convection in porous media, 5th edn. Springer, Berlin (2017)

Piotrowski, J., Huisman, J.A., Nachshon, U., Pohlmeier, A., Vereecken, H.: Gas permeability of salt crusts formed by evaporation from porous media. Geosciences

**10**(11),(2020)Pitman, M.G., LÃ¤uchli, A.: Global impact of salinity and agricultural ecosystems. In A.Â LÃ¤uchli and U.Â LÃ¼ttge, editors, Salinity: Environment-Plants-Molecules, pages 3â€“20. Springer, (2002)

Riaz, A., Hesse, M., Tchelepi, H.A., Orr, F.M.: Onset of convection in a gravitationally unstable diffusive boundary layer in porous media. J. Fluid Mech.

**548**, 87â€“111 (2006)Shokri, N., Lehmann, P., Or, D.: Liquid-phase continuity and solute concentration dynamics during evaporation from porous media: Pore-scale processes near vaporization surface. Phys. Rev. E

**81**, 046308 (2010)Shokri-Kuehni, S.M.S., Raaijmakers, B., Kurz, T., Or, D., Helmig, R., Shokri, N.: Water table depth and soil salinization: From pore-scale processes to field-scale responses. Water Resour. Res.

**56**(2), e2019WR026707 (2020)Singh, K.: Microbial and enzyme activities of saline and sodic soils. Land Degrad. Dev.

**27**(3), 706â€“718 (2016)Slim, A.C.: Solutal-convection regimes in a two-dimensional porous medium. J. Fluid Mech.

**741**, 461â€“491 (2014)Temme, N.M.: Special functions: An introduction to the classical functions of mathematical physics. Wiley, Hoboken (1996)

van Duijn, C.J., Pieters, G.J.M., Raats, P.A.C.: On the stability of density stratified flow below a ponded surface. Transp. Porous Media

**127**(3), 507â€“548 (2019)van Duijn, C.J., Pieters, G.J.M., Wooding, R.A., van der Ploeg, A.: Stability Criteria for the Vertical Boundary Layer Formed by Throughflow Near the Surface of a Porous Medium, pp. 155â€“169. American Geophysical Union (AGU) (2002)

Vereecken, H., Burauel, P., Groeneweg, J., Klumpp, E., Mittelstaedt, W., Narres, H.-D., PÃ¼tz, T., van der Kruk, J., Vanderborght, J., Wendland, F.: Research at the agrosphere institute: from the process scale to the catchment scale. Vadose Zone J.

**8**(3), 664â€“669 (2009)Wooding, R.A., Tyler, S.W., White, Ian: Convection in groundwater below an evaporating salt lake: 1. onset of instability. Water Resour. Res.

**33**(6), 1199â€“1217 (1997)Wooding, R.A., Tyler, S.W., White, I., Anderson, P.A.: Convection in groundwater below an evaporating salt lake: 2. evolution of fingers or plumes. Water Resour. Res.

**33**(6), 1219â€“1228 (1997)

## Funding

Open Access funding enabled and organized by Projekt DEAL. Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation)â€”Project Number 327154368â€”SFB 1313.

## Author information

### Authors and Affiliations

### Corresponding author

## Ethics declarations

### Conflict of interest

The authors declare that they have no conflict of interest.

### Data Availability

The DuMu\(^\text {x}\)Â simulation results presented in Sect. 5 are available in https://doi.org/10.18419/darus-2578.

### Code Availability

The DuMu\(^\text {x}\)Â code used for the numerical simulations is available in the following git-repository: https://git.iws.uni-stuttgart.de/dumux-pub/bringedal2021a. The MATLAB code used for solving the eigenvalue problem is available in https://doi.org/10.18419/darus-2577.

## Additional information

### Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Appendices

### A Explicit Solution of the Salt Ground State

For the (non-dimensional) ground-state salt concentration \({\hat{X}}^0\), which is needed in Sect. 3.3, we here derive the explicit solution of

We rewrite this problem in terms of the flux; \(f = {\hat{X}}^0 +\partial _{{\hat{z}}}{\hat{X}}^0\). Since \(\partial _{{\hat{t}}} {\hat{X}}^0 = \partial _{{\hat{z}}} f\), we have

Writing instead in terms of \(g=1-f\), we have

which has a known explicit solution (Bear 1972), namely

Hence,

Using again that \(\partial _{{\hat{t}}} {\hat{X}}^0 = \partial _{{\hat{z}}} f\), we obtain

### B Derivation of and Solution Strategy for the Eigenvalue Problem

We here go detailed through the steps for deriving the eigenvalue problem (49). To investigate the stability of the ground state \(\{\hat{{\mathbf {Q}}}^0,{\hat{X}}^0,{\hat{P}}^0\}\) from Sect. 3.3, we write

where \({\mathbf {q}} = (u,v,w), \chi\) and *p* are small, perturbed quantities. Since \(\hat{{\mathbf {Q}}},{\hat{X}}\) and \({\hat{P}}\) still need to solve the original equations and boundary conditions, we achieve equations and boundary conditions for the perturbed quantities. Inserting (58)â€“(60) into (26)â€“(28) and into (31)â€“(32) and linearizing, we obtain the linear perturbation equations

with boundary conditions at the top

Equations (61)â€“(63) can be written in terms of \(\{w,\chi ,p\}\) only, see e.g., van Duijn etÂ al. (2019). This results in

with boundary conditions

We seek solutions of this system satisfying

Since (66)â€“(71) is a linear initial-boundary problem with no coefficients depending on the spatial coordinates \({\hat{x}}\) and \({\hat{y}}\), we consider solutions of the form

Here \({\hat{a}}_x\) and \({\hat{a}}_y\) are horizontal wavenumbers. Substituting (72) into (66)â€“(68) yields for the amplitudes \(\{{\tilde{w}},{\tilde{\chi }},{\tilde{p}}\}\)

where \({\hat{a}}^2={\hat{a}}_x^2+{\hat{a}}_y^2\). Expressions for the horizontal discharge components follow from Darcyâ€™s law:

When the domain is unbounded, i.e.,Â the half space \(\{{\hat{z}}>0\}\), we consider (73)â€“(75), subject to (69)â€“(70) for any \({\hat{a}}>0\). In case of the bounded domain \(\{({\hat{x}},{\hat{y}},{\hat{z}}): |{\hat{x}}|,|{\hat{y}}|<{\hat{\beta }},{\hat{z}}>0\}\) we need to choose \({\hat{a}}_x\) and \({\hat{a}}_y\) so that the boundary conditions (33) are satisfied. This requires

A sketch of a horizontal discharge field is given in Fig. 14. In this figure, we have used \({\hat{\beta }}=1\) as well as \({\hat{a}}_x={\hat{a}}_y=\pi\), corresponding to one full oscillation in both \({\hat{x}}\) and \({\hat{y}}\) direction.

It is clear that it suffices to consider only Eqs. (73) and (75), subject to boundary conditions (69)â€“(71). Once they are solved, the pressure results from (74) and the horizontal discharge from (76) to (77).

Using the linearity of (73) and (75), and assuming that the coefficients do not depend on time *t*, we can further separate the variables according to

where \(\sigma\) is the exponential growth rate in time, while \({\hat{w}}\) and \({\hat{\chi }}\) describe the variability of the perturbation with \({\hat{z}}\).

Since \({\hat{X}}^0 = {\hat{X}}^0({\hat{t}},{\hat{z}})\), the separation of variables as proposed in (79) does not directly apply. As already explained in Sect. 3.4, we circumvent this by applying the quasi steady state approach (QSSA) or the "frozen profile" approach: For any fixed \({\hat{t}}_*>0\), we consider \({\hat{\tau }} = {\hat{t}}-{\hat{t}}_*\) as the new time variable. Then (75) becomes

In this equation, we take \({\hat{\tau }}\) small, \(0<{\hat{\tau \ll }}1\), and write \({\hat{X}}^0({\hat{t}}_*+{\hat{\tau }},{\hat{z}})\approx {\hat{X}}^0({\hat{t}}_*,{\hat{z}})\), i.e.,Â the frozen profile. Setting now

we obtain

for \(0<{\hat{z}}<\infty\) subject to (69)â€“(71).

For given \({\hat{a}}>0,{\hat{t}}_*>0\) and \(\sigma \in {\mathbb {R}}\), this is an eigenvalue problem in terms of \(\{{\hat{w}},{\hat{\chi \}}}\) and *R*. The object is to determine the smallest positive eigenvalue \(R=R_*({\hat{a}},{\hat{t}}_*,\sigma )\). As shown in Appendix C, there is exchange of stability; i.e.,

This means that if the parameters of the problem are such that \(R>R_*({\hat{a}},{\hat{t}}_*,0)\), then at time \({\hat{t}}_*\) a perturbation with wavenumber \({\hat{a}}\) will emerge, implying that the ground state looses its stability at time \({\hat{t}}_*\).

Based on this observation, it suffices to analyze the eigenvalue problem for the case of neutral stability; that is, \(\sigma =0\). Thus, we need to consider the problem (dropping the asterisk in \({\hat{t}}_*\) and \(R_*\)):

Given \({\hat{a}}>0\), \({\hat{t}}>0\), and \({\hat{X}}^0={\hat{X}}^0({\hat{t}},{\hat{z}})\) by (38), find the smallest \(R=R({\hat{a}},{\hat{t}})>0\) such that

has a non-trivial solution. This is the same as (49).

The eigenvalue problem (85) is solved via a Laguerre-Galerkin method. We let

where the basis functions are given by

and where \({\mathcal {L}}_n\) is the Laguerre polynomial of degree *nÂ * (Temme 1996); i.e.,Â

The special combinations in (87) are chosen so that that \(\zeta _n({\hat{z}})\) and \(\eta _n({\hat{z}})\) satisfy the boundary conditions for \({\hat{\chi }}\) and \({\hat{w}}\) in the fourth and fifth line of (85), respectively. Inserting (87) into the first two lines of (85), multiplying with \(\zeta _m\) and \(\eta _m\) and integrating with respect to \({\hat{z}}\) yields

We truncate this expression at a large number \(n=N\). Inspecting the convergence of the terms, we found \(N=32\) to be sufficient. The integrals can be determined analytically using the properties of Laguerre polynomials. The only exception is the integral involving \(\partial _{{\hat{z}}}{\hat{X}}^0\), which is approximated using a Gauss-Laguerre quadrature rule. This results in a system of linear equations for the weights \({\hat{\chi _n}}\) and \({\hat{w}}_n\), which can be expressed as a matrix multiplied with a vector containing the weights. The eigenvalues of this matrix correspond to the eigenvalues of (85).

### C Investigation of Exponential Growth Rate

We here include the exponential growth rate \(\sigma\) as a parameter in the eigenvalue problem, as considered in Sect. 3.4 and Appendix B. As introduced in (48) and (79), \(\sigma >0\) corresponds to perturbations growing in time, while for \(\sigma <0\) perturbations decay with time. When keeping \(\sigma\) in the perturbed equations, we now obtain the following eigenvalue problem:

Given \({\hat{a}}>0\), \({\hat{t}}>0\), \(\sigma \in {\mathbb {R}}\) and \({\hat{X}}^0={\hat{X}}^0({\hat{t}},{\hat{z}})\) by (38), find the smallest \(R=R({\hat{a}},{\hat{t}},\sigma )>0\) such that

has a non-trivial solution.

For given \({\hat{a}},{\hat{t}}>0\) and \(\sigma \in {\mathbb {R}}\), (89) is an eigenvalue problem where *R* is to be determined. We follow the same strategy as described in Sect. 3.5 to discretize and solve the eigenvalue problem. The corresponding version of Fig. 4 when including \(\sigma\) is shown in Fig. 15.

From Fig. 15, we observe the following: For negative \(\sigma\) (corresponding to perturbations decaying with time; i.e.,Â stability), we are always below the curves corresponding to \(\sigma =0\) when looking at same \({\hat{t}}\) and \({\hat{a}}\). This means, when we are below a solid curve, which means that the Rayleigh number is lower than the one on the vertical axis, we have stability since a perturbation will decay with time. Similarly, for positive \(\sigma\) (corresponding to perturbation growing with time), we are always above the curves corresponding to \(\sigma =0\) when looking at same \({\hat{t}}\) and \({\hat{a}}\). This means, when we are above a solid curve, which means that the Rayleigh number is larger than the one on the vertical axis, a perturbation will grow exponentially with time. From this, we can conclude that investigating \(\sigma =0\) is the relevant case for the eigenvalue problem, as the eigenvalues found by using \(\sigma =0\) correspond to the shift from perturbations growing or decaying.

Note that the eigenvalue problem (89) degenerates when \({\hat{a}}^2+\sigma =0\), which is why the curves for negative \(\sigma\) are not extended beyond \({\hat{a}}=\sqrt{-\sigma }\). If one would like to investigate very small wavenumbers \({\hat{a}}\), one could overcome this by choosing a correspondingly small \(\sigma\) to avoid (or, more correctly, shift) the degeneracy.

### D The Behavior for Small Wavenumbers \({\hat{a}}\)

Figure 4 shows that for each \({\hat{t}}>0\), the Rayleigh number \(R({\hat{a}},{\hat{t}})\) has a finite value as \({\hat{a}} \searrow 0\). This behavior is different from other cases where \(R({\hat{a}},{\hat{t}})\rightarrow \infty\) as \({\hat{a}}\searrow 0\) and has a positive minimum at some critical wavenumber \({\hat{a}}_L>0\), e.g., Riaz etÂ al. (2006); van Duijn etÂ al.( 2002). Here we provide an explanation for an approximate eigenvalue problem. We first observe that for each \({\hat{t}}>0\), the ground state solution \({\hat{X}}^0({\hat{t}},{\hat{z}})\) from (38) has its maximum at \({\hat{z}}=0\) and decreases in a convex way toward \({\hat{X}}^0({\hat{t}},\infty )=1\). The idea is to replace \({\hat{X}}^0({\hat{t}},{\hat{z}})\) by the expression

Figure 16 shows the profiles of \({\hat{X}}^0\) and \({\hat{U}}^0\) for various \({\hat{t}}>0\). Note that they have the same qualitative behavior and that the relative error becomes smaller as \({\hat{t}}\) increases. We propose to use \({\hat{U}}^0({\hat{t}},{\hat{z}})\) as ground state in the eigenvalue problem (49). Setting

we obtain the neutral stability (\(\sigma =0\)) eigenvalue problem:

Given \({\hat{a}}>0\), find the smallest \(R^*=R^*({\hat{a}})>0\) such that

has a non-trivial solution.

The equations in (92) can be combined into the fourth-order equation

where \(D_{{\hat{z}}}\) denotes differentiation with respect to \({\hat{z}}\), resulting in the eigenvalue problem:

Given \({\hat{a}}>0\), find the smallest \(R^*=R^*({\hat{a}})\) such that

has a non-trivial solution.

Note that Eq. (93) also arises when studying the stability of the equilibrium state of the salt lake problem, see van Duijn etÂ al. (2002) and references cited therein. In this study, the eigenvalue problem differs from (94) only through the second boundary condition of \({\hat{w}}\) at \({\hat{z}}=0\). In the salt lake problem, the second condition is \({\hat{\chi }}(0)=0\), implying that \(D_{{\hat{z}}}^2{\hat{w}}(0)=0\).

Arguing as in van Duijn etÂ al. (2002), we treat (94) by a semi-analytical technique based on a Frobenius expansion in terms of descending exponential functions:

where \(c<0\). Substituting (95) into (93) gives the indicial equation

yielding the negative roots

and the recurrence relation

where

Hence, we obtain the power series solution

where

The boundary conditions at \({\hat{z}}=0\) are satisfied if

and

where

we need to examine the characteristic equation \(\det (M)=0\) to find the eigenvalues of (92). For \(n\le 2\), we have

For \({\hat{a}}\ll 1\), we take, to leading order, \(n\le 1\) and obtain

or

Evaluating the coefficients yields

Hence,

That means, in the limit as \({\hat{a}}\) approaches zero, we find

Using again (91), we find that

approximates the critical Rayleigh number for \({\hat{a}}\) approaching zero. The Rayleigh numbers using the strategy from Sect. 3.5 with \({\hat{a}}=10^{-4}\) together with the approximate ones from (99) are shown in Fig. 17. The relative error between the approximate Rayleigh number and the Rayleigh number from Sect. 3.5 is larger for early times, as expected from Fig. 16 since the approximate ground state deviates more. However, the relative error is generally small, and decreases fast for later times. Hence, the approximate Rayleigh number (99) represents the behavior for low wavenumbers \({\hat{a}}\) well. We also see from (98) that \(R^*\) (and hence *R*) decreases monotonously for low \({\hat{a}}\) as \({\hat{a}}\) approaches zero. This shows that \({\hat{a}}=0\) corresponds to a (local) minimum for \(R({\hat{a}},{\hat{t}})\) for given \({\hat{t}}>0\).

### E Grid and Time Step Convergence Study for the Numerical Simulations

A convergence study was performed to ensure that the spatial, and temporal discretization are able to capture the physical processes in sufficient detail and that the numerical diffusion has a negligible influence. The study was carried out using the same setup as described in Sect.Â 5 exemplary for the case with a fixed wavelength of \(\lambda =0.01\)Â m and a permeability of \(K=10^{-10}~\mathrm {m^2}\). As this case has the lowest used wavelength and hence the lowest resolution per perturbation, the influence of the discretization should be even less for longer wavelengths. The influence of the cell width in *x*-direction, the discretization in *z*-direction and the time step size was investigated. The onset time and the time of the maximal mean value \(\mu _\mathrm {{\mathsf {x}}^\mathrm {NaCl}}^\mathrm {top}\) are used to evaluate the influence. A quadratic regression is used to extrapolate the values for a theoretical infinitesimal small cell width, cell height and time step.

The influence of the cell widths in *x*-direction on the onset time and time of the maximal mean value is shown in Fig.Â 18. The discretization in *z*-direction equals the one of the selected grid as described below. The investigated cell widths \(5 \cdot 10^{-4}\)Â m, \(1 \cdot 10^{-3}\)Â m, \(2 \cdot 10^{-3}\)Â m and \(3.33 \cdot 10^{-3}\)Â m correlate with 20, 10, 5 and 3 cells per initially applied perturbation wavelength. The selected grid uses 10 cells per perturbation wavelength. For longer wavelengths using lower permeabilities, this results in more cells per perturbation wavelength. The deviation of the selected grid from the extrapolated value is \(6.3~\%\) for the onset time and \(1.6~\%\) for the time of maximal mean value.

Figure 19 shows the investigation of the discretization in *z*-direction. In *x*-direction, the discretization equals the one of the selected grid as described above. In *z*-direction, a grading is used so that the top cell is the smallest, and the cell height increases toward the bottom of the domain. The same grading factor of 0.9 is used for the grids, but different numbers of cells. The different grids have 30, 35, 40 and 50 cells in *z*-direction, which correspond to a top cell height \(\varDelta z^\mathrm {top}\) of \(9.84 \cdot 10^{-4}\)Â m, \(5.71 \cdot 10^{-4}\)Â m, \(3.33 \cdot 10^{-4}\)Â m and \(1.15 \cdot 10^{-4}\)Â m. Additionally, a grid with uniform grid heights of \(1.0 \cdot 10^{-3}\)Â m was simulated. It has in total 200 cells in *z*-direction as it discretizes the lower parts of the domain finer, whereas \(\varDelta z^\mathrm {top}\) nearly matches the coarsest graded grid. Nearly no influence could be observed from the finer discretization in the lower domain, on the time of onset and in maximal mean value. It is found that the height of the top cell has the main influence. We, therefore, look at the height of the top cell \(\varDelta z^\mathrm {top}\) of the different grids. The selected grid uses grading and deviates \(0.1~\%\) for the onset time and \(0.2~\%\) for the time of maximal mean value from the respective theoretical extrapolated value. In comparison with the cell width, the cell height has less influence on the two evaluation times.

Further, an investigation of the time step size on the evaluation times was performed. It was found that for time steps from 25 to 150Â s, the evaluation is independent of the time discretization. For all simulations, we use a time step of 50Â s.

## Rights and permissions

**Open Access** This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

## About this article

### Cite this article

Bringedal, C., Schollenberger, T., Pieters, G.J.M. *et al.* Evaporation-Driven Density Instabilities in Saturated Porous Media.
*Transp Porous Med* **143**, 297â€“341 (2022). https://doi.org/10.1007/s11242-022-01772-w

Received:

Accepted:

Published:

Issue Date:

DOI: https://doi.org/10.1007/s11242-022-01772-w

### Keywords

- Evaporation
- Density instabilities
- Linear stability analysis

### Mathematics Subject Classification

- 76S05
- 76E20
- 35P15
- 65L60
- 65M08