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

The heterogeneous multiscale method applied to inelastic polymer mechanics

간접 관련 화학·수지 · (21) 에폭시수지 (20) 페놀수지(23) 컴파운드

기본 정보

저자
  1. Maxime Vassaux — Centre for Computational Science, Department of Chemistry, University College London, 20 Gordon St, WC1H 0AJ London, UK
  2. Robin A. Richardson — Centre for Computational Science, Department of Chemistry, University College London, 20 Gordon St, WC1H 0AJ London, UK
  3. Peter V. Coveney — Centre for Computational Science, Department of Chemistry, University College London, 20 Gordon St, WC1H 0AJ London, UK
DOI
10.1098/rsta.2018.0150
저널
Philosophical Transactions of the Royal Society A Mathematical Physical and Engineering Sciences
발행년도
2019
발행기관
Royal Society
피인용수
20
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1098/rsta.2018.0150
토픽
Composite Material Mechanics
OpenAlex ID
W2916901686

평가 내용

관련도
간접 관련
사업분야
화학·수지 · (21) 에폭시수지
부 분야
(20) 페놀수지, (23) 컴파운드
R&D 측면
분석·모델링
확신도
0.90
근거 용어
heterogeneous multiscale method, inelastic polymer mechanics, epoxy resin, fracture toughness, molecular dynamics
판단 근거
이 논문은 고분자(특히 에폭시 수지)의 비탄성 역학 및 파괴 인성을 예측하기 위한 다중 스케일 시뮬레이션 방법론(HMM)을 다루고 있습니다.
R&D 활용 포인트
에폭시 수지(21) 및 기타 엔지니어링 플라스틱의 미시적 구조와 거시적 물성(파괴 인성, 변형 등) 간의 관계를 모델링하여, 신제품 개발 시 시행착오를 줄이는 시뮬레이션 기술로 활용 가능합니다.
평가 입력
본문 70,279자 중 30,032자 발췌

초록

Mechanisms emerging across multiple scales are ubiquitous in physics and methods designed to investigate them are becoming essential. The heterogeneous multiscale method (HMM) is one of these, concurrently simulating the different scales while keeping them separate. Owing to the significant computational expense, developments of HMM remain mostly theoretical and applications to physical problems are scarce. However, HMM is highly scalable and is well suited for high performance computing. With the wide availability of multi-petaflop infrastructures, HMM applications are becoming practical. Rare applications to mechanics of materials at low loading amplitudes exist, but are generally confined to the elastic regime. Beyond that, where history-dependent, irreversible or nonlinear mechanisms occur, not only computational cost but also data management issues arise. The micro-scale description loses generality, developing a specific microstructure based on the deformation history, which implies inter alia that as many microscopic models as discrete locations in the macroscopic description must be simulated and stored. Here, we present a detailed description of the application of HMM to inelastic mechanics of materials, with emphasis on the efficiency and accuracy of the scale-bridging methodology. The method is well suited to the estimation of macroscopic properties of polymers (and derived nanocomposites) starting from knowledge of their atomistic chemical structure. Through application of the resulting workflow to polymer fracture mechanics, we demonstrate deviation in the predicted fracture toughness relative to a single-scale molecular dynamics approach, thus illustrating the need for such concurrent multiscale methods in the predictive estimation of macroscopic properties. This article is part of the theme issue 'Multiscale modelling, simulation and computing: from the desktop to the exascale'.

본문 70,279자

