Introduction

Membrane distillation (MD) is considered one of the effective and alternative techniques for the treatment of water and wastewater containing high amount of dissolved salt. Traditional water desalination methods like reverse osmosis are too expensive and considerable membrane fouling can happen as it is a pressure driven system1,2. Driving force of MD separation process is vapour pressure differential between cold and hot sides and it is created due to the temperature difference involved in the process3. MD has been divided into different types based on the creation of pressure vapour difference of two side of the contactor4,5,6. The configuration of direct contact membrane distillation (DCMD) is called when a hot liquid on the feed side has direct contact with a cold solution on the permeate side of the contactor. There is a microporous hydrophobic membrane between feed and cold sides. Transmembrane flux is carried out because of the difference in temperature between the hot and cold streams which results in a vapour pressure difference between two sides of the microporous membrane7. When the vapour phase passed through membrane is vacuumed on the permeate side, it is called vacuum membrane distillation (VDM)8. In air/water gap MD (AGMD or WGMD), There are a microporous membrane as well as a condensation surface which air or water is confined between the membrane and condensation plate9. In terms of SGMD, an inert gas carrying permeated vapour into permeate side, and then, a condenser is used for converting to vapour into water10.

Sweep gas MD like direct DCMD uses both Knudsen and molecular diffusion for the transmission of vapour through the hydrophobic microporous membrane11. It was reported that SGMD has faster mass transfer rates than VMD while conduction heat loss is lower in SGMD than DCMD12. But, the heat as well as mass transfer resistances in the sweep gas can also have a considerable influence on the overall heat and mass transfer rates. It should be noted one of the benefits of SGMD is its relatively smaller conductive heat loss13. Therefore, investigation of the vapour heat and mass transfer is highly important to understand the process in details and improve the system performance. Firstly, this configuration was used in 1963 to produce drinkable water with an undrinkable aqueous solution. A tubular silicon was used as membrane and air as sweeping gas14.

Numerical solution and mathematical modelling are a useful and cost-effective method to gain further insights on the influences of the operating conditions and the parameters needed for the system design to enhance the performance of different membrane-based technologies like gas separation, liquid–liquid extraction and sweep gas membrane distillation15,16. Many modelling and simulation studies have been conducted to evaluate mass as well as heat transfer in DCMD7,17,18 and VMD19, however, there are little studies in terms of SGMD20.

Computational fluid dynamic (CFD) is a method used widely for the modelling and simulation of different configurations of membrane distillation. Baghel et al.21 used 3D CFD model for investigation of VMD. In the developed model, the theoretical permeate flux through membrane as well as interfacial temperatures were calculated by the constructed CFD model. Also, various operating factors were evaluated in terms of permeate flux as well as specific energy consumption. Ghadiri et al.17 constructed a numerical method for the prediction of the vapour penetration across membrane, concentration, temperature, and velocity distribution in the DCMD. Response surface methodology (RSM) was used to investigate and optimize a VMD system11. A 2D-tailored in-house CFD code was used for simulation of DCMD at unsteady condition in order to investigate heat and mass transport in plate-and-frame contactor. The impact of spacers on the fluid flow, polarization, and permeate production was evaluated and it was found that the spacers can increase permeated vapour through the membrane22. Polarization phenomena in DCMD were studied by the CFD technique23. The concentration polarization is an important parameter in the membrane distillation process because it decreases system efficiency and results in mineral scaling23. Fibre arrangement including row space and intersection angle effect on the temperature, concentration, and vapour polarization was investigated in VMD24. It was observed that fibre arrangement can have a significant influence on the module performance24. Lee et al.25 suggested a one-dimensional steady-state simulation model to study multi-stage air gap membrane distillation. As there are few studies on the investigation of SGMD in the literature in terms of modelling and simulation, it will be useful to develop a CFD model for the evaluation of operating parameters’ effect on the process performance.

