원시데이터 수집 시스템
선정목록으로

A hybrid smoothed dissipative particle dynamics (SDPD) spatial stochastic simulation algorithm (sSSA) for advection–diffusion–reaction problems

간접 관련 필름·전자재료 · (11) 배리어 필름 (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)(15) 디스플레이 패널재료

기본 정보

저자
  1. Brian Drawert — Department of Computer Science, University of North Carolina at Asheville, Asheville, NC, 28804, USA
  2. Bruno Jacob — Department of Mechanical Engineering, University of California-Santa Barbara, Santa Barbara, CA, 93106, USA
  3. Zhen Li — Division of Applied Mathematics, Brown University, Providence, RI 02912, USA
  4. Tau‐Mu Yi — Department of Molecular, Cellular, and Developmental Biology, University of California-Santa Barbara, Santa Barbara, CA 93106, USA
  5. Linda Petzold — Department of Computer Science, University of California-Santa Barbara, Santa Barbara, CA, 93106, USA|||Department of Mechanical Engineering, University of California-Santa Barbara, Santa Barbara, CA, 93106, USA
DOI
10.1016/j.jcp.2018.10.043
저널
Journal of Computational Physics
발행년도
2018
발행기관
Elsevier BV
피인용수
13
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.jcp.2018.10.043
토픽
Electrostatics and Colloid Interactions
OpenAlex ID
W2900290963

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (11) 배리어 필름
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막), (15) 디스플레이 패널재료
R&D 측면
분석·모델링
확신도
0.70
근거 용어
smoothed dissipative particle dynamics (SDPD), spatial stochastic simulation algorithm (sSSA), advection–diffusion–reaction, mesoscopic hydrodynamics, reaction-diffusion master equations
판단 근거
이 논문은 화학 반응-확산 문제를 해결하기 위한 새로운 입자 기반 수치 시뮬레이션 알고리즘(SDPD-sSSA)을 다루고 있습니다. 이는 코오롱인더스트리의 고분자 막(PEMFC), 배리어 필름, 디스플레이 소재 내에서의 물질 전달 및 화학적 거동을 예측하는 모델링 기법으로 응용 가능합니다.
R&D 활용 포인트
고분자 전해질 막(PEM) 내의 이온 전도 및 확산 거동, 또는 배리어 필름의 가스 투과 메커니즘을 미시적/중간적 관점에서 시뮬레이션하여 소재 설계 최적화에 활용할 수 있습니다.
평가 입력
초록 1,040자

초록

We have developed a new algorithm which merges discrete stochastic simulation, using the spatial stochastic simulation algorithm (sSSA), with the particle based fluid dynamics simulation framework of smoothed dissipative particle dynamics (SDPD). This hybrid algorithm enables discrete stochastic simulation of spatially resolved chemically reacting systems on a mesh-free dynamic domain with a Lagrangian frame of reference. SDPD combines two popular mesoscopic techniques: smoothed particle hydrodynamics and dissipative particle dynamics (DPD), linking the macroscopic and mesoscopic hydrodynamics effects of these two methods. We have implemented discrete stochastic simulation using the reaction-diffusion master equations (RDME) formalism, and deterministic reaction-diffusion equations based on the SDPD method. We validate the new method by comparing our results to four canonical models, and demonstrate the versatility of our method by simulating a flow containing a chemical gradient past a yeast cell in a microfluidics chamber.

본문 48,336자