본문 펼치기
royalsocietypublishing.org/journal/rsta ## Research Cite this article: Vassaux M, Richardson RA, Coveney PV. 2019 The heterogeneous multiscale method applied to inelastic polymer mechanics. _Phil.Trans.R.Soc.A_ 377 : 20180150. http://dx.doi.org/10.1098/rsta.2018.0150 Accepted: 9 October 2018 One contribution of 11 to a theme issue ‘Multiscale modelling, simulation and computing: from the desktop to the exascale’. Subject Areas: computational biology, computational physics, computer modelling and simulation Keywords: heterogeneous multiscale method, polymer mechanics, fracture, inelasticity, high performance computing Author for correspondence: P. V. Coveney [e-mail: p.v.coveney@ucl.ac.uk](mailto:p.v.coveney@ucl.ac.uk) # The heterogeneous multiscale method applied to inelastic polymer mechanics #### M. Vassaux, R. A. Richardson and P. V. Coveney Centre for Computational Science, Department of Chemistry, University College London, 20 Gordon St, WC1H 0AJ London, UK [MV, 0000-0003-2975-0625; RAR, 0000-0002-9984-2720;](http://orcid.org/0000-0003-2975-0625) [PVC, 0000-0002-8787-7256](http://orcid.org/0000-0002-8787-7256) Mechanisms emerging across multiple scales are ubiquitous in physics and methods designed to investigate them are becoming essential. The heterogeneous multiscale method (HMM) is one of these, concurrently simulating the different scales while keeping them separate. Owing to the significant computational expense, developments of HMM remain mostly theoretical and applications to physical problems are scarce. However, HMM is highly scalable and is well suited for high performance computing. With the wide availability of multipetaflop infrastructures, HMM applications are becoming practical. Rare applications to mechanics of materials at low loading amplitudes exist, but are generally confined to the elastic regime. Beyond that, where history-dependent, irreversible or nonlinear mechanisms occur, not only computational cost but also data management issues arise. The micro-scale description loses generality, developing a specific microstructure based on the deformation history, which implies _inter_ _alia_ that as many microscopic models as discrete locations in the macroscopic description must be simulated and stored. Here, we present a detailed description of the application of HMM to inelastic mechanics of materials, with emphasis on the efficiency and accuracy of the scale-bridging methodology. The method is well suited to the estimation of macroscopic properties of polymers (and derived nanocomposites) starting from knowledge of their atomistic chemical structure. Through application of the resulting workflow 2019 The Authors. Published by the Royal Society under the terms of the <u>[Creative Commons Attribution License http://creativecommons.org/licenses/](http://creativecommons.org/licenses/by/4.0/)</u> [by/4.0/,](http://creativecommons.org/licenses/by/4.0/) which permits unrestricted use, provided the original author and source are credited to polymer fracture mechanics, we demonstrate deviation in the predicted fracture toughness relative to a single-scale molecular dynamics approach, thus illustrating the need for such ~~concurrent multiscale methods in the predictive estimation of macroscopic properties.~~ This article is part of the theme issue ‘Multiscale modelling, simulation and computing: from the desktop to the exascale’. ### 1. Introduction The design and manufacture of advanced multifunctional materials remains a slow, uncertain, expensive and time-consuming process. The current approach, largely unchanged in decades, consists of an extensive trial-and-error process followed by testing and certification. This process typically takes around 20 years from concept to commercial implementation [1,2]. Computational models offer, in principle, a serious alternative due to their ability to perform parametric studies with high efficiency [3,4]. Yet, applicable models still suffer from major drawbacks in terms of accuracy, chemical specificity and reliability [5,6]. Effective integration within the design process requires computational models to be certified via appropriate validation and verification, and the results rendered actionable via uncertainty quantification. The macroscopic mechanics of solids are highly dependent on structural detail found at each scale, from the electronic organization at the quantum mechanical level through to the geometry of the sample at the macroscopic scale. Attempts to estimate macroscopic mechanical properties using a single model at nanoscopic resolution are quickly rendered intractable by the astronomical computational cost or limited by unrealistic test set-ups involving, for example, microscopic material samples or simplistic uniaxial tests. Scale-bridging approaches become essential [7,8]. To render such simulations tractable, so-called hierarchical multiscale models make use of a loosely coupled scheme in which continuum-level constitutive equations are parametrized beforehand using lower-level molecular or coarse-grained simulations [9–12]. However, in trying to reproduce the wide variety of lower-scale mechanisms occurring, these empirically formulated constitutive equations suffer vast increases in complexity, becoming ill-defined and difficult to integrate [5,13]. As a consequence, the constitutive equations are reduced to a massively simplified description of the true behaviour of the material, potentially missing out important phenomena that appear under non-trivial mechanical states at the microscopic level. As a (partial) remedy to these problems, computational schemes have been developed that seamlessly couple multiple scales in a semi-concurrent fashion, implemented through the heterogeneous multiscale method (HMM) [14–16]. A similar scheme built on two finite-element models is the finite-element squared (FE2) method [17,18]. The scheme has been classified as semi-concurrent [19] because the multiple models are run in parallel but solved separately, in contradistinction to concurrent methods which embed a discrete and a continuum description within a single system [20,21]. HMM and other semi-concurrent methodologies have the benefit of being extremely scalable, as the lower-scale models are independent of each other and can therefore be simulated in parallel. For example, one may perform thousands of molecular dynamics (MD) simulations (representing the lower-scale system) simultaneously coordinated by an upper-scale model. Owing to the increases in the computational power and parallelism available on the biggest supercomputers, as well as sophisticated computational workflows [22,23], such computational methods that were unrealistic only a few years ago may now be used to assess the mechanical properties of solids in an engineering context, while retaining atomistic-level chemical specificity. Nevertheless, implementations of HMM bridging such scales [24–27] are rare and have, to date, been limited to elastic mechanics. We propose here modifications to the standard HMM implementation to capture history-dependent mechanical behaviour, including nonlinear and irreversible mechanisms. In an attempt to analyse or predict mechanical properties related f l f d ( d h ) h l ~~2~~ mechanisms is of the utmost importance. We present these enhancements to the HMM workflow with emphasis on data transfer between scales and data management of single-scale models. We then demonstrate the benefits of such an approach to the quantification of macroscopic mechanical properties, such as toughness, as opposed to those derived from single-scale atomistic approaches (e.g. [28–31]). The developments presented here are applied to the two-scale modelling of thermoset polymers, relying on a MD [32] description of the material at the lower, atomistic scale and a finite-element method (FEM) [33,34] description at the upper, continuum scale. We explore in detail the consequences of solving inelastic mechanics on the simulation of the atomistic model. ### 2. Single-scale models The two single-scale models are orchestrated in a cyclic dynamic fashion (figure 1). Each iteration (time-step) of the continuum model requires the parallel execution of a large number of atomisticlevel models _n_ <sup>_t_</sup> md <sup>with variable execution time.</sup> The atomistic models are simulated using all-atom MD [35], a method that integrates Newton’s equations of motion (2.1) for a system of individually resolved atoms: ~~3~~ <u>d</u> <sup>2</sup> _r_ <sup>_a_</sup> _<u>i</u>_ (2.1) d _t_ <sup>2</sup> = _m_ <sup>_a_</sup> _i_ - ∇ _U_ _r_ <sup>_a_</sup> _i_ with _r_ <sup>_a_</sup> _i_ with _r_ <sup>_a_</sup> _i_ <sup>the displacements of the atom</sup> <sup>_i_</sup> <sup>,</sup> <sup>_U_</sup> <sup>the potential energy of the thermodynamic ensemble,</sup> _m_ <sup>_a_</sup> _i_ <sup>the mass of the atom</sup> <sup>_i_</sup> <sup>of the atomic model.</sup> In the present case, for temperature control, stochastic equations of Langevin dynamics (2.2) are solved: <sup>_a_</sup> _i_ <sup>the mass of the atom</sup> <sup>_i_</sup> <sup>of the atomic model.</sup> <u>d</u> <sup>2</sup> _r_ <sup>_a_</sup> _<u>i</u>_ (2.2) d _t_ <sup>2</sup> _<u>i</u>_ - _γ_ <sup><u>d</u></sup> <sup>_r_</sup> <sup>_a_</sup> d _t_ <sup>+</sup> 2 _γ kBT_ _R_ _(t)_ = _m_ <sup>_a_</sup> _i_ - ∇ _U_ _r_ <sup>_a_</sup> _i_ with _γ_ a damping parameter, _T_ the temperature of the thermodynamic ensemble, _k_ B the Boltzmann constant and _R_ ( _t_ ) a stationary Gaussian process with a zero time average. The degrees of freedom of the atomistic system _r_ <sup>_a_</sup> _i_ <sup>are the displacements of the particles representing the atoms,</sup> subject to constraints imposed by the molecular structure. We simulate the system as a canonical ensemble (NVT), which conserves the number of atoms ( _N_ ), and fixes the volume ( _V_ ) and temperature ( _T_ ) of the system. The atomistic model is initialized in its most recent configuration of atoms. As we deal with inelastic mechanics, the system cannot be started from an equilibrium configuration, as the history must be preserved. Updating the atomistic mechanical state is performed by deforming the system box according to the strain tensor _ϵ_ provided by the continuum model. The volume is varied by applying a constant strain rate _ϵ_ ˙ _a_ on the system, which is chosen as a function of the characteristic relaxation time _τa_ of the material (this will be the object of further discussion in the following sections). As a result, the number of time-steps to perform in each atomistic model simulation will, in general, be directly proportional to the amplitude of the applied deformation (the length of time-step being constant). Coarse-grained MD is not considered in the present study, as the process of coarsegraining the atomistic system requires recent parametrization techniques to capture mechanisms of interest such as fracture [36]. However, all-atom MD models could easily be replaced by coarsegrained ones. The continuum system is discretized using a generally unstructured mesh on which the FEM is used to solve the linear momentum conservation equation for a locally homogeneous solid (2.3): ∇ _σ_ _(_ _x_ _)_ + _ρ_ _f_ _(_ _x_ _)_ = _ρ_ <sup><u>d2</u></sup> <sup>_<u>x</u>_</sup> (2.3) d _t_ <sup>2</sup> with _ρ_ the density of the continuum and _f_ the volumetric forces. Boundary conditions are applied on the position of nodes of the mesh of the model _x_, namely compute equilibrium of internal and external forces compute associated strains stress yes stress interpolation? interpolation? update boundary conditions at time _t_ for all quadrature points _q_ small core allocation to simulate the FE problem ~~4~~ yes extended core allocation with internal queueing system file-based data transfer yes stress interpolation? no u <mark>pd</mark> ating atomistic system state variable execution time of each MD simulation no updating atomistic system state no updating atomistic system state homogenization of homogenization of ho <mark>m</mark> ogenization of stresses and/or stiffness stresses and/or stiffness stresses and/or stiffness _nj,a_ parallel MD jobs homogenization of stresses and/or stiffness ho <mark>m</mark> ogenization of stresses and/or stiffness correction of internal forces continuum/FE atomistic/MD scale-bridging no close enough yes to prediction? advancing to time _t+_ 1 Figure 1. Global workflow of the multiscale model based on HMM. The building blocks of the workflow include: a continuum (FEM) model (in blue), an atomistic (MD) model (in red) and a scale-bridging coupling procedure based on homogenization (in violet); the cyclic coupling procedure involves a dynamic number of atomistic model simulations _n_ <sup>_t_</sup> md <sup>at each time-step</sup> <sup>_t_</sup> <sup>.</sup> (Online version in colour.) (represented by the second-order tensors) or the local stresses. Classically, the strains and stresses are linked by means of constitutive equations, but in the present case that relation is established via the response of atomistic models. ### 3. Scale-bridging for inelastic mechanics The cornerstone of the proposed work relies on a scale-bridging strategy that benefits from the separation of time and spatial scales. Moreover, the proposed strategy includes efficient management of the data exchanged between the single-scale models and a tunable sampling methodology for the atomistic simulations. #### (a) Separation of scales Scale separation is a fundamental criterion for the applicability of HMM, allowing the mechanics of the atomistic scale (at a given time and location within the continuum model) to be analysed at greatly reduced cost [37]. In spatial terms, it is not necessary to compute over the entire volume of the associated finite-element cell, but rather over a greatly reduced subset of that, corresponding to the scale over which the system can be treated as effectively homogeneous. Equivalently, these are the dimensions for which the volume simulated is far greater than the largest heterogeneous feature ( _a_ ) condition: _Ia_ << _Da_ - gain: ( D _xc_ / _Da_ ) <sup>3</sup> <u>heterogeneities</u> ~~5~~ finite-element cell D _xc_ molecular dynamics box _<u>D</u>_ a _I_ a periodic boundary conditions ( _b_ ) continuum _t_ a atomic continuum atomic condition: _ta_ << _Ta_ - gain: D _tc_ / _Ta_ _ti_ <u>–1</u> D _tc_ _ti_ _ti_ +1 _ti_ +2 _ti_ +3 _<u>si</u>_ –1 _<u>si</u>_ _<u>si</u>_ +1 _<u>si</u>_ +2 _<u>si</u>_ +3 time _<u>e</u>_ _i_ –1 _<u>e</u>_ _i_ _<u>e</u>_ _i_ +1 _<u>e</u>_ _i_ +2 _<u>e</u>_ _i_ +3 _Ta_ unchanged atomic system (not simulated) transient mechanism Figure 2. ( _a_ ) Periodic boundary conditions applied to ~~an~~ atomistic system encompassing a few dimensions of the longest heterogeneity _la_ avoid the simulation of the atomisti ~~c~~ <u>mod</u> ~~e~~ l on the whole volume of a cell of the mesh of the continuum system; ( _b_ ) asynchronous coupling of atomistic and continuum time scales shortens the evolution of the atomistic system to durations of the order of the atomistic relaxation time _τa_ . ( _a_ ) Spatial scale-bridging, ( _b_ ) time scale-bridging. this assumption of infinite replicability. In polymer systems, the dimension of the largest heterogeneity relates to the entanglement length in the case of thermoplastics, and to the distance between cross-links in the case of thermosets. The required dimensions for a simulation of thermosets are therefore far smaller in general than those required in the case of thermoplastic polymers. An indirect consequence of the spatial scale separation is that the volume of the continuum system is simulated by many independent atomistic models. These simulations are coordinated at each iteration of the continuum model. As a result, the overall simulation workflow is highly scalable, as all the atomistic model simulations required at a given time-step can be performed in parallel and independently (figures 2 and 3). Similarly, with regard to separation of time scales, the atomistic dynamics does not need to be simulated for the length of an entire time-step of the macroscale (continuum) model, but rather only until the system relaxes and the stress tensor becomes stationary on average . As a direct consequence of considering inelastic mechanics, the time _τa_ to reach a relaxed state may become large, especially for viscoelastic materials such as polymers, even at small scales. Once again, the type of polymer will influence greatly the time to reach convergence. The introduction of cross-links greatly impedes long, diffusive mechanisms such as reptation, thereby accelerating the relaxation. The strain rate is usually the prevailing factor in the case of polymer mechanics. _ϵ_ ˙ _c_ is necessarily not preserved through the atomistic models, but convergence of the constitutive behaviour (that is the stress–strain relationship) to the quasi-static case can be found at relatively ( _a_ ) ( _b_ ) _Ia_ ( _c_ ) 0.5 ( _d_ ) polyethylene - _ϵ_ ˙ _a_ : 0.0002 fs <sup>−1</sup> 3.0 epoxy resin - _ϵ_ ˙ _a_ : 0.0002 fs <sup>−1</sup> 2.5 2.0 1.5 1.0 0.5 0 ~~6~~ _Ia_ epoxy resin - _ϵ_ ˙ _a_ : 0.001 fs <sup>−1</sup> epoxy resin - _ϵ_ ˙ _a_ : 0.002 fs <sup>−1</sup> epoxy resin - _ϵ_ ˙ _a_ : 0.005 fs <sup>−1</sup> 0 0.1 0.2 0.3 0.4 0.5 0.6 axial strain (nm nm <sup>–1</sup> ) 0.4 0.3 0.2 0.1 0 polyethylene - _ϵ_ ˙ _a_ : 0.001 fs <sup>−1</sup> polyethylene - _ϵ_ ˙ _a_ : 0.002 fs <sup>−1</sup> polyethylene - _ϵ_ ˙ _a_ : 0.005 fs <sup>−1</sup> 0 0.1 0.2 0.3 0.4 0.5 0.6 axial strain (nm nm <sup>–1</sup> ) Figure 3. Comparison of the structure of ( _a_ ) a thermoplastic and ( _b_ ) a thermoset polymer; for a given polymer chain, the processofcross-linkingreducestheatomisticcharacteristiclength _la_ ofthesystemfromtheentanglementlengthtothedistance betweentwocross-links,andlargelyinhibitstheslidingofchainspasteachother(byareptationmechanism)thereforereducing relaxationtime(basedontheillustrationbyHendersonC.,2015,CC0).Theconstitutivebehaviourof( _c_ )short-chainpolyethylene, a thermoplastic polymer, and ( _d_ ) TGMDA epoxy, a thermoset polymer, for different strain rates ˙ _ϵa_ ; decreasing the strain rate ˙ _ϵa_ ceasestohaveaninfluencecomparativelyearlierforepoxyresinthanforpolyethylene,convergenceofthebehaviourappearing to be hardly reached for polyethylene in the range of test strain rates. ( _a_ ) Polyethylene reptation length, ( _b_ ) epoxy cross-link distance, ( _c_ ) polyethylene uniaxial behaviour and ( _d_ ) epoxy uniaxial behaviour. The equations (3.1) illustrate the constraints on the time _Ta_ and spatial _Da_ dimensions over which to simulate the atomistic system, depending on the relaxation time _τa_ and size of heterogeneities _la_ at the atomistic scale: _la_ ≪ _Da_, _τa_ ≪ _Ta_ and _gx_ = <sup>_�xc_</sup> _Da_ , _gt_ = <sup>_�tc_</sup> _Ta_ ⎫ ⎪⎬ ⎪⎭ (3.1) They also define the computational reduction in time _gt_ and space _gx_ with respect to the atomistic dimensions _Ta_ and _Da_, and the continuum scale time _�tc_ and spatial _�xc_ increments. It is through the concept of separation of scales that the HMM scheme achieves a major reduction in computational cost. With regard to simulating the whole volume of the continuum system at an atomic resolution (both in time and in space), the computations are reduced twofold. First, the reduction in time is on the order of the ratio of the relaxation time of the atomistic system to the time-step of the continuum model. And second, the reduction in space is on the order of the ratio of the characteristic length of the heterogeneities in the atomistic system to the spatial discretization length of the continuum model. The only overhead incurred by the HMM is then the simulation of the continuum model over an overlapping spatio-temporal domain. But the cost of the simulation of the continuum model is negligible compared to the cost of the many atomistic #### (b) Data management In this two-level scheme, the upper and lower scales evolve separately but must exchange information on a regular basis. Any given point in the continuum model has its own, local mechanical history, necessitating (in general) a unique instance (or set of instances) of the atomistic model representing the molecular-level mechanics associated with that region. This prevents the reconstruction of the atomistic system in the current mechanical state every time an atomistic model needs to be simulated [38,39]. In the finite-element discretization of this continuum, these points correspond to the quadrature points _q_ in each finite element. The local mechanical states may exhibit irreversible and nonlinear behaviour (such as cracking or plastic deformation) necessitating the local state to persist between successive simulations at a given location. This means the most recent configuration of atoms must be stored for each _q_, so that it may be used as the starting point for any future atomistic simulations required during evolution of the continuum model. As the continuum model algorithm is incremental in time, we avoid the need to store the complete configurational history of each atomistic model, instead only retaining the mechanical state at the end of the most recent step. The combined effect of this is that the atomistic models simulate essentially continuous trajectories, but under varying boundary conditions determined by solving the balance of forces at the continuum level. #### (c) Data transfer across scales Now to be more explicit, what we have so far referred to as the ‘mechanical state’ can be described via two standard variables of continuum mechanics: the infinitesimal strain _ϵ_ and the Cauchy stress _σ_ tensors. These variables constitute the sole information to be transferred between the two scales. In our implementation, _ϵ_ is used as the input to the atomistic simulation, engendering a deformation to the new state (figure 4). The resulting change in pressure, and more specifically the virial form of _σ_ (3.2) is then communicated back to the continuum model so that the balance of forces can be computed from the integral of _σ_ over the whole continuum volume. Through this cyclic coupling, the time evolution of both the continuum and atomistic scale models is linked. The virial form of _σ_ (3.2): ~~7~~ _k_ <sup>_a_</sup> <u>,</u> _i_ <sup>_v_</sup> _k_ <sup>_a_</sup> <sup>_a_</sup> _k_ <u>,</u> _j_ _k_ <sup>_a_</sup> <u>,</u> _j_ �� _Na_ _k_ =0 <sup>_ma_</sup> _k_ _Va_ <sup>_a_</sup> _k_ <sup>_v_</sup> _k_ <sup>_a_</sup> _σij_ = + (3.2) �� _Na_ _k_ =0 <sup>_ra_</sup> _k_ _Va_ <sup>_a_</sup> _k_ <u>,</u> _i_ <sup>_f a_</sup> _k_ <u>,</u> _j_ is defined as the sum of the time-average of a kinetic term which is a function of the mass _m_ <sup>_a_</sup> _i_ is defined as the sum of the time-average of a kinetic term which is a function of the mass _m_ <sup>_a_</sup> _i_ <sup>of</sup> the particle _i_ and the velocity _vk_ <sup>_a_</sup>, _i_ <sup>of the particle</sup> <sup>_i_</sup> <sup>in direction</sup> <sup>_k_</sup> <sup>and the time-average of a potential</sup> term which is a function of the position _r_ <sup>_a_</sup> _i_ <sup>and</sup> <sup>the</sup> <sup>exerted</sup> <sup>force</sup> <sup>_f_</sup> _i_ <sup>_a_</sup> <sup>on</sup> <sup>the</sup> <sup>particle</sup> <sup>_i_</sup> <sup>of</sup> <sup>the</sup> <sup>_Na_</sup> _r_ <sup>_a_</sup> _i_ <sup>and</sup> <sup>the</sup> <sup>exerted</sup> <sup>force</sup> <sup>_f_</sup> _i_ <sup>_a_</sup> particles of the atomistic system of volume _Va_ . _i_ <sup>_a_</sup> <sup>on</sup> <sup>the</sup> <sup>particle</sup> <sup>_i_</sup> <sup>of</sup> <sup>the</sup> <sup>_Na_</sup> To simplify the exchange of information between the scales, we have made a few assumptions. As we apply a thermostat at the atomistic scale, the temperature is controlled and constant throughout the simulation; thus the effect of temperature gradients at the continuum scale is not included. In short, we assume that the atomistic description is always at local equilibrium. In the case of large inelastic deformations, this could become an issue, as heat is released due to friction or bond dissociation mechanisms. This effect could be mitigated by testing set-up characteristics, such as structures with limited bulk. Extending the current continuum model to account for complete thermodynamics could be a viable option because of the very small computational cost of macroscale versus micro-scale simulations. Also, there is no mass flow in our model, meaning the mass in each finite-element cell is conserved (and is constant at each _q_ ), hence the number of atoms is constant in each atomistic model. Indeed, the rate of deformation of the finite-element cells is assumed to be much slower than the time needed to relax the atomistic simulations. Consequently, we do not enforce that ˙ _ϵa_ be equal to ˙ _ϵc_, and allow both scales to evolve on their own time scales. In the case of a much greater _ϵ_ ˙ _c_, with the finite-element cell deforming ~~8~~ _r_, _c_ continuum model data exchange at time _t_ _t,nj,a_ _<u>s</u>_ <sup>_t_</sup> <sup>,1</sup> _t_,1 _<u>s</u>_ <sup>_t,nj,a_</sup> 1 st atomic model _n_ j,a th atomic model _N_, _T_, _a_ _N_, _T_, _a_ Figure4. Datainteractionsbetweentheupper(continuum)modelandlower(atomistic)modelssimulatedforeachquadrature point _q_ of the mesh of the continuum; the projected strain tensor _ϵ_ is passed down, while the homogenized stress tensor _σ_ is transferredup.Thelocaldensity _ρ_ andthestrainrate ˙ _ϵc_ areconstantsofthecontinuummodel,whilethenumberofatoms _N_ <sup>_a_</sup>, the temperature _T_ and the strain rate ˙ _ϵa_ are constants of the atomistic model. (Online version in colour.) It is relatively trivial to communicate _ϵ_ at a given quadrature point to the corresponding atomistic model via a boundary condition ( _ϵ_ is an internal variable of the continuum model). However, the reverse coupling—transferring the resultant _σ_ back up to the continuum model—is a more complicated task (and is described below). The stress sampling method employed is an average of the mechanical state over the whole atomistic system (see equation (3.2)). In turn, such a method is less sensitive to fluctuations and therefore converges rapidly. However, it enforces homogeneity on the sampled stress state. More sophisticated and tightly coupled techniques exist for bridging from discrete to continuum medium [40,41] which capture stress heterogeneity and avoid spurious stress reflection although they suffer from the requirement of much greater computational costs compared to HMM. The desired deformation (corresponding to _ϵ_ obtained from the upper model) is applied to the atomistic system via a gradual affine transformation of _r_ <sup>_a_</sup> _i_ <sup>(option</sup> <sup>‘remap</sup> <sup>x’</sup> <sup>in</sup> <sup>LAMMPS).</sup> This is performed such that the increment of strain applied during the evolution of the atomistic model matches the largest _ϵ_ ˙ _a_ possible while enabling the system to remain relaxed. That is to say, _ϵ_ ˙ _a_ is sufficiently small such that the deformation is applied over a period far longer than _τa_ . _τa_ is expected to be orders of magnitude smaller than _�tc_, in order for the assumption of the separation of scales to be valid, therefore _ϵ_ ˙ _a_ is generally much larger than _ϵ_ ˙ _c_ . #### (d) Sampling the stress tensor The stress tensor _σ_ at a given location in the continuum model is derived from the atomistic model. Unlike in the case of the strain tensor _ϵ_, _σ_ is not an internal variable of the atomistic model, and a homogenization procedure must therefore be performed on the virial (3.2). Owing to fluctuations in the motion of the atoms, this homogenization procedure must be performed not only across space, but also across time. _σ_ is computed once the system has become stationary following its deformation. Fixed dimensions, number of atoms and temperature (i.e. the use of the NVT ensemble in LAMMPS) are applied throughout the homogenization procedure. Spatial homogenization is performed over the entire sample, assuming it is free of finite-size effects and simulated using periodic boundary conditions. Time homogenization (or sampling), however, is a more arbitrary procedure. There exist many approaches in the literature on this subject [42,43]. Ideally, one would allow the atomistic system to evolve under the given constraints (NVT) for a sufficiently long time such that all the possible ( _a_ ) 100 75 50 25 0 −25 −50 −75 1.0 0.8 0.6 0.4 0.2 0 ( _b_ ) ~~9~~ −0.2 −0.4 0 2500 5000 7500 10 000 12 500 15 000 17 500 20 000 time (fs) ( _c_ ) 30 ( _d_ ) 25 20 15 10 5 0 0 2500 5000 7500 10 000 12 500 15 000 17 500 20 000 sampling time (fs) 50 40 30 20 10 0 0 50 100 150 200 250 300 350 400 time (fs) 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ensemble size (number of replicas) Figure 5. Stress sampling procedure parametrization; ( _a_ ) fluctuation of the pressure of a single replica of the atomistic system at10%uniaxialstretchoveraperiodof20picoseconds,theaveragepressureisshowningreen;( _b_ )theautocorrelationfunction of the pressure time series shown in ( _a_ ), the red dotted line showing the value of the autocorrelation time length; ( _c_ ) the evolution of the confidence interval of the time-averaged pressure with respect to the duration of sampling, the red line showing the optimal duration sampling; ( _d_ ) the evolution of the confidence interval of the ensemble averaged pressure over the optimal duration with respect to the number of replicas _nr_, the red line showing the optimal sampling ensemble size. ( _a_ ) Pressure fluctuation, ( _b_ ) pressure autocorrelation function, ( _c_ ) time averaging length and ( _d_ ) ensemble size. (Online version in colour.) ensemble averaging of the _σ_ over a shorter period of time [44,45]. Instead of running a single simulation per _q_, we instead run several replicas, and perform time averaging on each of them for a period proportional to the autocorrelation length of the system’s pressure. To completely define the homogenization procedure, we must now determine the appropriate number of replicas _nr_ to simulate and the duration (as a function of the autocorrelation length) over which to average. This is determined by observing the evolution of the uncertainty (95% confidence interval) on the homogenized pressure (i) in a single replica, to determine the optimal duration of sampling (figure 5 _c_ ), and given this optimal duration (ii) in an ensemble of replicas, to determine the optimal _nr_ (figure 5 _d_ ). We adapt these two parameters to reach a sufficient accuracy. The confidence interval appears to reduce as a power law of the sampling duration and _nr_ . To select the optimal trade-off between accuracy and computational cost, we choose values corresponding to the point of maximum curvature of the power laws, beyond which we consider that the gain in accuracy is not worth the increase of cost of computation (in particular with regard to the _nr_ ). The homogenization procedure is performed for different mechanical states (figure 6). Axial deformations of 10% and 50% described above are applied to the tetra-functional epoxy system and compared with the same system at equilibrium (0% deformation). As the system is stretched, the duration of sampling can be slightly longer. Up to 50%, the deformation reorganizes the polymer structure in a looser way, growing voids and reducing friction, with geometrical constraints becoming weaker. Also, the number of replicas _nr_ needed to reach a given confidence interval increases drastically. At high strains, mechanical instabilities can cause large differences ( _a_ ) ( _b_ ) 35 160 140 120 100 80 60 40 20 0 ~~10~~ 30 25 20 15 10 5 0 _ϵ_ <u>max = 0.0%</u> _~~ϵ~~_ max ~~= 10.0%~~ _<u>ϵ</u>_ ~~<u>max</u>~~ <u>= 50.0%</u> 0 2.5 5.0 7.5 10.0 12.5 15.0 17.5 20.0 sampling time (ps) 2 4 6 8 10 12 14 ensemble size (replicas) Figure 6. Influence of the mechanical state on the sampling duration ( _a_ ) and ensemble size ( _b_ ) for TGMDA epoxy; stretching the epoxy system reduces local geometrical constraints such as friction between the strands, in consequence longer sampling duration is needed and variations of pressure among replicas are much larger. ( _a_ ) Sampling duration and ( _b_ ) ensemble size. of the predicted _σ_, it may become necessary to increase the _nr_ when simulating at extreme mechanical loads. #### (e) Heterogeneous multiscale method-oriented single-scale model considerations Despite most of the subtleties of the implementation of HMM lying in the homogenization procedure, it is worth commenting on aspects of the single-scale models which can impact the efficiency of the global workflow. (i) Atomic interaction potential parametrization On the atomistic level, the choice of the force field has an important impact on the computational cost of the overall model, and is selected with consideration of the quantities of interest at the continuum level. The main distinction we make here is that between reactive and nonreactive force fields. Depending on the material and the mechanisms we need to capture at the continuum level, one may choose to employ a reactive force field. Reactive force fields, such as ReaxFF [46], EAM [47] and AIREBO [48], enable the topography of covalent bonds to evolve throughout a single simulation of the atomistic model. However, this enhancement comes at the price of important overheads—the authors of the ReaxFF claim an increase of 10–50 times of the computational costs [49]. In a comparison of two simulations of a uniaxially stretched epoxy resin system of approximately 40 000 atoms with a Nosé–Hoover thermostat, one with the nonreactive OPLS force field and the other with ReaxFF, we observed on average a 10-fold increase in the time to compute a single time-step with ReaxFF. Furthermore, the typical OPLS time-step of 1–2 fs needed to be reduced to 0.5 fs to ensure dynamic stability of the simulation with ReaxFF, leading to a 20–40-fold slow down overall. Such significant overheads must be taken into account when designing these multiscale virtual experiments. In the case of thermoset polymers, it is not possible to capture the mechanisms leading to failure of the material without modelling bond breakage, as conformational changes are constrained by the cross-linking. Reactive force fields are therefore necessary and ReaxFF is employed in §4. Conversely, in the case of thermoplastic polymers, failure occurs via disentanglement and sliding of chains. Rupture of bonds may not be the determining factor in such cases. (ii) Continuum model solution algorithm At the level of the continuum model, the time and spatial discretization will naturally influence the computational expense, as it impacts directly _n_ <sup>_t_</sup> md <sup>. However, the choice of solution algorithm</sup> predicted stress _s_ corrected stress initial stiffness updated stiffness ~~11~~ _t_ 0 _t_ 1 _t_ 2 _t_ 3 _t_ 4 _t_ 5 _t_ 6 0 _e_ Figure 7. Solving quasi-static equilibrium of continuum mechanics implies evolving the continuum system using the stiffness matrix _K_ of the associated linearized system of equations; which relies on the initial estimation of _C_ <sup>˜</sup> at equilibrium (blue) or on updated estimations all along the deformation path using the atomistic system (red); reducing the frequency update leads to larger error on the estimation of _u_ in between prediction-correction steps. (Online version in colour.) To predict the displacements of the nodes of the mesh of the continuum model _u_ (thus determining the local strains to be transferred to the atomistic models), the evolution of the continuum system may be handled either quasi-statically (3.3): - ∇ _σ_ _(_ _u_ _)_ = _ρ_ _f_ (3.3) or dynamically (3.4): ∇ _σ_ _(_ _u_ _)_ + _ρ_ _f_ = _ρ_ <sup>_∂_</sup> _∂_ <sup>2</sup> _t_ <sup>_<u>u</u>_</sup> <sup>2</sup> <sup>.</sup> (3.4) These two main options have different requirements with respect to the atomistic system. Solving for static equilibrium involves inverting the relation between external and internal forces of the continuum system. Internal forces can be expressed as a linear function of _u_, and a global stiffness matrix _K_ (3.5): _<u>e</u>_ _u_ <sup>_t_</sup> <sup>+1</sup> = _K_ <sup>−1</sup> <sup>_<u>F</u>_</sup> <sup>_t_</sup> <sup>+1</sup> _<u>e</u>_ - _<u>F</u>_ <sup>_t_</sup> _<u>e</u>_ <sup>_t_</sup> <sup>+1</sup> _<u>e</u>_ <sup>1</sup> (3.5) _�tc_ with _F_ _e_ the external nodal forces applied on the discretized continuum. The global stiffness matrix depends directly on _C_ <sup>˜</sup> of the material in its current state. Unlike the mass properties, _C_ <sup>˜</sup> varies as the atomistic system evolves, and inelastic mechanisms occur such as covalent bond breaking or chain disentanglement. Therefore, the stiffness matrix needs to be recomputed frequently to avoid accumulation of error during the prediction of displacements (figure 7), while the mass matrix _M_ is only assembled once, initially. As discussed in section (3.e.i), the evaluation of _C_ <sup>˜</sup> carries a significant cost, and reducing the frequency of their calculation is essential to the feasibility of the overall simulation. Another potential speed-up is to only compute an approximation of _C_ <sup>˜</sup> derived from the interatomic potential expression omitting the stress fluctuation term [27]. Solving for dynamic equilibrium relies on methods such as the Euler forward or backward schemes. The force balance is expressed as a function of the accelerations _a_, and this relation is then inverted to obtain accelerations (3.6): _t_ +1 1 <sup>_<u>F</u>_</sup> <sup>_t_</sup> _<u>e</u>_ <sup>+1</sup> - _<u>F</u>_ <sup>_t_</sup> _<u>e</u>_ _M_ (3 6) ~~12~~ _H_ _F_ _D_ _a_ _W_ _F_ _G_ cell of interest _s_ _B_ = 20 mm _W_ = 2B _s_ = 0.55 W _H_ = 1.2 W _D_ = 0.25 W _G_ = 1.25 W _a_ = 0.45...0.55 W stress norm 2.6 × 10 <sup>7</sup> 1.1 × 10 <sup>9</sup> 2.2 × 10 <sup>9</sup> 3.3 × 10 <sup>9</sup> 4.4 × 10 <sup>9</sup> Figure 8. The standard ASTM ‘compact-tension’ test set-up dimensions (top, right); vertical eccentric pulling of the holes generatesatensilemechanicalstatelocalizedinthenotchtipasillustratedbythestressfield(∥ _σ_ ∥);themeshofthecontinuum model (in blue, left) is refined in the vicinity of the notch tip; the blue-filled cell (bottom, right) is used for the detailed mechanical analysis in figure 9. (Online version in colour.) In turn, the node velocities _v_ and _u_ are successively derived. The solution algorithm only requires knowledge of the mass properties of the continuum system, which have the benefit of being stationary (due to the zero mass flow condition). The mass matrix of the system, inverted to obtain the nodal accelerations, is built only once during the initialization stages of the simulation, and using the masses of the atomistic systems. Consequently, as part of an HMM, solving dynamic equilibrium is rather more convenient, although several drawbacks persist. For example, the time and space discretization constraints necessary to ensure stability of integration may, in turn, increase the sum of _n_ <sup>_t_</sup> md <sup>.</sup> <sup>Classically,</sup> stability is ensured by enforcing the Courant–Friedrichs–Lewy condition [50] (3.7): _�xc_ _<_ <u>∥</u> _<u>v</u>_ <u>∥</u> _l_ 2. (3.7) _�tc_ ### 4. Prediction of fracture toughness informed by chemical composition Fracture toughness is used here as a classic example of a mechanical property that is of utmost importance to engineers when looking for new structural materials. The evaluation of fracture toughness of a new material is typically performed experimentally by means of what is called a ‘compact-tension’ test following ASTM International Standards [51] (ASTM/E1820). The geometry of the test is specifically designed to trigger the appearance of a single crack in the structure. The dimensions of the compact-tension test specimen are typically of the order of a few centimetres, while the load is applied over a few seconds (figure 8). When considering a chemically specific atomistic description of the material to be characterized, in this case an epoxy resin, the testing set-up to determine the fracture toughness atomic resolution. Fortunately, fracture toughness is defined as the energy required to split a piece of material in two. In all-atom MD studies of fracture properties, the ASTM experimental set-up is often simplified to a uniaxial tension test performed on a cubic specimen a few nanometres long, over a few nanoseconds [28–31]. Leaving aside the limitations of performing such a test over very short time scales, and therefore missing time-dependent mechanisms characteristic at the microsecond scale or above, we focus here on the validity of the simplification of the ASTM compact-tension test as a uniaxial tension test. We compare the local response of the material characterized with the two tension test set-ups. For the compact tension set-up, we focus on a cell located at the notch tip (figure 8). The TGMDA epoxy is used as the material for comparison. In both set-ups, _ϵ_ ˙ _a_ is a chosen set according to the convergence value in figure 5, namely 0.0001 fs <sup>−1</sup> . Similarly, the number of replicas and the stress sampling time are set as prescribed, respectively, in figures 5 _d_ and 5 _c_, that is six replicas and 3 ps. For the simple case of a single-scale atomistic MD simulation, the only non-negligible strain component lies in the direction of loading (figure 9 _a_ ), and residual strains are observed laterally. However, in the HMM case, the deformation of the atomistic model is continuously informed by the evolution of the macroscopic continuum model, i.e. the deformation at the notch tip of the compact tension test (figure 8). A different, complex mechanical state is therefore observed (figure 9 _b_ ) involving bi-axial tension and shearing. These diverging applied strains lead to different apparent responses of the material in the orthogonal direction to the failure plane. The evolutions of the stress–strain relation for the two set-ups are compared in figure 9 _c_ . Both set-ups exhibit the same qualitative features: a short elastic regime followed by yielding, hardening and brittle failure at very large strains. However, quantitatively these inelastic events occur within a shorter strain range in the case of the compact tension test. Correspondingly, the HMM simulation of the compact tension test predicts the apparent fracture energy to be significantly lower. The divergence of strains applied in the two set-ups has additional implications when observing the conformations of the resins at the onset of fracture, as shown in figure 10. The epoxy network under uniaxial tension exhibits localized void growth leading to a single continuous crack, orthogonal to the tension direction (figure 10 _a_ ). Conversely, under the deformation conditions at the notch tip of the compact tension set-up, the observed void growth in the epoxy network is more dispersed (figure 10 _b_ ). The resulting fracture pattern is less clearly defined. One can distinguish two competing cracks, orthogonal to the two tension directions. The HMM captures different local failure mechanisms, which are responsible for the differences in stress– strain behaviour observed above. Appropriately emulating the set-up of the standard testing procedure is therefore indispensible for accurate macroscopic property prediction, and would be difficult to reproduce efficiently without a multiscale approach. Given the importance of accurately determining the local strain evolution through consideration of the broader balance of forces further afield, one might consider integrating the mechanics of the compact tension test using a hierarchical multiscale approach to avoid numerous simulations of the atomistic model. As such, one would miss the opportunity to observe the local mechanisms explaining the response of the material (void growth, in the present case). Additionally, one would require a mechanically accurate and chemically specific set of constitutive equations relating _σ_ and _ϵ_ . Constitutive models, being purely phenomenological and lacking numerical robustness, must often be formulated subject to supplementary constraints. An efficient and physically justified constraint can be to enforce that the constitutive equation be thermodynamically admissible [52]. This requires _σ_ to derive from a convex potential and the dissipated energy to increase monotonically. The need for robustness has significantly limited the complexity of such constitutive models, leaving them only able to reproduce relatively simple mechanisms such as isotropic damage (4.1) [53] or plasticity [54,55]: ~~13~~ _σij_ = (1 − _D_ ) _Eϵij_ ⎫ ⎬ (4.1) ( _a_ ) ( _b_ ) 3.0 2.5 2.0 1.5 1.0 0.5 0 _xx_ _yy_ _zz_ _xy_ _xz_ _yz_ 0 1 2 3 4 5 6 time (×10 <sup>−11</sup> s) ( _c_ ) 30 25 2.0 _xx_ _yy_ 1.5 _zz_ _xy_ _xz_ 1.0 _yz_ ~~14~~ 1.5 1.0 0.5 0 0 10 20 30 40 50 60 time (µs) uniaxial tension compact tension 20 15 10 5 0 0 0.5 1.0 1.5 2.0 2.5 3.0 strain (nm nm <sup>–1</sup> ) Figure9. Theset-upofthetensiontesthassignificantinfluenceonthelocalmechanicalstateattheatomisticscale;inauniaxial tensiontest( _a_ )thecontinuumstraintensorispurelydiagonal;whileinacompacttensiontest( _b_ )thecontinuumstraintensoris rather bi-dimensional comprising tension in two directions and shearing in the same plane; in turn, the constitutive behaviour ( _c_ )inthedirectionoffailure(normaltothecrackplane)displaysdifferentyield,strengthandenergydissipation;theepoxyresin appears much tougher when loaded in a uniaxial tension test. ( _a_ ) Uniaxial tension strain evolution, ( _b_ ) compact tension strain evolution, ( _c_ ) stress–strain relation. with _D_ the scalar damage variable, varying from 0 to 1 and reproducing the level of degradation of the material, and _E_ the Young modulus of the pristine material; ⟨.⟩+ is the positive part of a given matrix, computed as the positive part of the eigenvalues. Figure 9 _b_ illustrates how complex the actual constitutive behaviour can be, and how simple isotropic models would be unsatisfactory. Indeed, constitutive behaviour informed by processes at the atomistic scale would comprise anisotropic yield, hardening and softening. Furthermore, chemical specificity is poorly captured in the constitutive equation due to the difficulty of estimating parameters that often lack direct physical meaning (e.g. the parameters in damage models, which are standard and robust models designed to reproduce fracture in a continuum model). ### 5. Computational workflow Keeping track of inelastic mechanisms requires storage of the (history-dependent) current state of the material at each spatial location. As constitutive behaviour is handled via atomistic simulations, the continuum level need only know the current strain and stress tensors at each _q_ . Conversely, at the atomistic level, the requirements imposed by inelastic mechanics can be ( _a_ ) ( _b_ ) ( _c_ ) 2 nm _x_ _z_ _y_ ~~15~~ Figure 10. Conformations of the epoxy at the onset of fracture under uniaxial tension boundary conditions ( _a_ ) and under compacttensionboundaryconditionsappliedusingtheHMM( _b_ ),andatequilibrium( _c_ )forreference.Thedeformationsapplied in( _a_ )and( _b_ )correspondtothestraintensorsshownin figure9.Theseconfigurationsareobtainedfromthesamereplicaofthe atomisticsystemwhichcontains38 611atoms.Thecarbonatomsappearingrey,thenitrogenatomsinyellow,theoxygenatoms in red and the hydrogen atoms in pink. The two tension set-up displays highly contrasted conformational changes in the final stateoftheatomisticsystem,inparticularvoidgrowthismoredispersedwiththecompacttensionset-up,potentiallyexhibiting two orthogonal crack planes. desired mechanical state, with the exact _ϵ_ ˙ _a_ and following the exact straining trajectory, otherwise different current mechanical state could result. Evolving the atomistic system with a non-arbitrary _ϵ_ ˙ _a_ is expensive, and it rapidly becomes impossible to reach the current mechanical state starting from the initial one. Consequently, the most recent state of the atomistic system computed for each integration point of the continuum model must be stored. This amounts to a significant trade-off between memory and computational cost. The resulting HMM workflow is distributed across many cores and can display significant load-imbalance. The workflow is divided into a single continuum model and multiple atomistic models. At any given time-step, evolving the continuum model is generally far less expensive than evolving one of the many atomistic models (being of the order of 0.1% to 1% of the computational effort). The continuum and atomistic models are evolved alternatively, but the atomistic models themselves are run in parallel, drastically improving the scalability of the method. Nonetheless, there is a highly variable difference in resource requirements between continuum and atomistic simulation phases. This might justify performing the simulation of the continuum model on a separate smaller resource. In turn, we would avoid idleness of a large part of the total allocation when the continuum model is evolved. _n_ <sup>_t_</sup> md <sup>can be assumed to be constant,</sup> but with individual execution times determined by the norm of the applied strain on the atomistic system (which may be zero). As such, efficient scheduling of the many atomistic simulations is non-trivial, and can involve allocating different numbers of cores to different simulations in an attempt to achieve (approximately) equal runtime. This problem could be tackled with the help of resource optimization libraries, which efficiently schedule each atomistic model simulation by taking into consideration queueing time, execution time and energy consumption across ### 6. Conclusion We have described a HMM implementation suited for the study of nonlinear irreversible macroscopic mechanisms and its rigorous testing and application to polymer thermosets. We have discussed in detail the resulting computational workflow and associated numerical tools to solve multiscale problems encompassing atomistic and continuum descriptions of the material. We described an implementation to determine the sampling requirements for homogenization of the material behaviour at the atomistic level and the transfer of the associated information to the continuum level. Via an application to the simulation of the measurement of the fracture properties of an epoxy resin, we illustrate the benefits of the HMM relative to a single-scale atomistic approach. Unlike single-scale or even hierarchical multiscale models, our multiscale approach efficiently handles the complexity induced by the local mechanical behaviour of the material, while integrating the influence of the boundary conditions imposed by the testing set-up at the engineering scale. We have shown a significant quantitative difference in stress– strain response and fracture toughness predicted by a purely single-scale (MD) approach and that predicted by our HMM implementation. Simulated degradation mechanisms, such as void growth, also differ substantially. This demonstrates the necessity of using a concurrent multiscale approach for accurate and chemically specific prediction of mechanical properties at the macroscale. Data accessibility. The HMM workflow developed in the present paper is available on [GitHub: https://github.](https://github.com/mvassaux/DeaLAMMPS) [com/mvassaux/DeaLAMMPS.](https://github.com/mvassaux/DeaLAMMPS) Authors’ contributions. M.V. performed much of the research and implemented the code described herein. R.R. provided assistance with theory and model development, and contributed to the optimized HMM code. P.V.C. initiated the project and supervised the research. All authors contributed to the writing of the manuscript. Competing interests. We declare we have no competing interests. Funding. We acknowledge funding support from the European Union’s Horizon 2020 Research and Innovation [Programme under grant agreement No. 223979 (ComPat project, http://www.compat-project.eu) and under](http://www.compat-project.eu) grant agreement No. 800925 (VECMA project, [http://www.vecma.eu),](http://www.vecma.eu) and from the UK Consortium on Mesoscale Engineering Sciences (UKCOMES, [http://www.ukcomes.org),](http://www.ukcomes.org) EPSRC reference EP/L00030X/1. This research was supported, in part, by PLGrid Infrastructure. Acknowledgements. We acknowledge the Pozna´n Supercomputing and Networking Center for access to the Eagle supercomputer, the Academic Computer Centre CYFRONET AGH in Krakow for access to the Prometheus supercomputer and the Leibniz Supercomputing Centre for providing access to SuperMUC. We also made use of ARCHER, the U.K.’s National High Performance Computing Service, funded by the Office of Science and Technology through the EPSRC’s High-End Computing Programme. ### References 1. Ashby MF. 1987 Technology of the 1990s: advanced materials and predictive design. _Phil._ _Trans. R. Soc. Lond. A_ 322 [, 393–407. (doi:10.1098/rsta.1987.0059)](http://dx.doi.org/doi:10.1098/rsta.1987.0059) 2. Palucka T, Bensaude-Vincent B. 2015 History of composites - overview. See [https://authors.library.caltech.edu/5456/1/hrst.mit.edu/hrs/materials/public/composites/](https://authors.library.caltech.edu/5456/1/hrst.mit.edu/hrs/materials/public/composites/Composites_Overview.htm) [Composites_Overview.htm.](https://authors.library.caltech.edu/5456/1/hrst.mit.edu/hrs/materials/public/composites/Composites_Overview.htm) 3. Olson GB. 1997 Computational design of hierarchically structured materials. _Science_ 277, [1237–1242. (doi:10.1126/science.277.5330.1237)](http://dx.doi.org/doi:10.1126/science.277.5330.1237) 4. Suter JL, Coveney PV, Anderson RL, Greenwell HC, Cliffe S. 2011 Rule based design of clay-swelling inhibitors. _Energy_ _&_ _Environmental_ _Science_ 4, 4572–4586. [(doi:10.1039/C1EE0](http://dx.doi.org/doi:10.1039/C1EE01280K) [1280K)](http://dx.doi.org/doi:10.1039/C1EE01280K) 5. Kolymbas D. 2000 The misery of constitutive modelling. In _Constitutive Modelling of Granular_ _Materials_ [, pp. 11–24. Springer, Berlin, Heidelberg. (doi:10./978-3-642-57018-6)](http://dx.doi.org/doi:10./978-3-642-57018-6) 6. Gooneie A, Schuschnigg S, Holzer C. 2017 A review of multiscale computational methods in polymeric materials. _Polymers_ 9 [, 16. (doi:10.3390/polym9010016)](http://dx.doi.org/doi:10.3390/polym9010016) 7. Curtin WA, Miller RE. 2003 Atomistic-continuum coupling in computational materials ~~16~~ 8. McDowell DL. 2010 A perspective on trends in multiscale plasticity. _Int. J. Plast._ 26, 1280–1309. [(doi:10.1016/j.ijplas.2010.02.008)](http://dx.doi.org/doi:10.1016/j.ijplas.2010.02.008) 9. Zeng QH, Yu AB, Lu GQ. 2008 Multiscale modeling and simulation of polymer nanocomposites. _Prog. Polym. Sci._ 33 [, 191–269. (doi:10.1016/j.progpolymsci.2007.09.002)](http://dx.doi.org/doi:10.1016/j.progpolymsci.2007.09.002) 10. Bouvard JL, Ward DK, Hossain D, Nouranian S, Marin EB, Horstemeyer MF. 2009 Review of hierarchical multiscale modeling to describe the mechanical behavior of amorphous polymers. _J. Eng. Mater. Technol._ 131 [, 041206–1–041206–15. (doi:10.1115/1.3183779)](http://dx.doi.org/doi:10.1115/1.3183779) 11. LLorca J, Gonzalez C, Molina-Aldareguia JM, Segurado J, Seltzer R, Sket F, Rodriguez M, Sadaba S, Munoz R, Canal LP. 2011 Multiscale modeling of composite materials: a roadmap towards virtual testing. _Adv. Mater._ 23 [, 5130–5147. (doi:10.1002/adma.201101683)](http://dx.doi.org/doi:10.1002/adma.201101683) 12. Zohdi TI. 2017 Homogenization Methods and Multiscale Modeling. In _Encyclopedia_ _of_ _Computational_ _Mechanics_, 2nd edn, pp. 1–24. Atlanta, GA: American Cancer Society. [(doi:10.1002/9781119176817.ecm2034)](http://dx.doi.org/doi:10.1002/9781119176817.ecm2034) 13. Chaboche JL, Cailletaud G. 1996 Integration methods for complex plastic constitutive equations. _Comput._ _Methods_ _Appl._ _Mech._ _Eng._ 133, 125–155. [(doi:10.1016/0045-7825(95)](http://dx.doi.org/doi:10.1016/0045-7825%0x2895%0x2900957-4) [00957-4)](http://dx.doi.org/doi:10.1016/0045-7825%0x2895%0x2900957-4) 14. Hou TY, Wu XH. 1997 A multiscale finite element method for elliptic problems in composite materials and porous media. _J. Comput. Phys._ 134 [, 169–189. (doi:10.1006/jcph.1997.5682)](http://dx.doi.org/doi:10.1006/jcph.1997.5682) 15. Weinan E, Engquist B, Huang Z. 2003 Heterogeneous multiscale method: a general methodology for multiscale modeling. _Phys._ _Rev._ _B_ 67, 092101. [(doi:10.1103/PhysRevB.](http://dx.doi.org/doi:10.1103/PhysRevB.67.092101) [67.092101)](http://dx.doi.org/doi:10.1103/PhysRevB.67.092101) 16. Abdulle A, Weinan E, Engquist B, Vanden-Eijnden E. 2012 The heterogeneous multiscale method. _Acta Numer._ 21 [, 1–87. (doi:10.1017/S0962492912000025)](http://dx.doi.org/doi:10.1017/S0962492912000025) 17. Feyel F, Chaboche JL. 2000 FE2 multiscale approach for modelling the elastoviscoplastic behaviour of long fibre SiC/Ti composite materials. _Comput._ _Methods_ _Appl._ _Mech._ _Eng._ 183, [309–330. (doi:10.1016/S0045-7825(99)00224-8)](http://dx.doi.org/doi:10.1016/S0045-7825%0x2899%0x2900224-8) 18. Kouznetsova V, Brekelmans WaM, Baaijens FPT. 2001 An approach to micro-macro modeling of heterogeneous materials. _Comput. Mech._ 27 [, 37–48. (doi:10.1007/s004660000212)](http://dx.doi.org/doi:10.1007/s004660000212) 19. Belytschko T, Song JH. 2010 Coarse-graining of multiscale crack propagation. _Int._ _J._ _Numer._ _Methods Eng._ 81 [, 537–563. (doi:10.1002/nme.2694)](http://dx.doi.org/doi:10.1002/nme.2694) 20. Tadmor EB, Ortiz M, Phillips R. 1996 Quasicontinuum analysis of defects in solids. _Phil. Mag._ _A_ 73 [, 1529–1563. (doi:10.1080/01418619608243000)](http://dx.doi.org/doi:10.1080/01418619608243000) 21. Wagner GJ, Liu WK. 2003 Coupling of atomistic and continuum simulations using a bridging scale decomposition. _J. Comput. Phys._ 190 [, 249–274. (doi:10.1016/S0021-9991(03)00273-0)](http://dx.doi.org/doi:10.1016/S0021-9991%0x2803%0x2900273-0) 22. Alowayyed S, Groen D, Coveney PV, Hoekstra AG. 2017 Multiscale computing in the exascale era. _J. Comput. Sci._ 22 [, 15–25. (doi:10.1016/j.jocs.2017.07.004)](http://dx.doi.org/doi:10.1016/j.jocs.2017.07.004) 23. Alowayyed S, Piontek T, Suter JL, Hoenen O, Groen D, Luk O, Bosak B, Kopta P, Kurowski K, Perks O, Brabazon K, Jancauskas V, Coster D, Coveney PV, Hoekstra AG. 2019 Patterns for high performance multiscale computing. _Future Gener. Comput. Syst._ 91, 335–346. [(doi:10.1016/j.future.2018.08.045)](http://dx.doi.org/doi:10.1016/j.future.2018.08.045) 24. Knap J, Spear C, Leiter K, Becker R, Powell D. 2016 A computational framework for scalebridging in multi-scale simulations. _Int. J. Numer. Methods Eng._ 108 [, 1649–1666. (doi:10.1002/](http://dx.doi.org/doi:10.1002/nme.5270) [nme.5270)](http://dx.doi.org/doi:10.1002/nme.5270) 25. Leiter KW, Barnes BC, Becker R, Knap J. 2018 Accelerated scale-bridging through adaptive surrogate model evaluation. _J._ _Comput._ _Sci._ 27, 91–106. [(doi:10.1016/j.jocs.2018.](http://dx.doi.org/doi:10.1016/j.jocs.2018.04.010) [04.010)](http://dx.doi.org/doi:10.1016/j.jocs.2018.04.010) 26. Roehm D, Pavel RS, Barros K, Rouet-Leduc B, McPherson AL, Germann TC, Junghans C. 2015 Distributed database kriging for adaptive sampling (D2kas). _Comput. Phys. Commun._ 192, [138–147. (doi:10.1016/j.cpc.2015.03.006)](http://dx.doi.org/doi:10.1016/j.cpc.2015.03.006) 27. Ulz MH. 2015 Coupling the finite element method and molecular dynamics in the framework of the heterogeneous multiscale method for quasi-static isothermal problems. _J._ _Mech._ _Phys._ _Solids_ 74 [, 1–18. (doi:10.1016/j.jmps.2014.10.002)](http://dx.doi.org/doi:10.1016/j.jmps.2014.10.002) 28. Meng Z, Bessa MA, Xia W, Kam Liu W, Keten S. 2016 Predicting the Macroscopic fracture energy of epoxy resins from atomistic molecular simulations. _Macromolecules_ 49, 9474–9483. [(doi:10.1021/acs.macromol.6b01508)](http://dx.doi.org/doi:10.1021/acs.macromol.6b01508) 29. Moller JC, Barr SA, Schultz EJ, Breitzman TD, Berry RJ. 2013 Simulation of fracture nucleation in cross linked polymer networks _JOM_ 65 147 167 [(doi:10 1007/s11837](http://dx.doi.org/doi:10.1007/s11837-012-0511-1) 012 0511 1) ~~17~~ 30. Koo B, Subramanian N, Chattopadhyay A. 2016 Molecular dynamics study of brittle fracture in epoxy-based thermoset polymer. _Compos._ _B_ _Eng._ 95, 433–439. [(doi:10.1016/j.compositesb.](http://dx.doi.org/doi:10.1016/j.compositesb.2016.04.012) [2016.04.012)](http://dx.doi.org/doi:10.1016/j.compositesb.2016.04.012) 31. Odegard GM, Jensen BD, Gowtham S, Wu J, He J, Zhang Z. 2014 Predicting mechanical response of crosslinked epoxy using ReaxFF. _Chem._ _Phys._ _Lett._ 591, 175–178. [(doi:10.1016/](http://dx.doi.org/doi:10.1016/j.cplett.2013.11.036) [j.cplett.2013.11.036)](http://dx.doi.org/doi:10.1016/j.cplett.2013.11.036) 32. Plimpton S. 1995 Fast parallel algorithms for short-range molecular dynamics. _J. Comput. Phys._ 117 [, 1–19. (doi:10.1006/jcph.1995.1039)](http://dx.doi.org/doi:10.1006/jcph.1995.1039) 33. Bangerth W, Hartmann R, Kanschat G. 2007 Deal.II–a general-purpose object-oriented finite element library. _ACM Trans. Math. Softw._ 33 [, 24–20. (doi:10.1145/1268776.1268779)](http://dx.doi.org/doi:10.1145/1268776.1268779) 34. Zienkiewicz OC, Taylor RL. 1977 _The finite element method_, vol. 36. London, UK: McGraw-Hill. 35. Leach AR 2001. _Molecular_ _modelling:_ _principles_ _and_ _applications_ . London, UK: Pearson Education. 36. Vu-Bac N, Bessa MA, Rabczuk T, Liu WK. 2015 A multiscale model for the quasi-static thermo-plastic behavior of highly cross-linked glassy polymers. _Macromolecules_ 48, 6713–6723. [(doi:10.1021/acs.macromol.5b01236)](http://dx.doi.org/doi:10.1021/acs.macromol.5b01236) 37. Suter JL, Groen D, Coveney PV. 2015 Chemically specific multiscale modeling of clay-polymer nanocomposites reveals intercalation dynamics, tactoid self-assembly and emergent materials properties. _Adv. Mater._ 27 [, 966–984. (doi:10.1002/adma.201403361)](http://dx.doi.org/doi:10.1002/adma.201403361) 38. Weinan E, Ren W, Vanden-Eijnden E. 2009 A general strategy for designing seamless multiscale methods. _J. Comput. Phys._ 228 [, 5437–5453. (doi:10.1016/j.jcp.2009.04.030)](http://dx.doi.org/doi:10.1016/j.jcp.2009.04.030) 39. Lockerby DA, Duque-Daza CA, Borg MK, Reese JM. 2013 Time-step coupling for hybrid simulations of multiscale flows. _J._ _Comput._ _Phys._ 237, 344–365. [(doi:10.1016/j.jcp.2012.](http://dx.doi.org/doi:10.1016/j.jcp.2012.11.032) [11.032)](http://dx.doi.org/doi:10.1016/j.jcp.2012.11.032) 40. Weinhart T, Thornton AR, Luding S, Bokhove O. 2012 From discrete particles to continuum fields near a boundary. _Granular Matter_ 14 [, 289–294. (doi:10.1007/s10035-012-0317-4)](http://dx.doi.org/doi:10.1007/s10035-012-0317-4) 41. Tong Q, Li S. 2015 From molecular systems to continuum solids: a multiscale structure and dynamics. _J. Chem. Phys._ 143 [, . (doi:10.1063/1.4927656)](http://dx.doi.org/doi:10.1063/1.4927656) 42. Barnes BC, Leiter KW, Becker R, Knap J, Brennan JK. 2017 LAMMPS integrated materials engine (LIME) for efficient automation of particle-based simulations: application to equation of state generation. _Model._ _Simul._ _Mater._ _Sci._ _Eng._ 25, 055006. [(doi:10.1088/1361-651X/](http://dx.doi.org/doi:10.1088/1361-651X/aa6e36) [aa6e36)](http://dx.doi.org/doi:10.1088/1361-651X/aa6e36) 43. Weinhart T, Tunuguntla DR, Schrojenstein-Lantman MPv, Horn AJvd, Denissen IFC, Windows-Yule CR, Jong ACd, Thornton AR. 2016 MercuryDPM: A Fast and Flexible Particle Solver Part A: Technical Advances. In _Proceedings_ _of_ _the_ _7th_ _International_ _Conference_ _on_ _Discrete Element Methods_, Springer Proceedings in Physics, pp. 1353–1360. Singapore: Springer. [(doi:10.1007/978-981-10-1926-5_139)](http://dx.doi.org/doi:10.1007/978-981-10-1926-5_139) 44. Wright DW, Hall BA, Kenway OA, Jha S, Coveney PV. 2014 Computing clinically relevant binding free energies of HIV-1 protease inhibitors. _J._ _Chem._ _Theory_ _Comput._ 10, 1228–1241. [(doi:10.1021/ct4007037)](http://dx.doi.org/doi:10.1021/ct4007037) 45. Coveney PV, Wan S. 2016 On the calculation of equilibrium thermodynamic properties from molecular dynamics. _Phys._ _Chem._ _Chem._ _Phys._ 18, 30 236–30 240. [(doi:10.1039/C6CP0](http://dx.doi.org/doi:10.1039/C6CP02349E) [2349E)](http://dx.doi.org/doi:10.1039/C6CP02349E) 46. Aktulga HM, Fogarty JC, Pandit SA, Grama AY. 2012 Parallel reactive molecular dynamics: numerical methods and algorithmic techniques. _Parallel_ _Comput._ 38, 245–259. [(doi:10.1016/j.](http://dx.doi.org/doi:10.1016/j.parco.2011.08.005) [parco.2011.08.005)](http://dx.doi.org/doi:10.1016/j.parco.2011.08.005) 47. Daw MS, Baskes MI. 1984 Embedded-atom method: derivation and application to impurities, surfaces, and other defects in metals. _Phys._ _Rev._ _B_ 29, 6443–6453. [(doi:10.1103/Phys](http://dx.doi.org/doi:10.1103/PhysRevB.29.6443) [RevB.29.6443)](http://dx.doi.org/doi:10.1103/PhysRevB.29.6443) 48. Stuart SJ, Tutein AB, Harrison JA. 2000 A reactive potential for hydrocarbons with intermolecular interactions. _J. Chem. Phys._ 112 [, 6472–6486. (doi:10.1063/1.481208)](http://dx.doi.org/doi:10.1063/1.481208) 49. Liu L, Liu Y, Zybin SV, Sun H, Goddard WA. 2011 ReaxFF-lg: correction of the reaxff reactive force field for London dispersion, with applications to the equations of state for energetic materials. _J. Phys. Chem. A_ 115 [, 11 016–11 022. (doi:10.1021/jp201599t)](http://dx.doi.org/doi:10.1021/jp201599t) 50. Courant R, Friedrichs K, Lewy H. 1928 Uber die partiellen differenzengleichungen der mathematischen Physik. _Mathematische Annalen_ 100 [, 32–74. (doi:10.1007/BF01448839)](http://dx.doi.org/doi:10.1007/BF01448839) 51 2016 Standard Test Method for Short Beam Strength of Polymer Matrix Composite Materials ~~18~~ 52. Germain P, Nguyen QS, Suquet P. 1983 Continuum Thermodynamics. _J. Appl. Mech._ 50, 1010– [1020. (doi:10.1115/1.3167184)](http://dx.doi.org/doi:10.1115/1.3167184) 53. Lemaitre J. 1985 A continuous damage mechanics model for ductile fracture. _J._ _Eng._ _Mater._ _Technol._ 107 [, 83–89. (doi:10.1115/1.3225775)](http://dx.doi.org/doi:10.1115/1.3225775) 54. Nikolov S, Doghri I. 2000 A micro-macro constitutive model for the small-deformation behavior of polyethylene. _Polymer_ 41 [, 1883–1891. (doi:10.1016/S0032-3861(99)00330-4)](http://dx.doi.org/doi:10.1016/S0032-3861%0x2899%0x2900330-4) 55. Krairi A, Doghri I. 2014 A thermodynamically-based constitutive model for thermoplastic polymers coupling viscoelasticity, viscoplasticity and ductile damage. _Int. J. Plast._ 60, 163–181. [(doi:10.1016/j.ijplas.2014.04.010)](http://dx.doi.org/doi:10.1016/j.ijplas.2014.04.010) ### Glossary _Da_ spatial length of an atomistic system. _D_ scalar damage variable of an isotropic damage constitutive law. _E_ Young modulus as defined by Hooke’s law. _N_ <sup>_a_</sup> number of particles in the atomistic model. _Ta_ time duration of an atomistic model simulation. _T_ ensemble temperature of the atomistic system. _U_ ensemble potential energy of the atomistic system. _Va_ volume of an atomistic system. _�tc_ time duration of a time-step of continuum model incremental solution algorithm. _�xc_ spatial length of a finite-element cell of the mesh of the continuum model. _F_ _e_ external forces of the nodes of the mesh of the continuum model. _R_ ( _t_ ) a stationary Gaussian process with a zero time average introduced by ~~19~~ Langevin dynamics. _a_ accelerations of the nodes of the mesh of the continuum model. _f_ <sup>_a_</sup> _i_ force vector of the particles in the atomistic model. _f_ <sup>_a_</sup> _i_ force vector of the particles in the atomistic model. _f_ local volumic forces applied to the continuum system. _r_ <sup>_a_</sup> _i_ displacement vector of the particles in the atomistic model. _r_ <sup>_a_</sup> _i_ displacement vector of the particles in the atomistic model. _u_ displacements of the nodes of the mesh of the continuum model. _v_ velocities of the nodes of the mesh of the continuum model. _x_ positions of the nodes of the mesh of the continuum model. _ϵ_ infinitesimal strain tensor. _σ_ Cauchy stress tensor. _ϵ_ ˙ _a_ norm of the strain rate tensor of the atomistic system. _ϵ_ ˙ _c_ norm of the strain rate tensor of the continuum system. _γ_ damping parameter introduced by Langevin dynamics. _K_ global stiffness of the finite-element mesh of the continuum model. _M_ global mass of the finite-element mesh of the continuum model. _ρ_ local density of the continuum system. _τa_ characteristic time of the atomistic system. _C_ ˜ tangent (or instantaneous) fourth-order stiffness tensor. _gt_ scale separation computational gain in time. _gx_ scale separation computational gain in space. _kB_ Boltzmann constant. _la_ characteristic length of the atomistic system. _m_ <sup>_a_</sup> _i_ masses of the particles in the atomistic model. _m_ <sup>_a_</sup> _i_ masses of the particles in the atomistic model. _nr_ number of replicas of the atomistic system. _n_ <sup>_t_</sup> _md_ number of atomistic simulations at a given time-step <sup>_t_</sup> _md_ number of atomistic simulations at a given time-step _t_ . _q_ quadrature/integration points of the mesh of the continuum model. _vk_ <sup>_a_</sup>, _i_ velocities of the particles in the atomistic model. FEM finite-element method. HMM heterogeneous multiscale method. MD molecular dynamics. TGMDA tetraglycidyl methylene dianiline. ~~20~~

