Hualong
Feng
abd,
Marat
Andreev
ac,
Ekaterina
Pilyugina
ab and
Jay D.
Schieber
*abcd
aCenter for Molecular Study of Condensed Soft Matter, 3440 S. Dearborn Street, Chicago, IL 60616, USA
bDepartment of Chemical and Biological Engineering, 10 W. 33rd Street, Chicago, Illinois 60616, USA
cDepartment of Physics, Illinois Institute of Technology, 3101 South Dearborn Street, Chicago, IL 60616, USA
dDepartment of Applied Mathematics, Illinois Institute of Technology, 10 West 32nd Street, Chicago, IL 60616, USA. E-mail: schieber@iit.edu
First published on 10th May 2016
We demonstrate the ability to simulate complex flows of entangled polymer melts using a high-fidelity slip-link model. Given the strong connections of the underlying molecular model to an atomistic description, nearly ab initio predictions of complex processing are feasible. Moreover, the method retains sufficient information which might allow extraction of detailed polymer chain conformations imposed by the flow. The macroscopic transport equations are solved using smoothed-particle hydrodynamics consistently with the stresses calculated using stochastic simulation of an ensemble of polymer chains in each particle. The polymer model uses only a single adjustable parameter whose value is determined from equilibrium stress relaxation. All other parameters are determined from atomistic simulation. Thereafter, nonlinear rheology predictions are made without any parameter adjustment. As a demonstration, we simulate journal-bearing flow of a moderately entangled polymer. Although the flows considered here are two dimensional, the required computational resources demonstrate that three dimensional flow calculations are accessible.
Design, System, ApplicationThe performance of many advanced materials depend on molecular conformations following processing. Polymeric materials are particularly difficult to model out of equilibrium, because of the very large relaxation times that can arise, making the interplay between molecular conformations and flow nontrivial. We present here a numerical tool that allows the prediction of molecular conformations of entangled polymers during and following processing. This is the necessary first step towards molecular design of advanced soft materials. |
By utilizing recent advances in the molecular modeling of entangled polymers, we present a tool that could be useful in the virtual design of molded polymer parts, for example. As input, our simulation tool would require the geometry of the mold, as well as inlet and outlet pressures. Knowledge of the polymeric material is also required, such as the chemical makeup of the polymer, its molecular architecture, and its molecular weight distribution, if polydisperse. The model has several molecular-architecture-independent parameters. However, we have shown that all but one of these can be found from atomistic simulations, and we have reason to believe that this final parameter might also be predicted. One could then accurately predict flow, stresses, and coarse-grained molecular conformations during flow—during injection molding, for example—without any adjustable parameters. Moreover, in theory, one could further fine grain these conformations to predict polymer chain conformations on an atomistic level for any point in the fluid. As a result, further analysis could be used to predict relevant macroscopic properties, such as optical clarity, birefringence, electrical or thermal conductivity, etc.
For the moment, we consider only isothermal flow. However, heating and cooling can also be implemented in a straightforward way, which would also require something like temperature boundary conditions. In that case, one could also simulate the structural properties upon cooling, which is important in injection molding, or additive manufacturing. In other words, final product performance could be predicted with minimal or no knowledge from experiment. Since actual processing can take minutes, and atomistic simulations access timescales of only order 1 μs, our proposed simulation tool bridges more than 10 orders of magnitude in time.
Predicting the flow of polymers and their subsequent conformations during processing is a formidable challenge. Their rheology is not described by the Navier–Stokes equation even approximately. Instead, one needs to solve the equation of motion, which represents a continuum-level momentum balance, simultaneously with a constitutive equation that relates stresses to velocity fields.8 Recently, mean-field molecular models have been developed that are able to make quantitative predictions of stresses in arbitrary homogeneous flow fields.9,10 These so-called slip-link models require only three molecular-weight-independent parameters in order to make predictions: the molecular weight of a Kuhn step MK; the entanglement activity β, which determines entanglement density; and a timescale of Kuhn step motion τK, which embodies friction.
All but the last of these parameters can be found from atomistic Monte Carlo simulations,11,12 since they depend on chain conformations only. Monte Carlo simulations can exploit non-physical chain-crossing moves to relax chain conformations much more efficiently than obtained with molecular dynamics. Once these conformations are found, Kröger's Z1 algorithm13,14 can be used to find entanglements arising from chain uncrossability—the so-called primitive path. From information about the chain end-to-end length distribution, and the primitive-path-length distribution, the slip-link model parameters are found unambiguously.
Even the last parameter might also be accessible by molecular dynamics simulations, although that has not yet been demonstrated. Moreover, these models might provide sufficient information to reconstruct detailed information about molecular conformations.15,16 These conformations in turn could be used to predict many material properties.
Slip-link models are computationally expensive, which greatly prohibited their use in predicting flows in complex geometries. However, two recent advances have greatly reduced the costs. First, a universal version of the model was found by lumping larger segments of the polymer chain together, which resulted in a speed up of more than two orders of magnitude.12,17 Secondly, the numerical algorithm was rewritten for graphical processors, which gives another 2.5 orders of magnitude decrease in cost.18 As a result, flows in complex geometries are now feasible, which we demonstrate here.
It is widely accepted that the dynamics, and hence the rheology of long-chained polymer liquids is primarily determined by entanglements, which arise from the inability of chains to cross through one another. Their importance was first postulated by Edwards,19 and the first full rheological constitutive equation based on the idea was the tube model, proposed by Doi and Edwards.20 The tube picture is used to force the chain to reptate along its backbone, while perpendicular motions are suppressed. Since then, there have been many different mathematical tube models for various deformations and various chain architectures to force the calculations to come more in line with experiments.
More recently an alternative approach to model entanglements has been used with considerable success in predicting experimental observations. In this slip-link model, the chains are restricted to move through infinitesimal rings which mimic entanglements, or uncrossability effects.21,22 In contrast to tube models, many physical effects such as reptation, or primitive-path-length fluctuations arise naturally from the model, rather than their being put into the model. Moreover, the slip-link model is applicable to any deformation and arbitrary chain architecture.12,23–26
A similar picture has been used to motivate some computer simulations with similar physics. However, in contrast to these simulations, each implementation of the slip-link model is represented by a well-defined mathematical object. Having such a mathematical description is valuable for at least two reasons. First, it is possible to examine in detail the conformity of the model to highly developed restrictions of non-equilibrium thermodynamics (GENERIC = general equation for nonequilibrium/equilibrium reversible/irreversible coupling). As a result, one can guarantee that energy is conserved, entropy is not destroyed, and that the proper stress tensor expression is being used, among other things.27 Secondly, and critically important here, alternative algorithms can be derived for numerical calculations of model predictions. This last point was crucial in developing the GPU-capable code.
In this manuscript we show that the recent advances in computation of the discrete slip-link model allow us to make flow calculations in complex geometries. Given the remarkable fidelity of the model to experimental measurements, such calculations should be very reliable for making predictions. For the complex geometries used in processing, our slip-link model requires a macroscopic simulation technique that is Lagrangian rather than Eulerian.
Recently, a combination of smoothed particle hydrodynamics (SPH) with a simple polymeric fluid model was proposed by Vázquez-Quesada et al.28 SPH was originally developed by Gingold and Monaghan29 for astrophysical problems but was recently applied successfully to other problems, including simulations of incompressible flow, viscoelastic flow, and solid mechanics.31–32 SPH became particularly popular for graphical visualization of water and other liquids, which led to development of highly efficient algorithms. The method is known to be able to handle free surfaces and moving boundaries well and proved to be robust and reliable. Vázquez-Quesada et al. showed that the SPH method follows the structure of non-equilibrium thermodynamics (it is GENERIC compliant)28,33 and successfully applied it, together with the Oldroyd-B model, to microrheology simulations.34 In other words, not only are the continuum equations thermodynamically allowed, even their spatial discretizations in SPH can be made compliant. In this paper we combine SPH with the recent DSM version for GPUs to perform non-homogeneous flow calculations for entangled polymer melts.
The polymer chain is coarse-grained to the entanglement level, with conformation described by variable set Ω, and chain conformation distribution in equilibrium is given by peq(Ω). This equilibrium distribution is analytic and can be used to calculate observables. Additionally, it is used to generate initial configurations for the chain ensemble efficiently. The dynamics of the model is given by
![]() | (1) |
0 = ![]() | (2) |
From another point of view, we postulate two dynamic processes for the time evolution of the chain: movement of the chain itself—sliding dynamics (SD)—and the movement of the chains in the mean field—constraint dynamics (CD). These processes are made to be consistent with one another.
As mentioned above, each chain conformation is stochastically independent of every other chain in the ensemble, which makes parallelization of the code trivial, and scalability ideal. Nonetheless, the physics of the chains do interact through a dynamic mean-field treatment of CD. Namely, each entanglement may be destroyed by CD through a first-order reaction rate, whose time scale is determined by the matrix of chains. These rates are found from the rate of entanglement destruction by SD, in order to maintain self consistency.
DSM has been shown to be successful in predicting both the equilibrium relaxation modulus and dielectric relaxation properties simultaneously. For example, in Fig. 1 we show data for the transient viscosity of a polyisoprene melt during inception of shear flow measured by ref. 35. The Kuhn step molecular weight MK and entanglement activity β can be found from primitive-path analysis of atomistic simulations. The frictional parameter τK is then found from the equilibrium dynamic modulus from a polyisoprene of smaller molecular weight. The predictions shown in this figure are made without parameter adjustment. Furthermore, it captures elongational flow at least up to stretches of 10–20 times.
An efficient algorithm for GPUs allows making predictions for an ensemble of millions of chains on a single desktop computer with a single GPU. Alternatively, several GPUs can be used to perform non-Newtonian fluid dynamics simulations by assigning several thousand chains (or fewer) per fluid particle. More details on the level of description, model variables and parameters can be found elsewhere.36
The description of chain simulations are also given there, which are identical to those used here. Namely, after parameter determination, each chain requires the instantaneous local velocity gradient. The local stress field can then be estimated by an ensemble average over the local chain conformations.
![]() | (3) |
![]() | (4) |
Since we are primarily interested in viscoelastic materials, then the local pressure tensor π(r,t) is not proportional to the instantaneous velocity gradient, but rather is some complicated functional of the velocity history. For example, π could be given by the upper-convected Maxwell model and the stress is given by the average of a function (where Q is a conformation vector, nc is the polymer chain number density, and H is the entropic Hookean spring constant). In general, the probability density p(Ω; r,t) of some set of microstructural state variables Ω has an evolution equation involving the local velocity gradient. Hence, eqn (4) is supplemented by an evolution equation for the probability density at particle i
![]() | (5) |
![]() | (6) |
For any such molecular model, one has . In practice, one approximates eqn (5) to arbitrary accuracy with an ensemble of Nens independent trajectories of {Ωαi}, α = 1,..., Nαens. Then, our level of description is the set
. In other words, each SPH particle i has a mass mi, a position ri, a velocity νi, and an ensemble of microstructural variables {Ωαi}.
The system of eqn (3) and (4) is closed by specifying a suitable equation of state for the pressure. We consider nearly incompressible flow and use30
Pi :![]() | (7) |
Even though the system of eqn ((3), (4) and (7)) is closed, we add one more—we also evaluate density as an additional variable instead of using the exact summation
![]() | (8) |
This approach was suggested by Monaghan39 in order to avoid problems concerning boundary and edge effects and also to save some computational cost by allowing all the variables to be evaluated in one step without an additional loop for the density calculation.
We implement a simple predictor–corrector method with explicit time-step where independent variables are evaluated at the predictor step and then the source is evaluated at the corrected step to get final values.40
In order to check the accuracy of SPH we use MMS for the classical problem of flow through a linear array of cylinders confined in a horizontal channel, Fig. 2. Periodic and no-slip boundary conditions are implemented at the sides, and top and bottom of the domains, respectively. The details of the calculations can be found in the Appendix.
![]() | ||
Fig. 2 One period of an infinite array of cylinders confined in a horizontal channel. The radius R is used as the characteristic length. |
Fig. 3 shows side by side contour plots of the horizontal component of velocity vx of the manufactured solution in comparison with result of the SPH simulation, where 192 × 128 (besides the boundary particles) SPH particles are used. The top of Fig. 3 shows the analytic function that should be generated by the code using the derived source terms. The bottom of the figure validates our code.
![]() | ||
Fig. 3 Comparison between the manufactured solution (top) and the numerical solution by SPH (bottom). |
![]() | ||
Fig. 4 A journal bearing consists of two eccentric cylinders, and a fluid is trapped between as a lubricant. |
A journal bearing consists of two eccentric cylinders with a lubricating fluid in between. An assumption of infinitely long cylinders makes the problem two-dimensional. We define two dimensionless quantities—the eccentricity and the clearance ratio—as the ratio of the distance between the centers to the difference in the two radii, ε = e/(R1 − R0), and the ratio between the two radii minus 1, δ = R1/R0 − 1, respectively.
For δ = 0.1, we performed a series of simulations with ε = 0.1, 0.3, 0.5. The comparison of the steady state velocity profiles between obtained results and asymptotic solutions is shown in Fig. 5.
One can see that the agreement is good for the velocity in the azimuthal direction, but there are some deviations in the radial direction. We believe that this discrepancy is due to the clearance ratio's being insufficiently small (δ = 0.1) such that neglect of the higher-order terms is no longer warranted. On the other hand, it is not desirable to have smaller δ for SPH, since the particles in the narrowest strip will see two boundaries, which complicates implementation of boundary conditions. Nevertheless, we conclude that our SPH implementation is able to reproduce the results with acceptable accuracy.
For the fluid, we consider polystyrene of molecular weight MW = 238 kDa, and use the clustered slip-link model18 with β = 1 and the number of chain segments Nc = 30. We choose the characteristic time for a cluster of Kuhn steps to slide through an entanglement to be τc = 2.5 × 10−4 s, and the longest relaxation time of the entire chain is estimated to be τ = 0.01Nc3.48τc= 123 τc = 0.03075 s.50
We consider a journal bearing of eccentricity ε = 0.9 and clearance ratio δ = 0.06. The length and time scales are made dimensionless by the inner cylinder radius R0 and cluster characteristic time τc, respectively. The inner cylinder rotates at a constant angular velocity of Ω = 0.00325/τc = 13 s−1, resulting in a Weissenberg number . We add N = 25
446 SPH particles to our domain, and each particle contains Nens = 800 chains. The polymer stress reaches steady state after approximately 10τ. We also performed calculations with Wi = 0.667 by reducing the shear rate to Ω = 0.000325/τc = 1.3 s−1.
In ref. 46 stress on the inner cylinder and first normal stress coefficient were calculated numerically via the arbitrary Lagrangian–Eulerian (ALE) method, where the upper-convected Maxwell model (UCMM) and the Phan-Thien-Tanner (PTT) model were used to model the polymer contributions to stress. We consider the same set up and perform simulations with SPH + UCMM and SPH + DSM. The results are shown in Fig. 8, where on top we plot the shear stress on the journal, and on the bottom we plot the normal stress difference. The results reproduce the results of Gwynllyw et al.46 for UCMM. When DSM is used to model the polymer stress, the characteristic behavior of the stress has similar features—the location of peaks is similar for both models but the stresses are smaller in magnitude for DSM at both Weissenberg number values. Given the relative simplicity of the UCM model, the qualitative similarity is surprising.
![]() | ||
Fig. 8 (a) Shear stress along the journal surface. (b) Normal stress difference along the journal surface. |
As a proof of concept of the SPH + DSM approach we predict journal bearing flow with DSM parameters appropriate for a polystyrene melt. We also used the upper-convected Maxwell model UCMM instead of DSM in order to compare our predictions with the results of Gwynllyw et al.46 The performed tests show that the combination of the SPH method with the most detailed polymer model allows for accurate predictions in feasible computational time for non-trivial geometries. Since our approach is robust, other geometries are straightforward. For example, 3D flows with free surfaces are computationally feasible. Since DSM is also robust to chain architectures, flows of blends of branched and polydisperse linear chains, for example, could also be simulated.
The major limitation to our approach for simulating realistic processing conditions is the time needed to perform the simulation. In Table 1 we report simulation time for each test performed. The calculations were conducted on 32 CPUs, bound to 32 GPU cards (when DSM is used) in a one-to-one fashion. The most expensive simulation—journal-bearing flow of a polymer melt—used about 20 million chains and required 9 hours to finish. Shear flow simulations of 0.576 million chains of the same length (Nc = 30) took minutes to finish. For this Nc the technical limitation on one video card with 3 Gb memory can be estimated to be about 2.6 million chains. With an 84-GPU cluster available to us, the total number of simulated chains could be up to 220 million. Therefore, we used only about 10% of our resources. Clearly, time-dependent, three-dimensional flows under realistic processing conditions are accessible. Future work will examine more relevant applications to designing polymer materials where flow plays an important role.
N | N ens | N × Nens | Wall time | |
---|---|---|---|---|
UCM flow past a cylinder | 11![]() |
— | 11![]() |
<1 h |
DSM shear flow | 720 | 800 | 576![]() |
<1 h |
UCM journal bearing | 106![]() |
— | 106![]() |
261 min |
DSM journal bearing | 25![]() |
800 | ∼2 e7 | ∼9 h |
Several improvements on our implementation of SPH are possible. For example, explicit time-stepping could be substituted with an implicit time-step to gain some speed up in calculation time and increased stability. The evaluation of density, eqn (8), should be omitted to ensure conservation of mass; however, such an implementation also necessitates careful treatment of SPH particles near the boundaries to avoid edge effects. A larger ensemble size could be used to improve statistics.
We choose the smoothing length h to be 1.5 times the constant initial spacing between adjacent SPH particles. With this h, each SPH particle interacts with approximately 60 others in two dimensions. The operation count of the SPH algorithm, a generic N-body problem when using the non-compact Gaussian as the smoothing function, is reduced from O(N2) to O(N) by using the compactly supported quintic spline.
![]() | (9) |
The second criteria comes from numerical integration and is due to particle acceleration,
![]() | (10) |
![]() | (11) |
We use a classical problem of flow through a linear array of cylinders confined in a horizontal channel as schematically shown in Fig. 2. The length is made dimensionless by the cylinder radius R. The channel has width 6 and height 4. To use MMS, we solve the system of equations
![]() | (12) |
![]() | (13) |
νx = −0.4![]() ![]() ![]() | (14) |
νy = 2![]() ![]() | (15) |
This velocity v = (vx, vy) satisfies no-slip boundary condition on the two flat walls. To satisfy the similar boundary condition on the cylinder, we define v*(r) = d1ν(r)/(d1 + d2), where r, d1, d2 are depicted in Fig. 2. It is clear that vm := v − v* satisfies no-slip boundary condition on both the walls and the cylinder. We set the initial density to be unity, ρ0 = 1.0. This results in a Reynolds number on the order of O(1). We close the system of eqn (12) with the equation of state p = 1000ρ, resulting in a sound speed of 32.0. If we take the characteristic velocity to be the maximum of vm, this yields a Mach number of approximately 0.1 (recall that the density fluctuation scales like Mach number squared). The velocity vm are fed to eqn (12) to obtain the source terms for the density and momentum, then, SPH is used to solve the modified equation to check the accuracy. The simulation stops when the relative change in velocity between time steps,
![]() | (16) |
![]() | (17) |
![]() | (18) |
This journal is © The Royal Society of Chemistry 2016 |