본문 펼치기
We have developed a new algorithm which merges discrete stochastic simulation, using the spatial stochastic simulation algorithm (sSSA), with the particle based fluid dynamics simulation framework of smoothed dissipative particle dynamics (SDPD). This hybrid algorithm enables discrete stochastic simulation of spatially resolved chemically reacting systems on a mesh-free dynamic domain with a Lagrangian frame of reference. SDPD combines two popular mesoscopic techniques: smoothed particle hydrodynamics and dissipative particle dynamics (DPD), linking the macroscopic and mesoscopic hydrodynamics effects of these two methods. We have implemented discrete stochastic simulation using the reaction-diffusion master equations (RDME) formalism, and deterministic reaction-diffusion equations based on the SDPD method. We validate the new method by comparing our results to four canonical models, and demonstrate the versatility of our method by simulating a flow containing a chemical gradient past a yeast cell in a microfluidics chamber. Introduction In recent years, the complexity of the models used to simulate systems in science and engineering has dramatically increased. These models span microscopic to macroscopic scales and multiple types of physics simulations, including fluid dynamics, solid mechanics, chemical reactions and transport, and thermody namics. For systems in which the scales of time and space are sufficiently small (microscale), simulations are performed using molecular dynamics (MD) [1] with potential energy functions derived from classical mechanics. For macroscale systems involving a well-mixed system, a continuum approach (i.e., Navier-Stokes equations) is typically employed. At the intermediate mesoscale, recent work by Li et al. [2] has integrated reaction-diffusion of chemical species within a particlebased fluid dynamic framework. In the field of cell biology, it has been found that models with discrete stochastic dynamics are often required to recapitulate biologically relevant phenotypes [3]. Recent work has shown the importance of cellular level models with dynamic domain shapes and external flows coupled to discrete stochastic biochemical simulations [4,5]. Introduction Typically in fluid dynamics simulations, macroscale approaches based on continuum methods rely on the continuum hypothesis and local equilibrium assumptions. By considering volumes of particles as local thermodynamic systems, one can reduce the number of degrees of freedom by several orders of magnitude, because not all the scales of the system are resolved. This truncation of scales allows the simulation of larger systems for longer physical times. In this sense, continuum theories can be seen as coarse-grained versions of the atomic system [1]. Introduction The Knudsen number (Kn), defined as the ratio of the mean free path of the molecules being transported over a characteristic length scale [6], helps to determine whether it is meaningful to use a macroscopic approach. According to Karniadakis et al. [7], molecular effects become the dominant transport mechanism in fluid motion when Kn ≥ 10. However, at the so-called transitional regime, 10 −1 ≤ Kn ≤ 10 1 , several important phenomena involving molecular effects take place in complex systems [1] such as biological flows, and the behavior of polymers and colloids. In this regime, scales are considered mesoscopic, with spatiotemporal ranges in the interval 10 −9 -10 −5 meters and 10 −9 -10 −3 seconds [1], making the number of degrees of freedom required in a MD simulation currently impractical [8,9,10,1]. The most recent MD simulations are constrained to 10 9 atoms and up to 10 −9 seconds [10]. Introduction To capture the effect of a wide range of scales, researchers have developed methods that solve on one scale while modeling the others. For example, dissipative particle dynamics (DPD), proposed by Hoogerbrugge and Koelman [11] and later modified by Español and Warren [12], models mesoscale systems as a collection of particles which interact via a soft potential (conservative forces), while dissipative and stochastic forces provide the missing degrees of freedom of the formulation. The method has been applied to a wide range of problems in physics and chemistry [13] including heat transfer [14,15,16], reactive flows [2], flow through porous media [17,18] and shock-capturing [19,20]. Introduction Despite the success of DPD as a simple, robust and intuitive method, a number of conceptual shortcomings have been reported [8,21,10]. The lack of a direct connection between the model parameters and the physical parameters of the system is still an open area of research. As a consequence, DPD parameters must be calibrated on a case-by-case basis using empirical equations, often in a non-unique way [22,23,21]. Other shortcomings of the DPD method include the impossibility of imposing an equation of state directly 40 in the model [21] and the risk of particle overlap due to the use of soft potentials [8]. Introduction These shortcomings of the DPD formulation were addressed by Español and Revenga [24], who proposed a generalization of the Smoothed Particle Hydrodynamics (SPH) method to model the hydrodynamics, along with an additional stochastic term to model the thermal fluctuations in the mesoscale. The resulting method, named Smoothed Dissipative Particle Dynamics (SDPD), inherits the benefits of second-order discretization of the Navier-Stokes equations in the Lagrangian form from SPH [8,9], along with the thermodynamic consistency of DPD [24]. For this method, transport coefficients and equations of state can be imposed as inputs directly in the model. Moreover, physical scales are consistent with the Navier-Stokes equations, and therefore hydrodynamic behavior is obtained. Introduction In this paper we introduce a novel formulation of advection-diffusion-reaction in SDPD. For systems where the molecular discreteness is relevant, we propose to simulate the reactiondiffusion of species by use of the spatial stochastic simulation algorithm (sSSA) to resolve the reaction-diffusion master equation (RDME) [25,26,27]. An immediate advantage of the spatial stochastic approach is that transport of species is computed exactly, instead of approximately by adding a fluctuation term to the deterministic reaction-diffusion equations. On the other hand, in regions where small scales are negligible, we solve a deterministic form of the SDPD reaction-diffusion equation, thereby avoiding over-resolving scales and increasing computational efficiency. Introduction Compared to mesh-based standard approaches, such as finite elements (FEM), finite differences (FDM) and finite volume (FVM) methods, the new hybrid sSSA-SDPD method introduced by this work presents important advantages. First, as a consequence of its Lagrangian description, the method allows the simulation of advection-diffusion-reaction systems with complex geometries without the need of using adaptive meshes or interface tracking. Additionally, the method is capable of simulating a broader range of problems, when compared with standard approaches. In particular, the method is well-suited for fluid flow problems where stochastic reactive-diffusive mass transport is relevant. Introduction One class of problems in which the hybrid method is expected to excel compared to alternative approaches is the simulation of biological systems where advection and reactiondiffusion occur at different scales, ranging from the microscopic (e.g. stochastic molecular binding interactions) to the macroscopic (e.g. fluid flow). For example, a neutrophil in the blood can track down a single bacterium by sensing individual bacterial peptides that diffuse to and bind neutrophil receptors, triggering a biochemical response while experiencing the hydrodynamic forces from blood flow (Fig. 1). Physical forces, chemical reactions, diffusion, active transport, stochastic dynamics, and advection must all be modeled, which presents a formidable challenging for any computational framework. Commercial software solutions such as Comsol Multiphysics can capture the deterministic spatial dynamics but not the stochastic dynamics. The spatial stochastic simulation algorithm (sSSA) [28] simulates stochastic reaction-diffusion dynamics, but is ill-suited for representing fluid flow. This paper is organized as follows: Section 2 briefly describes the SDPD and sSSA formulations. Section 3 focuses on the algorithmic description of the method proposed, with a discussion about its appropriate use in multiscale systems. Section 4 presents validations, applications and discussion of relevant results. Finally, conclusions and future perspectives are described in Section 5. Background The hybrid method addressed in this paper is based on the combination of two formulations: SDPD and SSA. In this section, we provide a brief theoretical overview of these two key elements in the proposed hybrid method. In SDPD [24], the domain is discretized as a finite number of particles, each representing a small volume of material that carries properties such as momentum, mass and energy. The position of the particles evolves in time according to some mechanistic model, such as the fluctuating Navier-Stokes equations for fluid flow [29]. In contrast, the sSSA algorithm [28] consists of a stochastic model for mesoscopicscale stochastic reaction-diffusion kinetics, where the domain is discretized in voxels and the system is modeled as a Markov process. For each voxel, the number of molecules of diluted species characterize the state of the system that evolves in time according to the Kolmogorov equation. Background The hybrid method proposed uses either the sSSA algorithm or the SDPD formulation to compute mass reaction-diffusion processes, and SDPD to compute advection and other body force dynamics. This is achieved by treating each particle in the system as a voxel for the sSSA. The immediate consequence of using the hybrid sSSA-SDPD method is the ability to correctly predict the dynamics of multiscale systems in an unified framework, resolving hydrodynamics and low-concentration reaction-diffusion systems at the same time. Background An overview of the mathematical models of an arbitrary system from a deterministic, SDPD and hybrid method perspective is depicted in Fig. 2. For detailed formulations of SSA and SDPD, we refer the reader to the work of Gardiner et al. [28] and Español and Revenga [24], respectively. Background where ρ, v, P, F visc , F body , C, κ and R denote the fluid density, velocity, pressure, viscous force, body force, concentration, mass diffusivity and reaction term, respectively. The D(·)/Dt operator denotes the material derivative [30], defined as Background thus the characteristic curves of this operator are the particle trajectories [31]. Adopting a Lagrangian description, we consider each particle as a non-inertial frame of reference. Therefore, the advective acceleration term in Eq (4), v · ∇(·), vanishes identically, by virtue of having a zero relative velocity. Consequently, Eqs. (1)-(3) can be rewritten as: Background Equations (5)- (7) show that the temporal variation of the variables of interest depends on the evaluation of spatial derivatives of these physical quantities. The solution of these equations numerically, therefore, raises the question of how to approximate the derivatives and transform these expressions into a set of algebraic equations involving the unknowns of the problem [31,32]. Background In Eulerian-based methods, at each time step, points of space are arbitrarily selected as inertial frames of reference and therefore the spatial grid spacing is, in general, fixed; thus, derivatives are typically piecewise-approximated using linear functions, polynomials, etc. In contrast, in a Lagrangian-based method, since particles are moving along with the flow, the evaluation of derivatives involves interpolation processes, usually based on radial smoothing kernel functions [31]. Background In order to find a good candidate for the interpolation process, consider a continuous function f(x), defined at coordinates x. Consider the following identity [32] f (x) = ∫ Ω f x′ δ x − x′ dx′, (8) where δ(x -x′) is the Dirac delta function. Due to the infinitesimal support of the Dirac function and the finite decimal precision of computers, it is not possible to write a discrete numerical method using this integral representation of a function. In order to overcome this limitation, SPH theory approximates Eq. (8) by replacing the Dirac function with a smoothing kernel function W with finite support h Background Note that Eq. (9) is an approximation. The accuracy of the approximation depends on the choice of W. In the SPH literature, the smoothing kernel function is often chosen based on three conditions [17,33]: a) the normalization of the smoothing function, that requires its integral to be identically one in the volume Ω; b) the Dirac delta condition, which requires that W(x − x′, h) → δ(x − x′) as the support h approaches zero; c) kernel compactness, which guarantees that W = 0 outside of its support. Background After judiciously choosing a function W, the next step consists of rewriting the integral approximation given by Eq. (9) as a discrete sum. The domain Ω is then discretized using N particles, each located at coordinates x i Background where m j and 〈f j 〉 denote the mass of particle j and the kernel approximation of the field f(x) at position x j , respectively. As a consequence of the SPH formulation, since m j and f j are Background where the resulting directional gradient operator is evaluated as Background with x ij = x i − x j , x ij = ||x ij || 2 and ξ denoting a generalized coordinate. In this work, we have adopted the Lucy kernel, proposed by Lucy [34], with ξ = x ij /h Background where the normalization parameter α D depends on the number of dimensions of the problem Background We proceed now by applying this methodology to Eqs. (5)- (7). The derivation of the deterministic part of the mathematical model, i.e., the SPH formulation, can be found in Monaghan [31]. For a complete derivation of the SDPD method and stochastic hydrodynamic thermal equations, the reader may refer to Español and Revenga [24]. In addition, a detailed discussion of the stochastic generalization of advection-diffusion equations, along with the exact specification of random terms for the SDPD concentration fields, can be found in Ellero et al. [35]. Background The resulting equations, disregarding body forces, are given by dρ dt Background dC dt Background In Eq. (15), ψ ij and ξ denote the artificial density diffusion and its amplitude, respectively. Background This correction was proposed by Molteni and Colagrossi [36], as a way to reduce the numerical noise in the pressure valuation for weakly-compressible SPH, and has the form Background where ε h ∼ 0.01 is a small scalar set to prevent numerical singularities [31,37]. Considering the significant improvements presented by Molteni and Colagrossi [36] in terms of stability, we have taken the amplitude of the artificial density diffusion to be ξ = 0.1. Alternatively to the continuity equation, Eq. (15), it is possible to compute the density via interpolation, as Background Although tests show that Eqs. (15) and (19) are equivalent [38], it is worth mentioning that the continuity equation, Eq. (15), provides the computational advantage of allowing the rates of change of all physical variables to be computed in one single loop. In the other hand, Eq. (15) carries the disadvantage that mass conservation is not preserved [38]. Another important aspect of Eq. (15) is that this equation is deterministic, whereas Eqs. (16)- (17) are strictly compliant with the GENERIC [39,40] framework. For a fully GENERIC-compliant system of equations, the reader might consider using Eq. (19) [24]. Based on its computational advantages and the increased numerical stability achieved by the artificial density diffusion of Molteni and Colagrossi [36], we have adopted Eq. (15). Background The random terms dv/dt are introduced in the equations as a tensorial generalization of a stochastic Wiener process [21], dv dt Background where is the symmetric part of a matrix of independent increments in the Wiener process [21], κ B is the Boltzmann constant and T 0 is a characteristic temperature of the system. For the random term in the reaction-diffusion equation, we follow the assumptions described by Li et al. [2], that disregard the influence of the random term in diffusive processes, based on the fact that the mass of a single solute molecule m s,i is small compared to the mass of the SDPD particle m i . Therefore, we assume that dC ≪ dC. Background In order to close the model described by Eqs. (15)- (17), a relationship between density and pressure field must be established. In the Lagrangian fluid dynamics literature, two different approaches are widely used: 1) treat the flow as incompressible, either by solving a pressure-Poisson equation to obtain a divergence-free velocity field [37,41], or by requiring as a kinematic constraint that the volume of the fluid particles is constant [42]; or 2) treat it as weakly compressible, and impose an equation of state [34,38,21,43,33]. Background In the present work, we followed the classical weakly-compressible SPH approaches, where the pressure of a fluid particle is obtained from the density field using an equation of state [44]. A common choice is the so-called Tait's equation of state [45,43,33]: Background where p 0 , ρ 0 denote reference pressure and density, respectively, and γ is the polytropic constant. It is a common practice [43,33] to select p 0 = ρ 0 c 0 2 /γ, where c 0 is the artificial speed of sound. In order to limit density variations to 1%, we choose γ = 7. Here, c 0 is chosen such that it is at least two orders of magnitude higher than the characteristic velocity of the problem. [46,36,44], the integration of Eqs. (15)-(17) was performed using a two-step predictor-corrector scheme. Specifically, considering Y = [v i , ρ i , C i ] the vector of unknowns of the system Numerical aspects-Following several authors the explicit trapezoidal method is given by Numerical aspects-Following several authors which requires the evaluation of f only once per time step. A necessary condition for stability, given by the Courant-Friedrichs-Lewy condition based on the artificial speed of sound c 0 , was used to estimate a suitable time step Δt for each simulation [33]. SSA and RDME It has been observed that mean-field or deterministic models are often insufficient to capture the relevant dynamics of many biological systems [47,48,49]. At this cellular level, biochemical systems in which the copy number of any relevant chemical species is sufficiently small can be more accurately modeled with discrete stochastic simulation, of which the most popular method is the Stochastic Simulation Algorithm (SSA) or Gillespie algorithm [50]. The SSA assumes that the system is spatially homogeneous, or well-mixed. SSA and RDME To model spatially inhomogeneous stochastic biochemical systems at the mesoscopic scale, reaction-diffusion master equation (RDME) [28]-based methods discretize space into spatially homogeneous voxels [25,26,27] are often used. In our spatial SSA (sSSA), we integrate the RDME-based methods with a particle-based fluid dynamics simulation framework by using each SDPD particle as a RDME voxel. Thus, the stochastic chemical reactions are solved within each of the SDPD particles, and the stochastic diffusion are solved between each of the SDPD particles. SSA and RDME The spatial SSA algorithm is based in the Reaction-Diffusion Master Equation (RDME) formalism [28]. The RDME is a mathematical model for spatially-resolved mesoscopicscale stochastic chemical reaction-diffusion kinetics. It gives the time evolution of the probability distribution for the state of the system. First, the physical domain is partitioned into K non-overlapping subvolumes or voxels, similar to numerical methods for PDEs. SSA and RDME Molecules are taken to be point particles and the state of the system is the discrete number of molecules of each species for each of the voxels in the domain. Modeling the reactiondiffusion dynamics as a Markov process gives the following forward Kolmogorov equation for the time evolution of p(X, t) = p(X, t|X 0 , t 0 ) (the probability that the system can be found in state X at time t, conditioned on the initial condition X 0 at time t 0 ) SSA and RDME where X is a K × S state matrix, and S is the number of chemical species. The functions a ir (X i ) define the propensity functions of the M chemical reactions, and ν ir are stoichiometry vectors associated with the reactions. The propensity functions are defined such that a ir (X)Δt gives the probability that reaction r occurs in a small time interval of length Δt. The stoichiometry vector ν ir defines the rules for how the state changes when reaction r is executed. d ijs (X i ) are propensities for the diffusion jump events, and μ ijs are stoichiometry vectors for diffusion events. μ ijs has only two non-zero entries, corresponding to the removal of one molecule of species X s in voxel i and the addition of a molecule in voxel j. The propensity functions for the diffusion jumps, d ijs , are selected to provide a consistent and local discretization of the diffusion equation. SSA and RDME We do not solve the RDME directly. Instead, we generate sample paths of the underlying stochastic process. The SSA does this by generating two random numbers on each time step r 1 and r 2 . These determine which reaction event r will fire next and at what time τ it will fire. These are based on the probabilistic reaction rates (called propensities). Then the system state is updated by applying the stoichiometry vector v *r for reaction r to the state vector X. SSA and RDME The propensity functions are updated, the time is incremented by τ, and the procedure continues until the final time. This procedure is shown in Algorithm 1. SSA Reactions Input: Current population of species in each particle: X is , Set of SSA reactions r ∈ R and propensity functions a r (X i* ), Integration timestep T step Output: Population of each SSA species in each particle at time t + T step . SSA Reactions 1: Calculate a ir = a r X i * ; a 0 = ∑ i ∑ r a ir 2: t′ -0; r 1 ,r 2 ∈ URN(0,1); t′ + = − log(r1)/d 0 For SSA diffusion, we use a K ×K matrix, the diffusion matrix , where i j is the diffusion propensity for molecules to jump from particle i to particle j. Following the formulation of Tartakovsky et al. [51], it is defined as: SSA Reactions This procedure to solve the SSA diffusion over a time interval [t, t + τ step ] is shown in Algorithm 2. SSA Diffusion Input: Current particle positions: x i , Current population of species in each particle: X is , Set of SSA species diffusion coefficients: K ijs , Integration timestep T step Output: Population of each SSA species in each particle at time t + T step . The goal of the proposed hybrid method is to provide an alternative framework, for the simulation of multiscale systems that potentially involve a broad spectra of Knudsen numbers, involving micro-, meso-and macro-scopic scales. In this sense, advectiondiffusion-reaction problems could be resolved by the same method and numerical solver, without the burden of over-resolving small scales when not needed, nor truncating fluctuations in meso/microscale regimes. SSA Diffusion The algorithm treats advection via the Navier-Stokes equations using the SDPD formulation, and reaction-diffusion by either SSA, SDPD or both. Coupling between advection and diffusion with body forces, e.g., in natural convection phenomena, take place via SSA or SDPD diffusion, depending on the nature of the problem. SSA Diffusion As described in Eq. (15), the SDPD formulation includes a random force term, and the momentum equation is then treated as a stochastic differential equation (SDE). Depending on the Knudsen number, random effects might be relevant or not. For instance, consider a flow of red blood cells: in a macroscale regime, the effects of the random force do not change significantly the bulk motion that is transporting the cells; therefore, the force term might be disregarded and the SDPD equations are reduced to the standard SPH formulation. SSA Diffusion For the transport inside one of the cells, however, diffusion occurs in a meso/microscale regime, and thus SSA could be used to resolve interactions. Algorithm Our algorithm utilizes a first order operator splitting method to decouple and simultaneously solve the SDPD fluid dynamics, the SDPD deterministic reaction-diffusion, and the SSA stochastic reaction-diffusion equations over the same time interval [t, t+τ step ]. First, we time integrate equations (15), (16), and (17) over the interval using an explicit trapezoidal method. Then, we execute the SSA chemical reaction simulation [Algorithm 1] within each voxel/SDPD particle. Finally, we execute the SSA diffusion simulation [Algorithm 2] between all voxel/SDPD particles. The procedure to solve the full system is shown in Algorithm 3. Algorithm 3 Hybrid SDPD-SSA method Implementation The hybrid method summarized in Algorithm 3 was implemented in a stable version of the open-source Large-scale Atomic/Molecular Massively Parallel Simulator (LAMMPS) [52] (v. 11 Aug. 2017). LAMMPS was originally developed as a molecular dynamics code, but its portability allow the implementation of new methods and particle interactions without modifying the kernel of the code, responsible for the efficient link-cell and neighbor list of the particles. Results In this section we provide experimental validations of the proposed hybrid method. Section A discusses a one-dimensional, stationary reaction-diffusion problem, and Section B compares results of a classical advection-diffusion problem with the literature. Validations for 1D and 2D diffusion are provided in Drawert et al. [53]. Validation for one-dimensional reaction-diffusion The diffusion cases presented so far validated the diffusion treatment with sSSA and SDPD for Dirichlet boundary conditions. We now proceed by allowing reactions of different species to take place. The following test case was also used in the validation of the software Stochastic Simulation Service (StochSS [54]), for the case of a three-dimensional cylinder. Validation for one-dimensional reaction-diffusion For this case, all the physical parameters are expressed in SI units. Validation for one-dimensional reaction-diffusion Consider a domain Ω = [0,1], with non-homogeneous Dirichlet boundary conditions imposed in the left and right walls. The walls are constrained with imposed concentrations arbitrary species C A and C B , as depicted in Fig. 3a. The initial conditions are homogeneous, C A (x, t = 0) = C B (x, t = 0) = 0, ∀x ∈ Ω | x ≠ ∂Ω. Validation for one-dimensional reaction-diffusion Species C A and C B interact with each other via mass action at a constant kinetic rate k AB , leading to annihilation, i.e., C A + C B k AB ∅ . The mathematical model that describes the system is given by Validation for one-dimensional reaction-diffusion where κ A , κ B are the mass diffusivities, and R A , R B denote the reaction source terms. Based on the law of mass action, the reaction terms are given by Validation for one-dimensional reaction-diffusion The resulting system is a set of non-linear, coupled, second-order partial differential equations. Since there is no systematic way of obtaining the exact solution of this initialboundary value problem, we propose its validation using high-fidelity numerical data as reference. Thus, we performed the validation using in-house code that solves the aforementioned problem using a 6th order tridiagonal compact finite-difference scheme [55], with grid spacing equivalent to the distance between particles used in the spatial SSA and SDPD simulations. The source code for our implementation of this solver is included as a file in the Supplementary Material. Validation for one-dimensional reaction-diffusion Numerical simulations were performed using mass diffusivities κ A = κ B = 0. Fig. 3b. SSA solutions were obtained as an average of N r = 100 realizations. Validation for one-dimensional reaction-diffusion Results shown good agreement with the high-order reference solution. As expected, concentration curves monotonically decrease towards the half-length of the domain, due to the symmetric nature of the problem. Table 1 summarizes the errors for each simulation. Errors with SSA and SDPD showed the same order of magnitude, which indicates that SSA-based reaction-diffusion is able to accurately predict the physics of the problem. This result, along with the diffusion validations, indicate that there is no penalty in using SSA except for the burden of overresolving scales, which increases the computational effort. However, notice that the opposite is not true, i.e., the usage of a deterministic approach does not necessarily reproduce the physics of the problem, as stochastic effects are relevant for Kn ≥ 10 −1 . Thus, our method allows the simulation of cases even when it is not clear whether the stochastic effects are relevant or not, covering the whole spectrum of Knudsen numbers. Validation for natural convection in a cylinder inside a square enclosure The final validation case consists of comparing flow effects (advection), resolved via SDPD, and molecular transport (diffusion), resolved with both SSA and SDPD. Validation for natural convection in a cylinder inside a square enclosure Instead of treating diffusion as a passive scalar, as in the validation of the tDPD model [2], the present work proposes the validation of advection-diffusion using a coupling force, based on the Oberbeck-Boussinesq approximation [56]. Validation for natural convection in a cylinder inside a square enclosure A classical test case widely used in the literature is the natural convection over a cylinder immersed in a square cavity. A complete description of the problem is given by Fig. 4a. The system consists of a square enclosure, filled with fluid at rest. Non-slip is assumed in the walls of the cavity and in the interface between the cylinder and the fluid. Initially, the fluid has no solute diluted, i.e., C(x, 0) = 0. At t > 0, the wall concentration of solute in the circular cylinder and at the enclosure walls are set to C C and C E , respectively. Since C E > C C , mass transfer starts to occur, and the system is treated as a binary mixture. The solute diffuses in the fluid over time, causing mass stratification. Validation for natural convection in a cylinder inside a square enclosure Density gradients can exist in binary mixtures due to gradients in the concentration [57]. Thus, an Oberbeck-Boussinesq approximation can be written for mass transport phenomena, such that a driven body force is proportional to the variation of concentration C, gravity acceleration g and coefficient of mass expansion β. The body force in Eq. 6 takes the form The problem was addressed by multiple authors, usually considering it as natural convection of heat [58,59,60,61]. Some works also explored convection in different geometries, including super-elliptical [59] and squared-shaped [62] cylinders, as well as cubical [63] and rectangular cavities [64]. Validation for natural convection in a cylinder inside a square enclosure In order to validate results with the work of Moukalled and Acharya [58], the equations are rendered dimensionless, using the reference groups proposed by Gray and Giorgini [56] x o = L, (32) v o = gβLΔC, (33) Validation for natural convection in a cylinder inside a square enclosure where ρ o is a reference density, considered here as unity. Using these groups, Eqs. (5)- (7) read ∂ρ* ∂t* = − ρ* ∇* ⋅ v*, (37) ∂v* ∂t* = − 1 ρ* ∇* p* + 1 Gr Validation for natural convection in a cylinder inside a square enclosure ∂C* ∂t* = 1 GrSc ∇ * 2 C*, (39) where Gr and Sc denote the Grashof and Schmidt numbers, respectively. The mass transfer Rayleigh number Ra can therefore be defined as Validation for natural convection in a cylinder inside a square enclosure thus one can rewrite Eqs. (38)- (40) as Validation for natural convection in a cylinder inside a square enclosure The problem now depends only on Ra and Sc. Following Moukalled and Acharya [58], we take D = 0.2L. Simulations were performed for Ra = 10 4 , 10 5 and 10 6 . The Schmidt number was taken to be equal to 0.7. Validation for natural convection in a cylinder inside a square enclosure The range of Rayleigh numbers selected was chosen as a way to test the ability of the present method to predict the onset of the convective plumes and their consequent concentration inversions, which are characteristics of regimes with moderately high Rayleigh numbers (Ra > 10 5 ). Validation for natural convection in a cylinder inside a square enclosure A total of six numerical simulations were performed. For each value of Ra, mass diffusion was resolved using SDPD (cases 1-3) and SSA (cases [4][5][6]. For all the cases, the same number of particles N and same initial conditions were provided. The initial setup consists of N = 81 2 equally-spaced particles distributed in a squared domain of length L = 1. Validation for natural convection in a cylinder inside a square enclosure Boundary conditions are imposed using several layers of stationary particles with fixed concentrations. To guarantee stability, a time step of Δt * = 10 −5 was used. All the results were averaged in N R = 100 realizations after reaching a sufficiently long simulation time (t * ∼ 50). Validation for natural convection in a cylinder inside a square enclosure Profiles of the dimensionless concentration, C * , and y-velocity component, v y *, are shown in Figs. 5a-5b. Results were compared with the numerical simulation of Moukalled and Acharya [58]. Since Moukalled and Acharya [58] uses a different normalization for the velocity, the dimensionless velocity v* obtained from the solution of Eq. (43) must be rescaled, by multiplying v* by Ra/Sc. Validation for natural convection in a cylinder inside a square enclosure In Fig. 5a, for Ra = 10 4 , the concentration profile decreases monotonically as the distance from the cylinder increases, as observed in Moballa et al. [65]. For Ra = 10 5 , the concentration profile flattens between the wall and the cylinder surface, due to the formation of boundary layers in these regions, confirming the ability of the present method to correctly predict diffusion in near-wall regions. Similarly, for Ra = 10 6 , the method was able to capture the stratification [58] of the concentration profile that causes the flow to slow down in the interval 0.65 ≲ x* ≲ 0.85 (c.f. Fig. 5b). Validation for natural convection in a cylinder inside a square enclosure Results for the y-velocity profile are compared in Fig. 5b. A qualitative good agreement was observed for Ra = 10 4 and Ra = 10 5 . For Ra = 10 6 , significant errors in the near-wall regions were observed, in particular in the neighborhood of the right-wall, indicating excessive viscous damping in these regions, possibly caused by the artificial viscosity term used in the SPH and SDPD formulations. These errors, however, do not seem to affect the mass diffusion with the same intensity, as the concentration profiles in Fig. 5a show good agreement with the reference, even for Ra = 10 6 . Validation for natural convection in a cylinder inside a square enclosure The differences in magnitude between concentration and velocity errors becomes more evident with the error estimates provided in Table 2. For the concentration profiles, Table 2 show that both SSA and SDPD diffusion-driven errors remain in the 10 −3 , with the error increasing with the increase of Ra. It is important to highlight that, for Ra = 10 6 , the SSA error was smaller than the SDPD error, showing the potential of the method. Validation for natural convection in a cylinder inside a square enclosure For the velocity errors, shown in Table 2, SDPD seem to perform better than SSA. However, it is important to highlight that advection was modeled using SDPD in both cases. Thus, the error in the velocity is most likely to be caused by the SDPD formulation, and not by SSA mass transport. Application: micro-channel reactive flow past a cell We apply our methodology to perform a challenging simulation of biological significance representing a reactive micro-channel flow past a yeast cell that combines advection, diffusion, and reaction. The typical experiment, depicted schematically in Fig. 6a, consists of a microfluidics chamber with cells immersed in a liquid working media. The system, initially at rest, starts to experience mixing when at t > 0 two different fluids start to flow along the channel from different inlets. A solution containing working fluid and a diluted species (the mating pheromone alpha-factor, denoted by L) is released through one of the inlets, while through the other inlet, working fluid alone is injected into the system (Fig. S3). Application: micro-channel reactive flow past a cell As the flow develops, L reacts with the alpha-factor receptor R located at the cell surface, producing a third species, RL (receptor bound to ligand). We assume that the association reaction, R+L → RL occurs at a rate k RL [R] [L]. Similarly, the dissociation reaction RL → R + L also takes place in the system, and occurs at a rate k RLm [RL]. Application: micro-channel reactive flow past a cell A general deterministic mathematical model that describes the system is given by Eqs. (5)-(7) which can be conveniently written in a non-dimensional form. The reference parameters, evaluated using the dimensional parameters described in Table 3, are given by: Application: micro-channel reactive flow past a cell where H, C L | x=0 and ρ o are respectively the channel height, the concentration of alpha-factor at the inlet, and a reference density, considered here as unity. Using these dimensionless groups, Eqs. (5)-(7) are written as Application: micro-channel reactive flow past a cell where R A *, R B * and R C * are given by the law of mass action as Application: micro-channel reactive flow past a cell The system now depends only on four dimensionless groups: Da I ,Da II , Pe and Re. In the present work, we define these quantities as Application: micro-channel reactive flow past a cell The first and second Damköhler numbers, denoted by D aI , D aII , are defined as the ratio between an arbitrary mixing time scale τ mix and the chemical time scale of a n-th order reaction τ react . It is important to highlight that the mixing scale is problem-dependent; for combustion-dominated flows, the mixing scale is related to the turbulent time scale [66,67], whereas in diffusion-dominant problems, the mixing scale is related to the molecular diffusion time scale [68,69,70,71]. Application: micro-channel reactive flow past a cell The mass Péclet number, denoted by Pe, describes the ratio of advection and molecular diffusion transport [70,72]. Similarly, the Reynolds number Re describes the ratio of inertial to viscous transport in the flow [72]. Application: micro-channel reactive flow past a cell The problem was solved using three different approaches: the present method, i.e., hybrid sSSA-SDPD, SDPD, and the finite element method (FEM). All of the cases were computed using the parameters described in Tables 3-4. Both hybrid sSSA-SDPD and SDPD simulations were performed using N = 1250 particles. The number of molecules per particle was taken as N m = 1600. Note that because of the low level of parallelism of the SSA algorithm, simulations of the hybrid method must run in serial, which restricts the maximum number of particles involved in the simulation, as well as the number of realizations. As an example, we show only one SSA realization. The finite element problem was modeled using the software Comsol Multiphysics (v5.2a), using second-order shape functions in a mesh of approximately 17000 elements. Equations (50)-(51) were solved assuming incompressibility. Application: micro-channel reactive flow past a cell A qualitative comparison between the concentration of alpha-factor, C L , is depicted in Fig. 6b. At time t* = 2, results show qualitative agreement. A mixing layer is formed in the first half of the channel, with the hybrid method showing a delay in the frontal concentration when compared with FEM solution, indicating differences in the velocity field. As the flow contours around the cell, the mixing layer is interrupted, causing a separation of the concentration field into two fronts. Figure 6c provides a quantitative comparison between the algorithms. The y * -centerline profiles of C RL * shown in Fig. 6c demonstrate that despite its low resolution, the hybrid method still captured the physics of the problem. Note that the curves are in phase with each other. Still in Fig. 6c, it is noticeable that results are in far better agreement with FEM at regions away from the boundaries. A possible cause of this discrepancy originates from the way non-slip boundary conditions are imposed. For simplicity, in this example, the cell was modeled using stationary particles, which may introduce errors due to the boundary curvature [73]. In particular, the usage of more sophisticated boundary treatments have shown to be effective in improving stability and accuracy of simulations [73,74]. Application: micro-channel reactive flow past a cell Finally, a comparison of the formation of species RL in the cell wall region for all three methods is shown in Fig. 7. Results show that SSA results can significantly differ from SDPD and FEM, depending on the species concentrations involved and number of realizations performed. The explanation for the differences between the hybrid sSSA-SDPD method and FEM results depend on how significant the stochastic effects are, and how well the PDEs used in FEM and the SDEs of SDPD can describe the reaction-diffusion process. Application: micro-channel reactive flow past a cell The discrepancies observed in Fig. 7 illustrate a case where stochastic effects are relevant enough that deterministic methods can no longer predict the physics of the problem accurately. Furthermore, this typical biological problem shows that it is not always obvious when stochastic effects are important, as the continuum hypothesis might hold true for momentum transport, but not for reactive mass transfer. The proposed hybrid method, however, allows for the correct representation of the physics of this class of problems. In particular, the method bridges the gap between stochastic and deterministic advectiondiffusion-reaction systems in biological applications. Thus, the hybrid sSSA-SDPD method enables the simulation of systems spanning a large range of Knudsen numbers, without any ad hoc assumption about the Knudsen number or the relevance of stochastic transport. Conclusion We have developed a method to simulate both discrete stochastic and continuum deterministic chemical reaction-diffusion systems within an unstructured moving fluid domain whose dynamics are simulated via the smoothed dissipative particle dynamics method. This method has many applications where chemically or biochemically reactive systems are coupled to a moving fluid domain. For example, it will be especially useful for modeling biological cells in which discrete stochastic chemical kinetics are required to accurately describe cellular processes. Conclusion It is important to emphasize that because of the Lagrangian nature of SDPD, the coupling with advective transport occurs naturally, with particle positions being updated via the equations of motion. This approach has been proven to work in different scales, ranging from relativistic spaces [75] to quantum systems [76]. Thus, our method preserves the natural advantages of a meshfree method while incorporating the flexibility of resolving small scales only when necessary, making it a complete framework for the simulation of biological multiscale systems. Conclusion We use operator splitting to couple the SDPD dynamics of fluid position and velocity, the continuum deterministic reaction-diffusion equations, and SSA discrete stochastic reactiondiffusion system over each timestep. This allows us to solve a complex interdependent system efficiently and simply, with known error 450 bounds [77,78]. Conclusion We have implemented our method within the LAMMPS [52] simulation framework. LAMMPS is a software package for simulation of classical molecular dynamics problems. The advantage of the LAMMPS infrastructure is that is extensible, and has been modified to include simulation capabilities of SPH, and DPD (including tDPD in a recent release). We have implemented the SDPD, deterministic reaction-diffusion, and the spatial SSA methods as a user module in LAMMPS, which should allow it to be integrated seamlessly into many different configurations of LAMMPS. We have released the source for our enhancements under the GPL v2.0 license, which is the same license as the LAMMPS software package. For ease of replication of our results, we have packaged the solver and our examples as a Docker container https://hub.docker.com/r/briandrawert/hybrid_ssa_sdpd/. Directions on how to use this container and the full source code are found on Github: https://github.com/ briandrawert/hybrid_SSA_SDPD Conclusion Our simulation methodology has many advantages, but there are still technical limitations. There are issues in specifying boundary conditions when using the SSA simulation method, as it is not as straightforward to specify them in the discrete context compared to the continuous context. In addition, the current implementation of the SSA method requires that the simulations be run in serial, rather than utilizing multi-core parallelism. This is due to the fully connected nature of the SSA method. Our plans for future work include adapting the SSA method to the multi-core parallel context to increase performance. Conclusion We believe that this method will lead to advances in the understanding of complex systems. Specifically, we envision its application in the modeling of single cell and multicellular systems possessing changing shapes in dynamic environments subjected to various perturbations. Applications such as this require coupling between physical and chemical systems, a simulation our method is designed to address. For example, sSSA-SDPD is able to simulate both the complex fluid dynamics and the stochastic biochemical reactions of cells in a microfluidics chamber. Finally, we can use the algorithm to model the physical forces and blood flow in tissues coupled to inter-and intra-cellular processes. Highlights • A hybrid spatial SSA and SDPD method is proposed. Highlights • It allows the simulation of stochastic advection-reaction-diffusion problems in a Lagrangian description. Highlights • Successful validation of the new method in several benchmark problems. • The method is tested in a problem where commercial CAE software and typical deterministic methods cannot capture all dynamics. Comparison between mathematical and physical models of (a) a typical deterministic approach, (b) SDPD, (c) sSSA, for the idealized case of a channel flow with diluted species. • In the hybrid method, advection is solved using SDPD, while the mass transport can be solved using either a spatial stochastic algorithm or SDPD, depending if stochastic effects are relevant or not. In Figs. (a) and (b), the dotted parts denote magnified regions, illustrating the differences between the methods. In Fig (b), v ij , Q ij and R ij denote the pairwise velocity, flux of mass and reaction term, respectively. In Fig. (c), p in the Kolmogorov equation denotes the probability that the system can be found in state X at time t. Results shown in (b) were interpolated using a Gaussian kernel, for clarity purposes. Table 3 Dimensional parameters used in the micro-channel numerical experiment.