섹션 본문 52문단 · 40,560자

(제목 없음)

1One contribution of 11 to a theme issue 'Multiscale modelling, simulation and computing: from the desktop to the exascale' .Subject Areas:computational biology, computational physics, computer modelling and simulation

2Mechanisms emerging across multiple scales are ubiquitous in physics and methods designed to investigate them are becoming essential. The heterogeneous multiscale method (HMM) is one of these, concurrently simulating the different scales while keeping them separate. Owing to the significant computational expense, developments of HMM remain mostly theoretical and applications to physical problems are scarce. However, HMM is highly scalable and is well suited for high performance computing. With the wide availability of multipetaflop infrastructures, HMM applications are becoming practical. Rare applications to mechanics of materials at low loading amplitudes exist, but are generally confined to the elastic regime. Beyond that, where history-dependent, irreversible or nonlinear mechanisms occur, not only computational cost but also data management issues arise. The micro-scale description loses generality, developing a specific microstructure based on the deformation history, which implies inter alia that as many microscopic models as discrete locations in the macroscopic description must be simulated and stored. Here, we present a detailed description of the application of HMM to inelastic mechanics of materials, with emphasis on the efficiency and accuracy of the scale-bridging methodology. The method is well suited to the estimation of macroscopic properties of polymers (and derived nanocomposites) starting from knowledge of their atomistic chemical structure. Through application of the resulting workflow 2019 The Authors. Published by the Royal Society under the terms of the Creative Commons Attribution License http://creativecommons.org/licenses/ by/4.0/, which permits unrestricted use, provided the original author and source are credited.

