1 Introduction

The water flow in single-walled carbon nanotubes (SWCNTs) has attracted considerable attention in recent years due to its wide potential applications (Alberto 2006; Chen et al. 2008; Holt 2008; Hummer et al. 2001; Li et al. 2010; Liu et al. 2005; Majumder et al. 2005; Thomas and McGaughey 2008), such as nanofluidic channel and drug delivery (Bianco et al. 2005; Kalra et al. 2003; Zhu et al. 2004). Previous studies have revealed that the flow rate of water transport through the SWCNTs is 3 to 5 orders of magnitude higher than the rate predicted by the classical continuum theory (Holt et al. 2006; Joseph and Aluru 2008; Majumder et al. 2005; Thomas and McGaughey 2008). These results suggest that the nanoscale surface and the geometrical confinement could cause a dramatic change in the dynamic behavior of fluid. Hence, it is crucial to investigate the unique property of the fluid in nanoconfinement.

The viscosity is an important transport property in classical continuum theory. It varies with the temperature and the pressure and can be measured by the experimental method (David 2003–2004; Hallett 1963; Wonham 1967). Furthermore, some theoretical methods and empirical formulas have also been proposed to estimate the fluid viscosity (Poling et al. 2001). Eyring et al. (Eyring 1936; Kincaid et al. 1941; Powell et al. 1941) presented the Eyring theory of viscosity which has been extensively investigated and developed to examine the temperature and pressure dependences of the viscosity (Bosse and Bart 2005; Horne et al. 1965; Lee et al. 1999; Lei et al. 1997). By using the equilibrium MD simulations, the viscosity can also be calculated by the stress-correlation function (Alfè and Gillan 1998; Balasubramanian et al. 1996; Bertolini and Tani 1995; Guo and Zhang 2001) and the Stokes–Einstein relation (Alfè and Gillan 1998; Sun et al. 2007; Thomas and McGaughey 2008). However, these two existed methods have their intrinsic limitations and difficulties (Bertolini and Tani 1995; Powell et al. 1941; Thomas and McGaughey 2008). Besides the temperature and the pressure dependences, the viscosity is also a scale-dependent property which has been reported by a few works (Chen et al. 2008; Han et al. 2008; Liu et al. 2005; Thomas and McGaughey 2008). Nevertheless, in most previous studies on the nanoflow through the continuum theory, the viscosity of the confined water is always substituted by the viscosity of the bulk water to predict the mass flow rate (Holt et al. 2006; Joseph and Aluru 2008). The magnitude of the flow rate obtained by these calculations may be acceptable but their trends with the characteristic size of the nanochannel should be reevaluated. Thomas and McGaughey (2008) calculated the viscosity of water confined in SWCNTs with diameter ranging from 16.6 to 49.9 Å by the Stokes–Einstein relation, but in the small-diameter SWCNTs it cannot be computed due to the limitation of the relation. It is indicated that the calculation of the fluid viscosity in small nanoconfinement is an important but still unsolved problem. However, through the experiment and the theoretical formula, it is difficult to obtain the viscosity of the confined fluid due to the extremely small scale and the unpredictable state variables. As for the two MD methods, their applicability is still questionable for this special case (Thomas and McGaughey 2008; Mallamace et al. 2010). Hence, it is necessary to develop an accurate and efficient computational method for computing the viscosity of fluid at nanoscale.

In this paper, to calculate the viscosity of water inside SWCNTs, a semi-empirical formula of fluid viscosity referred to as “Eyring-MD” method is proposed on the basis of the Eyring theory and the MD simulations. The numerical experiment of the bulk water is adopted to explore the property of the undetermined critical energy. To examine the feasibility of the present method, the viscosity of the bulk water at high pressures is computed. By using this method, we predict the viscosity of water confined in SWCNTs with diameter ranging from 8 to 54 Å at 298 K, which is hardly obtained by the experimental and the existed computational methods. According to the computational results, a fitting equation which quantitatively describes the relationship between the confined viscosity and the diameter of the SWCNTs is presented, which is instructive for the further research on the nanoflow. The calculations in this paper demonstrate the correctness and the efficiency of the proposed method. Moreover, it should be emphasized that the “Eyring-MD” method can be applied to calculate the viscosity of the other fluids.

2 The “Eyring-MD” method

Eyring and his coworkers presented an explanation of the transport mechanism in the fluid based on the theory of absolute reaction rates, in which the relationship between the viscosity and the temperature is described by (Eyring 1936; Kincaid et al. 1941)

$$ \eta = \frac{Nh}{V}\,\exp \left( {{\frac{{E_{\text{a}} }}{RT}}} \right) $$
(1)

where η is the shear viscosity of the fluid, N is Avogadro’s number, h is Planck constant, V is molar volume, R is the gas constant and T is temperature. E a is the activation energy, which is a potential occasionally acquired by an individual molecule to overcome the potential barrier and squeeze past its neighbors into the next equilibrium position (Powell et al. 1941). It is difficult to be directly obtained through the experimental and the computational methods. Generally, the activation energy is related to the heat of vaporization which has been extensively studied (Kincaid et al. 1941). It can also be expressed as a function of the state variables and undetermined coefficients in some empirical formulas (Bosse and Bart 2005; Lee et al. 1999; Lei et al. 1997). Moreover, in physical chemistry, the nudged elastic band method based on the transition state theory is commonly utilized to calculate the activation energy (Henkelman and Jόnsson 2000). With use of this method, the viscosity of the bulk water calculated by Eq. 1 has an obvious deviation from the result calculated by the Stokes–Einstein relation. This may be because that the physical meaning of the activation energy in the transition state theory is different from that in the Eyring theory. Tolman (1920) proposed an explanation of the activation energy from the viewpoint of the statistical mechanics. For all the molecules in the system, only a portion of them are in the activated state, and the activation energy E a equals to the difference between the average energy of the activated molecules (\( \bar{E}_{\text{act}} \)) and the average energy of all the molecules (\( \bar{E} \)), i.e.,

