Hostname: page-component-74656f9884-rdgjk Total loading time: 0 Render date: 2026-11-09T00:34:59.813Z Has data issue: false hasContentIssue false

Generalized Lagrangian heterogeneous multiscale modelling of complex fluids

Published online by Cambridge University Press:  10 August 2023

Nicolas Moreno*
Affiliation:
Basque Center for Applied Mathematics (BCAM), Alameda de Mazarredo, 14, 48400 Bilbao, Spain
Marco Ellero*
Affiliation:
Basque Center for Applied Mathematics (BCAM), Alameda de Mazarredo, 14, 48400 Bilbao, Spain IKERBASQUE, Basque Foundation for Science, Calle de Maria Dias de Haro 3, 48013 Bilbao, Spain Zienkiewicz Center for Computational Engineering (ZCCE), Swansea University, Bay Campus, Swansea SA1 8EN, UK
*
†Email addresses for correspondence: nmoreno@bcamath.org, mellero@bcamath.org
†Email addresses for correspondence: nmoreno@bcamath.org, mellero@bcamath.org

Abstract

We introduce a fully Lagrangian heterogeneous multiscale method (LHMM) to model complex fluids with microscopic features that can extend over large spatio/temporal scales, such as polymeric solutions and multiphasic systems. The proposed approach discretizes the fluctuating Navier–Stokes equations in a particle-based setting using smoothed dissipative particle dynamics (SDPD). This multiscale method uses microscopic information derived on-the-fly to provide the stress tensor of the momentum balance in a macroscale problem, therefore bypassing the need for approximate constitutive relations for the stress. We exploit the intrinsic multiscale features of SDPD to account for thermal fluctuations as the characteristic size of the discretizing particles decreases. We validate the LHMM using different flow configurations (reverse Poiseuille flow, flow passing a cylinder array and flow around a square cavity) and fluid (Newtonian and non-Newtonian). We show the framework's flexibility to model complex fluids at the microscale using multiphase and polymeric systems. We also show that stresses are adequately captured and passed from micro to macro scales, leading to richer fluid response at the continuum. In general, the proposed methodology provides a natural link between variations at a macroscale, whereas accounting for memory effects of microscales.

Information

Type
JFM Papers
Copyright
© The Author(s), 2023. Published by Cambridge University Press
Figure 0

Figure 1. Scheme of different HMM approaches. Eulerian–Eulerian (EE), Eulerian–Lagrangian (EL) and Lagrangian–Lagrangian (LL). The evolution of the stress tensor depends on the effective relaxation times at the microscales $\lambda '$. Systems with $\lambda ' \ll \bar {\lambda }$ (green) are accurately computed at the microscopic scales, whereas for $\lambda ' \leq \bar {\lambda }$ (blue), larger microscale simulations are required to capture memory effects as the macro scales evolve. LL approaches facilitate the carrying of the stress information during the time integration at macroscales.

Figure 1

Figure 2. (a) Schematic representation of the fully Lagrangian heterogeneous multiscale method proposed. (b) Algorithm and (c) parallelization.

Figure 2

Figure 3. Time-stepping approaches and information passing between scales. In LL schemes, it is in principle possible to pass information from micro solvers before reaching full equilibration, since the historically dependent stress is naturally tracked in the Lagrangian framework.

Figure 3

Figure 4. Sketch of macro- and microscopic systems investigated. At the macroscale, reverse Poiseuille flow and flow in arrays (cylindrical and square) are constructed. For microscales, in addition to the standard Newtonian fluid, complex fluids are modelled as oligomeric solutions and melts, and two immiscible fluids $k$ and $l$, undergoing microphase separation.

Figure 4

Figure 5. (a) Fully microscopically resolved RPF for Newtonian and non-Newtonian fluid. Non-Newtonian fluids are modelled oligomers with $N_s=16$ particles per chain. (b) Closeup of the upper part of an RPF for different domain sizes evidencing a characteristic non-Newtonian profile. We indicate the total number of degrees of freedom (particles) required in those simulations along with the box and oligomer size ratio, for each case. Larger domains will readily require DOF $> 1\times 10^6$.

Figure 5

Figure 6. The RPF velocity profiles for two different oligomeric melts with $N_s=8$ and $N_s=16$ using different values of the stabilizing parameter $\epsilon$. Overall, the LHMM schemes capture up to a good approximation the effect of microscopic oligomer chains in the flow. For $N_s=16$, relatively larger deviations are observed as $\epsilon \approx 0$. This is likely because of the noise-to-signal ratio of the computed stress for larger chains. Further improvement can be achieved by increasing the sampling volume at the microscales.

Figure 6

Table 1. Macroscopic fluid and system parameters.

Figure 7

Table 2. Microscopic fluid and system parameters.

Figure 8

Figure 7. The RPF for non-Newtonian fluid, using oligomers with $N_s=8$. (a) Comparison between Newtonian and non-Newtonian for two values of $\epsilon = 0.01$ and $\epsilon = 0.2$. The magnitude of the stabilization parameter does not affect the rheology of the fluid, evidencing a proper description of the fluid from both macro- and microscales separately. Shear-thinning effect of oligomer melts at different shear rates. The value of $\epsilon =0.01$ is used for low shear rates. As the shear rate increases, the value of $\epsilon =0.2$ is used to ensure stability of the measured stress. (b) Variation of the stress and first normal stress differences for three different macroscopic particles (i)–(iii). The initial position of the particles is highlighted on the right, (i) in red at $y/L = 0.55$, (ii) in black at $y/L = 0.35$ and (iii) in orange at $y/L = 0.1$. Microscales are constituted by oligomers with $N_s=8$. The characteristic normal stress differences in the fluid increase due to the microscopic response of the chains.

