A cutting-edge software that adopts an optimized searching algorithm is presented to tackle the Newton–Euler equations governing the dynamics of dense suspensions in Newtonian fluids. In particular, we propose an implementation of a fixed-radius near neighbors search based on an efficient counting sort algorithm with an improved symmetric search. The adopted search method drastically reduces the computational cost and allows an efficient parallelization even on a single node through the multi-threading paradigm. Emphasis is also given to the memory efficiency of the code since the history of the contacts among particles has to be traced to model the frictional contributions, when dealing with dense suspensions of rheological interest that consider non-smooth interacting particles. An effective procedure based on an estimate of the maximum number of the smallest particles surrounding the largest one (given the radii distribution) and a sort applied only to the surrounding particles only is implemented, allowing us to effectively tackle the rheology of non-monodispersed particles with a high size-ratio in large domains. Finally, we present validations and verification of the numerical procedure, by comparing with previous simulations and experiments, and present new software capabilities.
I. INTRODUCTION
The physics of granular particles suspended in a fluid has become of fundamental importance in the last few decades due to their heavy involvement in many natural and industrial processes. For instance, clarifying the behavior of blood flows is a high-priority topic since it can potentially lead to the diagnosis and prevention of cardiovascular diseases.1 From a geophysical viewpoint, phenomena like sediment transport are highly attractive since dense suspensions contribute to transporting nutrients and providing ecological habitats while shaping the surrounding landscape.2 Industries working with paints or adhesives, instead, are interested in the control of the flow to guarantee the required performance and quality of the final products approaching the market.3
The physics of the processes listed above is dominated by the interactions between the particles and fluid that determine the flowability properties of the granular suspensions. Unscrambling the cumbersome microscopic mechanisms of the interactions between the particles shaping those materials and their flowing behavior has become a high-priority topic, with a particular need for finding a physically meaningful constitutive law.4 Exceptionally challenging is the rheological behavior shown by dense suspensions, i.e., suspensions with a similar volume fraction of particles and liquid. In fact, under stress, dense suspensions may show rheological behaviors that span from a yielded behavior to discontinuous shear-thickening.5–8
Despite the practical relevance, a few analytical studies dealing only with very dilute9 and semi-dilute10 granular suspensions have been successfully carried out. The major mathematical difficulties stand in the lack of proper analytical formulations that deal with multi-body interactions, especially for very large volume fractions, where enduring direct contacts becomes fundamental.6 Conversely to theoretical approaches, numerical algorithms are ideal for tackling the numerous particles interacting with each other. Numerical techniques, spanning from molecular dynamics11,12 to the solution of the linear Stokes equations for every suspended particle,13 stormed the field of granular suspensions. Recently, since the work done in the seminal paper by Cundall and Strack,14 the discrete (or distinct) element method (DEM) for studying dense suspensions and granular flows has become the standard for the flow analysis. Modern approaches to DEM reduce the description of the particle–fluid and particle–particle interactions to minimal models able to correctly address the macroscopic behavior of the flow without excessive loss of information. On this fashion, simplified relationships for short-range interactions have been proposed, e.g., for hydrodynamic interactions15,16 and for adhesive–repulsive contributions (a satisfactory overview can be found in the works of Refs. 16–19). Concerning contacts, the most implemented technique is the soft-particle model, where contacts among several particles and adhesion effects are handled.18 In particular, Luding20 developed a minimal model that, based on the original work by Cundall and Strack,14 addresses the surface roughness of the particles with tangential contacts replicating the sliding, rolling, and torsion resistances, with the option of reproducing both static and dynamic frictions. More advanced contact models contemplating non-linearity, hysteresis, and complex effects can be found in his work.20 Many other models have been adopted in the field of dense suspensions and DEM;8,21 the interested reader is referred to the reviews by Li et al.18 and Guo and Curtis22 for a complete overview.
The major drawback of DEM is the expensive computation of short-range interactions acting on every particle. The computational cost, if care is not taken, may quadratically increase with the number of particles considered, limiting the size of the domain analyzable or the length of the simulated process. To reduce the computational cost, algorithms of fixed-radius near neighbors search23 have been adopted and become the standard in DEM implementations. A widely implemented method is related to the use of Verlet lists.12 The Verlet list is a data structure that stores and tracks all particles within a cutoff distance of each other. The list can be naively built by checking the distances [cost ] between particles or, with more modern techniques, through efficient cell-lists or tree-structures that largely reduce the computational cost [O(N) for cell-lists, for tree structures].24 In particular, the former consists of dividing the computational box into a Cartesian lattice (with spacing Δ that accommodates the particles within a pre-selected cutoff distance) and assigning the particles to the points of the lattice. After that, for each particle a distance-checking procedure is applied to all the other particles belonging to the 27 neighboring cells. This procedure, however, may bring to a high computational and memory cost when dealing with highly polydispersed particles, since the cutoff distance is usually calibrated with the largest particles; therefore, a cell may contain a large number of small particles that must be enquired for neighborhood. While computationally the extra-cost can be decreased by adopting a cutoff radius that suits the smallest particle of the set, and extending the size of the searching-stencil for the larger particles as done in LAMMPS, memory-wise the cost will remain of the order , since the cell-list has to spatially cover the whole simulation box.
To further reduce the computational cost, the Verlet-lists are updated every n time steps, calibrated such that within the n − 1 remaining steps the locations of the neighboring particles do not significantly vary.12 This last point, however, is very delicate since updating the Verlet list too frequently is computationally expensive and, on the contrary, increasing the time-period of the update can introduce errors in the computation.
Here, following the work by Hoetzlein,25 we implement a highly parallelisable method based on the cell-list approach that does not require the explicit computation of a Verlet list, thus zeroing its memory-cost, since the particles will be simply reordered within the Cartesian lattice in a new array by means of a very efficient counting-sort algorithm [computational cost O(N)]. Since the particles are ordered by the cell, it is straight-forward to look for neighbors within the adjacent cells. The counting-sort algorithm will be applied to the particles at every time iteration, avoiding any loss of information on the neighboring pairs. Within the framework of this manuscript, we propose and validate the new software that combines the cutting-edge algorithm just mentioned for the neighbors query with methods that satisfactorily deal with complex rheological behaviors observed in dense suspensions. For the latter problem, a rigorous mathematical formulation will be provided. Finally, the software is parallelized within the multi-threading architecture and is intended to be used without accessing the expensive computational power provided by supercomputers or costly Graphics Processing Unit (GPU) accelerators.
The manuscript is organized as follows. Section II deals with the mathematical formulation, focusing on the models adopted and detailing the parameters that govern the flow. In addition, the numerical integration scheme together with its implementation and parallel performance are described. In Sec. III, we show the validation of the code by studying the rheology of dense suspensions to ensure the reliability of the results. Some benchmark tests on the potentiality of the code are also proposed. Finally, in Sec. IV a summary of the code capabilities and novelty ends the manuscript.
II. NUMERICAL METHOD
The in-house software used in this work models a dense, non-Brownian suspension of quasi-inertialess, neutrally buoyant, quasi-rigid spherical particles in a shear-flow defined by the shear-rate, , and the strain-rate tensor, (with the only non-zero quantities, ). The code tackles the Newton–Euler equations that govern the translational and rotational dynamics of the rigid particles,
where the subscript i indicates the particle , N being the number of particles. In Eq. (1), and denote the force and torque applied to the center of mass of the ith particle, with mass mi and inertia tensor . The translational and angular velocities are here denoted by the symbols and , respectively. The superscript M refers to the nature of the forces applied to system (1), resulting from particle–particle and particle–flow interactions. In particular, here we consider the contributions arisen from hydrodynamics, inelastic contacts, and electro-chemical effects. Specifically, the right-hand-side of Eq. (1) can be written as
where the summations are performed on the number of particles neighboring the ith particle considered, and the superscripts H, C, and E stand for hydrodynamics, inelastic contacts, and electro-chemical effects, respectively.
Concerning the hydrodynamics of the system, dense suspensions of rigid particles immersed in a low-Reynolds-number flow are subjected to a Stokes drag and a pair-wise, short-range lubrication force.26 The latter is caused by the relative motion of particles that squeeze the fluid flowing in the narrow gaps between them. Following the work of Ball and Melrose15 and Mari et al.,26 to replicate those contributions we implement a linear relationship between forces and velocities,
where is the center-to-center unit vector (being the Cartesian position of the particle i), and is a vector perpendicular to n (being Ai the strain-rate tensor referred to the ith particle, , in this case), is a diagonal matrix that models the Stokes drag forces and torques, including the Faxén laws for non-uniform shear-flows,27 and and are sparse matrices that approximate the far-field mobility matrices, dropping the low moment contributions and considering a pair resistance model with only divergent terms.15 In particular, those sparse matrices model the contribution of the lubrication through the squeeze, shear, and pump modes.26 The detailed formulation of the matrices defining the hydrodynamics resistances is given in A. Figure 1 sketches the lubrication forces and torques acting on the ith particle (left) due to the presence of the jth particle (right). The dashed red circumference highlights the region of influence of the lubricant interactions, parameterized with δlub. Note that beyond this threshold, i.e., even at mid-range distances between the particles, the hydrodynamics is modeled only through the Stokes drag. We acknowledge that this is an approximation; however in the context of dense suspensions, it is acceptable since its contribution is minimal.
Sketch of the hydrodynamic interaction between the pair of particles, i, j, having velocity and angular velocity , and , respectively. The hydrodynamics effect starts acting when the minimum surface distance between the particles is below δlub.
Sketch of the hydrodynamic interaction between the pair of particles, i, j, having velocity and angular velocity , and , respectively. The hydrodynamics effect starts acting when the minimum surface distance between the particles is below δlub.
The contact contribution is modeled by the stick-and-slide method20 that is able to describe frictional contacts. This method mimics the inelastic contacts with spring-dashpot systems that start operating when the surface distance between the spheres i and j, (being ai and aj the particles radii), is negative (overlap). Considering two particles, i and j, the stick-and-slide model can be written as
where the Coulomb's law must be satisfied (μC being the friction coefficient). The superscripts nor and tan indicate the directions of the force (i.e., normal and tangential) and the parameters kn, kt, and γn are the normal and tangential spring constants and the normal damping constant, respectively. The velocity is the normal velocity vector, while represents the stretch of the tangential spring. The latter is computed following the procedure described by Luding:20
where is the tangential projection tensor, is the tangential velocity vector, and t0 is the time at the beginning of the collision between the particles i and j [with ]. A sketch of the model adopted in this work is shown in Fig. 2. The possibility of adding the rolling resistance to the model, as in Refs. 19 and 20, is described in B.
Sketch of the contacts model between the pair of particles, i, j, having velocity and angular velocity , and , respectively. The spring-dashpot systems modeling the contacts start acting when the surface distance, dij, between the particles is negative (overlap).
Sketch of the contacts model between the pair of particles, i, j, having velocity and angular velocity , and , respectively. The spring-dashpot systems modeling the contacts start acting when the surface distance, dij, between the particles is negative (overlap).
The last contribution considered in this work is forces of conservative nature that arise from the chemo-physical properties of the solid–fluid and solid–solid interactions and play a fundamental role in systems of dense suspensions.19,28 In particular, the model, sketched in Fig. 3, addresses the contribution by adding an inter-particle, distance-decaying repulsion force,
Sketch of the model adopted for the electro-chemical interaction between the pair of particles, i, j. The repulsive interaction starts appearing when the minimum surface distance between the particles is below , while the attractive contribution when the minimum surface distance is below .
Sketch of the model adopted for the electro-chemical interaction between the pair of particles, i, j. The repulsive interaction starts appearing when the minimum surface distance between the particles is below , while the attractive contribution when the minimum surface distance is below .
In Eq. (6), FER is the module of the force, a0 the reference radius, the harmonic radius, and λD is the Debye length that controls the decay of the force. In Eq. (7), instead, A is the Hamaker constant and ϵ is a small regularization term (generally ) introduced to avoid the singularity at contact, when dij = 0. To simplify the notation, below the repulsive and attractive effects may be gathered together in the electro-chemical contribution, , marked by the E superscript.
The forcing contributions described above induce mechanical stress in the suspension that can be computed using the stresslets theory,27
where is the bulk stress tensor, η0 is the viscosity of the carrier fluid, and V is the volume of the simulated box. The stresslets due to the interactions, instead, are denoted by and are defined as
where the hydrodynamic contribution (H) has been separated into the Stokes (S) and lubrication (L) terms, i.e., . From the bulk stress tensor, , we can derive the quantities of rheological interest, i.e., the shear-stress σ, the normal stress differences N1 and N2, and the pressure Π, defined as , and . Normalizing the shear-stress and the pressure with the properties of the carrier flow, we can define the relative viscosity and the dimensionless pressure as and , respectively.
Several parameters dominate the physics of the suspension described by System (1). We consider the translational equation of (1),
where we gathered the dimensional quantities (being the non-dimensional quantities marked with the superscript ). In Eq. (10), is the typical velocity in a shear-flow, T is the timescale introduced by the particles (in this case, the particles introduce no additional time-scales, therefore ), keq is the equivalent spring constant of the model represented in Fig. 2, and F is the module of the force introduced by the electro-chemical interactions. Applying the Buckingham Pi theorem, the parameters are reduced to a set of non-dimensional numbers that can be tuned to outline the model desired. Considering the dimensional quantities in Eq. (10), and choosing as independent fundamental quantities, three non-dimensional groups emerge. The first one is the Stokes number,
where the constraint is applied to remain in the inertialess regime. The non-dimensional stiffness, instead, governs the importance of the contacts contributions compared to the hydrodynamic term,
where forces the particles to be rigid; note that, the equivalent stiffness constant,
has been approximated to kn by adding additional constraints and .26 Finally, the last non-dimensional group (the equivalent shear-rate) refers to the timescale introduced by the electro-chemical contribution,
where we defined a new shear-rate, ; thus, tuning F (i.e., adjusting FER and the Hamaker constant) appropriately, a shear-rate dependency can be imposed to the suspension.
A. Numerical algorithm
Following the work by Ge et al.,29,30 the governing equations (1) are advanced in time with the modified velocity-Verlet explicit scheme,31
where , and denote the position (orientation), velocity (angular velocity), and acceleration (angular acceleration) vectors of the particle i, respectively, at time , and resembles the right hand side of Eq. (1). The modified velocity-Verlet scheme is second-order accurate in time and, being explicit, it requires a time step that resolves the smallest timescale of the system (typically established by the stiffness of the contacts; a good approximation of the time step can be computed through the time constant that can be defined in the normal spring-dashpot system, ). Different from other approaches, e.g., considering an over-damped system dropping the inertial terms,26 this approach allows us to avoid the inversion of the resistance matrix of the lubrication forces.
The domain is a box of size (or L3 if cubic) with a shear-rate, , applied along the y direction. At the edges of the domain, the Lees–Edwards boundary conditions32 are adopted to remove the effect of the walls,
The interaction between the particles represents the most expensive part of the algorithm from a computational point of view with a cost of , if a brute force algorithm is used. To overcome the problem, we adopted a highly parallelisable, fixed-radius near neighbors algorithm.23,25 The algorithm is based on rearranging the particles on a coarser lattice (cell-list) by adopting an efficient counting sort algorithm25 that requires a computational cost O(N) and few memory arrays of size N. The spacing of the cell-list Δ must suit the desired searching distance; a sketch of it is shown in Fig. 4. By considering the near points of the coarser grid in the search for neighbors, i.e., the blue-filled region in Fig. 4 (considering a 3 × 3 macro searching-cell) the computational cost dramatically decreases to O(cN), where is the number of particles inquired as neighbors and depends on the lattice space Δ. The dependence of c on Δ is related to the number of particles that fit each macro-cell and an optimal choice of Δ is therefore related to the properties of the suspension. For instance, fixing , where amax is the radius of the largest particle in the suspension, minimizes the number of macro-cells to be inquired for the search of neighbors. This is ideal for monodisperse suspensions where there may be at maximum one particle per cell and may look reasonable when considering polydispersed suspensions with not-very-high dispersion ratios. On the contrary, the choice may be detrimental for suspensions with (amin being the radius of the smallest particle), since it may result in the presence of a high number of particles within each macro-cell, with the limit of c = N when corresponds to the size of the domain. In this case, to reduce the number of particles within each searching cell, a better choice is to set and increase the stencil of neighboring cells.24,25
Sketch of the fixed-radius near-neighbors algorithm adopted for finding the neighbors of the particle highlighted in blue, within a distance R marked by the red circle. The domain (left panel) is subdivided, first, into a coarse lattice (central panel) and the particles are ordered via a counting sort algorithm. The search is then carried out only on the 3 × 3 neighboring cells (blue region, right panel).
Sketch of the fixed-radius near-neighbors algorithm adopted for finding the neighbors of the particle highlighted in blue, within a distance R marked by the red circle. The domain (left panel) is subdivided, first, into a coarse lattice (central panel) and the particles are ordered via a counting sort algorithm. The search is then carried out only on the 3 × 3 neighboring cells (blue region, right panel).
As a drawback, the search shown in Fig. 4 implies that the forces and torques acting on the pair of particles (i, j) are computed twice, although this procedure guarantees a better load balance through the processes when the code is parallelized. To avoid the double counting of the forces keeping a good load distribution among the processes, we propose a symmetric search, where the neighbors are scanned only over half of the points of the macro searching-cell of the near Cartesian lattice, as sketched in Fig. 5, thus obtaining an additional significant speed-up by halving the computational operations. Note that this procedure does not require any particular symmetry of the problem.
Symmetric fixed-radius near-neighbors algorithm. The search is carried out only within the red region. The initial random distribution of particles within the domain guarantees the load-balance in the case of parallelization.
Symmetric fixed-radius near-neighbors algorithm. The search is carried out only within the red region. The initial random distribution of particles within the domain guarantees the load-balance in the case of parallelization.
Memory-wise, instead, the main problem arises from the computation of the tangential stretch, Eq. (5), where the history of all contacts must be traced, with a potential memory cost . To reduce the cost, we use a reduced matrix with size N × M, where M is an overestimation of the maximum number of contacts per particle based on the volume of the spherical shell surrounding the largest particle of the suspension, with thickness . The contacts, once established, are then recorded into a hash-map that charts them along with the indexes of the particles involved. Then, every array of the map (i, M) is sorted by the indexes, and the history of the contacts for the particle i is sought over the sorted array (i, M). This procedure has an actual memory cost O(N), adding little to the computational cost.
The parallelization of the solver is reached by implementing the multi-threading paradigm on a single node with a multiprocessing system, using the OpenMP directives. The high-scalability of the code, obtained on a 2-socket AMD EPYC 7702 machine (zen2 microarchitecture), is shown in Fig. 6. The scalabiltiy graph is obtained by fixing the domain properties and varying the number of processes used. The case considered is a bidispersed suspension with a high number of particles N = 65 536 to test also the memory-efficiency, volume fraction , bidispersity ratio, and volume and , respectively. All the forcing contributions listed above in this section have been considered. Referring to the configurations shown in Fig. 6, the total time per iteration (on average) in seconds is reported in Table I. The table also shows the breakdown (in percentage) of the total time needed by the several parts sampled within the core of the software. In particular, t1 corresponds to the time needed to update the kinematical properties of the particles with the modified velocity-Verlet scheme, t2 to sort the particles within the corresponding cells (counting sort), t3 to compute the interactions between neighbors, and t4 to sort the hash-map of the frictional contacts list, while the amount of time needed for writing the outputs is negligible. The breakdown of the total time per iteration shows how the counting sort algorithm is convenient for reordering the particles within the searching cells, with its cost not exceeding the 6% of the total time in the configuration considered.
Scalability of the code. We considered a bidispersed suspension with number of particles N = 65 536 and volume fraction . The bidispersity of suspension is characterized by a bidispersion ratio and volume ratio . The graph is obtained by increasing the number of processes np. The time spent per iteration by np processes, tnp, is normalized by the time spent by a single process, t1.
Scalability of the code. We considered a bidispersed suspension with number of particles N = 65 536 and volume fraction . The bidispersity of suspension is characterized by a bidispersion ratio and volume ratio . The graph is obtained by increasing the number of processes np. The time spent per iteration by np processes, tnp, is normalized by the time spent by a single process, t1.
List of the average time per iteration needed to advance the particles varying the number of threads and its breakdown. In particular, ttot is the total time in seconds per iteration, t1 is the percentage of time taken by the modified velocity-Verlet scheme, t2 is the percentage of time needed to sort the particles within the macro-cells (counting sort), t3 is the percentage of time needed to compute the interactions between neighboring particles, and t4 is the percentage of time needed for sorting the hash-map of the lists for the history of the frictional contacts.
np . | 1 . | 2 . | 4 . | 8 . | 16 . | 32 . | 64 . | 128 . |
---|---|---|---|---|---|---|---|---|
0.549 | 0.279 | 0.144 | 0.078 | 0.042 | 0.023 | 0.015 | 0.009 | |
0.8 | 0.8 | 1.0 | 2.1 | 2.9 | 5.5 | 8.5 | 8.6 | |
0.2 | 0.4 | 0.5 | 1.1 | 1.4 | 2.1 | 3.2 | 5.7 | |
92.4 | 92.5 | 91.8 | 88.0 | 85.2 | 79.0 | 69.7 | 70.1 | |
6.6 | 6.3 | 6.7 | 8.8 | 10.5 | 13.4 | 18.6 | 15.6 |
np . | 1 . | 2 . | 4 . | 8 . | 16 . | 32 . | 64 . | 128 . |
---|---|---|---|---|---|---|---|---|
0.549 | 0.279 | 0.144 | 0.078 | 0.042 | 0.023 | 0.015 | 0.009 | |
0.8 | 0.8 | 1.0 | 2.1 | 2.9 | 5.5 | 8.5 | 8.6 | |
0.2 | 0.4 | 0.5 | 1.1 | 1.4 | 2.1 | 3.2 | 5.7 | |
92.4 | 92.5 | 91.8 | 88.0 | 85.2 | 79.0 | 69.7 | 70.1 | |
6.6 | 6.3 | 6.7 | 8.8 | 10.5 | 13.4 | 18.6 | 15.6 |
For readers interested in the algorithm and in benchmarking the software, the code is available at https://github.com/marco-rosti/CFF-Ball-0x.
III. RESULTS
In this section, the robustness and accuracy of the method proposed above for dense suspensions is investigated. We consider, first, a relatively small domain with particles suspended in a uniform, plain shear-flow, and we compare the data obtained with studies available in the literature varying the volume fraction and the shear-rate; we then increase the domain size to test the memory-efficiency of the software, and we study the behavior of a dense suspension subject to a wavy shear-flow, the wave acting on the stream-shear cross-plane. All initial conditions used in this work are generated with the sphere-packing software developed by Donev.33
A. Uniform shear-flow
The reliability of the code has been tested both in jamming transition scenarios and in a shear-dependent behavior of rheological relevance.
For the jamming transition, we consider a cubic box containing a bidispersed suspension (, in equal volumes ) of 200 frictionless, rigid [see Eq. (12)] particles, with no electro-chemical interactions. The side length of the box accommodates the volume fraction imposed, being . The parameters chosen echo the validation carried out by Ge and Brandt29 and are listed in Table II. Figure 7 shows the comparison between the simulation results and the data available in the literature with a satisfying agreement between the computed relative viscosity, ηr, and the power-law fitting of Mari et al.26 for frictionless particles (solid black curve).
Parameter choice for the frictionless (FL) and frictional (FR) configurations. Here, a0 = a1 represents the reference length scale.
. | N . | . | . | St . | . | . | . | μC . | . | . |
---|---|---|---|---|---|---|---|---|---|---|
FL | 200 | 1.4 | 1 | 2/7 | 0 | |||||
FR | 1000 | 1.4 | 1 | 2/7 | 1 |
. | N . | . | . | St . | . | . | . | μC . | . | . |
---|---|---|---|---|---|---|---|---|---|---|
FL | 200 | 1.4 | 1 | 2/7 | 0 | |||||
FR | 1000 | 1.4 | 1 | 2/7 | 1 |
Relative viscosity, ηr (filled markers), varying the volume fraction. The solid curves represents the power-law fitting of the data from Ref. 26. The black solid curve, , with jamming volume fraction , is obtained for frictionless particles, while the red solid curve, , with jamming volume fraction , is obtained for frictional particles with . The red dashed line, instead, is obtained from the numerical data by Cheal and Ness34 for frictional particles with .
Relative viscosity, ηr (filled markers), varying the volume fraction. The solid curves represents the power-law fitting of the data from Ref. 26. The black solid curve, , with jamming volume fraction , is obtained for frictionless particles, while the red solid curve, , with jamming volume fraction , is obtained for frictional particles with . The red dashed line, instead, is obtained from the numerical data by Cheal and Ness34 for frictional particles with .
We then activate the friction (), and we increase the number of particles to N = 1000 (see Table II). Figure 7 shows the comparison between the computed relative viscosity ηr and the data fitting obtained by Mari et al.26 (solid red curve) and Cheal and Ness34 (dashed red curve) with excellent agreement.
The shear-dependent behavior of the particles suspended in a uniform shear-flow is obtained by considering all contributions listed in Sec. II. At first, we will show the results obtained from a bidispersed dense suspensions (size ratio ) with volume fraction , to see if the software is able to catch the typical shear-dependent behavior.26 The set of parameters for carrying out these simulations have been chosen to mimic those by Mari et al.26 and are listed in Table III. Note that for these simulations, the electro-chemical contribution is purely repulsive (), as set in Mari et al.26 Figure 8 (left panel) shows the trend of the relative viscosity ηr varying the shear-rate applied to the suspension . In particular, we see that the three suspensions show the same qualitative behavior, with values of the relative viscosity substantially increasing (especially at higher shear-rates) with the volume fraction. From Fig. 8, we can notice that at low shear-rates the suspensions show the typical shear-thinning behavior with a similar slope in the three cases considered, as already observed by Mari et al.26 At those shear-rates, the repulsive contribution dominates the mechanics of the suspensions (higher FE, lower ), holding the particles off at a mid-range distance. On the other hand, at higher shear-rates the contacts become dominant, triggering the typical shear-thickening behavior, with a growing slope as the volume fraction is increased, eventually leading to a quasi-discontinuous shear-thickening at . When considering dense suspensions, to characterize the strain-induced anisotropy of the fluid, two additional rheologically meaningful functions are usually measured: the two independent normal stress differences N1 and N2. Fig. 8 shows the first (middle panel) and the second (right panel) normal stress differences, respectively, of the shear-dependent suspensions considered (see Table III). In particular, the trend observed is similar to the one reported by Mari et al.,26 proving the capability of the software to catch the strain-induced anisotropies of the suspensions.
Set of parameters used for simulating the behavior of dense suspensions varying the shear rate. Here, a0 = a1 is the reference length scale.
. | N . | . | . | St . | . | . | . | μC . | . | . | . | . |
---|---|---|---|---|---|---|---|---|---|---|---|---|
0.45 | 512 | 1.4 | 1 | 2/7 | 1.0 | 0.10 | 0.05 | |||||
0.50 | 512 | 1.4 | 1 | 2/7 | 1.0 | 0.10 | 0.05 | |||||
0.55 | 512 | 1.4 | 1 | 2/7 | 1.0 | 0.10 | 0.05 |
. | N . | . | . | St . | . | . | . | μC . | . | . | . | . |
---|---|---|---|---|---|---|---|---|---|---|---|---|
0.45 | 512 | 1.4 | 1 | 2/7 | 1.0 | 0.10 | 0.05 | |||||
0.50 | 512 | 1.4 | 1 | 2/7 | 1.0 | 0.10 | 0.05 | |||||
0.55 | 512 | 1.4 | 1 | 2/7 | 1.0 | 0.10 | 0.05 |
Shear-dependent rheological quantities of dense suspensions with , indicated by the black, blue and red lines, respectively. Left panel: relative viscosity, ηr; middle panel: first normal stress difference N1 normalized with the shear stress of the carrier fluid; right panel: Second normal stress difference N2 normalized with the shear stress of the carrier fluid.
Shear-dependent rheological quantities of dense suspensions with , indicated by the black, blue and red lines, respectively. Left panel: relative viscosity, ηr; middle panel: first normal stress difference N1 normalized with the shear stress of the carrier fluid; right panel: Second normal stress difference N2 normalized with the shear stress of the carrier fluid.
Next, we consider a dense suspension with volume fraction , and we compare our numerical results with experimental data obtained from quasi-neutrally buoyant silica colloidal particles, processed through the Stöber method,35,36 suspended in a glycerol–water solution with relative concentration , respectively. The electro-chemical properties of the suspension were altered by adding sodium-chloride (NaCl) to the solution, as done in Rathee et al.37 In particular, the numerical and experimental parameters are reported in Table IV. Figure 9 shows a very good agreement between the relative viscosity, ηr, obtained from the numerical and experimental data, for both salt concentrations considered. For the experimental results, the shear-rate has been normalized to match the domain span of the numerical data. The two suspensions behave very differently at lower shear-rates, i.e., in the shear-thinning region. In that regime, the electro-chemical potential acting on the suspension dominates its mechanics. Increasing the salt concentration, the electro-chemical properties of the suspension are modified, with the contribution due to the van der Waals attractive forces becoming more important (lower ). This induces the formation of large clusters that highly contribute to the higher resistance of the suspension to flow,37 and this is reflected in Fig. 9, with the red curve showing much higher values of ηr. Conversely, at higher shear-rates, where the contacts between particles dominate, the behavior of the suspension does not depend on the salt concentration; therefore, the two suspensions have similar values of relative viscosities (see Fig. 9).37
Parameters set used for numerical simulations (SI) and experiments (EX) of particles suspended in a varying uniform shear-flow. Here, a0 ( in the simulations) stands for the reference length scale.
. | N . | . | . | St . | . | . | . | μC . | . | . | . | . |
---|---|---|---|---|---|---|---|---|---|---|---|---|
SI | 512 | 1.09 | 1 | 2/7 | 0.5 | 0.25 | ||||||
a0 | η0 | ρfluid | μC | λD | NaCl | |||||||
EX | 0.5 |
. | N . | . | . | St . | . | . | . | μC . | . | . | . | . |
---|---|---|---|---|---|---|---|---|---|---|---|---|
SI | 512 | 1.09 | 1 | 2/7 | 0.5 | 0.25 | ||||||
a0 | η0 | ρfluid | μC | λD | NaCl | |||||||
EX | 0.5 |
Relative viscosity, ηr, varying the shear-rate, , where for the experiments, the value has been chosen to match the shear-rate domain of the simulations. The symbols outline the numerical data, while the solid lines represent the experimental results. The black data are obtained from a salt-free suspension, while the red data represent the solution with salt concentration .
Relative viscosity, ηr, varying the shear-rate, , where for the experiments, the value has been chosen to match the shear-rate domain of the simulations. The symbols outline the numerical data, while the solid lines represent the experimental results. The black data are obtained from a salt-free suspension, while the red data represent the solution with salt concentration .
The typical size of the cluster of particles for the suspension with higher salt concentration is shown in Fig. 10. In particular, the two panels show the size distribution of the clusters at the extrema of the curve in Fig. 9, i.e., at shear-rate , when the suspension reaches its steady-state regime. From Fig. 10, we can see that the distributions show two peaks, the leftmost one concerning small clusters and the rightmost large ones. Comparing the distributions of the latter at the two shear-rates considered, we can see that the peak is narrower in the region where the van der Waals forces dominate the behavior of the suspension (left panel), with the particles gathering in a spherical-shaped cluster. A snapshot of the structures for the case with a salt concentration of is shown in Fig. 11 (left panel), where the two peaks seen in the distributions can be clearly recognized. In the right panel of Fig. 11, instead, a snapshot during the time evolution of the clusters is shown, with the large cluster fragmented in many smaller ones.
Average size distribution of clusters of contacting particles for the strongly attractive suspension (i.e., salt concentration ). Left panel: ; right panel: . The total number of particles is N = 512. The size distributions are averaged over 100 snapshots.
Average size distribution of clusters of contacting particles for the strongly attractive suspension (i.e., salt concentration ). Left panel: ; right panel: . The total number of particles is N = 512. The size distributions are averaged over 100 snapshots.
Snapshot of the cluster of contacting particles at . Left panel: steady-state regime; right panel: transient regime. The total number of particles is N = 512. The smaller cluster plotted has a size of five particles; smaller clusters are not shown for clarity of the images.
Snapshot of the cluster of contacting particles at . Left panel: steady-state regime; right panel: transient regime. The total number of particles is N = 512. The smaller cluster plotted has a size of five particles; smaller clusters are not shown for clarity of the images.
B. Wavy shear-flow
The examples discussed above show that the code is able to tackle particles suspended in a uniform shear-flow. We extend here the simulations to non-uniform shear-flows that activate the Faxén contribution introduced in the Stokes drag. In particular, we introduce a wavy shear-flow,
where is the amplitude of the wave and n imposes the number of spatial periods within the domain. This is a condition of relevant interest as it can be used for example to reproduce the wall effects that appear in a rheometer when attempting to replicate a uniform shear-flows or to take into account the back-reaction of the particles on the flow itself.
We consider a cubic box containing a bidispersed suspension with volume fraction . The ratio between the radii of the two dispersed phases is , while the volume percentage ratio of the largest dispersed particles to the smallest one is . We set the number of particles to N = 65 536 to test the memory-efficiency of the software. The side length of the box accommodates the volume fraction , being . The particles composing the suspension are considered to be rigid with a non-smooth surface (i.e., with a friction coefficient ), electrically charged with a screening length . The equivalent shear-rate, Eq. (14), is set to (i.e., within the shear-thickening region of Fig. 9), with a ratio when the pair of particles (i, j) are at contact. The wave was chosen to have a single spatial period, n = 1, with a large amplitude to amplify the effects of the wavy shear. Table V wraps up the set of parameters chosen and a snapshot of the domain and particles is shown in Fig. 12.
Parameters set for dense suspensions in a uniform shear-flow (NW) and in a wavy one (YW), following Eq. (17). Here, a0 = a1 represents the reference length scale.
. | N . | . | . | St . | . | . | . | μC . | . | . | . | . | . | n . |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NW | 216 | 3 | 0.25 | 2/7 | 1 | 1 | 0.25 | 0.02 | 19 | 0 | 0 | |||
YW | 216 | 3 | 0.25 | 2/7 | 1 | 1 | 0.25 | 0.02 | 19 | 20 | 1 |
. | N . | . | . | St . | . | . | . | μC . | . | . | . | . | . | n . |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NW | 216 | 3 | 0.25 | 2/7 | 1 | 1 | 0.25 | 0.02 | 19 | 0 | 0 | |||
YW | 216 | 3 | 0.25 | 2/7 | 1 | 1 | 0.25 | 0.02 | 19 | 20 | 1 |
Snapshot of the large domain simulation with N = 65 536 and . The volume fraction is , with a volume contribution of the bidispersed particles .
Snapshot of the large domain simulation with N = 65 536 and . The volume fraction is , with a volume contribution of the bidispersed particles .
A wave with a large amplitude, such as the one applied in the case described above, significantly affects the local shear-rate, as shown in the left panel of Fig. 13. This local effect has a direct impact on the suspension as half of it is located in a low shear-rate region, while the other half feels a high shear-rate. Thus, the non-uniformity impacts the rheology of the suspension modifying the relative viscosity ηr of the suspension, as shown in the right of Fig. 13. Note that both cases analyzed started from an identical initial condition.
Left panel: streamwise velocity profile of the carrier flow applied in the shear-wise direction, y. Right panel: time history of the relative viscosity ηr, being the number of strains. In both panels, the black line represents the suspension in a uniform shear-flow, while the red line the suspension in a wavy one.
Left panel: streamwise velocity profile of the carrier flow applied in the shear-wise direction, y. Right panel: time history of the relative viscosity ηr, being the number of strains. In both panels, the black line represents the suspension in a uniform shear-flow, while the red line the suspension in a wavy one.
Next, in Fig. 14 we plot the shear-wise diffusivity (left panel) and the autocorrelation function of the shear-wise velocity fluctuations (right panel), respectively, defined as
and
where in both equations, the brackets indicate the average over all the particles and t0 is the initial time; y(t) and are the time-dependent shear-wise location and velocity fluctuations, respectively, of the particles. The figure shows how the particles, on average, diffuse more (twice more) when the wavy-shear rate is applied to the suspension, due to the non-uniformity of the shear rate. Moreover, the autocorrelation function of shows a higher integral timescale for the suspension with the non-uniform shear-rate.
Left panel: time-history of the shear-wise (y-direction) diffusivity of the particles. Right panel: time history of the autocorrelation function of the shear-wise velocity fluctuations . The non-dimensional time is plotted in term of strains, . In both panels, the black line represents the suspension in a uniform shear-flow, while the red line the suspension in a wavy one.
Left panel: time-history of the shear-wise (y-direction) diffusivity of the particles. Right panel: time history of the autocorrelation function of the shear-wise velocity fluctuations . The non-dimensional time is plotted in term of strains, . In both panels, the black line represents the suspension in a uniform shear-flow, while the red line the suspension in a wavy one.
Finally, to understand the temporal behavior of the suspension, we show the distribution of the local volume fraction along the shear-wise direction. Figure 15 shows the distribution of the particles in the shear-wise direction separated by the size of the suspended phase. In particular the figure is organized as follows: in the left panel, the local distributions of the large (solid line) and the small (dotted line) particles of the suspension at the initial time are shown; in the middle panel, the same quantities are shown for the particles suspended in a uniform shear-flow at γ = 10; in the right panel, the local distributions are shown for the particles suspended in a wavy shear-flow at γ = 10. While the distribution of the particles in the case where a uniform shear-rate is applied to the suspension remains similar to the initial condition with the particles uniformly distributed along the shear-wise direction, in the case where the particles are suspended in a non-uniform shear flow, two clear peaks in the distribution of the large particles appear. This suggests that the large particles are migrating toward such region that, in particular, coincide with the location of zero-shear.
Local distribution of the volume fraction along the shear-wise direction. The solid lines represent the distribution of the large particles, while the dotted lines the distribution of the small particles. Left panel: initial condition; middle panel: uniform shear-rate; right panel: wavy shear-rate. The distributions are averaged over 100 snapshots.
Local distribution of the volume fraction along the shear-wise direction. The solid lines represent the distribution of the large particles, while the dotted lines the distribution of the small particles. Left panel: initial condition; middle panel: uniform shear-rate; right panel: wavy shear-rate. The distributions are averaged over 100 snapshots.
IV. SUMMARY AND OUTLOOK
We have presented an efficient software (freely available at https://github.com/marco-rosti/CFF-Ball-0x) that tackles the dynamics of dense suspensions. First, the models of the contributions adopted to simulate the particle–particle and the particle–flow interactions have been presented. The models mimic the ones already available in the literature, echoing in particular, the implementation of Mari et al.26 and Ge et al.29,30 The core of the algorithm, i.e., the fixed-radius near neighbors search, follows the idea of Hoetzlein25 with an improved symmetric search that guarantees a speed-up in the near neighbors inquiry and a good load-balance among processes when the parallelization is adopted. Particular attention has been also given to the memory efficiency aspect of the implementation as the representation of rheological suspension with a large number of non-smooth particles is of high interest, especially to cope with particle suspensions having a high size ratio, as a limited number of large particles would fit into small domains.
The aforementioned features of the implementation have been proved in the examples carried out in Sec. III. First, we verified the reliability of the method by comparing our results with data available in the literature obtained from other codes or experiments. Then, we carried out sample simulations with a high number of particles , comparing the rheology of suspensions driven by a uniform and a wavy shear-flow.
The present code can be extended in a series of ways. Models in consideration for future implementations concern the possibility of reproducing Brownian particles and the introduction of walls that constrains the particles in any of the three directions. The present code is meant to be used for studying the rheology of particle suspensions in several configurations, to unravel some of the complex phenomena arising when dealing with dense suspensions.38
ACKNOWLEDGMENTS
All authors gratefully acknowledge the support of Okinawa Institute of Science and Technology Graduate University (OIST) with subsidy funding from the Cabinet Office, Government of Japan. The authors also acknowledge the computer time provided by the Scientific Computing section of Research Support Division at OIST. A. Q. S. acknowledges funding from the Joint Research Projects (JRPs) supported by JSPS and SNSF. V. R. also acknowledges financial support from the Japanese Society for the Promotion of Science (Grant No. 21K13895).
AUTHOR DECLARATIONS
Conflicts of Interest
The authors have no conflicts to disclose.
DATA AVAILABILITY
The data that support the findings of this study are available from the corresponding authors upon reasonable request.
APPENDIX A: Hydrodynamic resistances
The hydrodynamics of a dense suspension is dominated by contribution of the close approaching particles.15 In a Stokesian framework, this translates in dropping the full description of the flow and modeling the hydrodynamics contribution acting on the suspension with only close-range terms, described by the resistance matrices in Eq. (3).
Following the description in Mari et al.26 and adding the Faxén laws,27 the matrices for rigid spheres can be written as
where is the normal projection operator, is the tangential projection operator (being the identity matrix), and is the cross-product operator. The ad hoc defined operators, and , can be written as
Finally, the scalar coefficients X and Y contain the diverging terms of the lubricant interactions,
being the normalized particle–particle surface distance and ε is a small positive coefficient that avoids the singularity when the particles are at contact. The coefficients gX and gY, instead, are defined as follows:
where is the radii ratio.
APPENDIX B: Rolling resistance
In this appendix, we describe the model used to introduce a rolling resistance between two contacting particles that can be included when necessary. We follow the work of Luding20 and apply the same algorithm used for the frictional model,
where is the reduced radius. The sub- and superscript r state the rolling contribution, while the reports the nonphysical nature of the pseudo-force associated with rolling effects. In fact, passively contributes to the rhs of Eq. (1) through the rolling torque. The linear stretch associated with the rolling spring is computed as in Eq. (5), with the rolling velocity and the rolling spring stiffness kr (with the constraint ) substituting the relative tangential velocity of the contact points and the frictional spring stiffness kt, respectively. Note that the limitation introduced by the Coulomb's law is still applied. For more details, the reader is referred to Ref. 20.