섹션 본문 104문단 · 45,110자

(제목 없음)

1We have developed a new algorithm which merges discrete stochastic simulation, using the spatial stochastic simulation algorithm (sSSA), with the particle based fluid dynamics simulation framework of smoothed dissipative particle dynamics (SDPD). This hybrid algorithm enables discrete stochastic simulation of spatially resolved chemically reacting systems on a mesh-free dynamic domain with a Lagrangian frame of reference. SDPD combines two popular mesoscopic techniques: smoothed particle hydrodynamics and dissipative particle dynamics (DPD), linking the macroscopic and mesoscopic hydrodynamics effects of these two methods. We have implemented discrete stochastic simulation using the reaction-diffusion master equations (RDME) formalism, and deterministic reaction-diffusion equations based on the SDPD method. We validate the new method by comparing our results to four canonical models, and demonstrate the versatility of our method by simulating a flow containing a chemical gradient past a yeast cell in a microfluidics chamber.

Introduction

2In recent years, the complexity of the models used to simulate systems in science and engineering has dramatically increased. These models span microscopic to macroscopic scales and multiple types of physics simulations, including fluid dynamics, solid mechanics, chemical reactions and transport, and thermody namics. For systems in which the scales of time and space are sufficiently small (microscale), simulations are performed using molecular dynamics (MD) [1] with potential energy functions derived from classical mechanics. For macroscale systems involving a well-mixed system, a continuum approach (i.e., Navier-Stokes equations) is typically employed. At the intermediate mesoscale, recent work by Li et al. [2] has integrated reaction-diffusion of chemical species within a particlebased fluid dynamic framework. In the field of cell biology, it has been found that models with discrete stochastic dynamics are often required to recapitulate biologically relevant phenotypes [3]. Recent work has shown the importance of cellular level models with dynamic domain shapes and external flows coupled to discrete stochastic biochemical simulations [4,5].