Introduction

3The design and manufacture of advanced multifunctional materials remains a slow, uncertain, expensive and time-consuming process. The current approach, largely unchanged in decades, consists of an extensive trial-and-error process followed by testing and certification. This process typically takes around 20 years from concept to commercial implementation [1,2]. Computational models offer, in principle, a serious alternative due to their ability to perform parametric studies with high efficiency [3,4]. Yet, applicable models still suffer from major drawbacks in terms of accuracy, chemical specificity and reliability [5,6]. Effective integration within the design process requires computational models to be certified via appropriate validation and verification, and the results rendered actionable via uncertainty quantification.

4The macroscopic mechanics of solids are highly dependent on structural detail found at each scale, from the electronic organization at the quantum mechanical level through to the geometry of the sample at the macroscopic scale. Attempts to estimate macroscopic mechanical properties using a single model at nanoscopic resolution are quickly rendered intractable by the astronomical computational cost or limited by unrealistic test set-ups involving, for example, microscopic material samples or simplistic uniaxial tests. Scale-bridging approaches become essential [7,8].

5To render such simulations tractable, so-called hierarchical multiscale models make use of a loosely coupled scheme in which continuum-level constitutive equations are parametrized beforehand using lower-level molecular or coarse-grained simulations [9][10][11][12]. However, in trying to reproduce the wide variety of lower-scale mechanisms occurring, these empirically formulated constitutive equations suffer vast increases in complexity, becoming ill-defined and difficult to integrate [5,13]. As a consequence, the constitutive equations are reduced to a massively simplified description of the true behaviour of the material, potentially missing out important phenomena that appear under non-trivial mechanical states at the microscopic level.

