Introduction

Cellulose-derived materials are gaining importance due to their potential to replace oil-based counterparts, resulting in new recyclable and biodegradable products used in the packaging, textiles, and energy sectors, among others (Fu et al. 2020). Unfortunately, due to the recalcitrance of cellulose, only a limited number of common solvents can fully dissolve it, limiting the potential of cellulose in the technosphere (Mohd et al. 2017). Cellulose dissolution is possible with Ionic Liquids (ILs) (Swatloski et al. 2002; Zhang et al. 2005; Reyes et al. 2022) due to cellulose inter and intramolecular H-bonds disruption (Mohd et al. 2017; El Seoud et al. 2019). In general, ILs have been described as organic salts with melting points below 100 °C, hence displaying low volatility (Verma et al. 2017) also enabling the possibility for IL recovery and recyclability (Laus et al. 2005). Moreover, ILs are design solvents given the possibility of adjusting their physical and chemical properties by the selection of the counter ions (Montalbán et al. 2017). A notable example is the Ioncell® process, which uses ILs-based technology to produce cellulose-based textiles (Michud et al. 2015). Additionally, ILs have been utilized for fiber welding, (Reyes et al. 2018) enabling the functionalization necessary to obtain composites.

Cellulose dissolution in ILs is often carried out in dry or inert conditions, given the sensitivity of IL properties to moisture (Manna and Ghosh 2019). There are few studies reporting the mechanism of cellulose dissolution in ILs in the presence of moisture, and mostly focused to measurements of bulk properties such as turbidity (Mazza et al. 2008) and rheology (Nazari et al. 2017), ignoring relevant interfacial effects such as wettability, surface tension, and molecular transport. These latter properties require a controlled environment (impurities, moisture, and water content) (Almeida et al. 2012b). For instance, the water content in ILs plays an essential role in the mass transfer rate at the gas-liquid interface (Aghaie et al. 2018) and, overall, the interfacial properties are crucial for understanding, optimizing, and scaling up related process technologies (Tariq et al. 2011; Barati-Harooni et al. 2016).

Considering the importance of ILs and the effect of water during cellulose dissolution and regeneration, the present work presents a methodical study on the impregnation and diffusion of ILs into cellulose films and the effect of water moieties. The IL homologous series of four ILs [emim][OAc], [bmim][OAc], [emim][Cl], [bmim][Cl], has been chosen based on their intensive use for cellulose processing, and commercial relevance (Anokhina et al. 2017). Their mixtures with water (0, 5, 10 wt%) were examined by measuring contact angles, surface tensions, bulk densities, and diffusivities (Mazza et al. 2008; Szabó et al. 2023). Measurements involved direct optical microscopy, scanning electron microscopy (SEM), tensiometry, and gravimetry. The results revealed the role of the IL counter ions and water content on the wettability and diffusion through homogenous cellulose surfaces at 90oC (typical temperature for cellulose partial/total dissolution) (Zhu et al. 2006), most relevant for green cellulose transformation. Furthermore, our study intentionally focuses on unraveling the nuanced interplay between water, ionic liquid counterions, and associated interfacial properties during cellulose dissolution, with the selected water concentrations strategically chosen to illuminate limiting factors.

Materials and methods

1-ethyl-3-methylimidazolium acetate ([emim][OAc], CAS 143314-17-4, > 95 wt% purity), 1-ethyl-3-methylimidazolium chloride ([emim][Cl], CAS 65039-09-0, 98 wt% purity), 1-butyl-3-methylimidazolium acetate ([bmim][OAc], CAS 284049-75-8, \(\ge\) 95 wt% purity), 1-butyl-3-methylimidazolium chloride ([bmim][Cl], CAS 79917-90-1, \(\ge\) 99 wt% purity) were purchased from Merck with no further purification and stored under inert conditions. The ILs + water mixtures were prepared using Merck Milli-Q® type I water ultrapure. Due to IL hygroscopicity, they were dried before preparing the samples, (12 h, 200 mbar) in a Thermo Scientific VT 6025 vacuum drying oven (Thermo Electron LED GmbH, 63,505 Langenselbold, Germany) (Gordon et al. 2007).