Figure 9

Figure 8. (a) Typical velocity profile for RPF coupled with multiphase flow at microscale, using two different compositions of the phase $l$, $\kappa _l=0.2$ and $\kappa _l=0.5$. (b) Comparison of the steady-state velocity profile obtained for a Newtonian fluid and two schemes of LHMM simulations. The phase separation at microscales results in a shear-thinning behaviour of the macroscopic flow. For comparison, we include the steady profile for a system without historical tracking of the microscale. In that situation, the formation of microstructures with larger relaxation times is never reached, and the fluid behaves similar to the Newtonian fluid.

Figure 10

Figure 9. Comparison of the velocity and hydrodynamic stresses contours (a) between a Newtonian and oligomeric melt around a cylinder (at $Wi=0.4$). In a domain of size $19\,\textrm {d}\,{x} \times 27\,\textrm {d}\,{x}$ with a radius of cylinder of $R=6\,\textrm {d}\,{x}$. (b) Comparison of the velocity profile along a vertical line at the entrance of the channel. Microscopic features of the chains at the microscales induce the deviation of the Newtonian behaviour leading flattened velocity profile. (c,d) Stress variation along (a,c) vertical and (a,d) horizontal slices are presented to compare the response of both fluids.

Figure 11

Figure 10. Comparison of the velocity and stress $\bar {{\rm \pi} } _{xy}$ on a square-contraction array for Newtonian and multiphase flows. (a) Steady-state velocity and stress contours and (b) root-mean-squared velocity and stress fluctuations.

Figure 12

Algorithm 1: Lagrangian heterogeneous multiscale coupling

Figure 13

Figure 11. Velocity field for RPF configurations for four different macroscopic ($\epsilon = 1$) particle resolutions, corresponding to a total number of particles ${N}=[64,100,144,256]$.

Figure 14

Figure 12. Imposed velocity field and the corresponding gradient for macroscales (solid line), compared with the computed values for each particle $I$ in a domain $10\,\textrm {d}\,{x} \times 50\,\textrm {d}\,{x}$. This case corresponded to a full macroscale Newtonian fluid with $\epsilon = 1$.

Figure 15

Figure 13. Velocity field for macroscales for different values of $\epsilon$, using the manufactured microscopic solution of a Newtonian fluid, from the analytical solution for the stress tensor, $\boldsymbol {\pi }^h = \eta (\boldsymbol {\nabla } {\boldsymbol {v}} + \boldsymbol {\nabla }^T {\boldsymbol {v}}) + (\zeta - 2\eta /D)\boldsymbol {\nabla } \boldsymbol {\cdot } {\boldsymbol {v}} \boldsymbol {I}$. The dashed line indicates the theoretical parabolic profile. The results correspond to two systems with different maximum velocity gradient, $\boldsymbol {\nabla }_y v_{x}|_{max}$.

Figure 16

Figure 14. Effect of rigid rotation for an oligomeric microscale system using arbitrary boundary condition scheme. (a) Schematic of a macroscopic particle undergoing rigid rotation and the corresponding applied velocity gradient as the particle moves. For comparison, we include the corresponding velocity field when the reference frame is aligned with the particle velocity. (b) Variation of the mean orientation angle and (c) mean end-to-end distance $R_f$ of the oligomer coils of size $N_s=8$, in a simulation domain that is rotating from pure shear to $\alpha ={\rm \pi} /4$ and finally under no flow. Here, ${\lambda }'$ denotes the relaxation time of the system.

Figure 17

Figure 15. Characteristic viscosity $\eta /\eta _0$ of the complex fluid adopted as a function of the imposed shear rate $\dot {\gamma }$. Here, $\eta _0$ is the input solvent viscosity (or viscosity of the Newtonian fluid) and $\eta$ is the measured total fluid viscosity. (a) Oligomer melt with $N_s=16$ and (b) biphasic flow with two different compositions ($\kappa _l=0.2$ and $\kappa _l=0.5$). Multiphase flow is modelled using two initial condition that lead to different effective viscosities.

Figure 18

Figure 16. Temporal evolution of the microscopic stress for a binary system with $\kappa _l=0.5$, for four different shear rates. Systems with initial condition as fully mixed phases (blue) and completely phase separated (orange) are compared. Here, $\lambda _{ps}$ is the characteristic time for full phase separation to occur. At lower shear rates, the effect of microstructure formation can affect the effective stress measured. In contrast, for large shear rates, both systems exhibit similar shear thinning behaviour, independent of their initial condition.

Figure 19

Figure 17. Imposed velocity field for macroscales for different values of $\epsilon$ and using the proposed micro–macro coupling. As a comparison, a system without microscales stress cannot recover the desired velocity profile.

Figure 20

Figure 18. Flow around cylinder LHMM and full macro.

Figure 21

Figure 19. Start-up flow in RPF configurations for Newtonian and non-Newtonian fluids. The oligomer melt corresponds to chains with $N_s=8$. The best fitting of the velocity profile is illustrated by the continuous line at the same time step for both fluids. For Newtonian fluid is consistent with the expected quadratic profile, whereas for the oligomer melt, the microscopic effect leads to a fourth-order velocity profile.

Figure 22

Figure 20. Stabilization of velocity and stress for Newtonian and multiphase flows. (a) Comparison of velocity profiles at different time steps between Newtonian and multiphase system. (b) The r.m.s. velocity and stress for multiphase systems at different time steps.