6As a (partial) remedy to these problems, computational schemes have been developed that seamlessly couple multiple scales in a semi-concurrent fashion, implemented through the heterogeneous multiscale method (HMM) [14][15][16]. A similar scheme built on two finite-element models is the finite-element squared (FE2) method [17,18]. The scheme has been classified as semi-concurrent [19] because the multiple models are run in parallel but solved separately, in contradistinction to concurrent methods which embed a discrete and a continuum description within a single system [20,21]. HMM and other semi-concurrent methodologies have the benefit of being extremely scalable, as the lower-scale models are independent of each other and can therefore be simulated in parallel. For example, one may perform thousands of molecular dynamics (MD) simulations (representing the lower-scale system) simultaneously coordinated by an upper-scale model.

7Owing to the increases in the computational power and parallelism available on the biggest supercomputers, as well as sophisticated computational workflows [22,23], such computational methods that were unrealistic only a few years ago may now be used to assess the mechanical properties of solids in an engineering context, while retaining atomistic-level chemical specificity. Nevertheless, implementations of HMM bridging such scales [24][25][26][27] are rare and have, to date, been limited to elastic mechanics. We propose here modifications to the standard HMM implementation to capture history-dependent mechanical behaviour, including nonlinear and irreversible mechanisms. In an attempt to analyse or predict mechanical properties related to failure, fatigue, energy dissipation (and many other situations), capturing these inelastic mechanisms is of the utmost importance. We present these enhancements to the HMM workflow with emphasis on data transfer between scales and data management of single-scale models. We then demonstrate the benefits of such an approach to the quantification of macroscopic mechanical properties, such as toughness, as opposed to those derived from single-scale atomistic approaches (e.g. [28][29][30][31]).

