Introduction

The dynamic properties of undercooled liquids are of particular interest as they are key to understanding glass-forming ability [1]. The dynamic properties of glass-forming liquids are found to be sensitive to the change in state variables such as temperature and pressure, and the shear viscosity in particular may vary over orders of magnitude in undercooled liquids as temperature is decreased from the melting to the glass transition temperature [2]. The liquid fragility of a glass-former quantifies how rapidly viscosity changes upon undercooling. The fragile liquids with a rapid change in viscosity shows a super-Arrhenius behavior which can be differentiated from an Arrhenius-type response of strong liquids [3].

To understand various properties of undercooled liquids, molecular dynamics (MD) has been extensively used as atomic as well as electronic information is directly accessible [4, 5], and the Kob–Andersen (KA) [6] model is often used because it does not form a crystalline phase. The KA model simplifies the interatomic interactions but still bears the physical relevance as shown in the Ni\(_{80}\)P\(_{20}\) alloy [7]. Model materials are often used to study specific behaviors of liquids, and give insights on material properties of liquids such as fragility and heterogeneity [8].

In classical MD studies, the role of attractive and repulsive interactions in liquids have been also studied [1, 9,10,11]. An 8:2 binary mixture within the Lennard–Jones potential (KA–LJ) is known to be a good glass former in the three-dimensional space, but the glass-forming ability (GFA) is sensitive to the composition, binding energies, and environment. For example, a different binary mixture such as 6.5:3.5 may show the highest GFA in the two dimensional space but not necessarily in the three dimensional space [12]. In the KA–LJ model, the binding energy between different elements is substantially larger than the binding between like atoms whereas the difference between the atomic radii is as much as 20 percent, preventing crystallization [13]. The KA–LJ liquid at density of 1.2 is reported to have the melting temperature of 1.028 at the corresponding pressure of 10.19 in reduced units [14], and known to be fragile [2, 15]. The glass-transition temperature in metals is the temperature above which a solid yet amorphous structure is energetically more stable than the crystalline phase. For KA, the glass-transition temperature is 0.41 in reduced units [16], and the glass-transition temperature and the fragility of liquid are correlated to GFA.

To better understand the effects of attractive and repulsive interatomic interactions on structural and dynamic properties of glassy systems, the reduction to purely repulsive part of the pair potential Weeks–Chandler–Andersen (WCA) [17] variants of KA–LJ have been studied [9, 18]. Liquid structures found with both interatomic potentials are almost identical, but the structural relaxation time differs by orders of magnitude. Nevertheless, the comparison between KA–LJ and KA–WCA has yet to be done for a better understanding on the viscosity and hence liquid fragility.

The temperature dependence of viscosity in KA model at constant pressure was studied by Mukherjee [2]. It is reported that KA model shows a super-Arrhenius dependence of viscosity, although there was no detail information on the effect of pair potential on viscosity given. To investigate the pair potential effect on viscosity and the cause of super-Arrhenius behavior in KA model, we examine the temperature dependence of viscosity in larger systems at constant density of two KA models, with and without attractive interaction. We found different behaviors between the two models when cooling toward glass-transition temperature showing different liquid fragility, showing different GFA.

Here we present our calculation results on viscosity over wide range of temperature using both KA–LJ and KA–WCA models. To ensure the convergence of viscosity and to confirm the size dependence, we also study the effects of system size on viscosity. “Materials and methods” refers to materials and methods that are used to simulate the systems and calculate the viscosity. The calculation results for system size and pair potential effects on fragility are presented and discussed in “Results and discussions”. “Conclusions” is the conclusions.

Materials and Methods

Kob–Andersen Binary Mixture of Lennard–Jones

The KA model is based on the Lennard–Jones (LJ) potential [19], and defined as