$$ E_{\text{a}} = \bar{E}_{\text{act}} - \bar{E} $$
(2)

The activated molecules are the portion whose potential energies larger than a critical value E c, as shown in Fig. 1. This critical value E c represents the potential energy’s lower limit of the activated molecules and thereby is called the critical energy.

Fig. 1
figure 1

The probability distributions of potential energies occupied by the water molecules and the Gaussian distribution fittings

In MD simulations, the molecular potential energy is stable and can be easily calculated. Moreover, the Eyring theory is a computational model based on the molecular motion and can be developed to calculate the viscosity of the unimolecular films (Kauzmann and Eyring 1940; Walter et al. 1938), which implies that it is still an available tool on the molecular level. Thus, it is expected that the Eyring theory may also be developed in combination with the MD simulations, which should be effective for the calculations of the viscosity of nanofluid. Figure 1 shows the probability distributions of the potential energies of water molecules at 250, 298, 350, and 400 K (symbol) calculated by the MD simulations in the micro-canonical ensemble (NVE). Some representative simulations are also performed in the canonical ensemble (NVT), in which the probability distributions of the potential energies exhibit similar profiles. From Fig. 1, it is found that the probability distributions of the molecular potential energies can be well fitted by the Gaussian distribution function (line) which may not reflect the real physical fundament but is accurate and simple to be computed. The error of the fittings decreases with increasing temperature, and the largest error is about 1.5% occurs at 250 K and the average error for all the calculations is about 0.9%. Hence, we assumed that the Gaussian distribution can describe the probability density of the water potential energy, i.e.,

$$ f (E )= {\frac{1}{{\sqrt {2\pi } \sigma }}}\exp \left[ { - {\frac{{ (E - \bar{E} )^{2} }}{{2\sigma^{2} }}}} \right]\quad {-}\infty < u < \infty $$
(3)

where E is the potential energy occupied by a water molecule, and σ is the standard deviation of the potential energies. Then, with use of Eqs. 2 and 3, we can obtain

$$ E_{\text{a}} {{ = \int\limits_{{E_{\text{c}} - \bar{E}}}^{\infty } {E\exp \left( { - {\frac{{E^{2} }}{{2\sigma^{2} }}}} \right){\text{d}}E} } \mathord{\left/ {\vphantom {{ = \int\limits_{{E_{\text{c}} - \bar{E}}}^{\infty } {E\exp \left( { - {\frac{{E^{2} }}{{2\sigma^{2} }}}} \right){\text{d}}E} } {\int\limits_{{E_{\text{c}} - \bar{E}}}^{\infty } {\exp \left( { - {\frac{{E^{2} }}{2}}} \right){\text{d}}E} }}} \right. \kern-\nulldelimiterspace} {\int\limits_{{E_{\text{c}} - \bar{E}}}^{\infty } {\exp \left( { - {\frac{{E^{2} }}{2}}} \right){\text{d}}E} }} $$
(4)

For Eq. 4, the analytical expression of E a can not be obtained due to the Gaussian integral with a finite lower bound, i.e., \( \Phi (x) = \int_{E}^{\infty } {\exp ( - x^{2} /2){\text{d}}x.} \) Here, this integral is calculated by an approximate formula as follows (Bryc 2002)