8The developments presented here are applied to the two-scale modelling of thermoset polymers, relying on a MD [32] description of the material at the lower, atomistic scale and a finite-element method (FEM) [33,34] description at the upper, continuum scale. We explore in detail the consequences of solving inelastic mechanics on the simulation of the atomistic model.

Single-scale models

9The two single-scale models are orchestrated in a cyclic dynamic fashion (figure 1). Each iteration (time-step) of the continuum model requires the parallel execution of a large number of atomisticlevel models n t md with variable execution time. The atomistic models are simulated using all-atom MD [35], a method that integrates Newton's equations of motion (2.1) for a system of individually resolved atoms:

10with r a i the displacements of the atom i, U the potential energy of the thermodynamic ensemble, m a i the mass of the atom i of the atomic model. In the present case, for temperature control, stochastic equations of Langevin dynamics (2.2) are solved:

11with γ a damping parameter, T the temperature of the thermodynamic ensemble, k B the Boltzmann constant and R(t) a stationary Gaussian process with a zero time average. The degrees of freedom of the atomistic system r a i are the displacements of the particles representing the atoms, subject to constraints imposed by the molecular structure. We simulate the system as a canonical ensemble (NVT), which conserves the number of atoms (N), and fixes the volume (V) and temperature (T) of the system. The atomistic model is initialized in its most recent configuration of atoms. As we deal with inelastic mechanics, the system cannot be started from an equilibrium configuration, as the history must be preserved. Updating the atomistic mechanical state is performed by deforming the system box according to the strain tensor provided by the continuum model. The volume is varied by applying a constant strain rate˙ a on the system, which is chosen as a function of the characteristic relaxation time τ a of the material (this will be the object of further discussion in the following sections). As a result, the number of time-steps to perform in each atomistic model simulation will, in general, be directly proportional to the amplitude of the applied deformation (the length of time-step being constant). Coarse-grained MD is not considered in the present study, as the process of coarsegraining the atomistic system requires recent parametrization techniques to capture mechanisms of interest such as fracture [36]. However, all-atom MD models could easily be replaced by coarsegrained ones.

12The continuum system is discretized using a generally unstructured mesh on which the FEM is used to solve the linear momentum conservation equation for a locally homogeneous solid (2.3):

13with ρ the density of the continuum and f the volumetric forces. Boundary conditions are applied on the position of nodes of the mesh of the model x, namely the nodal displacements or on the nodal forces. The system is parametrized by the local strains (represented by the second-order tensors) or the local stresses. Classically, the strains and stresses are linked by means of constitutive equations, but in the present case that relation is established via the response of atomistic models.

Scale-bridging for inelastic mechanics

14The cornerstone of the proposed work relies on a scale-bridging strategy that benefits from the separation of time and spatial scales. Moreover, the proposed strategy includes efficient management of the data exchanged between the single-scale models and a tunable sampling methodology for the atomistic simulations.

(a) Separation of scales

15Scale separation is a fundamental criterion for the applicability of HMM, allowing the mechanics of the atomistic scale (at a given time and location within the continuum model) to be analysed at greatly reduced cost [37].

16In spatial terms, it is not necessary to compute over the entire volume of the associated finite-element cell, but rather over a greatly reduced subset of that, corresponding to the scale over which the system can be treated as effectively homogeneous. Equivalently, these are the dimensions for which the volume simulated is far greater than the largest heterogeneous feature at that scale. Boundary conditions are commonly applied to this reduced system, enforcing this assumption of infinite replicability. In polymer systems, the dimension of the largest heterogeneity relates to the entanglement length in the case of thermoplastics, and to the distance between cross-links in the case of thermosets. The required dimensions for a simulation of thermosets are therefore far smaller in general than those required in the case of thermoplastic polymers. An indirect consequence of the spatial scale separation is that the volume of the continuum system is simulated by many independent atomistic models. These simulations are coordinated at each iteration of the continuum model. As a result, the overall simulation workflow is highly scalable, as all the atomistic model simulations required at a given time-step can be performed in parallel and independently (figures 2 and 3). Similarly, with regard to separation of time scales, the atomistic dynamics does not need to be simulated for the length of an entire time-step of the macroscale (continuum) model, but rather only until the system relaxes and the stress tensor becomes stationary on average . As a direct consequence of considering inelastic mechanics, the time τ a to reach a relaxed state may become large, especially for viscoelastic materials such as polymers, even at small scales. Once again, the type of polymer will influence greatly the time to reach convergence. The introduction of cross-links greatly impedes long, diffusive mechanisms such as reptation, thereby accelerating the relaxation. The strain rate is usually the prevailing factor in the case of polymer mechanics.

17c is necessarily not preserved through the atomistic models, but convergence of the constitutive behaviour (that is the stress-strain relationship) to the quasi-static case can be found at relatively high˙ a . Figure 3. Comparison of the structure of (a) a thermoplastic and (b) a thermoset polymer; for a given polymer chain, the process of cross-linking reduces the atomistic characteristic length l a of the system from the entanglement length to the distance between two cross-links, and largely inhibits the sliding of chains past each other (by a reptation mechanism) therefore reducing relaxation time (based on the illustration by Henderson C., 2015, CC0). The constitutive behaviour of (c) short-chain polyethylene, a thermoplastic polymer, and (d) TGMDA epoxy, a thermoset polymer, for different strain rates˙ a ; decreasing the strain rate˙ a ceases to have an influence comparatively earlier for epoxy resin than for polyethylene, convergence of the behaviour appearing to be hardly reached for polyethylene in the range of test strain rates. (a) Polyethylene reptation length, (b) epoxy cross-link distance, (c) polyethylene uniaxial behaviour and (d) epoxy uniaxial behaviour.

18The equations (3.1) illustrate the constraints on the time T a and spatial D a dimensions over which to simulate the atomistic system, depending on the relaxation time τ a and size of heterogeneities l a at the atomistic scale:

19They also define the computational reduction in time g t and space g x with respect to the atomistic dimensions T a and D a , and the continuum scale time t c and spatial x c increments.

20It is through the concept of separation of scales that the HMM scheme achieves a major reduction in computational cost. With regard to simulating the whole volume of the continuum system at an atomic resolution (both in time and in space), the computations are reduced twofold. First, the reduction in time is on the order of the ratio of the relaxation time of the atomistic system to the time-step of the continuum model. And second, the reduction in space is on the order of the ratio of the characteristic length of the heterogeneities in the atomistic system to the spatial discretization length of the continuum model. The only overhead incurred by the HMM is then the simulation of the continuum model over an overlapping spatio-temporal domain. But the cost of the simulation of the continuum model is negligible compared to the cost of the many atomistic models; therefore, this is never a limitation of HMM.

(b) Data management