The water content present in pure ILs was determined using a Coulometric Karl Fischer titrator 831 (Metrohm AG, Switzerland) with an accuracy of 0.3% mass. The water content determination for the pure ILs was less than 10 ppm based on a Coulomb metric titration using a CombiCoulomat frit solution (Merck).

Birch kraft pulp (BKP) (provided by UPM-Ky Finland, kappa number 1; DP 4700; no fines) was microfluidized (6 passes at 2000 bar, Microfluidics M-110P, International Corporation, USA) and used to produce nanocellulose (CNF) and CNF films following a previously reported method (Reyes et al. 2018). The nano-fibrillated material has a micrometer-scale length and an average diameter of 37 ± 9 nm as measured by Atomic Force Microscopy AFM (Digital Instruments Multimode Atomic Force Microscope, Bruker, UK), see Supporting Information Figure S1. The prepared films were stored at 25 °C and 45% relative humidity until their final use. The selection of nanocellulose in our study is justified by its superior purity and reduced surface roughness compared to commercially available cellulose options, allowing for a more accurate investigation of properties such as contact angle and diffusivities (Chen et al. 2016; Rojas et al. 2011).

Density

The IL density (ρ) was assessed through the vibrating tube method in a densitometer Anton Paar (DMA 5000, Austria) with 0.005 kg·m−3 uncertainty. The device was calibrated by using ultrapure water and air at 363.15 K and 0.1 MPa.

Imaging

CNF morphology before and after contact with ILs mixtures were analyzed using a scanning electron microscope (SEM) (Phenom Pure G5 Desktop SEM, ThermoFisher Scientific, UK). The SEM device used has a resolution of 30 nm and electron optics with a long-life thermionic source (CeB6), a magnification range of 70-20000x, and was operated at an accelerating voltage of 5 kV. Samples were placed on aluminum stubs using carbon tape and sputtered with Au/Pd- 80/20 coating in a sputtering device using 20 mA current for 20 s (Q150R S Plus, Quorum Technologies Ltd, UK).

Surface tension

The surface tension (γ) was measured in a pendant drop tensiometer with pressure and temperature control in a closed chamber (TEMCO IFT-10, USA). The technique involves the introduction of a sample drop from a syringe needle (ϕ = 1.5 mm) into the stainless-steel cylinder chamber flooded with argon gas at 0.1 MPa. The surface tension was assessed by collecting data from the pendant drop until reaching equilibrium ( Δγ ≤ 1 mN∙m-1); for this purpose, a camera connected to a data acquisition card and image analysis software (DROPimage Avance version 1.5 Rame-Hart Instruments, Inc., USA) were used. The system was operated on a vibration-free table (Vibraplane 2210, EEUU) (Mejía et al. 2014).

Contact angle

Contact angle (Ɵ) measurements were obtained inside the same chamber used for surface tension by depositing suspended droplets onto the CNF film surface. Three samples were taken for each IL or IL + water mixture. The data collection was performed using the same software and data collection card (DROPimage Advance version 1.5 Rame-Hart Instruments, co USA).

Diffusivity

Using the method described in Fig. 1. The apparent diffusion coefficient (D) was measured using CNF square samples of 1 cm × 1 cm.

Fig. 1
figure 1

Diffusion of ILs and ILs + water on CNF films (50 μm thickness) at 90 oC. The symbols presented in Fig. 1 refer to Eqs. 14

Initially, the CNF films were stored in a conditioned laboratory until final use (298.15 K, 45% relative humidity). The square CNF films were placed between two glass slides, and the IL was placed on the edges to promote unidirectional diffusion (Fig. 1). The mass gain was measured by a high precision scale (0.1 mg) (Mettler Toledo Balance XPR404S, Switzerland). The samples were immersed and measured at different times until reaching saturation (Croitoru and Roata 2021). Excess IL + water mixture was removed from each CNF film before each measurement using a Whatman® lens cleaning tissue (Sigma Aldrich, Grade 105). The experiments were carried out in triplicate for each solution at 363.15 K.

The diffusivity was evaluated from the mass transport Eq. (1), assuming that the mass transfer only takes place in the (x) direction. (Hines and Maddox 1985):

$$\frac{\partial C_A}{\partial t}=D\frac{\partial^2C_A}{\partial x^2}$$
(1)