$$\begin{aligned} u_{ij}^{LJ}(r)= {\left\{ \begin{array}{ll} 4 \epsilon _{ij} [ (\frac{\sigma _{ij}}{r})^{12} - (\frac{\sigma _{ij}}{r})^6],&{} \text {if } r<r_{c}^{LJ}\\ 0, &{} \text {otherwise} \end{array}\right. } \end{aligned}$$
(1)

where indices \(i, j = A, B\) represent different elements with element A larger than element B in terms of atomic radius. The list of parameters used for the binary KA–LJ potentials are as follows; \(\sigma _{AA}\) = 1.0, \(\sigma _{BB}\) = 0.88\(\sigma _{AA}\), \(\sigma _{AB}\) = 0.8\(\sigma _{AA}\), \(\epsilon _{AA}\) = 1.0, \(\epsilon _{BB}\) = 0.5\(\epsilon _{AA}\), and \(\epsilon _{AB}\) = 1.5\(\epsilon _{AA}\). The chemical composition and mass ratios are 8:2 and 1:1 respectively. The cutoff radius is assumed to be \(r_{c}^{LJ} = 2.5\sigma _{ij}\), and hence depends on elements.

The reduction to the purely repulsive pair potential, KA–WCA, is described as

$$\begin{aligned} u_{ij}^{WCA}(r)= {\left\{ \begin{array}{ll} 4 \epsilon _{ij} \left[ \left( \frac{\sigma _{ij}}{r}\right) ^{12} - \left( \frac{\sigma _{ij}}{r}\right) ^6 + C_{ij}\right] ,&{} \text {if } r<r_{c}^{WCA}\\ 0, &{} \text {otherwise} \end{array}\right. }. \end{aligned}$$
(2)

The KA–WCA potential parameters are identical to those of KA–LJ with an additional offset parameter \(C_{ij}\). The whole KA–LJ energy curve is shifted by \(C_{ij}\) and truncated at \(r_{c}^{WCA}\) such that the interatomic repulsive force is preserved but the attractive interaction is eliminated. The cutoff and the offset are determined at the minimum \(u_{ij}\) of KA–LJ, i.e. \(r_{c}^{WCA} = 2^{1/6}\) \(\sigma _{ij}\) but \(C_{ij} = 1/4\) regardless of elements. The two models are compared in Fig. 1.

Fig. 1
figure 1

Pair potential comparison. WCA reproduces the repulsive force of LJ as well as the potential energy relative to the minimum energy for \(r<r_{c}^{WCA}\)

Green–Kubo Relation (GK)

The Green–Kubo (GK) relation [20] is used to predict the shear viscosity as a function of temperature within equilibrium molecular dynamics. The viscosity of undercooled liquids are reported to depend strongly on temperature [2], weakly on pressure [21], but not on system size [22, 23].

The GK relation can used to calculate the shear viscosity \(\eta\) and described as

$$\begin{aligned}{} & {} \eta * = \sum _{\alpha \ne \beta } \eta _{\alpha \beta } \end{aligned}$$
(3)
$$\begin{aligned}{} & {} \eta _{\alpha \beta } = \frac{V}{k_{B}T} \int _{0}^{\infty } \langle \sigma _{\alpha \beta }(0)\sigma _{\alpha \beta }(t) \rangle \,dt \end{aligned}$$
(4)
$$\begin{aligned}{} & {} \sigma _{\alpha \beta }V = \sum _{k=1}^{N}m_{k}v_{k_{\alpha }}v_{k_{\beta } }+ \sum _{k=1}^{N}r_{k_{\alpha }}f_{k_{\beta }} \end{aligned}$$
(5)

where \(\sigma _{\alpha \beta }\) are the off-diagonal components of the stress tensor, and \(\langle \sigma _{\alpha \beta }(0)\sigma _{\alpha \beta }(t) \rangle\) is an ensemble average of the stress autocorrelation function. \(m_{k}, v_{k_{\alpha }}, r_{k_{\alpha }}, f_{k_{\beta }}\) are mass, coordinate, velocity of the kth particle, and the force acting on the kth particle, respectively, in \(\alpha ,\beta\)-components. \(\eta *\) is reduced viscosity where \(\eta *=\eta \frac{\sigma ^{3}}{\epsilon \tau }\).

Simulation Detail

The Large-scale Atomic/Molecular Massively Parallel Simulator (LAMMPS) [24] is used for atomistic calculations, and the initial configurations are created with randomly distributed atoms in cubic periodic boxes from N = 125 to N = 8000 particles at the density of 1.2 in reduced units [14]. The time step is set to 0.001.

The system is relaxed at the initial temperature T\(_i\) = 5.0 to completely break potential orders, and then quenched to an individual target temperature T\(_f\) from 0.6 to 2.0. The system is further relaxed at T\(_f\) within the NPT ensemble 1 to 3\(\times 10^6\) time steps to obtain the equilibrium volume, and finally equilibrated using GK for 10–30\(\times 10^6\) time steps to obtain the statistics at a target temperature within the NVT ensemble using the Nose–Hoover thermostat. The dynamic properties are predicted from the final 30\(\times 10^3\) steps equivalent to \(\Delta \tau = 30\).

For shear viscosity calculation, stress autocorrelation functions (ACFs) are obtained from three off-diagonal components of stress tensor which are \(\sigma _{xy}, \sigma _{xz}, \sigma _{yz}\). The viscosity \(\eta\) is calculated from an average over \(\eta _{xy}, \eta _{xz}, \eta _{yz}\) as implemented in LAMMPS. The number of time stamps used to calculation correlation for given delay time varies from 10,000 to 50,000 steps depending on the temperature. The ACFs are further calculated using MATLAB [25] to analyze the change of ACF, integral, and viscosity curve at each temperature.

Results and Discussions

The system size effects on ACFs, integral of ACFs, and viscosity results are examined at temperature T = 0.7 for KA–LJ. The viscosity as a function of temperature from T = 0.6–2.0 are predicted and compared for 1000-atom KA–LJ and KA–WCA to observe the effect of repulsive interactions on viscosity and liquid fragility.

Decay Time of Autocorrelation Function

The ACF curves as a function of correlation time and system size at temperature T = 0.7 for KA–LJ are shown in Fig. 2a. The ACFs of the larger systems decay faster due to the size of the statistics: the atomic motions become seemingly less correlated with the system size increased. The fluctuation in the curve is also reduced for bigger systems due to the same reason, confirming better statistics. On the same token, the slow decay with large fluctuation make it difficult for small system to get dynamic properties accurately.

Fig. 2
figure 2

Stress autocorrelation function (ACF) and its integral as a function of correlation time and system size for KA–LJ at T=0.7. a ACF, b integral of ACF, c viscosity (the ACF y-axis is zoomed in to illustrate the decay time)

Integral of Autocorrelation Function

The integral in Eq. (4) is obtained from the ACF shown in Fig. 2a. Figure 2b illustrates the integral of ACFs, in which the size dependence is obvious as defined in Eq. (5). The plateau value represents the amount of correlation, and hence the system size. Notice that the smallest system with N = 125 does not reach the convergence for the maximum simulation time tested.

Shear Viscosity

The integral ACFs are normalized by volume and temperature as in Eq. (4) to predict the viscosity. The viscosity prediction during the simulation is also shown in Fig. 2c. The viscosity shows convergence against the system size when the simulation is run for very long enough, with no significant change beyond N = 500. This effect is expected from the slow decay in ACFs that leads to the difficulty in obtaining the reliable value of viscosity for N < 500.

Liquid Fragility

To ensure accuracy, the temperature dependence of viscosity is predicted with the system size of N=1000 for KA–LJ and KA–WCA models as shown in Fig. 3a. Regardless of model, the viscosity increases when temperature is decreased, but the change is dramatic for KA–LJ. The viscosity is nearly identical at T = 2.0, and remains comparable above melting temperature (T = 1.028). The viscosity of KA–LJ sharply increases from T = 0.8 to T = 0.6 as the system is undercooled towards the glass-transition temperature, whereas the viscosity of KA–WCA at T = 0.6 is only around 20 \(\%\) of that of KA–LJ. This confirms that the attractive interactions play a critical role in the change of viscosity when temperature is changed in the undercooled regime.

Fig. 3
figure 3

The viscosity of KA–LJ and KA–WCA models with N = 1000, a viscosity as a function of temperature and b logarithm of viscosity as a function of inverse temperature. The solid lines connect the lower and the upper bounds to give a guide to eyes for fragility

The logarithm of viscosity against inverse temperature is plotted in Fig. 3b. KA–LJ exhibits super-Arrhenius dependence of viscosity, indicating a behavior of fragile liquid. The same behavior was reported for KA–LJ in previous study [2], yet [15] found that the fragility of KA is weak. This is consistent with our result in the plot as the dependence shows less deviated from the connected line. On the other hand, its purely repulsive force model KA–WCA shows a nearly linear and steady increase in viscosity. This increase displays Arrhenius dependence, which is considered as a strong liquid. The different Arrhenius dependences between KA–LJ and KA–WCA prove that the attraction plays a major role in determining the fragility of undercooled liquids.

Effects of Numerical Setup

Numerical setups beyond system size inevitably affects viscosity predictions, and here we discuss the effects of numerical setup on viscosity and fragility.

Sampling Rate

The shear stress is read off with two different sampling rates and compared for KA–LJ and KA–WCA in Fig. 4. A lower sampling rate results in the residual fluctuation in the ACF, and consequently the integral of ACF is hardly converged even for a longer period of simulation time as shown in Fig. 4a. The long trailing fluctuation of the calculated viscosity is indicative of the numerical instability. It can be empirical to find the threshold sampling rate, and we recommend that the stress sampling rate be set to be equal to the time step. The 3 off-diagonal stress components are not identical, and a typical system size to guarantee the isotropy in mechanical properties of amorphous systems is at least an order of magnitude larger than the systems tested in this study [26]. Nevertheless, the convergence of viscosity against system size is suggestive of isotropy obtained for the averaged stress.

Fig. 4
figure 4

The integrated ACFs for KA–LJ and KA–WCA with N = 1000. The 3 off-diagonal components of stress tensor and the average are calculated with the sampling rate of a every 5 steps, and b every step

Calculation Temperature

ACF decays slowly when deeply undercooled as dynamics is slowed down below melting, and hence, calculating viscosity takes longer and more expensive in terms of calculation cost. The viscosity shown in Fig. 3 has been obtained with different time intervals, i.e. a longer period of time at lower temperature until the integral of ACF is converged. The integral and viscosity values increase with decreasing temperature.

Simulation Time

The system size effect commonly appears when the simulation time is too short to produce sufficient statistics, and the resulting properties will be inaccurate in a quantitative sense. The size effect can be reduced to some extent when the simulation lasts long enough to produce the statistics that would otherwise be generated with a bigger cell, e.g. at least 20\(\times 10^6\) time steps at this studied temperature T = 0.7 for both KA–LJ and KA–WCA. Nevertheless, it is always better to increase the system size to obtain more accurate dynamic properties as correlations functions will be numerically more stable when the system size is bigger, e.g. non-decaying autocorrelation functions when N is too small.

The deeper undercooling in the presence of attractive interactions usually takes almost twice longer time to predict dynamic properties as the correlation persists longer. This is because both undercooling and attractive interactions increase viscosity, which requires more time for correlation functions to vanish.

Conclusions

In conclusion, we have found that attractive interaction substantially increases the viscosity of undercooled liquids of the KA binary model materials. The purely repulsive KA–WCA shows an Arrhenius behavior of viscosity, indicating a strong liquid. Above melting, adding attractive interactions to the model, i.e. KA–LJ, hardly changes the viscosity. We think this is because repulsive interactions in general predominantly determine structural and dynamics properties in the liquid phase.

The attractive interaction plays an increasingly important role in the shear viscosity and fragility when temperature is decreased below melting. The viscosity of KA–LJ rapidly increases, showing super-Arrhenius behavior of fragile liquids. The contribution of attractive interactions to the total viscosity near the glass-transition temperature is around 80\(\%\), changing GFA. The attractive contribution is critical in understanding dynamic properties of undercooled liquids, and hence LJ is more suitable to study undercooled liquids than WCA. Further improvements include the prediction of energetic and structural properties such as glass-transition temperature and pair-correlation function in the undercooled state, and a parametric study on the relative strength of the attractive interaction may shed lights on understanding liquid fragility.