21In this two-level scheme, the upper and lower scales evolve separately but must exchange information on a regular basis. Any given point in the continuum model has its own, local mechanical history, necessitating (in general) a unique instance (or set of instances) of the atomistic model representing the molecular-level mechanics associated with that region. This prevents the reconstruction of the atomistic system in the current mechanical state every time an atomistic model needs to be simulated [38,39]. In the finite-element discretization of this continuum, these points correspond to the quadrature points q in each finite element. The local mechanical states may exhibit irreversible and nonlinear behaviour (such as cracking or plastic deformation) necessitating the local state to persist between successive simulations at a given location. This means the most recent configuration of atoms must be stored for each q, so that it may be used as the starting point for any future atomistic simulations required during evolution of the continuum model. As the continuum model algorithm is incremental in time, we avoid the need to store the complete configurational history of each atomistic model, instead only retaining the mechanical state at the end of the most recent step.

22The combined effect of this is that the atomistic models simulate essentially continuous trajectories, but under varying boundary conditions determined by solving the balance of forces at the continuum level.

(c) Data transfer across scales

23Now to be more explicit, what we have so far referred to as the 'mechanical state' can be described via two standard variables of continuum mechanics: the infinitesimal strain and the Cauchy stress σ tensors. These variables constitute the sole information to be transferred between the two scales. In our implementation, is used as the input to the atomistic simulation, engendering a deformation to the new state (figure 4). The resulting change in pressure, and more specifically the virial form of σ (3.2) is then communicated back to the continuum model so that the balance of forces can be computed from the integral of σ over the whole continuum volume. Through this cyclic coupling, the time evolution of both the continuum and atomistic scale models is linked.

24The virial form of σ (3.2):

25is defined as the sum of the time-average of a kinetic term which is a function of the mass m a i of the particle i and the velocity v a k,i of the particle i in direction k and the time-average of a potential term which is a function of the position r a i and the exerted force f a i on the particle i of the N a particles of the atomistic system of volume V a .

26To simplify the exchange of information between the scales, we have made a few assumptions. As we apply a thermostat at the atomistic scale, the temperature is controlled and constant throughout the simulation; thus the effect of temperature gradients at the continuum scale is not included. In short, we assume that the atomistic description is always at local equilibrium. In the case of large inelastic deformations, this could become an issue, as heat is released due to friction or bond dissociation mechanisms. This effect could be mitigated by testing set-up characteristics, such as structures with limited bulk. Extending the current continuum model to account for complete thermodynamics could be a viable option because of the very small computational cost of macroscale versus micro-scale simulations. Also, there is no mass flow in our model, meaning the mass in each finite-element cell is conserved (and is constant at each q), hence the number of atoms is constant in each atomistic model. Indeed, the rate of deformation of the finite-element cells is assumed to be much slower than the time needed to relax the atomistic simulations. Consequently, we do not enforce that˙ a be equal to˙ c , and allow both scales to evolve on their own time scales. In the case of a much greater˙ c , with the finite-element cell deforming faster than τ a , then this assumption would need to be revisited. It is relatively trivial to communicate at a given quadrature point to the corresponding atomistic model via a boundary condition ( is an internal variable of the continuum model). However, the reverse coupling-transferring the resultant σ back up to the continuum model-is a more complicated task (and is described below). The stress sampling method employed is an average of the mechanical state over the whole atomistic system (see equation (3.2)). In turn, such a method is less sensitive to fluctuations and therefore converges rapidly. However, it enforces homogeneity on the sampled stress state. More sophisticated and tightly coupled techniques exist for bridging from discrete to continuum medium [40,41] which capture stress heterogeneity and avoid spurious stress reflection although they suffer from the requirement of much greater computational costs compared to HMM.

27The desired deformation (corresponding to obtained from the upper model) is applied to the atomistic system via a gradual affine transformation of r a i (option 'remap x' in LAMMPS). This is performed such that the increment of strain applied during the evolution of the atomistic model matches the largest˙ a possible while enabling the system to remain relaxed. That is to say, a is sufficiently small such that the deformation is applied over a period far longer than τ a . τ a is expected to be orders of magnitude smaller than t c , in order for the assumption of the separation of scales to be valid, therefore˙ a is generally much larger than˙ c .

(d) Sampling the stress tensor

28The stress tensor σ at a given location in the continuum model is derived from the atomistic model. Unlike in the case of the strain tensor , σ is not an internal variable of the atomistic model, and a homogenization procedure must therefore be performed on the virial (3.2). Owing to fluctuations in the motion of the atoms, this homogenization procedure must be performed not only across space, but also across time. σ is computed once the system has become stationary following its deformation. Fixed dimensions, number of atoms and temperature (i.e. the use of the NVT ensemble in LAMMPS) are applied throughout the homogenization procedure. Spatial homogenization is performed over the entire sample , assuming it is free of finite-size effects and simulated using periodic boundary conditions. Time homogenization (or sampling), however, is a more arbitrary procedure. There exist many approaches in the literature on this subject [42,43]. Ideally, one would allow the atomistic system to evolve under the given constraints (NVT) for a sufficiently long time such that all the possible configurations are observed. To render this computationally tractable, we choose to perform an ensemble averaging of the σ over a shorter period of time [44,45]. Instead of running a single simulation per q, we instead run several replicas, and perform time averaging on each of them for a period proportional to the autocorrelation length of the system's pressure.

29To completely define the homogenization procedure, we must now determine the appropriate number of replicas n r to simulate and the duration (as a function of the autocorrelation length) over which to average. This is determined by observing the evolution of the uncertainty (95% confidence interval) on the homogenized pressure (i) in a single replica, to determine the optimal duration of sampling (figure 5c), and given this optimal duration (ii) in an ensemble of replicas, to determine the optimal n r (figure 5d). We adapt these two parameters to reach a sufficient accuracy. The confidence interval appears to reduce as a power law of the sampling duration and n r . To select the optimal trade-off between accuracy and computational cost, we choose values corresponding to the point of maximum curvature of the power laws, beyond which we consider that the gain in accuracy is not worth the increase of cost of computation (in particular with regard to the n r ).

30The homogenization procedure is performed for different mechanical states ( figure 6). Axial deformations of 10% and 50% described above are applied to the tetra-functional epoxy system and compared with the same system at equilibrium (0% deformation). As the system is stretched, the duration of sampling can be slightly longer. Up to 50%, the deformation reorganizes the polymer structure in a looser way, growing voids and reducing friction, with geometrical constraints becoming weaker. Also, the number of replicas n r needed to reach a given confidence interval increases drastically. At high strains, mechanical instabilities can cause large differences in the response of different replicas to an identical mechanical state. To ensure a certain accuracy of the predicted σ , it may become necessary to increase the n r when simulating at extreme mechanical loads.

(e) Heterogeneous multiscale method-oriented single-scale model considerations

31Despite most of the subtleties of the implementation of HMM lying in the homogenization procedure, it is worth commenting on aspects of the single-scale models which can impact the efficiency of the global workflow.

(i) Atomic interaction potential parametrization

32On the atomistic level, the choice of the force field has an important impact on the computational cost of the overall model, and is selected with consideration of the quantities of interest at the continuum level. The main distinction we make here is that between reactive and nonreactive force fields. Depending on the material and the mechanisms we need to capture at the continuum level, one may choose to employ a reactive force field. Reactive force fields, such as ReaxFF [46], EAM [47] and AIREBO [48], enable the topography of covalent bonds to evolve throughout a single simulation of the atomistic model. However, this enhancement comes at the price of important overheads-the authors of the ReaxFF claim an increase of 10-50 times of the computational costs [49]. In a comparison of two simulations of a uniaxially stretched epoxy resin system of approximately 40 000 atoms with a Nosé-Hoover thermostat, one with the nonreactive OPLS force field and the other with ReaxFF, we observed on average a 10-fold increase in the time to compute a single time-step with ReaxFF. Furthermore, the typical OPLS time-step of 1-2 fs needed to be reduced to 0.5 fs to ensure dynamic stability of the simulation with ReaxFF, leading to a 20-40-fold slow down overall. Such significant overheads must be taken into account when designing these multiscale virtual experiments.

33In the case of thermoset polymers, it is not possible to capture the mechanisms leading to failure of the material without modelling bond breakage, as conformational changes are constrained by the cross-linking. Reactive force fields are therefore necessary and ReaxFF is employed in §4. Conversely, in the case of thermoplastic polymers, failure occurs via disentanglement and sliding of chains. Rupture of bonds may not be the determining factor in such cases.

(ii) Continuum model solution algorithm

34At the level of the continuum model, the time and spatial discretization will naturally influence the computational expense, as it impacts directly n t md . However, the choice of solution algorithm also plays a determining, though more intricate, role.

35predicted stress corrected stress s e Figure 7. Solving quasi-static equilibrium of continuum mechanics implies evolving the continuum system using the stiffness matrix K of the associated linearized system of equations; which relies on the initial estimation ofC at equilibrium (blue) or on updated estimations all along the deformation path using the atomistic system (red); reducing the frequency update leads to larger error on the estimation of u in between prediction-correction steps. (Online version in colour.)

36To predict the displacements of the nodes of the mesh of the continuum model u (thus determining the local strains to be transferred to the atomistic models), the evolution of the continuum system may be handled either quasi-statically (3.3):

37− ∇σ (u) = ρf (3.3) or dynamically (3.4):

38These two main options have different requirements with respect to the atomistic system. Solving for static equilibrium involves inverting the relation between external and internal forces of the continuum system. Internal forces can be expressed as a linear function of u, and a global stiffness matrix K (3.5):

39with F e the external nodal forces applied on the discretized continuum. The global stiffness matrix depends directly onC of the material in its current state. Unlike the mass properties,C varies as the atomistic system evolves, and inelastic mechanisms occur such as covalent bond breaking or chain disentanglement. Therefore, the stiffness matrix needs to be recomputed frequently to avoid accumulation of error during the prediction of displacements (figure 7), while the mass matrix M is only assembled once, initially. As discussed in section (3.e.i), the evaluation ofC carries a significant cost, and reducing the frequency of their calculation is essential to the feasibility of the overall simulation. Another potential speed-up is to only compute an approximation ofC derived from the interatomic potential expression omitting the stress fluctuation term [27].

40Solving for dynamic equilibrium relies on methods such as the Euler forward or backward schemes. The force balance is expressed as a function of the accelerations a, and this relation is then inverted to obtain accelerations (3.6): In turn, the node velocities v and u are successively derived. The solution algorithm only requires knowledge of the mass properties of the continuum system, which have the benefit of being stationary (due to the zero mass flow condition). The mass matrix of the system, inverted to obtain the nodal accelerations, is built only once during the initialization stages of the simulation, and using the masses of the atomistic systems.

41Consequently, as part of an HMM, solving dynamic equilibrium is rather more convenient, although several drawbacks persist. For example, the time and space discretization constraints necessary to ensure stability of integration may, in turn, increase the sum of n t md . Classically, stability is ensured by enforcing the Courant-Friedrichs-Lewy condition [50] (3.7):

Prediction of fracture toughness informed by chemical composition

42Fracture toughness is used here as a classic example of a mechanical property that is of utmost importance to engineers when looking for new structural materials. The evaluation of fracture toughness of a new material is typically performed experimentally by means of what is called a 'compact-tension' test following ASTM International Standards [51] (ASTM/E1820). The geometry of the test is specifically designed to trigger the appearance of a single crack in the structure. The dimensions of the compact-tension test specimen are typically of the order of a few centimetres, while the load is applied over a few seconds ( figure 8).

43When considering a chemically specific atomistic description of the material to be characterized, in this case an epoxy resin, the testing set-up to determine the fracture toughness must be simplified as the time and space dimensions of the ASTM test cannot be computed at atomic resolution. Fortunately, fracture toughness is defined as the energy required to split a piece of material in two. In all-atom MD studies of fracture properties, the ASTM experimental set-up is often simplified to a uniaxial tension test performed on a cubic specimen a few nanometres long, over a few nanoseconds [28][29][30][31]. Leaving aside the limitations of performing such a test over very short time scales, and therefore missing time-dependent mechanisms characteristic at the microsecond scale or above, we focus here on the validity of the simplification of the ASTM compact-tension test as a uniaxial tension test. We compare the local response of the material characterized with the two tension test set-ups. For the compact tension set-up, we focus on a cell located at the notch tip ( figure 8). The TGMDA epoxy is used as the material for comparison. In both set-ups,˙ a is a chosen set according to the convergence value in figure 5, namely 0.0001 fs −1 . Similarly, the number of replicas and the stress sampling time are set as prescribed, respectively, in figures 5d and 5c, that is six replicas and 3 ps.

44For the simple case of a single-scale atomistic MD simulation, the only non-negligible strain component lies in the direction of loading (figure 9a), and residual strains are observed laterally. However, in the HMM case, the deformation of the atomistic model is continuously informed by the evolution of the macroscopic continuum model, i.e. the deformation at the notch tip of the compact tension test (figure 8). A different, complex mechanical state is therefore observed (figure 9b) involving bi-axial tension and shearing. These diverging applied strains lead to different apparent responses of the material in the orthogonal direction to the failure plane. The evolutions of the stress-strain relation for the two set-ups are compared in figure 9c. Both set-ups exhibit the same qualitative features: a short elastic regime followed by yielding, hardening and brittle failure at very large strains. However, quantitatively these inelastic events occur within a shorter strain range in the case of the compact tension test. Correspondingly, the HMM simulation of the compact tension test predicts the apparent fracture energy to be significantly lower.

45The divergence of strains applied in the two set-ups has additional implications when observing the conformations of the resins at the onset of fracture, as shown in figure 10. The epoxy network under uniaxial tension exhibits localized void growth leading to a single continuous crack, orthogonal to the tension direction (figure 10a). Conversely, under the deformation conditions at the notch tip of the compact tension set-up, the observed void growth in the epoxy network is more dispersed (figure 10b). The resulting fracture pattern is less clearly defined. One can distinguish two competing cracks, orthogonal to the two tension directions. The HMM captures different local failure mechanisms, which are responsible for the differences in stressstrain behaviour observed above. Appropriately emulating the set-up of the standard testing procedure is therefore indispensible for accurate macroscopic property prediction, and would be difficult to reproduce efficiently without a multiscale approach.