The current work presents comprehensive numerical modelling and simulation for the investigation of operating variables like inlet temperature of feed solution, salt concentration, and velocity of liquid and gas streams on the SGMD system performance. Polyvinylidene fluoride (PVDF) has been used as the microporous membrane in the system20. Temperature and velocity distribution were obtained at various operating conditions.

Model development

A two-dimensional mathematical model was constructed to evaluate transport phenomena in the SGMD system. Convection, conduction, and diffusion terms were considered for the assessment of heat and mass transfer in combination with momentum equation. As momentum equation is required for determination of temperature as well as concentration distribution in the MD. The derived transport equations were solved in three subdomains including aqueous solution side (tube side), membrane, and air stream side (shell side) where air flows. The air fills microporous membrane due to its hydrophobic property. Figure 1 presents the overall schematic of sweeping gas membrane distillation. The saline water passes across tube side while the air stream enters the shell side of membrane distillation at counter-current mode. There is a contact between liquid and air on the membrane surface. The evaporation happens due to the temperature difference between two phases. The produced vapour penetrates through membrane pores and enter into the shell side, then, air stream carries the permeated to remove from the contactor. The evaporation phenomenon decreases the temperature of feed across the membrane. Table 1 provides operating conditions, membrane specification, and the fluid properties which used in the developed model.

Figure 1
figure 1

Sweeping gas membrane distillation configuration.

Table 1 Physical properties, operating conditions and membrane specification.

Feed side equations

The heat and mass transfer equations were derived for the feed side as follows26,27:

$$\frac{1}{r}\frac{\partial }{\partial r}\left({k}_{f}r\frac{\partial T}{\partial r}\right)+\frac{\partial }{\partial z}\left({k}_{f}\frac{\partial T}{\partial z}\right)={\rho }_{f}{C}_{p, f}{V}_{z,f}\frac{\partial T}{\partial z}$$
(1)
$$\frac{1}{r}\frac{\partial }{\partial r}\left({D}_{f}r\frac{\partial {C}_{A,f}}{\partial r}\right)+\frac{\partial }{\partial z}\left({D}_{f}\frac{\partial {C}_{A,f}}{\partial z}\right)={V}_{z,f}\frac{\partial {C}_{A,f}}{\partial z}$$
(2)

where ρf (kg m−3), Cp,f (kJ kg−1 K−1), Vz,f (m s−1), kf (W m−1 K−1), Df (m2/s), T (K), and CA,f are density, the heat capacity, flow velocity vector along membrane contactor, the thermal conductivity coefficient, the water diffusion coefficient in the feed, temperature, and water concentration in the aqueous solution.

The velocity of feed solution (Vz,f) in the lumen side along membrane contactor (Eq. 3) is determined by parabolic laminar flow28,29,30:

$${V}_{Z,f}=2u\left[1-{\left(\frac{r}{{r}_{1}}\right)}^{2}\right]$$
(3)

where u (m/s) denotes average velocity of feed solution, and r1 (m) refers the inner radius of lumen.

The diffusion coefficient (cm2/s) was estimated using Wilke–Chang method based on the following equation28:

$$D_{water - i} = \frac{{7.4 \times 10^{ - 8} \left( {\emptyset M_{i} } \right)^{0.5} T}}{{\eta_{i} V_{water}^{0.6} }}$$
(4)

where i can be feed or permeate side of membrane.

Membrane equations

The membrane was a microporous media and the conductivity was considered as only mechanisms for the heat transfer. In addition, mass transfer only happens using diffusion mechanism. Therefore, the heat and mass transfer equations can be written as follows for the membrane side26,31:

$$\frac{1}{r}\frac{\partial }{\partial r}\left({k}_{m}r\frac{\partial T}{\partial r}\right)+\frac{\partial }{\partial z}\left({k}_{m}\frac{\partial T}{\partial z}\right)=0$$
(5)
$$\frac{1}{r}\frac{\partial }{\partial r}\left({D}_{m}r\frac{\partial {C}_{A,m}}{\partial r}\right)+\frac{\partial }{\partial z}\left({D}_{m}\frac{\partial {C}_{A,m}}{\partial z}\right)=0$$
(6)