3Typically in fluid dynamics simulations, macroscale approaches based on continuum methods rely on the continuum hypothesis and local equilibrium assumptions. By considering volumes of particles as local thermodynamic systems, one can reduce the number of degrees of freedom by several orders of magnitude, because not all the scales of the system are resolved. This truncation of scales allows the simulation of larger systems for longer physical times. In this sense, continuum theories can be seen as coarse-grained versions of the atomic system [1].

4The Knudsen number (Kn), defined as the ratio of the mean free path of the molecules being transported over a characteristic length scale [6], helps to determine whether it is meaningful to use a macroscopic approach. According to Karniadakis et al. [7], molecular effects become the dominant transport mechanism in fluid motion when Kn ≥ 10. However, at the so-called transitional regime, 10 −1 ≤ Kn ≤ 10 1 , several important phenomena involving molecular effects take place in complex systems [1] such as biological flows, and the behavior of polymers and colloids. In this regime, scales are considered mesoscopic, with spatiotemporal ranges in the interval 10 −9 -10 −5 meters and 10 −9 -10 −3 seconds [1], making the number of degrees of freedom required in a MD simulation currently impractical [8,9,10,1]. The most recent MD simulations are constrained to 10 9 atoms and up to 10 −9 seconds [10].

5To capture the effect of a wide range of scales, researchers have developed methods that solve on one scale while modeling the others. For example, dissipative particle dynamics (DPD), proposed by Hoogerbrugge and Koelman [11] and later modified by Español and Warren [12], models mesoscale systems as a collection of particles which interact via a soft potential (conservative forces), while dissipative and stochastic forces provide the missing degrees of freedom of the formulation. The method has been applied to a wide range of problems in physics and chemistry [13] including heat transfer [14,15,16], reactive flows [2], flow through porous media [17,18] and shock-capturing [19,20].

6Despite the success of DPD as a simple, robust and intuitive method, a number of conceptual shortcomings have been reported [8,21,10]. The lack of a direct connection between the model parameters and the physical parameters of the system is still an open area of research. As a consequence, DPD parameters must be calibrated on a case-by-case basis using empirical equations, often in a non-unique way [22,23,21]. Other shortcomings of the DPD method include the impossibility of imposing an equation of state directly 40 in the model [21] and the risk of particle overlap due to the use of soft potentials [8].