46Given the importance of accurately determining the local strain evolution through consideration of the broader balance of forces further afield, one might consider integrating the mechanics of the compact tension test using a hierarchical multiscale approach to avoid numerous simulations of the atomistic model. As such, one would miss the opportunity to observe the local mechanisms explaining the response of the material (void growth, in the present case). Additionally, one would require a mechanically accurate and chemically specific set of constitutive equations relating σ and . Constitutive models, being purely phenomenological and lacking numerical robustness, must often be formulated subject to supplementary constraints. An efficient and physically justified constraint can be to enforce that the constitutive equation be thermodynamically admissible [52]. This requires σ to derive from a convex potential and the dissipated energy to increase monotonically. The need for robustness has significantly limited the complexity of such constitutive models, leaving them only able to reproduce relatively simple mechanisms such as isotropic damage (4.1) [53] or plasticity [54,55]: uniaxial tension compact tension Figure 9. The set-up of the tension test has significant influence on the local mechanical state at the atomistic scale; in a uniaxial tension test (a) the continuum strain tensor is purely diagonal; while in a compact tension test (b) the continuum strain tensor is rather bi-dimensional comprising tension in two directions and shearing in the same plane; in turn, the constitutive behaviour (c) in the direction of failure (normal to the crack plane) displays different yield, strength and energy dissipation; the epoxy resin appears much tougher when loaded in a uniaxial tension test. (a) Uniaxial tension strain evolution, (b) compact tension strain evolution, (c) stress-strain relation.

47with D the scalar damage variable, varying from 0 to 1 and reproducing the level of degradation of the material, and E the Young modulus of the pristine material; . + is the positive part of a given matrix, computed as the positive part of the eigenvalues. Figure 9b illustrates how complex the actual constitutive behaviour can be, and how simple isotropic models would be unsatisfactory. Indeed, constitutive behaviour informed by processes at the atomistic scale would comprise anisotropic yield, hardening and softening. Furthermore, chemical specificity is poorly captured in the constitutive equation due to the difficulty of estimating parameters that often lack direct physical meaning (e.g. the parameters in damage models, which are standard and robust models designed to reproduce fracture in a continuum model).

Computational workflow

48Keeping track of inelastic mechanisms requires storage of the (history-dependent) current state of the material at each spatial location. As constitutive behaviour is handled via atomistic simulations, the continuum level need only know the current strain and stress tensors at each q. Conversely, at the atomistic level, the requirements imposed by inelastic mechanics can be more cumbersome. History dependency implies that the atomistic system must be brought to the figure 9. These configurations are obtained from the same replica of the atomistic system which contains 38 611 atoms. The carbon atoms appear in grey, the nitrogen atoms in yellow, the oxygen atoms in red and the hydrogen atoms in pink. The two tension set-up displays highly contrasted conformational changes in the final state of the atomistic system, in particular void growth is more dispersed with the compact tension set-up, potentially exhibiting two orthogonal crack planes.

49desired mechanical state, with the exact˙ a and following the exact straining trajectory, otherwise different current mechanical state could result. Evolving the atomistic system with a non-arbitrarẏ a is expensive, and it rapidly becomes impossible to reach the current mechanical state starting from the initial one. Consequently, the most recent state of the atomistic system computed for each integration point of the continuum model must be stored. This amounts to a significant trade-off between memory and computational cost. The resulting HMM workflow is distributed across many cores and can display significant load-imbalance. The workflow is divided into a single continuum model and multiple atomistic models. At any given time-step, evolving the continuum model is generally far less expensive than evolving one of the many atomistic models (being of the order of 0.1% to 1% of the computational effort). The continuum and atomistic models are evolved alternatively, but the atomistic models themselves are run in parallel, drastically improving the scalability of the method. Nonetheless, there is a highly variable difference in resource requirements between continuum and atomistic simulation phases. This might justify performing the simulation of the continuum model on a separate smaller resource. In turn, we would avoid idleness of a large part of the total allocation when the continuum model is evolved. n t md can be assumed to be constant, but with individual execution times determined by the norm of the applied strain on the atomistic system (which may be zero). As such, efficient scheduling of the many atomistic simulations is non-trivial, and can involve allocating different numbers of cores to different simulations in an attempt to achieve (approximately) equal runtime. This problem could be tackled with the help of resource optimization libraries, which efficiently schedule each atomistic model simulation by taking into consideration queueing time, execution time and energy consumption across distributed resources [22].

Conclusion

50We have described a HMM implementation suited for the study of nonlinear irreversible macroscopic mechanisms and its rigorous testing and application to polymer thermosets. We have discussed in detail the resulting computational workflow and associated numerical tools to solve multiscale problems encompassing atomistic and continuum descriptions of the material. We described an implementation to determine the sampling requirements for homogenization of the material behaviour at the atomistic level and the transfer of the associated information to the continuum level.

51Via an application to the simulation of the measurement of the fracture properties of an epoxy resin, we illustrate the benefits of the HMM relative to a single-scale atomistic approach. Unlike single-scale or even hierarchical multiscale models, our multiscale approach efficiently handles the complexity induced by the local mechanical behaviour of the material, while integrating the influence of the boundary conditions imposed by the testing set-up at the engineering scale. We have shown a significant quantitative difference in stressstrain response and fracture toughness predicted by a purely single-scale (MD) approach and that predicted by our HMM implementation. Simulated degradation mechanisms, such as void growth, also differ substantially. This demonstrates the necessity of using a concurrent multiscale approach for accurate and chemically specific prediction of mechanical properties at the macroscale.

52Data accessibility. The HMM workflow developed in the present paper is available on GitHub: https://github. com/mvassaux/DeaLAMMPS.

참고문헌 54건

  1. Molecular Modelling: Principles and Applications 1996
  2. From molecular systems to continuum solids: A multiscale structure and dynamics The Journal of Chemical Physics · American Institute of Physics · 2015 10.1063/1.4927656
  3. Homogenization Methods and Multiscale Modeling 2004 10.1002/0470091355.ecm034
  4. Coarse‐graining of multiscale crack propagation International Journal for Numerical Methods in Engineering · Wiley · 2009 10.1002/nme.2694
  5. A Continuous Damage Mechanics Model for Ductile Fracture Journal of Engineering Materials and Technology · American Society of Mechanical Engineers · 1985 10.1115/1.3225775
  6. Technology of the 1990s: advanced materials and predictive design Philosophical Transactions of the Royal Society of London Series A Mathematical and Physical Sciences · Royal Society · 1987 10.1098/rsta.1987.0059
  7. Heterogeneous multiscale method: A general methodology for multiscale modeling Physical review. B, Condensed matter · American Physical Society · 2003 10.1103/physrevb.67.092101
  8. Integration methods for complex plastic constitutive equations Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 1996 10.1016/0045-7825(95)00957-4
  9. Quasicontinuum analysis of defects in solids Philosophical Magazine A · Taylor & Francis · 1996 10.1080/01418619608243000
  10. Predicting mechanical response of crosslinked epoxy using ReaxFF Chemical Physics Letters · Elsevier BV · 2013 10.1016/j.cplett.2013.11.036
  11. Coupling of atomistic and continuum simulations using a bridging scale decomposition Journal of Computational Physics · Elsevier BV · 2003 10.1016/s0021-9991(03)00273-0
  12. Distributed Database Kriging for Adaptive Sampling (<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" altimg="si12.gif" display="inline" overflow="scroll"><mml:msup><mml:mrow><mml:mi>D</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mi>K</mml:mi><mml:mi>A</mml:mi><mml:mi>S</mml:mi></mml:math>) Computer Physics Communications · Elsevier BV · 2015 10.1016/j.cpc.2015.03.006
  13. FE2 multiscale approach for modelling the elastoviscoplastic behaviour of long fibre SiC/Ti composite materials Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2000 10.1016/s0045-7825(99)00224-8
  14. A micro/macro constitutive model for the small-deformation behavior of polyethylene Polymer · Elsevier BV · 2000 10.1016/s0032-3861(99)00330-4
  15. Multiscale modeling and simulation of polymer nanocomposites Progress in Polymer Science · Elsevier BV · 2007 10.1016/j.progpolymsci.2007.09.002
  16. Fast Parallel Algorithms for Short-Range Molecular Dynamics Journal of Computational Physics · Elsevier BV · 1995 10.1006/jcph.1995.1039
  17. A reactive potential for hydrocarbons with intermolecular interactions The Journal of Chemical Physics · American Institute of Physics · 2000 10.1063/1.481208
  18. Multiscale Modeling of Composite Materials: a Roadmap Towards Virtual Testing Advanced Materials · Wiley · 2011 10.1002/adma.201101683
  19. A thermodynamically-based constitutive model for thermoplastic polymers coupling viscoelasticity, viscoplasticity and ductile damage International Journal of Plasticity · Elsevier BV · 2014 10.1016/j.ijplas.2014.04.010
  20. A Multiscale Finite Element Method for Elliptic Problems in Composite Materials and Porous Media Journal of Computational Physics · Elsevier BV · 1997 10.1006/jcph.1997.5682
  21. Review of Hierarchical Multiscale Modeling to Describe the Mechanical Behavior of Amorphous Polymers Journal of Engineering Materials and Technology · American Society of Mechanical Engineers · 2009 10.1115/1.3183779
  22. Embedded-atom method: Derivation and application to impurities, surfaces, and other defects in metals Physical review. B, Condensed matter · American Physical Society · 1984 10.1103/physrevb.29.6443
  23. Coupling the finite element method and molecular dynamics in the framework of the heterogeneous multiscale method for quasi-static isothermal problems Journal of the Mechanics and Physics of Solids · Elsevier BV · 2014 10.1016/j.jmps.2014.10.002
  24. �ber die partiellen Differenzengleichungen der mathematischen Physik Mathematische Annalen · Springer Nature · 1928 10.1007/bf01448839
  25. ReaxFF-<i>l</i>g: Correction of the ReaxFF Reactive Force Field for London Dispersion, with Applications to the Equations of State for Energetic Materials The Journal of Physical Chemistry A · American Chemical Society · 2011 10.1021/jp201599t
  26. Simulation of Fracture Nucleation in Cross-Linked Polymer Networks JOM · Springer Science+Business Media · 2012 10.1007/s11837-012-0511-1
  27. An approach to micro-macro modeling of heterogeneous materials Computational Mechanics · Springer Science+Business Media · 2001 10.1007/s004660000212
  28. Parallel reactive molecular dynamics: Numerical methods and algorithmic techniques Parallel Computing · Elsevier BV · 2011 10.1016/j.parco.2011.08.005
  29. Rule based design of clay-swelling inhibitors Energy & Environmental Science · Royal Society of Chemistry · 2011 10.1039/c1ee01280k
  30. Atomistic/continuum coupling in computational materials science Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 2003 10.1088/0965-0393/11/3/201
  31. Computational Design of Hierarchically Structured Materials Science · American Association for the Advancement of Science · 1997 10.1126/science.277.5330.1237
  32. A general strategy for designing seamless multiscale methods Journal of Computational Physics · Elsevier BV · 2009 10.1016/j.jcp.2009.04.030
  33. deal.II—A general-purpose object-oriented finite element library ACM Transactions on Mathematical Software · Association for Computing Machinery · 2007 10.1145/1268776.1268779
  34. Time-step coupling for hybrid simulations of multiscale flows Journal of Computational Physics · Elsevier BV · 2012 10.1016/j.jcp.2012.11.032
  35. The finite element method McGraw-Hill eBooks · McGraw-Hill · 1989
  36. Computing Clinically Relevant Binding Free Energies of HIV-1 Protease Inhibitors Journal of Chemical Theory and Computation · American Chemical Society · 2014 10.1021/ct4007037
  37. Molecular Modelling: Principles and Applications Briefings in Bioinformatics · Oxford University Press · 2001 10.1093/bib/2.2.199
  38. The heterogeneous multiscale method Acta Numerica · Cambridge University Press · 2012 10.1017/s0962492912000025
  39. Chemically Specific Multiscale Modeling of Clay–Polymer Nanocomposites Reveals Intercalation Dynamics, Tactoid Self‐Assembly and Emergent Materials Properties Advanced Materials · Wiley · 2014 10.1002/adma.201403361
  40. A perspective on trends in multiscale plasticity International Journal of Plasticity · Elsevier BV · 2010 10.1016/j.ijplas.2010.02.008
  41. From discrete particles to continuum fields near a boundary Granular Matter · Springer Science+Business Media · 2012 10.1007/s10035-012-0317-4
  42. Molecular dynamics study of brittle fracture in epoxy-based thermoset polymer Composites Part B Engineering · Elsevier BV · 2016 10.1016/j.compositesb.2016.04.012
  43. A computational framework for scale‐bridging in multi‐scale simulations International Journal for Numerical Methods in Engineering · Wiley · 2016 10.1002/nme.5270
  44. On the calculation of equilibrium thermodynamic properties from molecular dynamics Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2016 10.1039/c6cp02349e
  45. A Multiscale Model for the Quasi-Static Thermo-Plastic Behavior of Highly Cross-Linked Glassy Polymers Macromolecules · American Chemical Society · 2015 10.1021/acs.macromol.5b01236
  46. MercuryDPM: A Fast and Flexible Particle Solver Part A: Technical Advances Springer proceedings in physics · Springer Nature · 2016 10.1007/978-981-10-1926-5_139
  47. Predicting the Macroscopic Fracture Energy of Epoxy Resins from Atomistic Molecular Simulations Macromolecules · American Chemical Society · 2016 10.1021/acs.macromol.6b01508
  48. A Review of Multiscale Computational Methods in Polymeric Materials Polymers · Multidisciplinary Digital Publishing Institute · 2017 10.3390/polym9010016
  49. Multiscale computing in the exascale era Journal of Computational Science · Elsevier BV · 2017 10.1016/j.jocs.2017.07.004
  50. LAMMPS integrated materials engine (LIME) for efficient automation of particle-based simulations: application to equation of state generation Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 2017 10.1088/1361-651x/aa6e36
  51. The misery of constitutive modelling Springer eBooks · Springer Nature · 2000 10.1007/978-3-642-57018-6_1
  52. Accelerated scale-bridging through adaptive surrogate model evaluation Journal of Computational Science · Elsevier BV · 2018 10.1016/j.jocs.2018.04.010
  53. Patterns for High Performance Multiscale Computing Future Generation Computer Systems · Elsevier BV · 2018 10.1016/j.future.2018.08.045
  54. Continuum Thermodynamics Journal of Applied Mechanics · ASM International · 1983 10.1115/1.3167184