$$ \Phi (E )\approx \left\{ {\begin{array}{*{20}c} {\sqrt {2\pi } \exp \left( { - {\frac{{E^{2} }}{2}}} \right){\frac{{E + g_{1} }}{{\sqrt {2\pi } E^{2} + g_{2} E + 2g_{1} }}},\quad E > 0} \\ {\sqrt {2\pi } \left[ {1 - \exp \left( { - {\frac{{E^{2} }}{2}}} \right){\frac{{g_{1} - E}}{{\sqrt {2\pi } E^{2} - g_{2} E + 2g_{1} }}}} \right],\quad E \le 0} \\ \end{array} } \right. $$
(5)

where g 1 = 3.333 and g 2 = 7.32. The largest relative error of Eq. 5 is 2.3% and occurs in the range of 4.8 ≤ E ≤ 7.8. Then, the activation energy E a can be expressed as follows

$$ E_{\text{a}} = \left\{ {\begin{array}{ll} {{\frac{{\sigma \left[ {\sqrt {2\pi } {{(E_{\text{c}} - \bar{E})^{2} } \mathord{\left/ {\vphantom {{(E_{\text{c}} - \bar{E})^{2} } {\sigma^{2} }}} \right. \kern-\nulldelimiterspace} {\sigma^{2} }} + {{g_{2} (E_{\text{c}} - \bar{E})} \mathord{\left/ {\vphantom {{g_{2} (E_{\text{c}} - \bar{E})} \sigma }} \right. \kern-\nulldelimiterspace} \sigma } + 2g_{1} } \right]}}{{\sqrt {2\pi } ({{E_{\text{c}} } \mathord{\left/ {\vphantom {{E_{\text{c}} } \sigma }} \right. \kern-\nulldelimiterspace} \sigma } - {{\bar{E}} \mathord{\left/ {\vphantom {{\bar{E}} \sigma }} \right. \kern-\nulldelimiterspace} \sigma } + g_{1} )}}},\quad E_{\text{c}} > \bar{E}} \\ {{\sigma \mathord{\left/ {\vphantom {\sigma {\left[ {\sqrt {2\pi } \exp \left( {{\frac{{(E_{\text{c}} - \bar{E})^{2} }}{{2\sigma^{2} }}}} \right) - {\frac{{\sqrt {2\pi } ({{\bar{E}} \mathord{\left/ {\vphantom {{\bar{E}} \sigma }} \right. \kern-\nulldelimiterspace} \sigma } - {{E_{\text{c}} } \mathord{\left/ {\vphantom {{E_{\text{c}} } \sigma }} \right. \kern-\nulldelimiterspace} \sigma } + g_{1} )}}{{\sqrt {2\pi } {{(E_{\text{c}} - \bar{E})^{2} } \mathord{\left/ {\vphantom {{(E_{\text{c}} - \bar{E})^{2} } {\sigma^{2} }}} \right. \kern-\nulldelimiterspace} {\sigma^{2} }} - {{g_{2} (E_{\text{c}} - \bar{E})} \mathord{\left/ {\vphantom {{g_{2} (E_{\text{c}} - \bar{E})} \sigma }} \right. \kern-\nulldelimiterspace} \sigma } + 2g_{1} }}}} \right]}}} \right. \kern-\nulldelimiterspace} {\left[ {\sqrt {2\pi } \exp \left( {{\frac{{(E_{\text{c}} - \bar{E})^{2} }}{{2\sigma^{2} }}}} \right) - {\frac{{\sqrt {2\pi } ({{\bar{E}} \mathord{\left/ {\vphantom {{\bar{E}} \sigma }} \right. \kern-\nulldelimiterspace} \sigma } - {{E_{\text{c}} } \mathord{\left/ {\vphantom {{E_{\text{c}} } \sigma }} \right. \kern-\nulldelimiterspace} \sigma } + g_{1} )}}{{\sqrt {2\pi } {{(E_{\text{c}} - \bar{E})^{2} } \mathord{\left/ {\vphantom {{(E_{\text{c}} - \bar{E})^{2} } {\sigma^{2} }}} \right. \kern-\nulldelimiterspace} {\sigma^{2} }} - {{g_{2} (E_{\text{c}} - \bar{E})} \mathord{\left/ {\vphantom {{g_{2} (E_{\text{c}} - \bar{E})} \sigma }} \right. \kern-\nulldelimiterspace} \sigma } + 2g_{1} }}}} \right]}},\quad E_{\text{c}} \le \bar{E}} \\ \end{array} } \right. $$
(6)

Hence, two expressions of the activation energy E a are obtained based on the potential energy, the distribution and the undetermined critical energy E c. According to Eq. 1, the water viscosity can be expressed as

$$ \eta = \left\{ {\begin{array}{ll} {\frac{Nh}{V}\exp \left\{ {{\frac{{\sigma \left[ {\sqrt {2\pi } {{ (E_{\text{c}} - \bar{E} )^{2} } \mathord{\left/ {\vphantom {{ (E_{\text{c}} - \bar{E} )^{2} } {\sigma^{2} }}} \right. \kern-\nulldelimiterspace} {\sigma^{2} }} + {{g_{2} (E_{\text{c}} - \bar{E} )} \mathord{\left/ {\vphantom {{g_{2} (E_{\text{c}} - \bar{E} )} \sigma }} \right. \kern-\nulldelimiterspace} \sigma } + 2g_{1} } \right]}}{{RT\sqrt {2\pi } ({{E_{\text{c}} } \mathord{\left/ {\vphantom {{E_{\text{c}} } \sigma }} \right. \kern-\nulldelimiterspace} \sigma }{{ - \bar{E}} \mathord{\left/ {\vphantom {{ - \bar{E}} \sigma }} \right. \kern-\nulldelimiterspace} \sigma } + g_{1} )}}}} \right\},\quad E_{\text{c}} > \bar{E}} \\ {\frac{Nh}{V}\exp \left\{ {{\sigma \mathord{\left/ {\vphantom {\sigma {RT\left[ {\sqrt {2\pi } \exp \left( {{\frac{{ (E_{\text{c}} - \bar{E} )^{2} }}{{2\sigma^{2} }}}} \right) - {\frac{{\sqrt {2\pi } ({{{{\bar{E}} \mathord{\left/ {\vphantom {{\bar{E}} \sigma }} \right. \kern-\nulldelimiterspace} \sigma } - E_{\text{c}} } \mathord{\left/ {\vphantom {{{{\bar{E}} \mathord{\left/ {\vphantom {{\bar{E}} \sigma }} \right. \kern-\nulldelimiterspace} \sigma } - E_{\text{c}} } \sigma }} \right. \kern-\nulldelimiterspace} \sigma } + g_{1} )}}{{\sqrt {2\pi } {{ (E_{\text{c}} - \bar{E} )^{2} } \mathord{\left/ {\vphantom {{ (E_{\text{c}} - \bar{E} )^{2} } {\sigma^{2} }}} \right. \kern-\nulldelimiterspace} {\sigma^{2} }} - g_{2} {{ (E_{\text{c}} - \bar{E} )} \mathord{\left/ {\vphantom {{ (E_{\text{c}} - \bar{E} )} \sigma }} \right. \kern-\nulldelimiterspace} \sigma } + 2g_{1} }}}} \right]}}} \right. \kern-\nulldelimiterspace} {RT\left[ {\sqrt {2\pi } \exp \left( {{\frac{{ (E_{\text{c}} - \bar{E} )^{2} }}{{2\sigma^{2} }}}} \right) - {\frac{{\sqrt {2\pi } ({{{{\bar{E}} \mathord{\left/ {\vphantom {{\bar{E}} \sigma }} \right. \kern-\nulldelimiterspace} \sigma } - E_{\text{c}} } \mathord{\left/ {\vphantom {{{{\bar{E}} \mathord{\left/ {\vphantom {{\bar{E}} \sigma }} \right. \kern-\nulldelimiterspace} \sigma } - E_{\text{c}} } \sigma }} \right. \kern-\nulldelimiterspace} \sigma } + g_{1} )}}{{\sqrt {2\pi } {{ (E_{\text{c}} - \bar{E} )^{2} } \mathord{\left/ {\vphantom {{ (E_{\text{c}} - \bar{E} )^{2} } {\sigma^{2} }}} \right. \kern-\nulldelimiterspace} {\sigma^{2} }} - g_{2} {{ (E_{\text{c}} - \bar{E} )} \mathord{\left/ {\vphantom {{ (E_{\text{c}} - \bar{E} )} \sigma }} \right. \kern-\nulldelimiterspace} \sigma } + 2g_{1} }}}} \right]}}} \right\},\quad E_{\text{c}} \le \bar{E}} \\ \end{array} } \right. $$
(7)

Thus, a formula on the basis of the Eyring theory and some quantities associated with the potential energy in MD simulations is proposed and therefore is referred to as “Eyring-MD” method. It should be noted that the activation energy calculated by the first formula in Eq. 6 (\( E_{\text{c}} > \bar{E} \)) has a lower limit of \( {{\sqrt {2\pi } \sigma } \mathord{\left/ {\vphantom {{\sqrt {2\pi } \sigma } \pi }} \right. \kern-\nulldelimiterspace} \pi } \) that is larger than most activation energies of water in gaseous, liquid and even solid state computed in this paper. Therefore, the second equations in Eqs. 6 and 7 are valid in most cases. Furthermore, it can be found that an undetermined value E c still exists in Eq. 7. In this paper, the numerical experiment is adopted to explore the property of the critical energy E c, where E c is calculated by Eq. 7 and the MD simulations of bulk water. The viscosity of bulk water is obtained from the Stokes–Einstein relation. We adopt a modification that the radius of the first peak in the radial distribution function (RDF) is chosen to be the diameter of water molecule, which can greatly improve the computational accuracy of the viscosity (Alfè and Gillan 1998). Through the numerical experiments, we respectively examine the dependence of the critical energy on the temperature, the van der Waals energy and the coulomb energy. It is expected that the critical energy E c can be expressed as a function of the known values and a semi-empirical formula can be proposed to compute the viscosity of water confined in SWCNTs.

3 The research on the critical energy E c

3.1 The numerical experiment

The simulations are performed by an open-source MD code LAMMPS (Steve 1995). The computational model includes 906 water molecules in a simulation box with an initial density of 1.0 g/cm3, as shown in Fig. 2. The periodic boundary condition is applied to all the three directions and the particle–particle particle–mesh (pppm) algorithm is adopted to handle the long-range coulomb interactions. The time step is 1 fs. The TIP4P-EW water model (Fig. 2) is employed to compute the potential energy with the main parameters σ OO = 3.16435 Å, ε OO = 0.16275 kcal mol−1, q O = −1.04844e, and q H = 0.52422e, where e is the elementary charge (Hans et al. 2004). The SHAKE algorithm is used to constrain the bond and the angle of the water to the specified values. In this paper, we refer to the Lennard-Jones (LJ) potential including the van der Waals interaction and a nuclear repulsion as the van der Waals energy. The cutoff distance for the LJ interactions and the electronic interactions are 10 and 12 Å, respectively. The simulation process can be divided into three steps. Firstly, it is conducted in the isothermal–isobaric ensemble (NPT) for 80 ps at 1 atm to obtain the average density of the water. Then, the system is equilibrated for 40 ps in the NVT, in which the volume of the simulation box is reset according to the average density in step 1. Finally, the data is collected in the NVE within 320 ps. The constant temperature and the constant pressure are controlled by the Nose/Hoover temperature thermostat and pressure barostat, respectively. The results in this work are averaged by three repeat runs for each case to eliminate the influence of the initial velocity and configuration.

Fig. 2
figure 2

The computational model of the numerical experiment

The parameters for the three numerical experiments are displayed in Table 1. Through the numerical experiment of the temperature dependence, we explore the property of the critical energy of the bulk water. Furthermore, for the water confined in SWCNTs, due to the change in the microstructure of the water close to the tube wall and the presence of the interactions between the carbon atoms and the water molecules, the van der Waals energy and the coulomb energy are different from those of the bulk water. Hence, the influences of these energies on the critical energy need to be considered and investigated. These two numerical experiments are conducted by using another four depths of potential well ε = 0.75ε OO, 1.25ε OO, 1.5ε OO, 1.75ε OO and two atom charges q = 0.967q 0, 1.033q 0 (at 250, 298, and 350 K), where ε OO is the initial depth of potential well in LJ interaction and q 0 is the initial charge of oxygen and hydrogen atoms in coulomb interaction.

Table 1 The numerical experiments for the critical energy E c

Figure 3a shows the viscosity of the bulk water with the initial parameters ε OO and q 0 calculated by the methods from the Stokes–Einstein relation and the stress-correlation function. The difference between them decreases with increasing temperature and is about 6% on average. The experimental results (David 2003–2004) are also given in Fig. 3a, which are consistent with the present simulation results. The viscosities of 2.89 mPa s at 250.7 K and 0.66 mPa s at 297.5 K are comparable with those of 2.14 ± 0.2 mPa s at 245 K, 0.47 ± 0.07 mPa s at 298 K (Bertolini and Tani 1995) and 0.66 ± 0.08 mPa s at 303.15 K (Balasubramanian et al. 1996) calculated by the stress-correlation function through the MD simulations. Meanwhile, the viscosity of water with the different depths of potential well ε and atom charges q is also displayed in Fig. 3b and c, respectively. For a given temperature, the viscosity of water with the same charge decreases with increasing depth of potential well ε, whereas the viscosity of water with the same depth of potential well increases with increasing atom charge q. These variations of the viscosity can be well explained by the different contributions of the van der Waals energy and the coulomb energy in the viscous flow of water. For two neighboring water molecules, the van der Waals energy (LJ interaction) mainly plays repulsive roles because the average distance between the water molecules is shorter than the LJ parameter σ OO, whereas the coulomb energy mainly plays attractive roles due to the self-assemble ability of polar water molecules. As the depth of potential well ε increases, the contribution of the van der Waals energy is more significant and the interactions between two neighboring water molecules are weakened, which can result in a decrease in the water viscosity. Similarly, as the atom charge q increases, the increasing coulomb energy enhances the interactions, which can result in an increase in the water viscosity. Furthermore, it can be observed that there are three viscosities remarkably higher than the other values, as denoted as “Solid State Points” in Fig. 3. From their extremely large viscosities, it can draw that the water in these three points are in solid state. They can be seen as fragile liquid (Angell 1993; Velikov et al. 2001) in which the exponential relationship between the viscosity and the reciprocal of temperature is no longer valid. This point can also be demonstrated in the following calculation. The large viscosity of 16 mPa s as labeled in Fig. 3c is the only case whose activation energy higher than the lower limit \( {{\sqrt {2\pi } \sigma } \mathord{\left/ {\vphantom {{\sqrt {2\pi } \sigma } \pi }} \right. \kern-\nulldelimiterspace} \pi } \) of the first equation in Eq. 6.

Fig. 3
figure 3

a The viscosity of water with the initial parameters εOO and q0 against the temperature. b The viscosity of water with the different depths of potential well ε and initial atom charge q0 against the temperature. c The viscosity of water with the different atom charges q against the temperature

3.2 The critical energy E c

As can be seen from Eq. 7, the viscosity depends on the ratio of the critical energy E c to the standard deviation σ. So it is supposed that the critical energy may be related to the standard deviation. Figure 4 plots the critical energy E c as a function of the standard deviation σ. For the numerical experiments with use of the initial parameters ε OO and q 0 (temperature dependence), it is observed that the critical energy decreases nonlinearly from −12.9 to −13.8 kcal mol−1 as the temperature increases, and only a slight change can be detected when the temperature is larger than 298 K, as shown in Fig. 4a. Hence, the critical energy can be seen as a constant approximately in the calculation of the viscosity of liquid or gaseous water. As the temperature decreases from 298 to 250 K, the water is in the transition from the liquid state to the solid state and the water molecules gradually exhibit an ordered configuration which is similar to the arrangement of the water layers near the wall of SWCNTs (Joseph and Aluru 2008; Mashl et al. 2003; Walther et al. 2001). In addition, compared with the potential energy of the bulk water, the potential energy of the water in the above boundary layers is also changed. Hence, to calculate the viscosity of water inside SWCNTs, the property of the critical energy at low temperature and its variation with the potential energy still require further research.

Fig. 4
figure 4

a The critical energy of water with the initial parameters εOO and q0 versus the standard deviation σ in Gaussian distribution. b The relationship between the critical energy of water with the different parameters and the standard deviation σ in Gaussian distribution

Figure 4b presents the critical energy of water with the different depths of potential well ε and atom charges q at 250, 298, and 350 K. For the water with the initial charge q 0 and the different depths ε, the critical energy is almost linearly dependant on the standard deviation σ at the same temperature. When the atom charge is changed by ±0.033 q 0, the critical energies deviate from the above linear relations with approximately the same distances. Take the samples at 350 K as an example (downward triangle), when the atom charge is changed from q 0 (symbols on the line) to 0.967 q 0 (symbols above the line), the critical energy has an increment relative to the line. The reason of the discrepancies is that the critical energy which is used to calculate the water viscosity relies on the cooperative effect of the van der Waals energy and the coulomb energy. For the water in which only the depth of potential well is changed, the ratio of the two energies is dramatically different from that for the water in which only the atom charge is changed. Such difference between the ratios will result in a discrepancy of the critical energy considering the influence of the coulomb energy from the line representing the influence of the van der Waals energy.

To correct the discrepancies of the critical energy from the lines, the relationships between the van der Waals energy and the coulomb energy at 298 and 350 K are investigated, as shown in Fig. 5. For the different depths of potential well ε and the initial atom charge q 0, the coulomb energy is as an approximately linear function of the van der Waals energy as follows

$$ U_{\text{coul}} = p_{1} U_{\text{van}} + p_{2} $$
(8)

where U coul and U van is the coulomb energy and the van der Waals energy which follow the linear relations, p 1 = −2.062576 and p 2 = −8.984223 kcal mol−1 at 298 K, p 1 = −2.065280 and p 2 = −8.502127 kcal mol−1 at 350 K. From Fig. 5, it can be seen that when the atom charge q is changed, some discrepancies from the straight lines (Eq. 8) can be observed, which are similar to the variations in Fig. 4b. Therefore, along with the description mentioned above, it is considered that the anomalous variations of the critical energy induced by the changed atom charges q in Fig. 4b can be corrected by the difference ΔU coul between the coulomb energy from the MD simulations and that from Eq. 8. This correction of the critical energy reflects the influence arises when the variation of the coulomb energy dominates over the variation of the van der Waals energy (deviate from the lines). Actually, such correction is a resistance to the variation of the viscosity. Take T = 350 K and q = 0.967q 0 as an example, for a given depth of potential well ε, the critical energy without the correction is lower than that has been corrected, as shown in Fig. 4b. For the same standard deviation, the lower critical energy implies the smaller water viscosity because the average potential energy of the activated molecules is closer to that of all the molecules. Thus, the above correction term which enhances the critical energy will resist the decrease in the water viscosity.

Fig. 5
figure 5

The relationships between the coulomb energy and the van der Waals energy

Furthermore, it can be seen that the critical energies denoted as “Solid State Points” in Fig. 4b deviate from the predictions. It implies the breakdown of the exponential relationship which is consistent with the description of the fragile fluid. Hence, the “Eyring-MD” method will underestimate the viscosity of the icy and the glassy water and is applicable for the gaseous and liquid water.

According to the simulation results mentioned above, four assumptions about the critical energy can be proposed as follows: (1) The critical energy E c is as a function of the temperature T and the standard deviation σ in the Gaussian distribution. (2) The critical energy E c is linearly dependant on the standard deviation σ at the same temperature. (3) The slope and the intercept of the E cσ lines (assumption (2)) are as a linear function of the temperature. (4) The increment or decrement in the critical energy arises when the variation of the coulomb energy dominates over the variation of the van der Waals energy is in proportion to the discrepancy ΔU coul. Thus, the critical energy can be given by

$$ E_{\text{c}} = (aT + b)\sigma + (cT + d) + e\Updelta U_{\text{coul}} $$
(9)

where a, b, c, d, and e are the fitting coefficients and a = −0.002171 K−1, b = −1.114322, c = 0.018546 kcal mol−1 K−1, d = −11.486829 kcal mol−1 and e = 0.63 from our calculations. The last term in Eq. 9 is the correction of the critical energy which can be almost ignored for a specified matter in the general case. But for the viscosity of water confined in SWCNTs, the effect of this correction term should be considered. By using Eqs. 7 and 9, the viscosity of water can be expressed as a function of the temperature and some statistical quantities from the MD simulations including the potential energy and its distribution. It is referred to as “Eyring-MD” method and can be seen as a semi-empirical formula. This method can be utilized to calculate the viscosity of water confined in SWCNTs because the potential energy is a stable quantity in the MD simulations. The proposed method may be also applicable for the other fluid through carrying out similar preparative works as above. Three advantages of the “Eyring-MD” method are summarized as follows: Firstly, if the undetermined coefficients are obtained, the cost of the calculation of viscosity will be very low. Secondly, compared with the empirical formulas, the present method still needs few calculations to obtain the potential energy, but it can obtain more accurate results. Finally, the proposed method could be used to calculate the viscosity of fluid in some special case, for instance, the water confined in SWCNTs.

4 Results

4.1 Bulk water at high pressure

To demonstrate the validity of the “Eyring-MD” method, the variations of the relative viscosity of water with the pressure at 298 and 350 K are examined. The relative viscosity is the ratio of the water viscosity at a specified pressure to that at 1 atm, i.e., η r = η p/η 1. Here, η 1 = 0.676 mPa s at 298 K and η 1 = 0.309 mPa s at 350 K. Figure 6 shows the relative viscosity calculated by the “Eyring-MD” method (solid symbol) and the Stokes–Einstein relation (open symbol). The experimental results (solid line) and their extrapolations (dashed line) are also displayed in the figure (Wonham 1967). It is found that the variations of the water viscosity with the pressure are not obvious due to the incompressibility of water. From the experimental results, it can be seen that the relative viscosity slightly decreases initially and then increases with increasing pressure at 298 K, while the relative viscosity is almost in proportional to the pressure at 350 K. The differences between the experimental results and the computational results from the “Eyring-MD” method and the Stokes–Einstein relation are about 1.4 and 3.8%, respectively. While the results from the “Eyring-MD” method can better describe the trend than the results from the Stokes–Einstein method. Though the coefficients in this semi-empirical method are obtained through the viscosity calculated by the Stokes–Einstein relation, the present method can compute the trend more accurately because its required quantities (potential energy and standard deviation) are more stable in the MD simulations. In Fig. 6, the viscosity calculated over a short time period of 50 ps is also presented. The differences between the results from the long time simulations and those from the short time simulations are about 0.1% on average. Thus, the run time of 50 ps is adequate for the calculation of viscosity by using the “Eyring-MD” method, which is much shorter than the typical sampling time of the stress-correlation function and the Stokes–Einstein relation.

Fig. 6
figure 6

The relative viscosity of water at high pressure obtained by the “Eyring-MD” method, the Stokes–Einstein relation and the experiment

4.2 Confined water

In this section, the viscosity of water confined in SWCNTs at 298 K is calculated. The parameters for the LJ interaction between the carbon and the oxygen atoms are σ CO = 3.28218 Å and ε CO = 0.11831 kcal mol−1. The carbon atoms of SWCNTs are fixed in the simulations to save the computational cost. We adopt the periodic boundary in all the directions. The illustrations of the three computational models are shown in Figs. 7 and 8 and their detailed sizes are listed in Table 2. The MD simulation is conducted in the NVT ensemble and can be divided into three steps. Firstly, a computational model including a SWCNT and two water reservoirs is equilibrated for 80 ps (Fig. 7), and the water density in the reservoirs away from the tube is maintained 0.99 g/cm3 (density of the bulk water at 298 K). The objective of the present step is to calculate the amounts of the water molecules in the various SWCNTs (Table 3). Secondly, the two water reservoirs are removed, and a SWCNT are adopted as the second model to equilibrate for 100 ps (Fig. 8). The amounts of the water molecules in SWCNTs are determined from the results of step 1. Finally, based on the second model, the data is collected within 500 ps. The other settings for the present MD simulations are same to those for the numerical experiments.

Fig. 7
figure 7

The schematic illustration of the computational model in step 1

Fig. 8
figure 8

The schematic illustration of the computational model in steps 2 and 3

Table 2 The sizes of the computational models in steps 1, 2, and 3
Table 3 The amounts of the water molecules inside SWCNTs

Figure 9 shows the relative viscosity of water (solid circle) inside SWCNTs at 298 K calculated by the “Eyring-MD” method versus the diameter. Here, the relative viscosity is the ratio of the viscosity of water confined in SWCNTs to the viscosity of the bulk water, i.e., η r = η cnt/η bulk, where η bulk = 0.676 mPa s. The relative viscosity depicts the variation of the viscosity of the confined water relative to the viscosity of the bulk water. Meanwhile, it makes the comparison between the present computational results and the other results more clear. It can be seen that the relative viscosity of water inside SWCNTs increases nonlinearly with enlarging diameter. Three different regions can be clearly distinguished according to the trend of the water viscosity. The first region is the molecule-governed region (d < 10.5 Å), in which the water viscosity increases dramatically with an increase in the diameter of SWCNTs. In this region, the flow is controlled by the individual motions of the water molecules and the continuum theory may be invalid for calculating the flow rate. But the viscosity presented in Fig. 9 still reflects the transport capacity of the SWCNTs with the extremely small diameter, i.e., the high-speed conduction which has been widely reported. The second region is the transition region (d = 10.5–14.5 Å), in which the variation of water viscosity with the diameter becomes slow while the water molecules undergo a transition from the individual behaviors to the collective motions. The last region is the continuum region (d > 14.5 Å), in which the curve gradually flattens and the viscosity of the confined water approaches that of the bulk water. Here, the water can be seen as a continuum approximately and some modified microflow theories may be valid. According to the simulation results, the relative viscosity of water confined in SWCNTs is fitted as follows

$$ \eta = \eta_{\rm bulk} \;\left[ {1 - \left( {{\frac{5.14}{d}}} \right)^{0.7} + \left( {{\frac{10.02}{d}}} \right)^{2.9} - \left( {{\frac{9.65}{d}}} \right)^{3.9} } \right] $$
(10)

where d is the diameter of the SWCNTs. The relative viscosity calculated by Eq. 10 is also depicted in Fig. 9. The proposed formula should be significant for the researches on the water transport through the SWCNTs and the design of nanofluidic channels. At the same time, the results over 50 ps (small solid circle) are also shown in Fig. 9, and the average difference between the long time and the short time simulations is about 0.4%.

Fig. 9
figure 9

The relative viscosity of water, the previous results, the uncorrected results, the relative amount of the hydrogen bonds against the tube diameter

The hydrogen bond of the water inside SWCNTs is also studied to further understand the variation of the water viscosity with the diameter. It is well known that the hydrogen bond is an important intermolecular bond in water (Alenka and David 1996). The computational results of the relative amounts of the hydrogen bonds (solid diamond) are shown in Fig. 9. The relative amount is defined as the ratio of the amount of the hydrogen bonds of the confined water to that of the bulk water, i.e., N r = N cnt/N bulk, where N bulk = 3.494. The geometrical criterion (Martí 1999) is adopted to calculate the hydrogen bond and the results are in good agreement with those calculated by Hanasaki and Nakatani (2006) and Martí (1999). From Fig. 9, it can be seen that all the relative amounts are lower than 1, which means that the amount of the hydrogen bonds of the confined water is lower than that of the bulk water. Some previous works have pointed out that, compared with the bulk water, the water confined in SWCNTs have energy loss owing to the breakings of the hydrogen bonds, and only a portion of them can be recovered through the van der Waals interactions between the water molecules and the carbon atoms of SWCNTs (Hummer et al. 2001; Wang et al. 2008). It is suggested that the combinations among the water molecules especially for those close to the tube wall are weakened, which could result in a relatively low viscosity. This is consistent with the present results of the viscosity of the confined water. A similar presentation is also given by Han et al. (2008) to explain the decrease in the effective viscosity of the glycerin inside nanopores. From Fig. 9, it can be observed that the trend of the relative amount of the hydrogen bonds is almost similar to the trend of the relative viscosity except in the (8, 8) and the (9, 9) SWCNTs whose magnitude are higher than their adjacent results. The discontinuity in the relative amount of the hydrogen bonds is because that the water molecules exhibit a close, ordered and hollow arrangement in the (8, 8) and the (9, 9) SWCNTs at 298 K. The front and the side views of the water molecules in the (8, 8) SWCNT are shown in Fig. 9. Corresponding to the abnormal increment in the curve of the hydrogen bond, the smoothness of the viscosity can be explained by the effect of the correction term of the critical energy. Without utilizing the correction term, the relative viscosity of the water inside SWCNTs (open circle) has a remarkable increment in the transition region, which is similar to the curve of the relative amount of the hydrogen bonds. Nevertheless, it should be noticed that the correction terms for the (8, 8) and the (9, 9) SWCNTs are quite large because there is an obvious relative variation between the van der Waals energy and the coulomb energy, which is induced by the structured configuration of the water molecules. Hence, the increase in the viscosity in the transition region is greatly resisted by the correction term and a smooth curve of the relative viscosity is obtained. The present role of the correction term can also be understood by the fact that as the distance decreases, the van der Waals energy increases more quickly than the coulomb energy due to its stronger dependence on the distance. The increase in the van der Waals energy reduces the viscosity of the confined water. Furthermore, it should be noted that the structured configuration of the water molecules in the (8, 8) and the (9, 9) SWCNTs are similar to that in ice. However, some studies have revealed that the phase states of water in these cases at room temperature may be not yet solid (Giovambattista et al. 2009; Mashl et al. 2003) and the formation of the ice still requires lower temperature or the other conditions (Bai et al. 2006; Koga et al. 2001). Thus, the viscosity for the (8, 8) and the (9, 9) SWCNTs calculated in this work may be slightly underestimate but still acceptable.

Some previous works also reported the viscosity of water inside SWCNTs. Chen et al. (2008) and Han et al. (2008) measured the viscosity of the fluid inside the nanopores with the diameter in the range of 20–100 Å. The results reveal a decrease in the viscosity, which qualitatively validate the present results. Thomas and McGaughey (2008) computed the viscosity of water confined in SWCNTs with the diameter ranging from 16.6 to 49.9 Å using the Stokes–Einstein relation. The viscosity of the bulk water they obtained is 1.02 mPa s at 298 K, which is higher than 0.676 mPa s from our simulations. The reason is that the molecular diameter in Thomas’s work is 1.7 Å, which is lower than 2.78 Å on average used in this work. (As mentioned above, we adopt the radius of the first peak in RDF as the molecular diameter (Alfè and Gillan 1998).) The relative viscosity can bypass the discrepancy of the viscosities of the bulk water which is induced by the different molecular diameters. From Fig. 9, it can be seen that the relative viscosity of water inside SWCNTs obtained in the present work (solid circle) is in good agreement with the results calculated by Thomas and McGaughey (solid square). However, the viscosity of water inside the small-diameter SWCNTs (<16.6 Å) is not given, which is due to the breakdown of the Stokes–Einstein relation in this case. Comparatively, the “Eyring-MD” method can tackle this problem because its required quantities are the potential energy and the distribution which are stable and easily obtained in the MD simulations. Chen et al. (2008) calculated the viscosity of water flow through the SWCNTs with the diameter varying from 13.5 to 81.1 Å using the shear stress and the continuum theory. The results show that when the flowing velocity is enough high, the viscosity of water inside SWCNTs will be stationary and increases with an increase in the diameter. This conclusion is also consistent with the present results. The viscosity of water confined in small SWCNTs (10.8–21.7 Å) with the specified densities was investigated by Liu et al. (2005) through the stress-correlation function. It is indicated that for the confined water with the same density, the viscosity decreases with enlarging diameter. While for the confined water inside a given SWCNT the viscosity increases with increasing water density. These results are different from the present results. This is because that the density of the confined water in their calculation is kept as a constant for all the SWCNTs. Nevertheless, the density in the present work is determined according to the capability of the SWCNTs which is calculated by the MD simulations (step 1). In addition, when the stress-correlation function is used to calculate the viscosity of the water confined in SWCNTs, only the component of the stress tensor in the flow direction can be considered (Liu et al. 2005). It may reduce the precision of the calculation of the viscosity.

5 Conclusion

Based on the Eyring theory and the numerical experiments through the MD simulations, a semi-empirical formula referred to as “Eyring-MD” method was proposed to calculate the viscosity of water confined in SWCNTs. The numerical experiments are performed with consideration of the effects of the temperature, the van der Waals energy and the coulomb energy, respectively. The research indicates that the van der Waals energy (LJ interaction) and the coulomb energy between the two neighboring water molecules play a repulsive and an attractive role, respectively. According to the numerical experiments, we proposed an assumed expression of the critical energy E c. The present method should be applicable for the gaseous, the liquid and perhaps some supercooled water (>262 K) but may underestimate the viscosity of the ice and the glassy water. To justify the “Eyring-MD”method, the viscosity of the bulk water at high pressure was computed. Compared with the experiment, the small difference and the similar trend validate the correctness of the proposed method. Furthermore, the efficiency can also be confirmed by a 50 ps MD simulation. Then, by using the proposed method, the viscosity of water confined in SWCNTs at 298 K was investigated and the results show that it increases nonlinearly with enlarging diameter of SWCNTs, which is in good agreement with the previous experiments and computational results. Furthermore, the amount of the hydrogen bonds of the confined water is also studied to further understand the trend of the viscosity. It is indicated that the trend of the relative amount of the hydrogen bonds is similar to that of the relative viscosity except in the transition region. The discontinuity of the relative amount is due to the structured configuration of the water molecules in the (8, 8) and the (9, 9) SWCNTs. The calculation of the viscosity demonstrates the correctness and the efficiency of the “Erying-MD” method. But it still requires more modifications and further researches to extend the applications to the ice, the glassy water and the other fluid, such as the research on the critical energy E c and the calculation of the activation energy E a. The results of the viscosity and the hydrogen bond computed in this paper should be significant for recognizing the transport property of the nanofluid inside SWCNTs.