Abstract
Many properties of water, such as turbulent flow, are closely related to water clusters, whereas how water clusters form and transform in bulk water remains unclear. A hierarchical clustering method is introduced to search out water clusters in hydrogen bonded network based on modified Louvain algorithm of graph community. Hydrogen bonds, rings and fragments are considered as 1st-, 2nd-, and 3rd-level structures, respectively. The distribution, dynamics and structural characteristics of 4th- and 5th-level clusters undergoing non-shear- and shear-driven flow are also analyzed at various temperatures. At low temperatures, nearly 50% of water molecules are included in clusters. Over 60% of clusters remain unchanged between neighboring configurations. Obvious collective translational motion of clusters is observed. The topological difference for clusters is elucidated between the inner layer, which favors 6-membered rings, and the external surface layer, which contains more 5-membered rings. Temperature and shearing can not only accelerate the transformation or destruction of clusters at all levels but also change cluster structures. The assembly of large clusters can be used to discretize continuous liquid water to elucidate the properties of liquid water.
Introduction
Water is the most ubiquitous substance on Earth and is the key solvent in almost all chemical, biological and geological processes. Despite high abundance, water has various anomalous physical–chemical properties, such as a density maximum at 4 °C, the steep increase in the isothermal compressibility and heat capacity upon cooling, the non-Arrhenius behavior of viscosity and diffusion constant at low pressures and many more1,2. It is universally acknowledged that many anomalous properties of water are related to its peculiar microscopic structure, which has remained a mystery over the decades3. Water molecules are connected with each other by hydrogen bonds to form a three-dimensional network structure4. Inside the structure of water, a subtle balance is spontaneously formed between directional hydrogen-bonded interactions and nondirectional weaker van der Waals interactions5, which can perfectly explain water anomalies. Accordingly, it is critical to explore the microscopic structure of liquid water.
According to many spectral experiments6,7 and molecular simulations8,9, a single water molecule forms tetrahedral hydrogen bonds with its surrounding water molecules involving distorted configurations. However, Wernet et al.10 concluded that the “ring-and-chain”-like structure is favored in water based on X-ray absorption and Raman scattering experiments, and a topic of intense debate was raised as to whether water is tetrahedral or “ring-and-chain”-like in structure11. It is universally acknowledged that liquid water is considered as random three-dimensional hydrogen bond network continually undergoing topological reformation12,13. Based on Raman spectroscopy7, X-ray emission spectroscopy14 and small-angle X-ray scattering spectroscopy15, the results16,17,18,19,20 suggested that tetrahedral low-density liquid (LDL) and distorted high-density liquid (HDL) structures coexist in heterogeneous networks.
Water clusters including hundreds of water molecules have been exhaustively investigated using experiments and ab initio molecular simulations13,21,22. However, hydrogen bonds between water molecules are in dynamic equilibrium and frequent breaking and reforming of hydrogen bonds are occurred cooperatively within water clusters. Water clusters are short-life and flickering which life spans are estimated from 10−10 to 10−11 s23,24. Therefore, it remains a mystery how flickering water clusters form bulk water25. Macroscopically, Navier–Stokes equation can describe the motion of fluid particles in bulk water, which can be regarded as giant water clusters. Turbulence in a fluid flow is characterized by irregular and chaotic motion of fluid particles, whose velocities change rapidly in space and time. In turbulent shear flow, the eddies forming the fluid particles generate and then degenerate after traveling a certain distance to change their momentum by a new environment in the fluid26. Viscosity arises from the exchange of fluid particles between different velocity shear layers. Turbulent also causes an increased rate of momentum transfer, which essentially includes low momentum diffusion (the mixing of mass without bulk motion), high momentum advection (the mixing of mass with bulk motion)26. Accordingly, the characteristics of water clusters related to bulk motion can elucidate turbulent diffusivity26. To form a bridge between macroscopic hydraulics and microscopic molecular dynamics, a bottom-up approach of searching out water clusters by molecular dynamics is necessary to explore detailed structure and dynamics of water clusters.
Graph theory is a branch of mathematics that studies the topology of graphs, and it has been successfully applied to biological, informational and economic systems. Many investigations27,28,29,30,31,32,33,34 have introduced the concept of graph theory to explore topological properties of hydrogen bond networks in liquid water. The topological characteristics of the global network are easily analyzed by calculating clustering coefficient, graph spectra, etc27,33. As a cyclic path connected by hydrogen bonds, rings mostly cover the global hydrogen bond network30. Unlike ice Ih containing only perfect 6-membered rings, liquid water shows a broader ring size distribution upon heating due to more intense thermal motion27,28,29. In addition, 4-, 5- and 6-membered rings are fundamental structural units in larger water clusters based on ab initio calculations35 and molecular dynamic simulations36. Regarding rings as building units, fragments have been constructed by Matsumoto as three-dimensional units of network31. Fragments mutually aggregate to construct stable aggregates31. However, few attempts have been made to explore more complex water cluster structures in bulk water based on molecular dynamic simulations. Furthermore, the traditional definition of clusters using graph theory gives a poor perspective of the hydrogen bond network in water. Two molecules are regarded as belonging to the same cluster if they are connected by a chain of hydrogen bonds, as a result of which large clusters probably percolate throughout the system instead of isolated water clusters37. It is necessary to propose a reasonable definition to partition the hydrogen bond network in liquid water and attain a set of large water clusters for a discrete description of water.
In this paper, we aim to develop a graph-based hierarchical clustering method to provide a comprehensive overview of water clusters at all levels in liquid water undergoing both non-shear- and shear-driven flow. Hydrogen bonds are regarded as first-level structures. 4-, 5- and 6-membered rings, regarded as second-level structures, constitute primary building units of fragments, regarded as third-level structures. Using the modified Louvain algorithm of the graph community, high-level water clusters are merged by low-level water clusters based on indirect graphs of low-level water clusters. All sets of clusters at different levels constitute hierarchical clustering lists after repeating agglomeration. Molecular dynamic simulations are carried out under different temperatures and shear-driven flow to study the properties of hierarchical water clusters and the quantitative distribution, cluster transformation, cluster lifetime, etc. are further analyzed.
Results
Molecular dynamics simulations and hierarchical graph-based clustering method
Molecular dynamics simulations are performed using periodic boundary conditions with 17,314 water molecules in a cubic box interacting through SPC/E intermolecular potential38. The long-range electrostatic interactions were calculated with particle–particle particle-mesh solver (PPPM) summation. All of the simulations were run at temperatures of 240 K, 260 K, 280 K, and 300 K and a pressure of 1.0 atm with a Nose–Hoover thermostat and barostat. The time step was 1.0 fs. The systems were firstly equilibrated for 2.0 ns in an NVT ensemble. This was followed by a NPT simulation for 10.0 ns. Then, the third period of 7.0 ns was used to attain shearing flow using SLLOD algorithm39,40,41.
Similar to cluster, graph community is a structure in which the nodes gather into groups and have a higher density of connections within groups than between them. Louvain algorithm42 is broadly used for community detection to unfolds a complete hierarchical community structure for network according to high modularity partitions. Modified Louvain algorithm proposed in this paper takes adjusted mutual information into consideration for higher similarity of clustering between neighbor configurations to attain stable clustering partitions. If clusters, regarded as vertices, have shared molecules, there exists an edge between clusters, the weights of which are the number of shared molecules. Based on modified Louvain algorithm, the network of lower-level clusters can search for community regarded as higher-level clusters. The hierarchical clustering method is used to attain a dendrogram of clusters at different levels by successively merging lower-level clusters to form higher-level large clusters.
Hierarchical cluster analysis
This section introduces the definition of hierarchical water clusters. Hydrogen bonds, rings and fragments are considered 1st-, 2nd-, and 3rd-level structures. The networks of fragments are regarded as starting conditions to search for water clusters at all levels successively by modified Louvain algorithm.
First-level structure: hydrogen bond
Hydrogen bonds are defined as the first-level structures of water network. It has been established that geometric criteria have better performance in reproducing hydrogen bond rearrangements and network topology of inherent structure43. Therefore, we choose a popular geometric standard in which two water molecules are regarded as hydrogen bonded when the distance between two oxygen atoms is less than 0.35 nm and the hydrogen–oxygen-oxygen angle is less than 30°44, as shown in Fig. 1. The direction of the hydrogen bonds was neglected for simplicity to consider water network as an undirected graph31.
Schematics of hierarchical clustering method proposed in this study. Hydrogen bonds, rings and fragments are considered as 1st-, 2nd-, and 3rd-level structures which is ball-and-stick models from a chemical perspective and the red and white balls denote oxygen and hydrogen atoms, respectively. The full and dotted sticks denote O–H covalent bonds and hydrogen bonds, respectively. The 4th- and 5th-level clusters are illustrated by topological perspective. The balls represents the structure of last levels. Note that the structures in the figure are only a selection among the considered ones by the clustering algorithm. The structures are drawn by GaussView 5.0.850.
Second-level structure: ring
Rings are defined as the second-level structures of water network. In Fig. 1, the primitive ring is a cyclic path along the “edge”, which can not be decomposed into smaller rings. The "shortest-path" (SP) criterion developed by Franzblau et al.45 was utilized for ring statistical analysis.
In the global hydrogen bonded network, 4–8-membered rings predominate30. 6-membered rings are the most popular type at ambient temperatures. The average lifetimes of the 5-membered rings (458.4 fs) are longer than 6-membered (399.4 fs), 4-membered (294.6 fs) and 7-membered (288.5 fs) at 240 K. According to molecular dynamics stimulation36 and ab initio stimulation35, low-energy water clusters (n ≤ 20) mainly consist of 4-, 5-, and 6-membered rings. The optimal structure of clusters strikes a balance between tetrahedral coordination which favors 6-membered rings and the structure of eliminating surface dangling atoms and increasing the number of hydrogen bonds which favors smaller rings36. Accordingly, to search for stable and low-energy clusters, 4-, 5- and 6-membered rings are considered as basic building rings.
Third-level structure: fragment
Fragments, proposed by Matsumoto31, are a type of cagelike structures covered by rings satisfying topological conditions (Detailed conditions can refer to Ref.31). Fragments broadly distribute in hydrogen-bonded network of water in a tessellated fashion at low temperature31.
In this study, all rings in fragments must be 4-, 5-, 6-membered rings to search for stable clusters. It has been investigated that over 50% fragments only have 3 and 4 rings and the fragments constituted by more rings may not be compacted for a big hole inside the cage31. Therefore, it is assumed that the number of rings in fragments must be less than 4. Similar to the destruction of hydrogen bonds, the destruction of fragments might involve two methods: temporary destruction and genuine destruction46,47,48. For more stable structures, we neglect transient destruction of fragments. The maximum permissible temporary destruction of the fragment is 100 fs during which the fragments are recombined together after several hydrogen bonds are broken transiently and the temporary destruction is considered to be a part of its total lifetime. Approximately 85.0% fragments have the non-lifetimes less than 100 fs. The detailed information is intrdoced in Supplementary Figure S1.
N(N > 3)th-level structure: clusters
A water cluster is an assembly of weakly bound water molecules, and there are numerous local minima on the potential-energy hypersurface of water clusters based on the results of quantum chemical calculations49. In most cases, the more hydrogen bonds the clusters include, the lower potential energy the clusters may have. Traditionally, two molecules belong to the same cluster if they are connected by a continuous path of hydrogen bonds37, which forms percolated clusters spanning the periodic cubic simulation box at least in one direction at ambient temperatures instead of isolated clusters.
Different from traditional definition, communities are patches that have denser connections with each other via edges. The networks of fragments are regarded as starting conditions. Modified Louvain algorithm is proposed to search for water clusters successively. In this paper, the maximum level of hierarchical clusters is 5.
Radial distribution function and hydrogen bond network
The calculated macroscopic properties are in agreement with previous simulation results51,52,53,54,55 (Supplementary Table S1). In Fig. 2, we plot radial distribution functions for oxygen–oxygen (O–O). Compared with the results from X-ray scattering56 and neutron-scattering experiments57, water shows similar structural characteristics. The first peak represents the first shell at about 2.8 Å and the second shell at about 4.5 Å, whereas a trough between 3 and 4 Å indicates interstitial water. As temperature increases, the first and second peaks distinctly flatten because of the destruction of tetrahedral structure for stronger thermal fluctuation. The curves of H–O and H–H RDF have similar rules in Supplementary Figure S2. These results are in good agreement with other simulations58,59,60.
Hierarchical cluster distribution
The distributions of hydrogen bonds, rings, fragments are compared with previous literatures for verification. The distributions of 4th- and 5th-level clusters are also discussed under the influences of temperature, shearing and clustering levels.
First-level structures: hydrogen bonds
In Fig. 3a, 67.40%, 61.04%, 54.56% and 49.56% of water molecules are respectively coordinated to form perfect tetrahedral structures at 240 K, 260 K, 280 K and 300 K in non-shear cases, showing a decrease upon heating. The number of 2-, 3- and 5-coordinated water molecules produced from broken tetrahedral structures increase upon heating. Shear-driven flow destroys 4-coordinated molecules, similar to the effect of heating. At 240 K, the percentage of 4-coordinated molecules in shear-driven flow is 11% less than in non-shear flow, equivalent to heating up to 30 K. As temperature increases, average number of hydrogen bonds per a molecule decreases monotonically from 3.764 (non-shear) and 3.590 (shear) at 240 K to 3.524 (non-shear) and 3.420 (shear) at 300 K. Compared with non-shear flow, average number of hydrogen bonds in shear-driven flow obviously decreases by 5%. In general, both temperature and shearing can tremendously destroy hydrogen network.
Second-level structures: rings
In Fig. 3b, 5-, 6-, and 7-membered rings are superior in numbers in all simulated cases. Six-membered rings are mostly favored, which constitute characteristic cage-like structures in ice Ih. With increasement of temperature, 5-, 6-, 7-, and 8-membered rings gradually reduce and smaller rings slightly increase, which confirms that heating can damage tetrahedral structures. The decreasing of 5-, 6-, and 7-membered rings under shearing proves that the ordered motion generated by tvelocity gradient may cursh large rings into small ones. Since SLLOD algorithm sets a homogeneous thermostat on global system to attain a steady state39,40,41, it might neglect the effect of shear heat.
The distribution of hierarchical structures at the 1st, 2nd and 3rd levels in the network in various cases. (a) The distribution of hydrogen bonds (1st-level structures) at various temperatures. (b) The distribution of rings (2nd-level structures) at various temperatures. (c) The distribution of fragments (3rd-level structures) at various temperatures. Note that (4, 4, 4) denotes a symbol of a fragment including three 4-membered rings. The structures are drawn by GaussView 5.0.850.
Third-level structures: fragments
As three-dimensional building blocks, fragments tessellate in hydrogen-bonded network, 41.1% of which are covered by fragments in non-shear-driven flow at 240 K and 31.6% in shear-driven flow. However, at 300 K, only 27.2% and 22.9% of network is covered by fragments in both cases. Entangled networks are intersitial between water clusters. In Fig. 3c, fragments are classified into two types31: cryophile type, whose number decreases upon heating, and thermophile type, whose number increases upon heating. The fragments mainly including 5-, 6-membered rings have comparatively larger numbers than ones including 4-membered rings. The 4-membered rings cause extremely great distortion of fragments that have much shorter lifetimes. The composite patterns of fragments which have smaller distortions are favored, such as (4, 6, 6), (5, 5, 6, 6), (6, 6, 6) and (6, 6, 6, 6). Due to the reduction of 5-, 6-membered rings, the number of fragments including 5-, 6-membered rings almost decreases with heating. In shear-driven flow, the number of almost all fragments decreases because of decreasing number of rings.
Nth(N > 3)-level structures: clusters
In Fig. 4a, with the increasement of temperature or the effect of shearing, average number of 4th-level clusters have an obvious trendency towards decreasing, whereas average number of 5th-level clusters do not have significant regular variation. In Fig. 4b, after the operation of level-up by hierarchical clustering method, the number of 5th-level clusters including 8–30 molecules is evidently decreasing compared with the number of 4th-level clusters, whereas over-30-molecules 5th-level clusters are merged more. It is indicated that the number of 5th-level clusters is less than 4th-level because of agglomeration of level-up. With the comparsion of deviation at different temperatures, higher temperature corresponds to weaker agglomeration ability. The reason is that at high temperature the clusters are reduced in number and arranged loosly and there are less probability of merging into larger ones. The ambiguous variation of 5th-level clusters is concerned with contradictory mechanism between quantitative change of clusters at higher temperatures and high levels.
In Fig. 4c, similar to heating up, shearing can decrease the number of 4th-level clusters including more than 10 molecules because of the decrease of fragments. However, the number of 5th-level clusters shows similar rules that 30-molecules 5th-level clusters are a critical point of the change of cluster number.
As shown in Fig. 5a, we can compare spatial distribution of 4th- and 5th-level clusters at 240 K. The clusters at both levels are surrounded by interstitial water molecules which do not belong to any clusters. At 4th level, large clusters that have more than 30 molecules are randomly scattered in the box. However, based on 4th-level clusters, 5th-level clusters have distinct agglomeration of small clusters and have a higher proportion of large clusters. Under different temperatures, low temperature aggregates more large clusters. At 240 K, only 15–17% of the 4th-level clusters are classified as large clusters including more than 30 molecules and more than 25% of 5th-level clusters are classified as large clusters, which include approximately 25% of the water molecules. In Fig. 5b, we illustrate the ball-and-stick model of characteristic clusters. The average maximum cluster size at both levels in non-shear-driven flow shrinks from 49.7 (4th level) and 112.1 (5th level) at 240 K to 41.0 (4th level) and 73.8 (5th level) at 300 K. When the temperature is lower than 260 K, average maximum cluster size at the 5th level exceeds 100 molecules. Upon shearing, the average maximum cluster size also shrinks from 43.0 (4th level) and 85.8 (5th level) at 240 K to 39.0 (4th level) and 70.4 (5th level) at 300 K.
The spatial distribution of the 4th- and 5th-level clusters at 240 K and radial distance functions of the 4th- and 5th-level clusters at 240 K and 300 K. (a) 4th- and 5th-level large clusters that have more than 30 molecules at 240 K drawn by Ovito62. (b) The ball-and-stick model of characteristic clusters drawn by VMD 1.9.163. (c) The radial distance functions of the 4th- and 5th-level clusters at 240 K and 300 K. The radial distance functions are calculated in the selected oxygen atoms.
In Fig. 5c, we illustrate radial distance functions of selected oxygen atoms61. We choose four cases: all oxygen atoms, oxygen atoms belonging to fragments, oxygen atoms belonging to 4th-level clusters and oxygen atoms belonging to 5th-level clusters. The RDF of all oxygen atoms have peaks at 2.85 Å, 4.4 Å and 6.6 Å which indicates intrinsic tetrahedral structure. Similar to the RDF of all oxygen atoms, the RDF of other cases have obvious peaks at same places, which indicates that clusters retain tetrahedral structure. The RDF of 4th-, 5th-level clusters almost smooth the peaks at more than 6 Å, which may means maximum length of clusters. Besides, higher temperature cause the curve flattening at some peaks in all cases, especially higher level structures.
Dynamics of hierarchical clusters
AMI (adjusted mutual information)64 is used to quantify the similarity of clustering in modified Louvain algorithm. Increasing temperature and shearing can cause AMI value monotonically declining, which indicates that stronger thermal fluctuation stimulates faster variations in clusters. Higher level of hierarchical clustering method corresponds to more unstable clustering. (Supplementary Table S2).
Cluster transformation has 4 patterns: (1) One cluster remains unchanged. (2) One cluster is totally merged into another cluster. (3) one cluster is split from another cluster. (4) One cluster is transformed into another cluster by complex fusion and fission. In non-shear-driven flow, the majority of clusters (76.6% at 240 K; 72.1% at 260 K; 69.0% at 280 K; 66.1% at 300 K) at 4th levels remain unchanged at various temperatures. The porportion of unchange clusters declines with heating up for stronger thermal fluctuations. At 5th level, the unchange rates (73.2% at 240 K; 69.2% at 260 K; 67.2% at 280 K; 64.8% at 300 K) slightly reduce for the unstability of large clusters. A certain number of clusters (approximately 10–15%) are totally merged into clusters or split into pieces, the number of which decreases with heating. A very small number of clusters (approximately 2–3%) have complex changes, most of which are large clusters. Compared with non-shear-driven flow, shearing leads to more stable clusters at both levels at low temperatures, whereas clusters have a tendency towards stability at high temperatures. The detail is reported in Supplementary Table S3.
At 240 K in non-shear-driven flow, average lifetime t1 of all clusters65 at the 4th and 5th levels (150.6 fs at 4th-level; 158.07 fs at 5th-level) is nearly as long as the lifetime of fragments, ~ 150 fs. Clusters only consisting of one or two fragments may have a longer lifetime. To eliminate the influence of clusters including only one fragment, the average lifetimes t2 of clusters means the lifetime of clustering excluding one-fragment clusters. Average lifetimes t2 of clusters at both levels (110.8 fs at 4th-level; 93.9 fs at 5th-level) obviously diminish. A greater proportion of single-fragment 5th-level clusters is the main reason why they have larger t1 but smaller t2. The large clusters are generally constituted by more than 5 fragments, equal to approximately 30 molecules. The average lifetimes t3 for large clusters at both levels (59.6 fs at 4th-level; 44.8 fs at 5th-level) are muchs shorter than t2, indicating that large clusters transform very rapidly and frequently. In shear-driven flow, the average lifetimes t1 are approximately 87.3% of that in non-shear-driven flow. The average lifetimes t3 of large clusters at the 4th and 5th levels are only 52.1 fs and 40.3 fs. The significantly shorter lifetime of clusters proves that heating and shearing can accelerate the destruction of clusters. The detail is reported in Supplementary Table S4.
As shown in Fig. 6, in non-shear-driven flow, the trajectory is irregular and wanders around the starting point like Brownian movement. Under shearing, the center of mass of clusters has obvious translational movement along X direction, and the motions of Z direction are comparatively smaller.
The projected trajectory of the centroid of the 4th- and 5th-level cluster masses at 240 K undergoing non-shear and shear. The solid line shows the trajectory during which the clusters exist. The dashed line shows the virtual trajectory during which the clusters are broken. Note that the scale factor for coordination and time is equivalent.
Structures of hierarchical clusters
The basic components of clusters are 4-, 5- and 6-membered rings, broadly distributed on the surface or interior of clusters. Referring to Matsumoto31, surface rings are defined as rings belonging to one fragment in clusters, whereas body rings are defined as rings belonging to more than one fragment. The rings that belong to the single-fragment clusters are classified as other types.
At the 4th level, the number of surface rings is approximately 3.3–3.6 times greater than that of body rings in various cases. The surface and body rings are gradually destroyed with heating or shearing. Compared with 4th-level, 5th-level clusters have more body rings and fewer surface rings.
At 240 K in the 4th-level clusters, the percentages of 4-, 5- and 6-membered surface rings in non-shear-driven flow are 10.54%, 22.67% and 66.79%, respectively. The percentages of body rings are 13.93%, 12.9% and 73.70%. All rings only including 4-, 5- and 6-membered rings in non-shear-driven flow are 8.83%, 37.73% and 53.44%. Compared with global system, the clusters tend to aggregate more 6-membered rings. The inner layer of clusters is mostly occupied by 6-membered rings. However, 5-membered rings are more favored in the surface layer compared with 4-membered rings. Kazimirski36 concluded that larger rings were concentrated preferentially in the inner part of the clusters, n = 48, 123 and 293. The reason for this is to strike a balance between tetrahedral coordination, which favors 6-membered rings, eliminating surface dangling atoms and increasing the number of hydrogen bonds, which favors 4-, 5-membered rings36. The conclusions are similar to our study. In addition, upon heating or shearing, both the interior and surface of clusters have more 4-, 5-membered rings whereas 6-membered rings decline. At 5th level, there are more 6-membered rings on the surface and more 4-, 5-membered rings inside the clusters. The detail is reported in Supplementary Table S5.
It has been explored that the origin of the anomalous behavior of liquid water could be due to two different components of a high-density liquid (HDL) and a low-density liquid (LDL)18,19,20. Camisasca66 proposed that clathratelike structures, similar to fused dodecahedra, can represent the LDL local structures as templates around which fluctuations occur, while chains can represent the HDL-like structures. The fused dodecahedra regarded as water clusters is mainly constituted by 4-, 5- and 6-membered rings, the distribution of which is similar to water clusters we proposed. Despite the fact that 5-membered rings are most favored by fused dodecahedra instead of 6-membered rings, both water clusters are ice-like clathrate structures and concrete manifests of density fluctuations. Interstitial water networks between water clusters are analogous to HDL, the structure of which is rather skewed and chain-like. Two different components can be searched out topologically, the results of which confirm spatial organization of two different local environments in water network.
Conclusions and discussions
A hierarchical clustering method is firstly proposed to search out water clusters at all levels in hydrogen bond network based on graph community. The hierarchical clustering method not only shows good clustering performance but can also take the lifetime of clusters into consideration. Hydrogen bonds, rings and fragments are defined as 1st-, 2nd-, and 3rd-level structures, respectively. Higher-level clusters can be successively attained using modified Louvain algorithm based on the network of fragments.
Several types of fragments, including 5- and 6-membered rings, are favored. Approximately 25% of 5th-level clusters contain more than 20 water molecules and the maximum of 5th-level clusters size are more than 100 water molecules at low temperature. Based on 4th-level clusters, 5th-level clusters have distinct agglomerations of small clusters and a higher proportion of large clusters. More than 60% of clusters remain unchanged under our definition, and a small number of clusters, approximately 10–15%, are merged into other clusters or split into pieces. Temperature and shearing can both accelerate the disintegration of clusters and curtail the lifetime of clusters. In shear-driven flow, distinct cooperative translational motion of clusters is observed. For a cluster, the inner layer is mostly occupied by 6-membered rings, whereas 5-membered rings are more favored in the external surface layer than 4-membered rings. Upon heating or shearing, both the interior and surface of clusters form more 4-, 5-membered rings.
One concern is that the clusters are too flickering and unstable to explore the connections between the topology of clusters and the effect of shearing. Larger clusters may have longer life time because dynamics of hydrogen bonds mainly happen in the interior of clusters, which have less influence on the result of clustering. The stability of larger clusters in the micrometer-scale molecular dynamics simulation will be explored to confirm the surmise above and study detailed properties of large clusters.
Another concern is that the directions of hydrogen bonds are neglected for simplicity. The hierarchical clustering method will be optimized to introduce the directions of hydrogen bonds. Besides, the criterion of hydrogen bonds may have some impact on partitions. To test the sensitivity, we calculate water network under different distance cut-offs (0.345, 0.350, 0.355 nm). Compared with 0.35 nm cut-off, the percentage of identical clusters in 0.005 nm fluctuation of cut off is more than 85.0%, which indicates that the change of clustering is not in a binary fashion under different criterion. However, more accuracy methods to identify hydrogen bonds should be studied. At the same time, different water models may attain different partitions of water clusters. After the same simulation, TIP4P2005 have 3.0% more four-coordinated water molecules than SPC/E and in TIP4P/2005 water network there are obviously more clusters at both levels. In the future, to avoid the deviation from water models, machine-learning potential will be introduced to simulate liquid water for ab initio accuracy and faster efficiency of computation.
Hierarchical clustering method can attain large clusters successively. Fluid particles are equivalent to giant clusters under our definition. To form a bridge between macroscopic hydraulics and microscopic molecular dynamics, the method can be used to search for fluid particles in the micrometer-scale moleculer dynamics simulations which can apply to continuum mechanisms. Continuous liquid water can be discretized as an assembly of large clusters, as a result of which the properties of liquid water can be explained based on the characteristics of large clusters, especially viscosity and turbulence.
Methods
Model
We use LAMMPS software package to conduct molecular dynamics simulations. The system contains 17,314 water molecules of the extended simple point charge (SPC/E) water model38 in a box with periodic boundary conditions. The initial dimensions of the simulation box are 8.0 nm along the x-direction, 4.0 nm along the y-direction and 16.0 nm along the z-direction as shown in Fig. 7. The bond length and the bond angle of water are fixed with SHAKE algorithm. The PPPM method is used to calculate long-range Coulomb interaction. We use Lennard–Jones potential to describe the intermolecular interactions, given by
where ε, σ are Lennard–Jones parameters, r is the distance between two atoms, rc is the cutoff. As originally proposed, εO–O = 0.6492 kJ/mol, εH–H = 0.0 kJ/mol, εO–H = 0.0 kJ/mol, σO–O = 0.3166 nm, σH–H = 0.0 nm, σO–H = 0.0 nm, rc = 1.1 nm.
Schematics of the system model (a) and water model (b). (a) The system includes 17,314 water molecules. The shearing velocity is 0.16 nm/ps along x direction. (b) The geometry of SPC/E water model. The pictures are both drawn by VMD 1.9.163.
Additionally, a Coulombic pairwise interaction within cut-off is given by
where C is an energy-conversion constant, qi and qj are the charges on the 2 atoms, and ζ is the dielectric constant. The charge of the oxygen atom qO = − 0.8476e, and the charge of the hydrogen atom qH = + 0.4238e. The Coulombic cut-off means that pairwise interactions within this distance are computed directly and interactions outside that distance are computed in reciprocal space with PPPM.
To study the effect of shearing, homogeneous non-equilibrium molecular dynamics (NEMD), called SLLOD, is used to simulate planar Couette flow. In this algorithm, fictitious mechanical forces are introduced to sustain shearing motion, and a homogeneous thermostat must be applied to attain a steady state39. The SLLOD equations can be written as
where pi is mometum of atom i, ri is displacement of atom i, vi is velocity of atom i, m is mass of atom i, \(F_{i}^{\Phi }\) is the interatomic force on atom i due to all other atoms. To construct shear-driven flow, the velocity of the top boundary is set to 0.16 nm/ps along x direction.
In this paper, we use SLLOD algorithm to simulate shear-driven flow compared with classical equilibrium MD for non-shear-driven flow. Considering that the melting temperature of SPC/E is 215 K67, All of the simulations are run at temperatures of 240 K, 260 K, 280 K, and 300 K and a pressure of 1.0 atm. A Nose–Hoover thermostat and barostat are used to control the temperature and pressure, respectively. The process of molecular dynamics simulations consists of three steps: the first step involves pre-equilibrium using an NVT ensemble for 2.0 ns. The second step is to ensure that the system attains a steady state using an NPT ensemble for 10.0 ns. Then, the third period of 7.0 ns is used to attain shearing flow using SLLOD algorithm. The time step is 1.0 fs. Finally, the last period outputs 500 configurations for a production run. MD trajectories including atomic coordinates are saved every 10 time steps for analysis.
Hierarchical graph-based clustering method
Based on the network of fragments, a hierarchical clustering method is proposed to cut out water clusters from hydrogen bond network by successively merging lower-level clusters to form higher-level large clusters, taking modularity and adjusted mutual information into consideration.
Modularity
Modularity68 is a property of a network, describing the clustering efficiency of grouping a specific division of network into communities. High modularity means good clustering where there are many edges within communities and only a few between them.
The degree ki of vertex i is defined as the number of edges connected with vertex i.
where Aij is a parameter representing whether two vertices are adjacent. Aij = 1 if two vertices are adjacent; otherwise, Aij = 0.
The probability of an edge existing between vertices i and j if connections are made at random but respecting vertex degrees is ki kj/2 m.
The modularity Q is defined as
where the δ-function δ(ci, cj) equals 1 if i and j belong to the same cluster and otherwise, ci denotes the cluster to which i belongs. If the network is randomized and homogeneous, Q is 0. A value above approximately 0.3 is a good indicator of significant community structure in a network68. A larger value means better clustering, and the maximum Q is 1.0.
Adjusted mutual information
Adjusted mutual information (AMI)64 is introduced to measure discrepancies in clustering results between neighboring configurations.
One assumes that Ut is the clustering result at time step t and Ut+1 at time step t + 1. Their entropy is the amount of uncertainty for a partition set, as defined by:
where P(i) is the probability that an object picked at random from U falls into class Ui.
The probability is defined as
The mutual information (MI) between Ut and Ut+1 is calculated using
Normalized against chance, AMI can then be calculated:
AMI ranges from 0 to 1. If the value of AMI is close to zero, it indicates that two clustering results are largely independent. An AMI of exactly 1 indicates that two clustering results are equal.
Modified graph community
Traditionally, the graph community is used to determine the set of vertices that have denser connections with each other than other parts of the network42,68,69,70,71,72. The Louvain algorithm is a fast unfolding algorithm for computing hierarchical communities of a large network42. In Fig. 8a, the algorithm is divided into two parts repeated iteratively. First, we start with a weighted network of N nodes and the weight is the number of molecules shared by two structures. Step 1 regards every single node as an isolated community. Then, there are two parts in step 2. In the first part, we choose each node i and one of its neighbors j. The gain of modularity is evaluated after eliminating i and placing it into j. Node i is then placed in the community for which this gain is maximum only when this gain is positive. If this gain is negative, i stays in its original community. This process is repeated for all nodes until there is no further improvement in modularity. In the second part, we build a new network in which the nodes are the communities found in the first part. The weights of edges between new nodes are the sum of weights between every node in two communities. In step 3, we repeat the operation of step 2 to obtain a dendrogram of clustering for the network. This dendrogram represents a hierarchical decomposition of network into communities at all levels. In the dendrogram, Cit means a set of clusters, where i is the level of clustering and t is the time step of the configuration. Ultimately, maximum modularity corresponds to the best graph community.
However, the dynamics of the best graph community have almost poor stability performance. The dynamics of hydrogen bonds result in great changes in the best community between small intervals. To gain a set of comparatively stable clusters, we propose a modified algorithm for the graph community that takes the parameters of measured clustering stability and adjusted mutual information into consideration. In Fig. 8b, the process of the modified algorithm is illustrated. One assumes that there are T configurations in chronological order. In step 1, we should determine all the dendrograms for the communities in every configuration. In step 2, we ascertain the best communities for the first two configurations. We assume the best communities at time steps 0 and 1 are Ci0 and Cj1, respectively. If AMI(Ci*0, Cj*1) reaches the maximum, the best communities of index for the cluster set at time steps 0 and 1 are i* and j*. In step 3, on the condition that the best communities Cmt at time step t (t > 1) are known, we assume that the best communities at time step t + 1 are Cnt+1. If AMI(Cm*t, Cn*t+1) is at its maximum, the best community of the index of the cluster set at time step t + 1 is n*. We repeat step 3 iteratively, and, in the end, we regard the list of Ci*0, Cj*1…, Cm*T−1, Cn*T as the best communities in every configuration.
Hierarchical clustering
This hierarchy of clusters is represented as a tree. The root of the tree is composed of the 3rd-level clusters, fragments. The process of hierarchical clustering involves two parts. First, we should construct the network of the structures at the present level. If two structures have shared molecules, there exists an edge between two nodes, the weights of which are the number of shared molecules. Secondly, based on the network, we can obtain a list of structures at higher level by using modified Louvain algorithm. The criteria to exit the hierarchical clustering is as follows. Assume that the numbers of Nth-level and N + 1th-level cluster are ntN and ntN+1 at time step t. The clustering algorithm will be stopped if for all time steps t, ntN = ntN+1 or |ntN − ntN+1|/ntN < 0.1% (when ntN = ntN+1 can not achieve).
References
Russo, J., Akahane, K. & Tanaka, H. Water-like anomalies as a function of tetrahedrality. Proc. Natl. Acad. Sci. U. S. A. 115, E3333–E3341 (2018).
Gallo, P. et al. Water: a tale of two liquids. Chem. Rev. 116, 7463–7500 (2016).
Nilsson, A. & Pettersson, L. G. M. Perspective on the structure of liquid water. Chem. Phys. 389, 1–34 (2011).
Malenkov, G. Liquid water and ices: understanding the structure and physical properties. J. Phys. Condens. Matter 21, 283101–283101 (2009).
Santra, B., DiStasio, R. A., Martelli, F. & Car, R. Local structure analysis in ab initio liquid water. Mol. Phys. 113, 2829–2841 (2015).
Smith, J. D. Energetics of hydrogen bond network rearrangements in liquid water. Science 306, 851–853 (2004).
Bakker, H. J. & Skinner, J. L. Vibrational spectroscopy as a probe of structure and dynamics in liquid water. Chem. Rev. 110, 1498–1517 (2010).
Rahman, A. & Stillinger, F. H. Hydrogen-bond patterns in liquid water. J. Am. Chem. Soc. 95, 7943–7948 (1973).
Errington, J. R. & Debenedetti, P. G. Relationship between structural order and the anomalies of liquid water. Nature 409, 318–321 (2001).
Wernet, P. The structure of the first coordination shell in liquid water. Science 304, 995–999 (2004).
Head-Gordon, T. & Johnson, M. Tetrahedral structure or chains for liquid water. Proc. Natl. Acad. Sci. 103, 7973–7977 (2006).
Stillinger, F. H. Water revisited. Science 209, 451–457 (1980).
Ludwig, R. Water: from clusters to the bulk. Angew. Chem. Int. Ed. 40, 1808–1827 (2001).
Tokushima, T. et al. High resolution X-ray emission spectroscopy of liquid water: the observation of two structural motifs. Chem. Phys. Lett. 460, 387–400 (2008).
Huang, C. & Wikfeldt, K. T. The inhomogeneous structure of water at ambient conditions. Proc. Natl. Acad. Sci. 106, 15214–15218 (2009).
Ansari, N., Dandekar, R., Caravati, S., Sosso, G. C. & Hassanali, A. High and low density patches in simulated liquid water. J. Chem. Phys. 149, 204507 (2018).
Nilsson, A. & Pettersson, L. G. M. The structural origin of anomalous properties of liquid water. Nature Commun. 6, 1–11 (2015).
Russo, J. & Tanaka, H. Understanding water’s anomalies with locally favoured structures. Nature Commun. 5, 1–11 (2014).
Wikfeldt, K. T., Nilsson, A. & Pettersson, L. G. M. Spatially inhomogeneous bimodal inherent structure of simulated liquid water. Phys. Chem. Chem. Phys. 13, 19918 (2011).
Montes De Oca, J. M., Rodriguez Fris, J. A., Accordino, S. R., Malaspina, D. C. & Appignanesi, G. A. Structure and dynamics of high- and low-density water molecules in the liquid and supercooled regimes. Eur. Phys. J. E 39, 1–8 (2016).
Sediki, A., Lebsir, F., Martiny, L., Dauchez, M. & Krallafa, A. Ab initio investigation of the topology and properties of three-dimensional clusters of water (H2O)n. Food Chem. 106, 1476–1484 (2008).
Buck, U., Pradzynski, C. C., Zeuch, T., Dieterich, J. M. & Hartke, B. A size resolved investigation of large water clusters. Phys. Chem. Chem. Phys. 16, 6859–6871 (2014).
Frank, H. S. & Wen, W. Y. Ion–solvent interaction. Structural aspects of ion-solvent interaction in aqueous solutions: a suggested picture of water structure. Disc Faraday Soc. 24, 133–140 (1957).
Ignatov, I. & Mosin, O. V. Structural mathematical models describing water clusters. Nanotechnol. Res. Pract. 3(11), 72–87 (2013).
Tokmachev, A. M., Tchougréeff, A. L. & Dronskowski, R. Hydrogen-bond networks in water clusters (H2O)20: an exhaustive quantum-chemical analysis. ChemPhysChem 11, 384–388 (2010).
Dey, S. Fluvial Hydrodynamics, Geoplanet Earth and Planetary Sciences (Springer, 2014).
Bakó, I., Megyes, T. & Bálint, S. Water–methanol mixtures: topology of hydrogen bonded network. Phys. Chem. Chem. Phys. 10, 5004–5011 (2008).
Bakó, I. et al. Hydrogen bond network topology in liquid water and methanol: a graph theory approach. Phys. Chem. Chem. Phys. 15, 15163 (2013).
Ruocco, G., Sampoli, M., Torcini, A. & Vallauri, R. Molecular dynamics results for stretched water. J. Chem. Phys. 99, 8095–8104 (1993).
Belch, A. C. & Rice, S. A. The distribution of rings of hydrogen-bonded molecules in a model of liquid water. J. Chem. Phys. 86, 5676–5682 (1987).
Matsumoto, M., Baba, A. & Ohmine, I. Topological building blocks of hydrogen bond network in water. J. Chem. Phys. 127, 134504 (2007).
Radhakrishnan, T. P. & Herndon, W. C. Graph theoretical analysis of water clusters. J. Phys. Chem. 95, 10609–10617 (1991).
Marques Leite Dos Santos, V., Brady Moreira, F. G. & Longo, R. L. Topology of the hydrogen bond networks in liquid water at room and supercritical conditions: a small-world structure. Chem. Phys. Lett. 390, 157–161 (2004).
Choi, J., Lee, H., Choi, H. R. & Cho, M. Graph theory and ion and molecular aggregation in aqueous solutions. Annu. Rev. Phys. Chem. 69, 125–149 (2018).
Yang, L., Ji, H., Liu, X. & Lu, W. C. Ring-stacking water clusters: morphology and stabilities. ChemistryOpen 8, 210–218 (2019).
Kazimirski, J. K. & Buch, V. Search for low energy structures of water clusters (H2O)n, n = 20–22, 48, 123, and 293. J. Phys. Chem. A 107, 9762–9775 (2003).
Oleinikova, A. & Brovchenko, I. Percolating networks and liquid–liquid transitions in supercooled water. J. Phys. Condens. Matter 18, S2247–S2259 (2006).
Berendsen, H., Grigera, J. R. & Straatsma, T. P. The missing term in effective pair potentials. J. Phys. Chem. 91, 6269–6271 (1987).
Padilla, P. & Toxvaerd, S. R. Simulating shear flow. J. Chem. Phys. 104, 5956–5963 (1996).
Evans, D. J. & Morriss, G. P. Nonlinear-response theory for steady planar Couette flow. Phys. Rev. A Gen. Phys. 30, 1528–1530 (1984).
Ladd, A. J. C. Equations of motion for non-equilibrium molecular dynamics simulations of viscous flow in molecular fluids. Mol. Phys. 53, 459–463 (1984).
Blondel, V. D., Guillaume, J., Lambiotte, R. & Lefebvre, E. Fast unfolding of communities in large networks. J. Stat. Mech. 2008, P10008–P10012 (2008).
Matsumoto, M. Relevance of hydrogen bond definitions in liquid water. J. Chem. Phys. 126, 267 (2007).
Luzar, A. & Chandler, D. Effect of environment on hydrogen bond dynamics in liquid water. Phys. Rev. Lett. 76, 928 (1996).
Franzblau, D. S. Computation of ring statistics for network models of solids. Phys. Rev. B Condens. Matter 44, 4925–4930 (1991).
Voloshin, V. & Naberukhin, Yu. Hydrogen bond lifetime distributions in computer-simulated water. J. Struct. Chem. 50, 78–89 (2009).
Steinel, T., Asbury, J. B., Zheng, J. & Fayer, M. D. Watching hydrogen bonds break: a transient absorption study of water. J. Phys. Chem. A 108, 10957–10964 (2004).
Galamba, N. On the effects of temperature, pressure, and dissolved salts on the hydrogen-bond network of water. J. Phys. Chem. B 117, 589–601 (2013).
Maheshwary, S. et al. Structure and stability of water clusters (H2O)n, n = 8–20: an ab initio investigation. J. Phys. Chem. A 105, 10525–10537 (2001).
Dennington, R., Keith, T. & Millam, J. GaussView, Version 5 (Semichem Inc., 2009).
González, M. A. & Abascal, J. L. F. The shear viscosity of rigid water models. J. Chem. Phys. 132, 096101 (2010).
Song, Y. & Dai, L. L. The shear viscosities of common water models by non-equilibrium molecular dynamics simulations. Mol. Simul. 36, 560–567 (2010).
Guo, G. & Zhang, Y. Equilibrium molecular dynamics calculation of the bulk viscosity of liquid water. Mol. Phys. 99, 283–289 (2001).
Bryk, T. & Haymet, A. D. J. The ice/water interface: density-temperature phase diagram for the SPC/E model of liquid water. Mol. Simul. 30, 131–135 (2004).
Vega, C. & Abascal, J. L. F. Simulating water with rigid non-polarizable models: a general perspective. Phys. Chem. Chem. Phys. 13, 19663–19688 (2011).
Sorenson, J. M. et al. What can X-ray scattering tell us about the radial distribution functions of water?. J. Chem. Phys. 113, 9149–9161 (2000).
Soper, A. K., Bruni, F. & Ricci, M. A. Site-site pair correlation functions of water from 25 to 400 ℃: Revised analysis of new and old diffraction data. J. Chem. Phys. 106, 247–254 (1997).
Sutmann, G. & Vallauri, R. Dynamics of the hydrogen bond network in liquid water. J. Mol. Liq. 98, 215–226 (2002).
Skinner, L. B. et al. Benchmark oxygen–oxygen pair-distribution function of ambient water from X-ray diffraction measurements with a wide Q-range. J. Chem. Phys. 138, 515–548 (2013).
Priyadarsini, A. et al. Structural and thermophysical anomalies of liquid water: a tale of molecules in the instantaneous low and high-density regions. J. Phys. Chem. B 124, 1071–1081 (2020).
Shih, J. P., Sheu, S. Y. & Mou, C. Y. A Voronoi polyhedra analysis of structures of liquid water. J. Chem. Phys. 100, 2202–2212 (1994).
Stukowski, A. Visualization and analysis of atomistic simulation data with OVITO—the Open Visualization Tool. Modell. Simul. Mater. Sci. Eng. 18, 2154–2162 (2010).
Humphrey, W., Dalke, A. & Schulten, K. VMD—visual molecular dynamics. J. Mol. Graph. 14, 33–38 (1996).
Romano, S. et al. Standardized mutual information for clustering comparisons: one step further in adjustment for chance. International Conference on Machine Learning. PMLR, 1143–1151 (2014).
The method of calculating lifetime of clusters is introduced in Supplementary information Fig. 1. A correlation function can be introduced to describe the probability that the fragment is intact at time t, given that it is intact at time 0: Ca(t)=<h(0)h(t)>/<h(0)>, where h(t) is 1 when the fragment is intact at time t and 0 otherwise. The average rate of change of the fragment population Pa(t) is given by Pa(t) = dCa(t)/dt. The distribution Pc(t) is expressed as Pc(t) = -t·dPa(t)/dt. The average lifetime of rings can be defined as <c>=∫t·Pc(t)dt.
Camisasca, G. et al. A proposal for the structure of high- and low-density fluctuations in liquid water. J. Chem. Phys. 151, 034508 (2019).
Vega, C., Sanz, E. & Abascal, J. L. F. The melting temperature of the most common models of water. J. Chem. Phys. 122, 255701–256542 (2005).
Clauset, A., Newman, M. E. J. & Moore, C. Finding community structure in very large networks. Phys. Rev. E Stat. Nonlinear Soft Matter Phys. 70, 066111–066111 (2004).
Strehl, A. & Ghosh, J. Cluster ensembles—a knowledge reuse framework for combining multiple partitions. J. Mach. Learn. Res. 3, 583–617 (2002).
Lancichinetti, A. & Fortunato, S. Community detection algorithms: a comparative analysis. Phys. Rev. E Stat. Nonlinear Soft Matter Phys. 80, 056117 (2009).
Dong, D. Z. B. J. Comparing the biological coherence of network clusters identified by different detection algorithms. Chin. Sci. Bull. 52, 2938–2944 (2007).
Xiaohu, Z. et al. Improved algorithm based on Girvan–Newman algorithm for community detection. J. Front. Comput. Sci. Technol. 4, 1101–1108 (2010).
Acknowledgements
This work was supported by the National Natural Science Foundation of China (No. 91647210), the 111 Project (No. B18031).
Author information
Authors and Affiliations
Contributions
H.F., Y. G. and K.N. designed the research. Y. G. performed simulations and analyzed the data. H.F., Y. G. and K.N. discussed and wrote the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Gao, Y., Fang, H. & Ni, K. A hierarchical clustering method of hydrogen bond networks in liquid water undergoing shear flow. Sci Rep 11, 9542 (2021). https://doi.org/10.1038/s41598-021-88810-7
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-021-88810-7
This article is cited by
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.