7These shortcomings of the DPD formulation were addressed by Español and Revenga [24], who proposed a generalization of the Smoothed Particle Hydrodynamics (SPH) method to model the hydrodynamics, along with an additional stochastic term to model the thermal fluctuations in the mesoscale. The resulting method, named Smoothed Dissipative Particle Dynamics (SDPD), inherits the benefits of second-order discretization of the Navier-Stokes equations in the Lagrangian form from SPH [8,9], along with the thermodynamic consistency of DPD [24]. For this method, transport coefficients and equations of state can be imposed as inputs directly in the model. Moreover, physical scales are consistent with the Navier-Stokes equations, and therefore hydrodynamic behavior is obtained.

8In this paper we introduce a novel formulation of advection-diffusion-reaction in SDPD. For systems where the molecular discreteness is relevant, we propose to simulate the reactiondiffusion of species by use of the spatial stochastic simulation algorithm (sSSA) to resolve the reaction-diffusion master equation (RDME) [25,26,27]. An immediate advantage of the spatial stochastic approach is that transport of species is computed exactly, instead of approximately by adding a fluctuation term to the deterministic reaction-diffusion equations. On the other hand, in regions where small scales are negligible, we solve a deterministic form of the SDPD reaction-diffusion equation, thereby avoiding over-resolving scales and increasing computational efficiency.

9Compared to mesh-based standard approaches, such as finite elements (FEM), finite differences (FDM) and finite volume (FVM) methods, the new hybrid sSSA-SDPD method introduced by this work presents important advantages. First, as a consequence of its Lagrangian description, the method allows the simulation of advection-diffusion-reaction systems with complex geometries without the need of using adaptive meshes or interface tracking. Additionally, the method is capable of simulating a broader range of problems, when compared with standard approaches. In particular, the method is well-suited for fluid flow problems where stochastic reactive-diffusive mass transport is relevant.

10One class of problems in which the hybrid method is expected to excel compared to alternative approaches is the simulation of biological systems where advection and reactiondiffusion occur at different scales, ranging from the microscopic (e.g. stochastic molecular binding interactions) to the macroscopic (e.g. fluid flow). For example, a neutrophil in the blood can track down a single bacterium by sensing individual bacterial peptides that diffuse to and bind neutrophil receptors, triggering a biochemical response while experiencing the hydrodynamic forces from blood flow (Fig. 1). Physical forces, chemical reactions, diffusion, active transport, stochastic dynamics, and advection must all be modeled, which presents a formidable challenging for any computational framework. Commercial software solutions such as Comsol Multiphysics can capture the deterministic spatial dynamics but not the stochastic dynamics. The spatial stochastic simulation algorithm (sSSA) [28] simulates stochastic reaction-diffusion dynamics, but is ill-suited for representing fluid flow. This paper is organized as follows: Section 2 briefly describes the SDPD and sSSA formulations. Section 3 focuses on the algorithmic description of the method proposed, with a discussion about its appropriate use in multiscale systems. Section 4 presents validations, applications and discussion of relevant results. Finally, conclusions and future perspectives are described in Section 5.

Background

11The hybrid method addressed in this paper is based on the combination of two formulations: SDPD and SSA. In this section, we provide a brief theoretical overview of these two key elements in the proposed hybrid method. In SDPD [24], the domain is discretized as a finite number of particles, each representing a small volume of material that carries properties such as momentum, mass and energy. The position of the particles evolves in time according to some mechanistic model, such as the fluctuating Navier-Stokes equations for fluid flow [29]. In contrast, the sSSA algorithm [28] consists of a stochastic model for mesoscopicscale stochastic reaction-diffusion kinetics, where the domain is discretized in voxels and the system is modeled as a Markov process. For each voxel, the number of molecules of diluted species characterize the state of the system that evolves in time according to the Kolmogorov equation.

12The hybrid method proposed uses either the sSSA algorithm or the SDPD formulation to compute mass reaction-diffusion processes, and SDPD to compute advection and other body force dynamics. This is achieved by treating each particle in the system as a voxel for the sSSA. The immediate consequence of using the hybrid sSSA-SDPD method is the ability to correctly predict the dynamics of multiscale systems in an unified framework, resolving hydrodynamics and low-concentration reaction-diffusion systems at the same time.

13An overview of the mathematical models of an arbitrary system from a deterministic, SDPD and hybrid method perspective is depicted in Fig. 2. For detailed formulations of SSA and SDPD, we refer the reader to the work of Gardiner et al. [28] and Español and Revenga [24], respectively.

14where ρ, v, P, F visc , F body , C, κ and R denote the fluid density, velocity, pressure, viscous force, body force, concentration, mass diffusivity and reaction term, respectively. The D(·)/Dt operator denotes the material derivative [30], defined as

15thus the characteristic curves of this operator are the particle trajectories [31]. Adopting a Lagrangian description, we consider each particle as a non-inertial frame of reference. Therefore, the advective acceleration term in Eq (4), v · ∇(·), vanishes identically, by virtue of having a zero relative velocity. Consequently, Eqs. (1)-(3) can be rewritten as:

16Equations (5)- (7) show that the temporal variation of the variables of interest depends on the evaluation of spatial derivatives of these physical quantities. The solution of these equations numerically, therefore, raises the question of how to approximate the derivatives and transform these expressions into a set of algebraic equations involving the unknowns of the problem [31,32].

17In Eulerian-based methods, at each time step, points of space are arbitrarily selected as inertial frames of reference and therefore the spatial grid spacing is, in general, fixed; thus, derivatives are typically piecewise-approximated using linear functions, polynomials, etc. In contrast, in a Lagrangian-based method, since particles are moving along with the flow, the evaluation of derivatives involves interpolation processes, usually based on radial smoothing kernel functions [31].

18In order to find a good candidate for the interpolation process, consider a continuous function f(x), defined at coordinates x. Consider the following identity [32] f (x) = ∫ Ω f x′ δ x − x′ dx′, (8) where δ(x -x′) is the Dirac delta function. Due to the infinitesimal support of the Dirac function and the finite decimal precision of computers, it is not possible to write a discrete numerical method using this integral representation of a function. In order to overcome this limitation, SPH theory approximates Eq. (8) by replacing the Dirac function with a smoothing kernel function W with finite support h

19Note that Eq. (9) is an approximation. The accuracy of the approximation depends on the choice of W. In the SPH literature, the smoothing kernel function is often chosen based on three conditions [17,33]: a) the normalization of the smoothing function, that requires its integral to be identically one in the volume Ω; b) the Dirac delta condition, which requires that W(x − x′, h) → δ(x − x′) as the support h approaches zero; c) kernel compactness, which guarantees that W = 0 outside of its support.

20After judiciously choosing a function W, the next step consists of rewriting the integral approximation given by Eq. (9) as a discrete sum. The domain Ω is then discretized using N particles, each located at coordinates x i

21where m j and 〈f j 〉 denote the mass of particle j and the kernel approximation of the field f(x) at position x j , respectively. As a consequence of the SPH formulation, since m j and f j are

22where the resulting directional gradient operator is evaluated as

23with x ij = x i − x j , x ij = ||x ij || 2 and ξ denoting a generalized coordinate. In this work, we have adopted the Lucy kernel, proposed by Lucy [34], with ξ = x ij /h

24where the normalization parameter α D depends on the number of dimensions of the problem

25We proceed now by applying this methodology to Eqs. (5)- (7). The derivation of the deterministic part of the mathematical model, i.e., the SPH formulation, can be found in Monaghan [31]. For a complete derivation of the SDPD method and stochastic hydrodynamic thermal equations, the reader may refer to Español and Revenga [24]. In addition, a detailed discussion of the stochastic generalization of advection-diffusion equations, along with the exact specification of random terms for the SDPD concentration fields, can be found in Ellero et al. [35].

26The resulting equations, disregarding body forces, are given by dρ dt

27dC dt

28In Eq. (15), ψ ij and ξ denote the artificial density diffusion and its amplitude, respectively.

29This correction was proposed by Molteni and Colagrossi [36], as a way to reduce the numerical noise in the pressure valuation for weakly-compressible SPH, and has the form

30where ε h ∼ 0.01 is a small scalar set to prevent numerical singularities [31,37]. Considering the significant improvements presented by Molteni and Colagrossi [36] in terms of stability, we have taken the amplitude of the artificial density diffusion to be ξ = 0.1. Alternatively to the continuity equation, Eq. (15), it is possible to compute the density via interpolation, as

31Although tests show that Eqs. (15) and (19) are equivalent [38], it is worth mentioning that the continuity equation, Eq. (15), provides the computational advantage of allowing the rates of change of all physical variables to be computed in one single loop. In the other hand, Eq. (15) carries the disadvantage that mass conservation is not preserved [38]. Another important aspect of Eq. (15) is that this equation is deterministic, whereas Eqs. (16)- (17) are strictly compliant with the GENERIC [39,40] framework. For a fully GENERIC-compliant system of equations, the reader might consider using Eq. (19) [24]. Based on its computational advantages and the increased numerical stability achieved by the artificial density diffusion of Molteni and Colagrossi [36], we have adopted Eq. (15).

32The random terms dv/dt are introduced in the equations as a tensorial generalization of a stochastic Wiener process [21], dv dt

33where is the symmetric part of a matrix of independent increments in the Wiener process [21], κ B is the Boltzmann constant and T 0 is a characteristic temperature of the system. For the random term in the reaction-diffusion equation, we follow the assumptions described by Li et al. [2], that disregard the influence of the random term in diffusive processes, based on the fact that the mass of a single solute molecule m s,i is small compared to the mass of the SDPD particle m i . Therefore, we assume that dC ≪ dC.

34In order to close the model described by Eqs. (15)- (17), a relationship between density and pressure field must be established. In the Lagrangian fluid dynamics literature, two different approaches are widely used: 1) treat the flow as incompressible, either by solving a pressure-Poisson equation to obtain a divergence-free velocity field [37,41], or by requiring as a kinematic constraint that the volume of the fluid particles is constant [42]; or 2) treat it as weakly compressible, and impose an equation of state [34,38,21,43,33].

35In the present work, we followed the classical weakly-compressible SPH approaches, where the pressure of a fluid particle is obtained from the density field using an equation of state [44]. A common choice is the so-called Tait's equation of state [45,43,33]:

36where p 0 , ρ 0 denote reference pressure and density, respectively, and γ is the polytropic constant. It is a common practice [43,33] to select p 0 = ρ 0 c 0 2 /γ, where c 0 is the artificial speed of sound. In order to limit density variations to 1%, we choose γ = 7. Here, c 0 is chosen such that it is at least two orders of magnitude higher than the characteristic velocity of the problem. [46,36,44], the integration of Eqs. (15)-(17) was performed using a two-step predictor-corrector scheme. Specifically, considering Y = [v i , ρ i , C i ] the vector of unknowns of the system

Numerical aspects-Following several authors

37the explicit trapezoidal method is given by

38which requires the evaluation of f only once per time step. A necessary condition for stability, given by the Courant-Friedrichs-Lewy condition based on the artificial speed of sound c 0 , was used to estimate a suitable time step Δt for each simulation [33].

SSA and RDME

39It has been observed that mean-field or deterministic models are often insufficient to capture the relevant dynamics of many biological systems [47,48,49]. At this cellular level, biochemical systems in which the copy number of any relevant chemical species is sufficiently small can be more accurately modeled with discrete stochastic simulation, of which the most popular method is the Stochastic Simulation Algorithm (SSA) or Gillespie algorithm [50]. The SSA assumes that the system is spatially homogeneous, or well-mixed.