where km (W/m K) denotes the thermal conductivity coefficient, Dm (m2/s) is the water diffusion. The thermal conductivity coefficient is determined as follows26,31:

$${\text{k}}_{{\text{m}}} = \left( {\left( {{1} - \varepsilon } \right) \times {\text{k}}_{{\text{s}}} } \right) + \left( {\varepsilon \times {\text{k}}_{{\text{g}}} } \right)$$
(7)

where kg and ks refer the thermal conductivity coefficient of vapour and PVDF respectively.

Permeate side equations

The heat and mass transfer equations were derived for the gas stream on the permeate side as follows26,31:

$$\frac{1}{r}\frac{\partial }{\partial r}\left({k}_{p}r\frac{\partial T}{\partial r}\right)+\frac{\partial }{\partial z}\left({k}_{p}\frac{\partial T}{\partial z}\right)={\rho }_{p}{C}_{p, p}{V}_{z,p}\frac{\partial T}{\partial z}$$
(8)
$$\frac{1}{r}\frac{\partial }{\partial r}\left({D}_{p}r\frac{\partial {C}_{A,p}}{\partial r}\right)+\frac{\partial }{\partial z}\left({D}_{p}\frac{\partial {C}_{A,p}}{\partial z}\right)={V}_{z,p}\frac{\partial {C}_{A,p}}{\partial z}$$
(9)

In order to find gas stream velocity, Navier–Stokes equations were used as follows28:

$$\nabla .{V}_{Z,p}=0$$
(10)
$${\uprho }_{p} \frac{{\partial V_{Z,p} }}{\partial t} - \nabla .\left[ {\eta_{p} \left( {\nabla V_{Z,p} + \left( {\nabla V_{Z,p} } \right)^{T} } \right)} \right] + \rho \left( {V_{Z,p} .\nabla } \right)V_{Z,p} + \nabla p = F$$
(11)

where the symbols ηp, ρp, and p are to viscosity of solution (Pa s), density of solution (kg m−3), and pressure (Pa) of gas stream respectively.

Boundary conditions

The boundary conditions of heat, mass, and momentum transfer for the feed, microporous membrane, and permeate side are provided in Table 2. The vapour flux was calculated using an equation reported by Esfandiari et al.7. The water vaporization enthalpy (Hv) was determined as follows:

$${\text{H}}_{{\text{v}}} \left( {\text{T}} \right) = \left( {{1}.{7535} \times {\text{T}}} \right) + 2024.3$$
(12)
Table 2 Employed boundary conditions of heat, mass, and momentum transfer in different domains.

Numerical method

MATALB software was used to solve the constructed model equations in the aqueous solution, microporous membrane, and air stream sides with the defined boundary conditions. The MATLAB applied the central finite difference method to discretize the equations. The equations were simultaneously solved in three layers due to specific boundary conditions. In the numerical solution, 40 nodes were defined in r direction and there were 200 nodes along membrane contactor.

Results and discussion

Effect of saline water inlet temperature

Effect of saline water inlet temperature on outlet temperature of saline water and air stream was shown in Fig. 2. Brine solution inlet temperature was increased from 40 to 72 °C. The increasing of inlet temperature of brine solution led to the enhancement of both hot solution (from 36.53 to 61.59 °C) and cold side from 37.53 to 69.10 °C. Furthermore, it was observed that the difference between outlet temperatures of air stream and saline water was increased with the enhancement of saline water inlet temperature. Figure 3 shows permeate molar flux as a function of saline water inlet temperature. There was an increase in permeate molar flux from around 0.2–1.2 mol/min-m2 with increasing aqueous solution inlet temperature 40–72 °C.

Figure 2
figure 2

Saline water and air output temperature as a function of saline water inlet temperature, Experimental results reported in20.