In Eq. (1), CA represents the liquid concentration, and the apparent diffusivity coefficient D is assumed to be constant with temperature, pressure and concentration. The analytical solution of Eq. 1, requires the assumption of one initial condition and two boundary conditions (Crank 1975):

$${C}_{A}\left(x,0\right)={C}_{0}$$
(2)
$$\frac{\partial }{\partial x}{C}_{A}\left(0,t\right)=0$$
(3)
$${C}_{A}\left(l,t\right)={C}_{1}$$
(4)

The solution of Eq. (1), considering the initial and boundary conditions Eqs. (24) leads to (Crank 1975):

$$\frac{C\left(x,t\right)-C_1}{C_1-C_0}=1-\frac4\pi\cdot\sum\limits_{n=0}^\infty\frac{\left(-1\right)^n}{2n+1}\cdot exp\left(\frac{-D\pi^2t\cdot\left(2n+1\right)^2}{4l^2}\right)\cdot cos\left(\frac{\left(2n+1\right)\pi x}{2L}\right)$$
(5)

The mass transferred into the CNF film at a given time can be determined by the integration of Eq. (5) between x = 0 and x = l. Therefore, the amount of matter transferred at any time (Mt) is given by Eq. (6) (Crank 1975):

$$M_t=2L\left(C_1-C_0\right)\cdot\left[1-\frac8\pi\cdot\sum\limits_{n=0}^\infty\frac1{\left(2n+1\right)^2}\cdot exp\left(\frac{-D\pi^2t\cdot\left(2n+1\right)^2}{4l^2}\right)\right]$$
(6)

The maximum mass uptake is found at \(t\to \infty\) as expressed in Eq. (7).

$${M}_{\infty }=2 L\left({C}_{1}-{C}_{0}\right)$$
(7)

Considering Eqs. (6) and (7),

$$\frac{M_t}{M_\infty}=1-\frac8\pi\cdot\sum\limits_{n=0}^\infty\frac1{\left(2n+1\right)^2}\cdot exp\left(\frac{-D\pi^2t\cdot\left(2n+1\right)^2}{4l^2}\right)$$
(8)

A time resolved approximation can be applied, provided that the ratio of the transferred mass to the equilibrium mass is between 0 and 0.8 (0 ≤ \({M}_{t}/{M}_{\infty }\) ≤ 0.8) with an expected error < 5% (Hedlund et al. 2017):

$$\frac{{M}_{t}}{{M}_{\infty }}=\sqrt{\frac{16Dt}{{d}^{2}\pi }}$$
(9)

where \({M}_{\infty }\) represents the maximum mass uptake, and Mt is the amount of mass transferred to the CNF film of a thickness (d) at a time (t).

The value of the diffusivity coefficient can be obtained by a least-squares fit given by the following objective function Eq. (10):

$$O.F=\frac1N\sum\limits_{i=1}^N\left(M_{exp}-M_{cal}\right)^2$$
(10)

where N is the total number of data, \({M}_{exp}\) is the experimental mass and \({M}_{cal}\) is the mass calculated with Eq. (9).

Results and discussion

The density values of the phases involved are needed to calculate the excess volume and surface tension. The density values at 363.15 K for the four IL (water concentrations of 0, 5, 10 wt%) are shown in Fig. 2a. The density of ILs with [OAc] counter-anions is directly proportional to the increase in water content. In contrast, the density of IL with [Cl] was reduced, agreeing with the results of the excess volumes and surface tension (Fig. 2b): [OAc] ILs demonstrated enhanced ionic interactions and structural organization with increased water concentration (see Fig. 2 for the excess volume of the solvents).

Fig. 2
figure 2

Bulk properties for the ILs + water mixtures at 363.15 K, and 0.1 MPa. a densities for the ILs + water mixtures, the standard deviations are < 0.03 kg\(\cdot\)m−3, smaller than the corresponding symbols. b excess volumes (VE) for ILs. (Standard deviations are less than 0.005 cm3\(\cdot\)mol−1, smaller than the corresponding symbols)