40To model spatially inhomogeneous stochastic biochemical systems at the mesoscopic scale, reaction-diffusion master equation (RDME) [28]-based methods discretize space into spatially homogeneous voxels [25,26,27] are often used. In our spatial SSA (sSSA), we integrate the RDME-based methods with a particle-based fluid dynamics simulation framework by using each SDPD particle as a RDME voxel. Thus, the stochastic chemical reactions are solved within each of the SDPD particles, and the stochastic diffusion are solved between each of the SDPD particles.

41The spatial SSA algorithm is based in the Reaction-Diffusion Master Equation (RDME) formalism [28]. The RDME is a mathematical model for spatially-resolved mesoscopicscale stochastic chemical reaction-diffusion kinetics. It gives the time evolution of the probability distribution for the state of the system. First, the physical domain is partitioned into K non-overlapping subvolumes or voxels, similar to numerical methods for PDEs.

42Molecules are taken to be point particles and the state of the system is the discrete number of molecules of each species for each of the voxels in the domain. Modeling the reactiondiffusion dynamics as a Markov process gives the following forward Kolmogorov equation for the time evolution of p(X, t) = p(X, t|X 0 , t 0 ) (the probability that the system can be found in state X at time t, conditioned on the initial condition X 0 at time t 0 )

43where X is a K × S state matrix, and S is the number of chemical species. The functions a ir (X i ) define the propensity functions of the M chemical reactions, and ν ir are stoichiometry vectors associated with the reactions. The propensity functions are defined such that a ir (X)Δt gives the probability that reaction r occurs in a small time interval of length Δt. The stoichiometry vector ν ir defines the rules for how the state changes when reaction r is executed. d ijs (X i ) are propensities for the diffusion jump events, and μ ijs are stoichiometry vectors for diffusion events. μ ijs has only two non-zero entries, corresponding to the removal of one molecule of species X s in voxel i and the addition of a molecule in voxel j. The propensity functions for the diffusion jumps, d ijs , are selected to provide a consistent and local discretization of the diffusion equation.

44We do not solve the RDME directly. Instead, we generate sample paths of the underlying stochastic process. The SSA does this by generating two random numbers on each time step r 1 and r 2 . These determine which reaction event r will fire next and at what time τ it will fire. These are based on the probabilistic reaction rates (called propensities). Then the system state is updated by applying the stoichiometry vector v *r for reaction r to the state vector X.

45The propensity functions are updated, the time is incremented by τ, and the procedure continues until the final time. This procedure is shown in Algorithm 1.

SSA Reactions

46Input: Current population of species in each particle: X is , Set of SSA reactions r ∈ R and propensity functions a r (X i* ), Integration timestep T step Output: Population of each SSA species in each particle at time t + T step .

471: Calculate a ir = a r X i * ; a 0 = ∑ i ∑ r a ir 2: t′ -0; r 1 ,r 2 ∈ URN(0,1); t′ + = − log(r1)/d 0 For SSA diffusion, we use a K ×K matrix, the diffusion matrix , where i j is the diffusion propensity for molecules to jump from particle i to particle j. Following the formulation of Tartakovsky et al. [51], it is defined as:

48This procedure to solve the SSA diffusion over a time interval [t, t + τ step ] is shown in Algorithm 2.

SSA Diffusion

49Input: Current particle positions: x i , Current population of species in each particle: X is , Set of SSA species diffusion coefficients: K ijs , Integration timestep T step Output: Population of each SSA species in each particle at time t + T step . The goal of the proposed hybrid method is to provide an alternative framework, for the simulation of multiscale systems that potentially involve a broad spectra of Knudsen numbers, involving micro-, meso-and macro-scopic scales. In this sense, advectiondiffusion-reaction problems could be resolved by the same method and numerical solver, without the burden of over-resolving small scales when not needed, nor truncating fluctuations in meso/microscale regimes.

50The algorithm treats advection via the Navier-Stokes equations using the SDPD formulation, and reaction-diffusion by either SSA, SDPD or both. Coupling between advection and diffusion with body forces, e.g., in natural convection phenomena, take place via SSA or SDPD diffusion, depending on the nature of the problem.

51As described in Eq. (15), the SDPD formulation includes a random force term, and the momentum equation is then treated as a stochastic differential equation (SDE). Depending on the Knudsen number, random effects might be relevant or not. For instance, consider a flow of red blood cells: in a macroscale regime, the effects of the random force do not change significantly the bulk motion that is transporting the cells; therefore, the force term might be disregarded and the SDPD equations are reduced to the standard SPH formulation.

52For the transport inside one of the cells, however, diffusion occurs in a meso/microscale regime, and thus SSA could be used to resolve interactions.

Algorithm

53Our algorithm utilizes a first order operator splitting method to decouple and simultaneously solve the SDPD fluid dynamics, the SDPD deterministic reaction-diffusion, and the SSA stochastic reaction-diffusion equations over the same time interval [t, t+τ step ]. First, we time integrate equations (15), (16), and (17) over the interval using an explicit trapezoidal method. Then, we execute the SSA chemical reaction simulation [Algorithm 1] within each voxel/SDPD particle. Finally, we execute the SSA diffusion simulation [Algorithm 2] between all voxel/SDPD particles. The procedure to solve the full system is shown in Algorithm 3.

Algorithm 3

54Hybrid SDPD-SSA method

Implementation

55The hybrid method summarized in Algorithm 3 was implemented in a stable version of the open-source Large-scale Atomic/Molecular Massively Parallel Simulator (LAMMPS) [52] (v. 11 Aug. 2017). LAMMPS was originally developed as a molecular dynamics code, but its portability allow the implementation of new methods and particle interactions without modifying the kernel of the code, responsible for the efficient link-cell and neighbor list of the particles.

Results

56In this section we provide experimental validations of the proposed hybrid method. Section A discusses a one-dimensional, stationary reaction-diffusion problem, and Section B compares results of a classical advection-diffusion problem with the literature. Validations for 1D and 2D diffusion are provided in Drawert et al. [53].

Validation for one-dimensional reaction-diffusion

57The diffusion cases presented so far validated the diffusion treatment with sSSA and SDPD for Dirichlet boundary conditions. We now proceed by allowing reactions of different species to take place. The following test case was also used in the validation of the software Stochastic Simulation Service (StochSS [54]), for the case of a three-dimensional cylinder.

58For this case, all the physical parameters are expressed in SI units.

59Consider a domain Ω = [0,1], with non-homogeneous Dirichlet boundary conditions imposed in the left and right walls. The walls are constrained with imposed concentrations arbitrary species C A and C B , as depicted in Fig. 3a. The initial conditions are homogeneous, C A (x, t = 0) = C B (x, t = 0) = 0, ∀x ∈ Ω | x ≠ ∂Ω.

60Species C A and C B interact with each other via mass action at a constant kinetic rate k AB , leading to annihilation, i.e., C A + C B k AB ∅ . The mathematical model that describes the system is given by

61where κ A , κ B are the mass diffusivities, and R A , R B denote the reaction source terms. Based on the law of mass action, the reaction terms are given by

62The resulting system is a set of non-linear, coupled, second-order partial differential equations. Since there is no systematic way of obtaining the exact solution of this initialboundary value problem, we propose its validation using high-fidelity numerical data as reference. Thus, we performed the validation using in-house code that solves the aforementioned problem using a 6th order tridiagonal compact finite-difference scheme [55], with grid spacing equivalent to the distance between particles used in the spatial SSA and SDPD simulations. The source code for our implementation of this solver is included as a file in the Supplementary Material.

63Numerical simulations were performed using mass diffusivities κ A = κ B = 0. Fig. 3b. SSA solutions were obtained as an average of N r = 100 realizations.

64Results shown good agreement with the high-order reference solution. As expected, concentration curves monotonically decrease towards the half-length of the domain, due to the symmetric nature of the problem. Table 1 summarizes the errors for each simulation. Errors with SSA and SDPD showed the same order of magnitude, which indicates that SSA-based reaction-diffusion is able to accurately predict the physics of the problem. This result, along with the diffusion validations, indicate that there is no penalty in using SSA except for the burden of overresolving scales, which increases the computational effort. However, notice that the opposite is not true, i.e., the usage of a deterministic approach does not necessarily reproduce the physics of the problem, as stochastic effects are relevant for Kn ≥ 10 −1 . Thus, our method allows the simulation of cases even when it is not clear whether the stochastic effects are relevant or not, covering the whole spectrum of Knudsen numbers.

Validation for natural convection in a cylinder inside a square enclosure

65The final validation case consists of comparing flow effects (advection), resolved via SDPD, and molecular transport (diffusion), resolved with both SSA and SDPD.

66Instead of treating diffusion as a passive scalar, as in the validation of the tDPD model [2], the present work proposes the validation of advection-diffusion using a coupling force, based on the Oberbeck-Boussinesq approximation [56].

67A classical test case widely used in the literature is the natural convection over a cylinder immersed in a square cavity. A complete description of the problem is given by Fig. 4a. The system consists of a square enclosure, filled with fluid at rest. Non-slip is assumed in the walls of the cavity and in the interface between the cylinder and the fluid. Initially, the fluid has no solute diluted, i.e., C(x, 0) = 0. At t > 0, the wall concentration of solute in the circular cylinder and at the enclosure walls are set to C C and C E , respectively. Since C E > C C , mass transfer starts to occur, and the system is treated as a binary mixture. The solute diffuses in the fluid over time, causing mass stratification.

68Density gradients can exist in binary mixtures due to gradients in the concentration [57]. Thus, an Oberbeck-Boussinesq approximation can be written for mass transport phenomena, such that a driven body force is proportional to the variation of concentration C, gravity acceleration g and coefficient of mass expansion β. The body force in Eq. 6 takes the form The problem was addressed by multiple authors, usually considering it as natural convection of heat [58,59,60,61]. Some works also explored convection in different geometries, including super-elliptical [59] and squared-shaped [62] cylinders, as well as cubical [63] and rectangular cavities [64].

69In order to validate results with the work of Moukalled and Acharya [58], the equations are rendered dimensionless, using the reference groups proposed by Gray and Giorgini [56] x o = L, (32) v o = gβLΔC, (33)

70where ρ o is a reference density, considered here as unity. Using these groups, Eqs. (5)- (7) read ∂ρ* ∂t* = − ρ* ∇* ⋅ v*, (37) ∂v* ∂t* = − 1 ρ* ∇* p* + 1 Gr

71∂C* ∂t* = 1 GrSc ∇ * 2 C*, (39) where Gr and Sc denote the Grashof and Schmidt numbers, respectively. The mass transfer Rayleigh number Ra can therefore be defined as

72thus one can rewrite Eqs. (38)- (40) as

73The problem now depends only on Ra and Sc. Following Moukalled and Acharya [58], we take D = 0.2L. Simulations were performed for Ra = 10 4 , 10 5 and 10 6 . The Schmidt number was taken to be equal to 0.7.

74The range of Rayleigh numbers selected was chosen as a way to test the ability of the present method to predict the onset of the convective plumes and their consequent concentration inversions, which are characteristics of regimes with moderately high Rayleigh numbers (Ra > 10 5 ).