Figure 3
figure 3

Permeate molar flux as a function of saline water inlet temperature, Experimental results reported in20.

Figure 4 shows temperature profile along membrane in the air side of membrane contactor. There is a sharp increase in temperature between entrance and 0.06 m. Then, it was observed gradual increase in temperature from around 309–312 K.

Figure 4
figure 4

Air temperature profile along membrane contactor, solution inlet temperature = 40 °C.

Figures 5 and 6 show outlet temperature of both fluids and permeate flux as a function of saline water inlet temperature at two different water flowrates. As shown in Fig. 5, the outlet temperature is quite similar for both fluids at lower inlet temperature of saline water but the difference between saline water and air was increased with increasing of saline water inlet temperature at 0.02 m/s. When the saline water velocity was 0.008, the air outlet temperature was higher than saline water outlet temperature in the whole range of saline water inlet temperature. Also, the same behavior was observed in terms of difference in outlet temperatures of both fluids. Furthermore, based on the modeling results, it was found that the decrease in saline water solution can results in the reduction of water vapor permeation though microporous membrane pores.

Figure 5
figure 5

Saline water and air output temperature as a function of saline water inlet temperature at two different saline water flowrates.

Figure 6
figure 6

Permeate molar flux as a function of saline water inlet temperature at two different saline water flowrate.

Effect of salt concentration

The dependence of saline water and air output temperature on NaCl concentration is given in Fig. 7. The salt concentration does not have any meaningful influence on the outlet temperatures in both side of membrane contactor. The variations of permeate molar flux with salt concentration is shown in Fig. 8. There was slight decrease in permeate molar flux (from 1.08 to 0.91 mol/min-m2) with increasing salt concentration from 50 to 140 g/L. It can be concluded that salt concentration in solution has negative impact on permeation on water vapours through membrane pores.

Figure 7
figure 7

Saline water and air output temperature as a function of NaCl concentration, experimental results reported in20.

Figure 8
figure 8

Permeate molar flux as a function of salt concentration, experimental results reported in20.

Effect of saline water flowrate

Saline water velocity is one of the key flow parameters in membrane distillation system and it was analysed in this study. Figure 9 shows saline water velocity effects on temperature of aqueous solution and air stream. It was not observed change in outlet temperature of aqueous solution and air stream with the enhancement of saline water velocity from 0.13 to 0.54 m/s, but, there was slight decrease in both fluid between 0.54 and 0.78 m/s. Also, the difference between two fluids outlet temperature was quite same in the all range of saline water velocity. Furthermore, increase in saline water velocity led to the significant increase in the water vapour permeation flux from 0.4 to 1.4 mol/min.m2 as shown in Fig. 10.

Figure 9
figure 9

Influence of saline water velocity on saline water and air output temperature, experimental results reported in20.

Figure 10
figure 10

Influence of saline water velocity on permeate molar flux, experimental results reported in20.

Conclusion

Desalination of seawater has been considered major priority for researchers due to the increasing demand for potable water. An in-depth model was established in the current work to assess effect of a number of operating parameters on outlet temperature of saline water and air stream in a SGMD. The obtained results demonstrated that the modelling outputs are quite similar with experimental results. The difference between outlet temperature of saline water and air was increased with increasing of aqueous solution inlet temperature. Also, it led to the enhancement of water vapour permeation through pores of membrane. The NaCl concentration in aqueous solution has a slight influence on outlet temperature of two fluid on both of membrane contactor but it was decreased water vapour permeation through the membrane from 1.078 to 0.892 mol/min m2. The water vapour permeation was increased considerably from 0.4481 to 1.333 mol/min m2 with the enhancement of saline water velocity from 0.13 to 0.78 m/s. Additionally, it was perceived from the results that increase in the velocity value of saline water from 0.15 to 0.8 m/s significantly improved the molar flux of permeate 0.4–1.4 mol/m2 min (Supplementary Information S1).