The ILs-water mixture shows a strong attractive interaction (see Fig. 2b), this is reflected in negative values of the excess molar volume. Furthermore, an interesting disparity was observed when comparing [OAc] and [Cl] anions, as well as [bmim]+ and [emim]+ cations. The excess molar volume does not show a significant variation between [bmim]+ and [emim]+ compared to [OAc] and [Cl] anions, where ILs with an [OAc] anion exhibit lower values in excess molar volume compared to ILs with a [Cl] anion. This is because the ionic liquids with [OAc] anions have a higher affinity for the formation of specific molecular structures in the presence of water. This latter observation corroborates the importance of water-IL anion interactions in contrast to the corresponding interactions with the cations.

This latter observation agrees with the observed influence of water molecules in the respective ILs surface tension values (see Fig. 3 and Figure S2) where [OAc]-based ILs tend to equilibrate faster when compared to the respective [Cl] ILs (Moreno et al. 2008).

Fig. 3
figure 3

Surface tension versus time profiles of [bmim][Cl] (dotted lines correspond to minimum square regressions using Eq. 11)

Dynamic and equilibrium surface tensions(γ)

The contact of the solvent drops with cellulose in the argon atmosphere involves several phenomena (due to the low solubility of ILs at 0.1 MPa (Song et al. 2020); for instance, the argon molecules diffuse into the liquid drop, and the water molecules are transferred from the liquid bulk out to the drop surface and the gas phase (Bird et al. 2006; Reyes et al. 2013). The simultaneous mass transfer processes are manifested then as a dynamic exponential decay on the surface tension (Reyes et al. 2013). Figure 3 illustrates this phenomenon for the [bmim][Cl] + H2O mixtures.

In general, the presence of water content tends to increase the ILs equilibrium surface tension considering the absolute change from 0 to 10 wt%, with an evident increase specifically at 5 wt%; however, Fig. 3 shows that for the case of [bmim][Cl] + H2O mixtures, the initial surface tension (t = 0) displays a different shift as it approaches the equilibrium (time t\(\infty\)). In general, the four IL + water mixtures exhibited a significant drop in their initial dynamic surface tensions (see Figure S.2 in Supporting Information). In particular, the ILs with the [emim]+ cation (see Figure S2.b-c in Supporting Information) are more significantly affected by water and the corresponding values of the mixtures are higher compared with that of the neat IL. In contrast, ILs with the [bmim]+ cation (see Figure S2.a in Supporting Information) are less affected by the presence of water, exhibiting similar values in their respective initial surface tensions with a more limited increase of the equilibrium surface tensions (Fig. 3, and Figure S2a). Additionally, [bmim]+ ILs dynamic surface tensions equilibrated faster (t < 200 min.) when compared to their homologous [emim]+ mixtures; this later behavior is attributed to the mass transfer involved. The surface tension time dependency observed in Fig. 3 can be further modeled using the following exponential decay expression Eq. (11)

$$\gamma \left(t\right)={\gamma }_{eq}+a\cdot {e}^{\left(-bt\right)}$$
(11)

where \({\gamma }_{eq}\) represents the steady-state surface tension value, a and b are empirical parameters adjusted from the experimental data to Eq. (11) using a nonlinear least square. Table 1 summarizes the parameters obtained after fitting the experimental data to Eq. 11 (Russo and Hoffmann 2010).

Table 1 Empirical fitting parameters to Eq. (11) at 363.15 K and 0.1 MPa (Ar)

Parameter (a), in Table 1, reflects the magnitude of the change between the initial and final equilibrium surface tension, and it is related to the cation-anion affinity or interaction; therefore, lower (a) values are expected for ionic liquids with stronger interactions. It can be observed that parameter (a) is higher for [emim]+ compared to those with [bmim]+; furthermore, for the same type of cations, the [OAc] anion exhibits lower values, demonstrating a significant affinity between the [bmim]+ cation and the [OAc] anion due to the anion electron pairs. This can be explained because ILs with [bmim]+ cation can only donate one H-bond, in contrast to the anion, which can potentially accept more than one, leading to a large electrostatic mismatch of the IL, deriving in a strong attraction for H donors to reduce the electrostatic mismatch (Khan et al. 2014).

In Table 1, parameter (b) reveals the time required to reach the equilibrium, associated with the dynamic surface tension and argon diffusion. The b values are inversely proportional to the time required to reach equilibrium; therefore, its magnitudes are higher for the ILs with [bmim]+ cation when compared to the corresponding mixtures with the [emim]+ cations, which required longer times to equilibrate. A good example of this latter observation is the [bmim][OAc] IL, presenting the higher b (t = 2.14 min) and the shortest equilibration time (t = 11 min). In general, according to Fig. 3, the dynamic behavior of the surface tension can be divided into three zones. Zone 1 (t > 0, t << \({t}_{eq}\)) represents the instantaneous surface tension free from the influence of the gas molecules; Zone 2 (t > 0, t < \({t}_{eq}\)) is characterized by the mass diffusion mentioned before, causing a transient state towards equilibrium, and zone 3 (t ≈ \({t}_{eq}\)) corresponds to equilibrium.

In the transient state, the dynamic behavior of the surface tension is closely related to the argon mass transfer, which can be modeled by considering the following mass transport equation (Bird et al. 2006; Reyes et al. 2013).

$$\frac{\partial {C}_{Ar}}{\partial t}={D}_{Ar-I{L}_{m}}\left[\frac{1}{{r}^{2}}\frac{\partial }{\partial r}\left({r}^{2}\frac{\partial {C}_{gas}}{\partial r}\right)\right]$$
(12)

Although the drop deviates from sphericity this does not significantly affect the calculation of diffusivity. In Eq. (12) \({C}_{Ar}\) is the concentration of the argon gas for a given position (r) inside the droplet and time (t), \({D}_{Ar-I{L}_{m}}\) is the apparent diffusion coefficient of argon into the IL + water liquid drop. The solution of Eq. (12) requires the following initial and boundary conditions.

$${C}_{Ar}\left(r,0\right)=0$$
(13)
$${C}_{Ar}\left(0,t\right)=finite$$
(14)
$${C}_{Ar}\left(R,t\right)={C}_{Ar}^{*}$$
(15)

In Eqs. (1315), R refers to the droplet radius and \({C}_{Ar}^{*}\) is the gas saturation concentration. The analytical solution of Eq. 12 with the initial and boundary conditions given by Eqs. (1315) (Georgiadis 2011):

$$\frac{C_{Ar}}{C_{Ar}^\ast}=1+\frac2{R^\ast}\sum\limits_{n=1}^\infty\frac1{n\pi}cos\left(n\pi\right)\cdot exp\left(-n^2\pi^2D_{Ar-IL_m}^\ast t\right)\cdot sin\left(n\pi R^\ast\right)$$
(16)

where \({R}^{*}=r/R\; \text{and}\; {D}_{Ar-I{L}_{m}}^{*}={D}_{Ar-I{L}_{m}}/{R}^{2}\) 

The diffusivity of the gas into the IL can be approximately predicted at 303.15 K, considering the semiempirical relationship given by Morgan et al. (2005):

$${D}_{Ar-IL}^{303.15}=2.66\cdot {10}^{-3}\cdot {\mu }_{IL}^{-0.66\pm 0.33}\cdot {\stackrel{\sim}{V}}_{Ar}^{-1.04\pm 0.08}$$
(17)

where \({\mu }_{IL}\) is the viscosity of the IL at 303.15 K in [cP], \({\stackrel{\sim}{V}}_{Ar}\) is the saturated molar volume of argon in liquid state at normal boiling point in [cm3/mol], and \({D}_{Ar-IL}\)is the diffusivity coefficient in [cm2/s]. In order to obtain the diffusion coefficient at the experimental condition, one can use the scaling law presented by Bird et al. (2006):

$${D}_{Ar-IL}^{363.15}={D}_{Ar-IL}^{303.15}\cdot {\left(\frac{363.15}{303.15}\right)}^{3/2}$$
(18)

Combining the information from Eqs. 1618, and available experimental data on the IL viscosity and Ar molar volumes (Tegeler et al. 1999; Seddon et al. 2002; Freire et al. 2011; Almeida et al. 2012a; Yang et al. 2017), it is possible to obtain the Ar concentration profiles in the IL droplets at a given time; for instance, Fig. 4, presents the concentration profiles resulting for the Ar diffusion into the [bmim][Cl] pure IL.

Fig. 4
figure 4

Concentration distribution of Ar in [bmim][Cl] at 363.15 K, spherical drop of R = 1.26 mm at t = 10, 60, 600, 3000, 7200 s

Figure 4 and Figure S3 (supporting information) show the argon concentration profiles versus droplet radius position for pure ILs at different times (1 s < t < 7200 s). From Fig. 4, it is observed that the argon concentration reaches equilibrium at approximately 7200 s (120 min); this result agrees well with the information presented in Fig. 3, where the surface tensions for IL [bmim][Cl] started to equilibrate in the period between 100 and 220 min (zone 2 in Fig. 3). Furthermore, this value is almost equal to the prediction made considering the parameter b of Eq. 11. This latter observation confirms that the dominant process governing the dynamic behavior of the surface tension is the argon gas molecular diffusion into the liquid droplet.

Figure S3 also shows the profiles of argon concentration for other pure ILs. The behavior exhibited for the Ar diffusion into the IL [bmim][OAc] (Figure S3a), agrees well with the time scale necessary to reach the equilibrium surface tension (Figure S2a); however, for the case of [emim][OAc] IL, the time scale of the Ar diffusion presented in Figure S3b, does not agree with the times observed for the dynamic surface tensions. This latter observation confirms that IL [emim][OAc], water interactions, and diffusion are more important and cannot be neglected. The equilibrium surface tension is presented in Table 1 and illustrated in Fig. 5 (determined by parameter \({\gamma }_{eq}\) of Eq. 11, zone 3).

Fig. 5
figure 5

Surface tension at equilibrium versus percentage of water (standard deviation is less than 0.05 mN\(\cdot\)m−1, smaller than the corresponding symbol)

Figure 5 summarizes the equilibrium surface tension for the ionic liquids with different water concentrations in an argon atmosphere; the surface tensions absolute value tends to increase considering the range from 0 to 10 wt% water content, except for the [bmim][Cl], which is less affected by water. Regarding the surface tensions for the pure ILs, it is observed that ILs with the acetate anion tend to have lower surface tensions (30.03 mN\(\cdot\)m−1 [bmim][OAc] and 40.40 mN\(\cdot\)m−1 [emim][OAc]) compared to pure ILs containing [Cl] anion (45.20 mN\(\cdot\)m−1 [bmim][Cl] and 46.77 mN\(\cdot\)m−1 [emim][Cl]). In addition, ILs with the [bmim]+ cation possess lower surface tensions than ILs with the [emim]+ cation, given that an increase in the alkyl chain of the imidazolium- cations results in a decreased surface tension (Sánchez et al. 2009). However, the dynamic behavior of the surface tension can be attributed mainly to the Ar diffusion into the droplet of IL + water mixtures, which is reflected in the obtained values of parameter (a) and (b), where ILs with an [OAc] anion exhibited the lowest (a) values and the highest (b) values. This phenomenon is mainly attributed to water molecules interacting with ILs ions by establishing hydrogen bonds with the anion and cation, occupying the space above and below the imidazolium ring, resulting in a decrease of the electrostatic attractions between the ions and, therefore, in a decrease of the overall cohesion energy (Freire et al. 2007). Additionally, these results can be contrasted, considering the evaluation of the corresponding excess molar volumes for the mixtures (VE). It is worth noting that the values of the excess volume tend to decrease and surface tension to increase with the addition of water, indicating strong IL + water interactions and detrimental effects on cellulose dissolution (Niazi et al. 2013). Table S1, summarizes the values for the corresponding excess molar volumes.

In sum, ILs and water mixtures’ equilibrium surface tensions, densities, and diffusivities strongly depend on the water content. The next section discusses the dynamic and equilibrium properties of the liquid (IL + water) and gas (Ar, air) mixtures in contact with cellulose model surfaces.

Contact angle and diffusivities on cellulose surfaces

The contact of liquids and solids with different molecular species results in different interactions in such a way that the excess surface free energy is minimized (Liu and Jiang 2016). As a result of such intermolecular interactions and surface energy minimization, the liquid-solid interphase is characterized by the contact angle formed by the molecules on the surface of the liquids with those of the solid. Larger contact angles evidence weak intermolecular interactions. Pereira et al. (2015) measured the contact angle of various ILs on glass, Al, and PTFE, concluding that the higher the basicity of the hydrogen bond of the anion, the higher the ability of the IL anion to accept protons, translated to an easier IL wettability with the surfaces (Pereira et al. 2015). Figure 6 presents the equilibrium contact angle for the corresponding IL + water mixtures.

Fig. 6
figure 6

Cation-anion interaction on contact angles (θ) for different water content on nanocellulose placed on glass slides. (a) [bmim]+ cation contact angles. (b) [emim]+ cation contact angles

In Fig. 6, it is observed that [bmim][Cl] contact angles are statistically unaffected by the presence of water due to the anion-cation interactions discussed earlier, where the chloride anion has a lower negative charge density than the acetate anion, causing the [bmim]+-[Cl] interaction to be weak (Khan et al. 2014). In contrast, the [bmim]+-[OAc] interaction is strong enough to cause a change in contact angle at different water content, obtaining a maximum at 5 wt% (55 ± 15 [deg]). In comparison [emim][Cl] presents a maximum contact angle at 0% water (63 ± 15 [deg]), indicating lower affinity towards the cellulose surface.

Table S3 summarizes the contact angle values of the four ionic liquids studied with their respective water mixtures. The values reported do not show a clear trend that can be explained within the framework of a well funded theoretical model; therefore this is an area that deserves further research and study. However, ILs with [bmim] + cation tended to increase the wettability with increased water content. The IL + water mixtures contact angles followed the trend: [bmim][OAc]0wt% < [bmim][Cl]5wt% < [bmim][Cl]10wt% < [bmim][Cl]0wt% < [emim][Cl]5wt% < [bmim][OAc]10wt% < [emim][OAc]10wt% < [emim][OAc]0wt% < [bmim][OAc]5wt% < [emim][Cl]10wt% < [emim][OAc]5wt% < [emim][Cl]0wt%.

Contact angles in the present study cannot be considered as isolated equilibrium phenomena; this property is intimately linked with the simultaneous diffusion of the molecular species from the liquid and gas phases through the solid surface. Cellulose dissolution results from the solvent’s ability to remove inter and intramolecular hydrogen bonds between the biopolymer molecules (Hedlund et al. 2017), this is intimately linked to the solvent ability to diffuse and transfer large amounts of the liquid into the solid bulk. Figure 7 depicts the mass gain (diffusion) vs. time for [emim][Cl] mixtures, and Figure S6 shows the equilibrium or total mass gain for the different ILs + water mixtures.

Fig. 7
figure 7

[emim][Cl] diffusion into CNF model surfaces: [emim][Cl] IL + water mass gain with time

Figure 7 and Figure S5 (supporting information) show the profiles of the measured mass (\({M}_{IL})\) versus time for the corresponding ILs. It is possible to distinguish three diffusion regimes or zones (Fig. 7). Zone 1 is characterized by a linear relationship between the measured mass and time, represented by Eq. 9. Zone 2 exhibits a logarithmic profile indicating the proximity to the saturation point. In zone 3, the diffusion plateau is reached, indicating the equilibrium state where the CNF is saturated with IL and begins to dissolve massively. The three zones are observed in all ILs + water mixtures (see Figure S5).

According to Figure S5, the CNF saturation by pure [emim][OAc] is at 420 s, while the saturation by [emim][Cl] is at 600 s. In general, faster IL saturations can be related to subsequent faster dissolutions (Li et al. 2015). In the case of [emim][OAc] the dissolution ability is attributed to its optimized counter ions size (steric effects), which loosened the cellulose intermolecular H-bonds causing more ions to enter the interfibrillar network (Li et al. 2015). Furthermore, Figure S6 shows the equilibrium mass (\({M}_{\infty })\) of IL + water absorbed into the CNF, for the IL mixtures set. \({M}_{\infty }\) values are presented, together with the saturation time and diffusion coefficients (calculated from Eq. 9) in Table 2.

Table 2 Experimental values of saturation mass (\({M}_{\infty }\)), saturation time (\({t}_{\infty }\)), and apparent diffusion coefficient(D) in the IL + water mixture saturation of CNF model surfaces at 363.15 K, and 0.1 MPa

Table 2 and Figure S6, show the different values of the equilibrium mass \({M}_{\infty }\) reached by the IL + water. It is observed that the cellulose films absorbed similar mass in the case of pure ILs (Figure S6). However, at 5% water content, the ILs with [OAc] anion absorbed less compared to the analogous [Cl] ILs. At 10 wt% water content, this trend is shifted to higher sorption, with the [emim] [OAc] IL presenting the highest mass sorption. The selection of the proper counter ion and water content have an essential impact on the amount of solvent absorbed and the saturation time of films, confirming why ILs can be considered designing solvents in the context of cellulose dissolution (Montalbán et al. 2017; Zhang et al. 2010; Lu et al. 2014). In general, the water content tends to increase the saturation time, making further dissolution of cellulose slower, nonetheless, the [emim][OAc] and [emim][Cl] ILs exhibited better tolerance toward higher water contents, displaying the highest sorption saturation mass at shorter times (Table 2). The apparent diffusion coefficients are presented in Table 2 and Figure S7.

The diffusivity values for the ILs with [bmim]+ cation tracked with the amount of water added; therefore, it is possible to conclude that these ILs presented an increasing diffusion resistance with water. In contrast, the ILs with the [emim]+ cation tolerate a more significant amount of water; despite the favorable interactions with water, as discussed before, this seems to favor sorption in cellulose. These latter observations explain why this type of ILs with [emim]+ cation, and in particular [emim][OAc], are preferred for cellulose and biomass processing technologies (Reyes et al. 2022). The solubility of cellulose in ILs mainly depends on the ionic liquid’s effective polarity and hydrogen bonding capacity (Pinkert et al. 2009). ILs with cellulose dissolution ability possess less bulky and unsaturated heterocyclic cations with delocalized \(\pi\) electrons that provide stronger interactions with cellulose, faster diffusion (for steric reasons), and allow for anions such as acetate, to form hydrogen bonds with cellulose (Li et al. 2017; Zhang et al. 2017).

The diffusion of ILs-water mixtures through the cellulose has an evident impact on the morphology, mechanical, and physical properties of the films, as reported earlier (Reyes et al. 2018). For instance, ILs that dissolve cellulose increase the light transmittance (Reyes et al. 2018), Fig. 8.

Fig. 8
figure 8

SEM images of cellulose films before and after [emim][OAc] diffusion at 298.15 K

The Fig. 8 in the lower left corner shows the reference unmodified cellulose. The figure shows the evolution of the morphology after contact with IL (swelling stage) and when the maximum amount of IL has been absorbed, causing partial dissolution. Initially, when the ILs are in contact with cellulose, tiny bubbles (upper right) are formed due to cellulose swelling, later when the maximum amount of IL has been absorbed, the surface exhibits characteristic holes and defects in the micron scales (lower right image), due to partial dissolution. The appearance and dissolution changes are more drastic for the case of [emim][OAc] IL, agreeing with previously reported studies where [emim][OAc] has been shown as an effective IL for cellulose dissolution, producing films of higher optical transmittance (Reyes et al. 2018).

Conclusions

A methodical study about imidazolium ILs [emim][Cl], [emim][OAc], [bmim][Cl], and [bmim][OAc], and their water mixtures are presented in the context of cellulose processing potential. Significant effects emerged from the gas diffusion and water content on the interfacial properties at the gas-liquid interface (surface tension) and liquid-gas-solid interphase (contact angle, diffusion). The two [emim]+ ILs exhibited strong interactions with water, without hindering the diffusion into CNF model surfaces. On the other hand, the [bmim]+ cation presented a remarkable interaction with the acetate anion, confirmed by the surface tension values, the excess molar volumes, and the contact angle. As for the two ILs with chloride ions, it was observed that they have a faster surface tension equilibration time than the ILs with acetate ions. In general, new data is presented regarding bulk properties for the ILs + water mixtures at 363.15 K, and 0.1 MPa under argon atmosphere and the interfacial properties at the gas-liquid and liquid-solid (cellulose) interphases.

This work contributes to the understanding of ILs in bioprocessing and brings valuable insights for designing cellulose processing technologies, offering a foundation for future research and thermodynamic models. While our current mass transfer model effectively captures the impact of various water and counterions interactions on surface tension, it is acknowledged that an enhanced model considering both argon diffusion and water evaporation, supported by additional gas-phase measurements, is warranted for a more comprehensive understanding. Furthermore, the intricate dynamics of contact angle variations and the effects of the acetate-chloride switch deserve a deeper exploration.