75A total of six numerical simulations were performed. For each value of Ra, mass diffusion was resolved using SDPD (cases 1-3) and SSA (cases [4][5][6]. For all the cases, the same number of particles N and same initial conditions were provided. The initial setup consists of N = 81 2 equally-spaced particles distributed in a squared domain of length L = 1.

76Boundary conditions are imposed using several layers of stationary particles with fixed concentrations. To guarantee stability, a time step of Δt * = 10 −5 was used. All the results were averaged in N R = 100 realizations after reaching a sufficiently long simulation time (t * ∼ 50).

77Profiles of the dimensionless concentration, C * , and y-velocity component, v y *, are shown in Figs. 5a-5b. Results were compared with the numerical simulation of Moukalled and Acharya [58]. Since Moukalled and Acharya [58] uses a different normalization for the velocity, the dimensionless velocity v* obtained from the solution of Eq. (43) must be rescaled, by multiplying v* by Ra/Sc.

78In Fig. 5a, for Ra = 10 4 , the concentration profile decreases monotonically as the distance from the cylinder increases, as observed in Moballa et al. [65]. For Ra = 10 5 , the concentration profile flattens between the wall and the cylinder surface, due to the formation of boundary layers in these regions, confirming the ability of the present method to correctly predict diffusion in near-wall regions. Similarly, for Ra = 10 6 , the method was able to capture the stratification [58] of the concentration profile that causes the flow to slow down in the interval 0.65 ≲ x* ≲ 0.85 (c.f. Fig. 5b).

79Results for the y-velocity profile are compared in Fig. 5b. A qualitative good agreement was observed for Ra = 10 4 and Ra = 10 5 . For Ra = 10 6 , significant errors in the near-wall regions were observed, in particular in the neighborhood of the right-wall, indicating excessive viscous damping in these regions, possibly caused by the artificial viscosity term used in the SPH and SDPD formulations. These errors, however, do not seem to affect the mass diffusion with the same intensity, as the concentration profiles in Fig. 5a show good agreement with the reference, even for Ra = 10 6 .

80The differences in magnitude between concentration and velocity errors becomes more evident with the error estimates provided in Table 2. For the concentration profiles, Table 2 show that both SSA and SDPD diffusion-driven errors remain in the 10 −3 , with the error increasing with the increase of Ra. It is important to highlight that, for Ra = 10 6 , the SSA error was smaller than the SDPD error, showing the potential of the method.

81For the velocity errors, shown in Table 2, SDPD seem to perform better than SSA. However, it is important to highlight that advection was modeled using SDPD in both cases. Thus, the error in the velocity is most likely to be caused by the SDPD formulation, and not by SSA mass transport.

Application: micro-channel reactive flow past a cell

82We apply our methodology to perform a challenging simulation of biological significance representing a reactive micro-channel flow past a yeast cell that combines advection, diffusion, and reaction. The typical experiment, depicted schematically in Fig. 6a, consists of a microfluidics chamber with cells immersed in a liquid working media. The system, initially at rest, starts to experience mixing when at t > 0 two different fluids start to flow along the channel from different inlets. A solution containing working fluid and a diluted species (the mating pheromone alpha-factor, denoted by L) is released through one of the inlets, while through the other inlet, working fluid alone is injected into the system (Fig. S3).

83As the flow develops, L reacts with the alpha-factor receptor R located at the cell surface, producing a third species, RL (receptor bound to ligand). We assume that the association reaction, R+L → RL occurs at a rate k RL [R] [L]. Similarly, the dissociation reaction RL → R + L also takes place in the system, and occurs at a rate k RLm [RL].

84A general deterministic mathematical model that describes the system is given by Eqs. (5)-(7) which can be conveniently written in a non-dimensional form. The reference parameters, evaluated using the dimensional parameters described in Table 3, are given by:

85where H, C L | x=0 and ρ o are respectively the channel height, the concentration of alpha-factor at the inlet, and a reference density, considered here as unity. Using these dimensionless groups, Eqs. (5)-(7) are written as

86where R A *, R B * and R C * are given by the law of mass action as

87The system now depends only on four dimensionless groups: Da I ,Da II , Pe and Re. In the present work, we define these quantities as

88The first and second Damköhler numbers, denoted by D aI , D aII , are defined as the ratio between an arbitrary mixing time scale τ mix and the chemical time scale of a n-th order reaction τ react . It is important to highlight that the mixing scale is problem-dependent; for combustion-dominated flows, the mixing scale is related to the turbulent time scale [66,67], whereas in diffusion-dominant problems, the mixing scale is related to the molecular diffusion time scale [68,69,70,71].

89The mass Péclet number, denoted by Pe, describes the ratio of advection and molecular diffusion transport [70,72]. Similarly, the Reynolds number Re describes the ratio of inertial to viscous transport in the flow [72].

90The problem was solved using three different approaches: the present method, i.e., hybrid sSSA-SDPD, SDPD, and the finite element method (FEM). All of the cases were computed using the parameters described in Tables 3-4. Both hybrid sSSA-SDPD and SDPD simulations were performed using N = 1250 particles. The number of molecules per particle was taken as N m = 1600. Note that because of the low level of parallelism of the SSA algorithm, simulations of the hybrid method must run in serial, which restricts the maximum number of particles involved in the simulation, as well as the number of realizations. As an example, we show only one SSA realization. The finite element problem was modeled using the software Comsol Multiphysics (v5.2a), using second-order shape functions in a mesh of approximately 17000 elements. Equations (50)-(51) were solved assuming incompressibility.

91A qualitative comparison between the concentration of alpha-factor, C L , is depicted in Fig. 6b. At time t* = 2, results show qualitative agreement. A mixing layer is formed in the first half of the channel, with the hybrid method showing a delay in the frontal concentration when compared with FEM solution, indicating differences in the velocity field. As the flow contours around the cell, the mixing layer is interrupted, causing a separation of the concentration field into two fronts. Figure 6c provides a quantitative comparison between the algorithms. The y * -centerline profiles of C RL * shown in Fig. 6c demonstrate that despite its low resolution, the hybrid method still captured the physics of the problem. Note that the curves are in phase with each other. Still in Fig. 6c, it is noticeable that results are in far better agreement with FEM at regions away from the boundaries. A possible cause of this discrepancy originates from the way non-slip boundary conditions are imposed. For simplicity, in this example, the cell was modeled using stationary particles, which may introduce errors due to the boundary curvature [73]. In particular, the usage of more sophisticated boundary treatments have shown to be effective in improving stability and accuracy of simulations [73,74].

92Finally, a comparison of the formation of species RL in the cell wall region for all three methods is shown in Fig. 7. Results show that SSA results can significantly differ from SDPD and FEM, depending on the species concentrations involved and number of realizations performed. The explanation for the differences between the hybrid sSSA-SDPD method and FEM results depend on how significant the stochastic effects are, and how well the PDEs used in FEM and the SDEs of SDPD can describe the reaction-diffusion process.

93The discrepancies observed in Fig. 7 illustrate a case where stochastic effects are relevant enough that deterministic methods can no longer predict the physics of the problem accurately. Furthermore, this typical biological problem shows that it is not always obvious when stochastic effects are important, as the continuum hypothesis might hold true for momentum transport, but not for reactive mass transfer. The proposed hybrid method, however, allows for the correct representation of the physics of this class of problems. In particular, the method bridges the gap between stochastic and deterministic advectiondiffusion-reaction systems in biological applications. Thus, the hybrid sSSA-SDPD method enables the simulation of systems spanning a large range of Knudsen numbers, without any ad hoc assumption about the Knudsen number or the relevance of stochastic transport.

Conclusion

94We have developed a method to simulate both discrete stochastic and continuum deterministic chemical reaction-diffusion systems within an unstructured moving fluid domain whose dynamics are simulated via the smoothed dissipative particle dynamics method. This method has many applications where chemically or biochemically reactive systems are coupled to a moving fluid domain. For example, it will be especially useful for modeling biological cells in which discrete stochastic chemical kinetics are required to accurately describe cellular processes.

95It is important to emphasize that because of the Lagrangian nature of SDPD, the coupling with advective transport occurs naturally, with particle positions being updated via the equations of motion. This approach has been proven to work in different scales, ranging from relativistic spaces [75] to quantum systems [76]. Thus, our method preserves the natural advantages of a meshfree method while incorporating the flexibility of resolving small scales only when necessary, making it a complete framework for the simulation of biological multiscale systems.

96We use operator splitting to couple the SDPD dynamics of fluid position and velocity, the continuum deterministic reaction-diffusion equations, and SSA discrete stochastic reactiondiffusion system over each timestep. This allows us to solve a complex interdependent system efficiently and simply, with known error 450 bounds [77,78].

97We have implemented our method within the LAMMPS [52] simulation framework. LAMMPS is a software package for simulation of classical molecular dynamics problems. The advantage of the LAMMPS infrastructure is that is extensible, and has been modified to include simulation capabilities of SPH, and DPD (including tDPD in a recent release). We have implemented the SDPD, deterministic reaction-diffusion, and the spatial SSA methods as a user module in LAMMPS, which should allow it to be integrated seamlessly into many different configurations of LAMMPS. We have released the source for our enhancements under the GPL v2.0 license, which is the same license as the LAMMPS software package. For ease of replication of our results, we have packaged the solver and our examples as a Docker container https://hub.docker.com/r/briandrawert/hybrid_ssa_sdpd/. Directions on how to use this container and the full source code are found on Github: https://github.com/ briandrawert/hybrid_SSA_SDPD

98Our simulation methodology has many advantages, but there are still technical limitations. There are issues in specifying boundary conditions when using the SSA simulation method, as it is not as straightforward to specify them in the discrete context compared to the continuous context. In addition, the current implementation of the SSA method requires that the simulations be run in serial, rather than utilizing multi-core parallelism. This is due to the fully connected nature of the SSA method. Our plans for future work include adapting the SSA method to the multi-core parallel context to increase performance.

99We believe that this method will lead to advances in the understanding of complex systems. Specifically, we envision its application in the modeling of single cell and multicellular systems possessing changing shapes in dynamic environments subjected to various perturbations. Applications such as this require coupling between physical and chemical systems, a simulation our method is designed to address. For example, sSSA-SDPD is able to simulate both the complex fluid dynamics and the stochastic biochemical reactions of cells in a microfluidics chamber. Finally, we can use the algorithm to model the physical forces and blood flow in tissues coupled to inter-and intra-cellular processes.

Highlights

100• A hybrid spatial SSA and SDPD method is proposed.

101• It allows the simulation of stochastic advection-reaction-diffusion problems in a Lagrangian description.

102• Successful validation of the new method in several benchmark problems.

•

103The method is tested in a problem where commercial CAE software and typical deterministic methods cannot capture all dynamics. Comparison between mathematical and physical models of (a) a typical deterministic approach, (b) SDPD, (c) sSSA, for the idealized case of a channel flow with diluted species.

104In the hybrid method, advection is solved using SDPD, while the mass transport can be solved using either a spatial stochastic algorithm or SDPD, depending if stochastic effects are relevant or not. In Figs. (a) and (b), the dotted parts denote magnified regions, illustrating the differences between the methods. In Fig (b), v ij , Q ij and R ij denote the pairwise velocity, flux of mass and reaction term, respectively. In Fig. (c), p in the Kolmogorov equation denotes the probability that the system can be found in state X at time t. Results shown in (b) were interpolated using a Gaussian kernel, for clarity purposes. Table 3 Dimensional parameters used in the micro-channel numerical experiment.

참고문헌 76건

  1. Microflows and Nanoflows: Fundamentals and Simulation 2008
  2. Handbook of Stochastic Methods Springer series in synergetics · Springer Nature · 1983 10.1007/978-3-662-02377-8
  3. Circadian clocks limited by noise Nature · Nature Portfolio · 2000 10.1038/35002258
  4. Chemically reacting flow: theory and practice Choice Reviews Online · Association of College and Research Libraries · 2003 10.5860/choice.41-0330
  5. Transport dissipative particle dynamics model for mesoscopic advection-diffusion-reaction problems The Journal of Chemical Physics · American Institute of Physics · 2015 10.1063/1.4923254
  6. (제목 없음) BIT Numerical Mathematics · Springer Science+Business Media · 2000 10.1023/a:1022396519656
  7. Dissipative particle dynamics simulation of pore‐scale multiphase fluid flow Water Resources Research · Wiley · 2007 10.1029/2006wr004856
  8. Dissipative particle dynamics simulation of natural convection using variable thermal properties International Communications in Heat and Mass Transfer · Elsevier BV · 2015 10.1016/j.icheatmasstransfer.2015.10.008
  9. Numerical simulation of natural convection in a concentric annulus between a square outer cylinder and a circular inner cylinder using the Taylor-series-expansion and least-squares-based lattice Boltzmann method Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 2003 10.1103/physreve.67.026701
  10. Hybrid molecular-continuum simulations using smoothed dissipative particle dynamics The Journal of Chemical Physics · American Institute of Physics · 2015 10.1063/1.4905720
  11. Incompressible SPH method for simulating Newtonian and non-Newtonian flows with a free surface Advances in Water Resources · Elsevier BV · 2003 10.1016/s0309-1708(03)00030-7
  12. Consistent scaling of thermal fluctuations in smoothed dissipative particle dynamics The Journal of Chemical Physics · American Institute of Physics · 2009 10.1063/1.3050100
  13. Smoothed Particle Hydrodynamics (SPH): an Overview and Recent Developments Archives of Computational Methods in Engineering · Springer Science+Business Media · 2010 10.1007/s11831-010-9040-7
  14. SPH without a Tensile Instability Journal of Computational Physics · Elsevier BV · 2000 10.1006/jcph.2000.6439
  15. Spontaneous separation of bi-stable biochemical systems into spatial domains of opposite phases Systems Biology · Institution of Electrical Engineers · 2004 10.1049/sb:20045021
  16. Dynamics and thermodynamics of complex fluids. II. Illustrations of a general formalism Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 1997 10.1103/physreve.56.6633
  17. Numerical predictions for stable buoyant regimes within a square cavity containing a heated horizontal cylinder International Journal of Heat and Mass Transfer · Elsevier BV · 2007 10.1016/j.ijheatmasstransfer.2007.05.007
  18. Stochastic Simulation of Coupled Reaction–Diffusion Processes Journal of Computational Physics · Elsevier BV · 1996 10.1006/jcph.1996.0168
  19. A transport-velocity formulation for smoothed particle hydrodynamics Journal of Computational Physics · Elsevier BV · 2013 10.1016/j.jcp.2013.01.043
  20. Incompressible smoothed particle hydrodynamics modeling of thermal convection Interaction and multiscale mechanics · Techno-Press · 2013 10.12989/imm.2013.6.2.211
  21. Natural convection experiments on a heated horizontal cylinder in a differentially heated square cavity Experimental Thermal and Fluid Science · Elsevier BV · 2012 10.1016/j.expthermflusci.2012.06.009
  22. Smoothed dissipative particle dynamics Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 2003 10.1103/physreve.67.026705
  23. Intrinsic noise in gene regulatory networks Proceedings of the National Academy of Sciences · National Academy of Sciences · 2001 10.1073/pnas.151588598
  24. Fast Parallel Algorithms for Short-Range Molecular Dynamics Journal of Computational Physics · Elsevier BV · 1995 10.1006/jcph.1995.1039
  25. A generalized wall boundary condition for smoothed particle hydrodynamics Journal of Computational Physics · Elsevier BV · 2012 10.1016/j.jcp.2012.05.005
  26. Modeling Low Reynolds Number Incompressible Flows Using SPH Journal of Computational Physics · Elsevier BV · 1997 10.1006/jcph.1997.5776
  27. Thermodynamically consistent fluid particle model for viscoelastic flows Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 2003 10.1103/physreve.68.041504
  28. Mapping of dissipative particle dynamics in fluctuating hydrodynamics simulations The Journal of Chemical Physics · American Institute of Physics · 2008 10.1063/1.2897991
  29. Statistical Mechanics of Dissipative Particle Dynamics Europhysics Letters (EPL) · Institute of Physics · 1995 10.1209/0295-5075/30/4/001
  30. Incompressible smoothed particle hydrodynamics for free-surface flows: A generalised diffusion-based algorithm for stability and validations for impulsive flows and propagating waves Journal of Computational Physics · Elsevier BV · 2011 10.1016/j.jcp.2011.10.027
  31. Natural convection from a horizontal cylinder in a rectangular cavity International Journal of Heat and Mass Transfer · Elsevier BV · 1999 10.1016/s0017-9310(98)00266-x
  32. Simulations of reactive transport and precipitation with smoothed particle hydrodynamics Journal of Computational Physics · Elsevier BV · 2007 10.1016/j.jcp.2006.08.013
  33. Mesoscopic simulations of shock-to-detonation transition in reactive liquid high explosive EPL (Europhysics Letters) · Institute of Physics · 2011 10.1209/0295-5075/96/68007
  34. Simulating mesoscopic reaction-diffusion systems using the Gillespie algorithm Physical Review E · American Physical Society · 2005 10.1103/physreve.71.041103
  35. An improved SPH method: Towards higher order convergence Journal of Computational Physics · Elsevier BV · 2007 10.1016/j.jcp.2007.01.039
  36. Smoothed particle hydrodynamics Reports on Progress in Physics · IOP Publishing · 2005 10.1088/0034-4885/68/8/r01
  37. SPH particle boundary forces for arbitrary boundaries Computer Physics Communications · Elsevier BV · 2009 10.1016/j.cpc.2009.05.008
  38. A simple procedure to improve the pressure evaluation in hydrodynamic context using the SPH Computer Physics Communications · Elsevier BV · 2008 10.1016/j.cpc.2008.12.004
  39. Natural convection in the annulus between concentric horizontal circular and square cylinders Journal of Thermophysics and Heat Transfer · American Institute of Aeronautics and Astronautics · 1996 10.2514/3.820
  40. Combined length scales in dissipative particle dynamics The Journal of Chemical Physics · American Institute of Physics · 2005 10.1063/1.2013208
  41. The validity of the boussinesq approximation for liquids and gases International Journal of Heat and Mass Transfer · Elsevier BV · 1976 10.1016/0017-9310(76)90168-x
  42. A numerical approach to the testing of the fission hypothesis The Astronomical Journal · Institute of Physics · 1977 10.1086/112164
  43. Shock-wave induced damage in lipid bilayers: a dissipative particle dynamics simulation study Soft Matter · Royal Society of Chemistry · 2011 10.1039/c0sm01296c
  44. Smoothed dissipative particle dynamics model for polymer molecules in suspension Physical Review E · American Physical Society · 2008 10.1103/physreve.77.066703
  45. Simulating Microscopic Hydrodynamic Phenomena with Dissipative Particle Dynamics EPL (Europhysics Letters) · Institute of Physics · 1992 10.1209/0295-5075/19/3/001
  46. Self-diffusion coefficient in smoothed dissipative particle dynamics The Journal of Chemical Physics · American Institute of Physics · 2009 10.1063/1.3058437
  47. Compact finite difference schemes with spectral-like resolution Journal of Computational Physics · Elsevier BV · 1992 10.1016/0021-9991(92)90324-r
  48. Multicomponent Energy Conserving Dissipative Particle Dynamics: A General Framework for Mesoscopic Heat Transfer Applications Journal of Heat Transfer · ASM International · 2009 10.1115/1.3056602
  49. A numerical study of natural convection around a square, horizontal, heated cylinder placed in an enclosure International Journal of Heat and Mass Transfer · Elsevier BV · 2006 10.1016/j.ijheatmasstransfer.2006.04.020
  50. Efficient computation of natural convection in a concentric annulus between an outer square cylinder and an inner circular cylinder International Journal for Numerical Methods in Fluids · Wiley · 2002 10.1002/fld.226
  51. Local error estimates for adaptive simulation of the reaction–diffusion master equation via operator splitting Journal of Computational Physics · Elsevier BV · 2014 10.1016/j.jcp.2014.02.004
  52. Numerical solution of the nonlinear Schrödinger equation using smoothed-particle hydrodynamics Physical Review E · American Physical Society · 2015 10.1103/physreve.91.053304
  53. The effects of Damköhler number in a turbulent shear layer Combustion and Flame · Elsevier BV · 1988 10.1016/0010-2180(88)90102-2
  54. Exact stochastic simulation of coupled chemical reactions The Journal of Physical Chemistry · American Chemical Society · 1977 10.1021/j100540a008
  55. Incompressible smoothed particle hydrodynamics Journal of Computational Physics · Elsevier BV · 2007 10.1016/j.jcp.2007.06.019
  56. Stochastic focusing: Fluctuation-enhanced sensitivity of intracellular regulation Proceedings of the National Academy of Sciences · National Academy of Sciences · 2000 10.1073/pnas.110057697
  57. Boosting the accuracy of SPH techniques: Newtonian and special-relativistic tests Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2015 10.1093/mnras/stv225
  58. Stochastic Gene Expression in a Single Cell Science · American Association for the Advancement of Science · 2002 10.1126/science.1070919
  59. Modeling mesoscopic solidification using dissipative particle dynamics International Journal of Thermal Sciences · Elsevier BV · 2015 10.1016/j.ijthermalsci.2015.11.002
  60. An improved weakly compressible SPH method for simulating free surface flows of viscous and viscoelastic fluids Computer Physics Communications · Elsevier BV · 2016 10.1016/j.cpc.2015.12.016
  61. A coarse-grain force field for RDX: Density dependent and energy conserving The Journal of Chemical Physics · American Institute of Physics · 2016 10.1063/1.4942520
  62. Progress in particle-based multiscale and hybrid methods for flow applications Microfluidics and Nanofluidics · Springer Science+Business Media · 2016 10.1007/s10404-016-1729-y
  63. Transport, advection, and diffusion Cambridge University Press eBooks · Cambridge University Press · 1995 10.1017/cbo9780511622960.010
  64. Size consistency in smoothed dissipative particle dynamics Physical review. E · American Physical Society · 2016 10.1103/physreve.94.043305
  65. A framework for discrete stochastic simulation on 3D moving boundary domains The Journal of Chemical Physics · American Institute of Physics · 2016 10.1063/1.4967338
  66. Stochastic Simulation Service: Bridging the Gap between the Computational Expert and the Biologist PLoS Computational Biology · Public Library of Science · 2016 10.1371/journal.pcbi.1005220
  67. Perspective: Dissipative particle dynamics The Journal of Chemical Physics · American Institute of Physics · 2017 10.1063/1.4979514
  68. Many-body dissipative particle dynamics modeling of fluid flow in fine-grained nanoporous shales Physics of Fluids · American Institute of Physics · 2017 10.1063/1.4981136
  69. The effect of turbulence on mass transfer rates of small inertial particles with surface reactions Journal of Fluid Mechanics · Cambridge University Press · 2017 10.1017/jfm.2017.820
  70. Mechanical feedback coordinates cell wall expansion and assembly in yeast mating morphogenesis PLoS Computational Biology · Public Library of Science · 2018 10.1371/journal.pcbi.1005940
  71. Validation data for a hybrid smoothed dissipative particle dynamics (SDPD) spatial stochastic simulation algorithm (sSSA) method Data in Brief · Elsevier BV · 2018 10.1016/j.dib.2018.11.103
  72. Dynamics and thermodynamics of complex fluids. I. Development of a general formalism Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 1997 10.1103/physreve.56.6620
  73. Smoothed Particle Hydrodynamics Annual Review of Astronomy and Astrophysics · Annual Reviews · 1992 10.1146/annurev.aa.30.090192.002551
  74. Perspective: Dissipative particle dynamics The Journal of Chemical Physics · American Institute of Physics · 2017 10.1063/1.4979514
  75. Mapping of dissipative particle dynamics in fluctuating hydrodynamics simulations The Journal of Chemical Physics · American Institute of Physics · 2008 10.1063/1.2897991
  76. Modelling in Transport Phenomena Elsevier eBooks · Elsevier BV · 2002 10.1016/b978-0-444-51052-5.x5000-5