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

Physically recurrent neural networks for path-dependent heterogeneous materials: Embedding constitutive models in a data-driven surrogate

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (9) 타이어코드(10) 아라미드

기본 정보

저자
  1. M.A. Maia — Department of Civil Engineering and Geosciences [Delft] (PO Box 5048, 2600 GA Delft - Netherlands)
  2. I.B.C.M. Rocha — Department of Civil Engineering and Geosciences [Delft] (PO Box 5048, 2600 GA Delft - Netherlands)
  3. Pierre Kerfriden — CDM - Centre des Matériaux (Centre des matériaux - Pierre-Marie Fourt - 10 rue Henri Desbruères 91003 ÉVRY CEDEX - France)
  4. F.P. van der Meer — Department of Civil Engineering and Geosciences [Delft] (PO Box 5048, 2600 GA Delft - Netherlands)
DOI
10.1016/j.cma.2023.115934
저널
Computer Methods in Applied Mechanics and Engineering
발행년도
2023
발행기관
Elsevier BV
피인용수
46
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.cma.2023.115934
토픽
Composite Material Mechanics
OpenAlex ID
W4320519002

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(9) 타이어코드, (10) 아라미드
R&D 측면
분석·모델링
확신도
0.80
근거 용어
heterogeneous materials, composite, constitutive models, multiscale finite element analysis, surrogate models
판단 근거
이 논문은 복합재(composite)와 같은 불균질 재료의 역학적 거동을 예측하기 위해 물리 기반 신경망(PRNN)을 활용한 수치 해석 가속화 기술을 다룹니다. 이는 코오롱인더스트리의 핵심 사업인 엔지니어링 플라스틱 컴파운드(23) 및 아라미드(10), 타이어코드(9) 등 고기능성 복합 소재의 물성 설계 및 구조 해석 효율을 높이는 데 간접적으로 활용될 수 있습니다.
R&D 활용 포인트
고강도/고기능성 복합 소재(컴파운드, 아라미드 등) 개발 시, 미시적 구조 변화에 따른 거시적 물성 변화를 빠르게 예측하는 디지털 트윈 및 시뮬레이션 모델링 기술로 활용 가능합니다.
평가 입력
본문 115,467자 중 30,032자 발췌

초록

Driven by the need to accelerate numerical simulations, the use of machine learning techniques is rapidly growing in the field of computational solid mechanics. Their application is especially advantageous in concurrent multiscale finite element analysis (FE2) due to the exceedingly high computational costs often associated with it and the high number of similar micromechanical analyses involved. To tackle the issue, using surrogate models to approximate the microscopic behavior and accelerate the simulations is a promising and increasingly popular strategy. However, several challenges related to their data-driven nature compromise the reliability of surrogate models in material modeling. The alternative explored in this work is to reintroduce some of the physics-based knowledge of classical constitutive modeling into a neural network by employing the actual material models used in the full-order micromodel to introduce non-linearity. Thus, path-dependency arises naturally since every material model in the layer keeps track of its own internal variables. For the numerical examples, a composite Representative Volume Element with elastic fibers and elasto-plastic matrix material is used as the microscopic model. The network is tested in a series of challenging scenarios and its performance is compared to that of a state-of-the-art Recurrent Neural Network (RNN). A remarkable outcome of the novel framework is the ability to naturally predict unloading/reloading behavior without ever seeing it during training, a stark contrast with popular but data-hungry models such as RNNs. Finally, the proposed network is applied to FE2 examples to assess its robustness for application in nonlinear finite element analysis.

본문 115,467자

본문 펼치기
## Physically recurrent neural networks for path-dependent heterogeneous materials: embedding constitutive models in a data-driven surrogate M. A. Maia <sup>a</sup>, I. B. C. M. Rocha <sup>a</sup>, P. Kerfriden <sup>b,c</sup>, F. P. van der Meer <sup>a</sup> _aDelft University of Technology, Department of Civil Engineering and Geosciences, P.O.Box 5048, 2600GA, Delft, The Netherlands_ _bMines ParisTech (PSL University), Centre des mat´eriaux, 63-65 Rue Henri-Auguste Desbru`eres BP87, F-91003,_ _´Evry, France_ _cCardi_ ff _University, School of Engineering, Queen’s Buildings, The Parade, Cardi_ ff _, CF24 3AA, United Kingdom_ Abstract Driven by the need to accelerate numerical simulations, the use of machine learning techniques is rapidly growing in the field of computational solid mechanics. Their application is especially advantageous in concurrent multiscale finite element analysis (FE <sup>2</sup> ) due to the exceedingly high computational costs often associated with it and the high number of similar micromechanical analyses involved. To tackle the issue, using surrogate models to approximate the microscopic behavior and accelerate the simulations is a promising and increasingly popular strategy. However, several challenges related to their data-driven nature compromise the reliability of surrogate models in material modeling. The alternative explored in this work is to reintroduce some of the physics-based knowledge of classical constitutive modeling into a neural network by employing the actual material models used in the full-order micromodel to introduce non-linearity. Thus, path-dependency arises naturally since every material model in the layer keeps track of its own internal variables. For the numerical examples, a composite Representative Volume Element with elastic fibers and elasto-plastic matrix material is used as the microscopic model. The network is tested in a series of challenging scenarios and its performance is compared to that of a state-of-the-art Recurrent Neural Network (RNN). A remarkable outcome of the novel framework is the ability to naturally predict unloading/reloading behavior without ever seeing it during training, a stark contrast with popular but data-hungry models such as RNNs. Finally, the proposed network is applied to FE <sup>2</sup> examples to assess its robustness for application in nonlinear finite element analysis. _Keywords:_ Artificial Neural networks (ANN), Multiscale, Heterogeneous materials, Path-dependency 1. Introduction Driven by the need to accelerate numerical simulations, machine learning (ML) techniques are rapidly growing in the field of computational solid mechanics. The use of surrogate models in particular is especially advantageous in concurrent multiscale finite element analysis (FE <sup>2</sup> ). In this approach, each integration point at the macroscale is linked to a microscopic model, allowing complex materials such as composite materials to be explicitly modeled using relatively simple constitutive models. Although appealing, the computational cost associated with the concurrent Finite Element (FE) simulations is often prohibitive, hindering its widespread use in practical engineering-scale applications. In that sense, another layer of approximation, for instance based on ML techniques, that help accelerate FE <sup>2</sup> simulations is key. However, despite the successful use of this type of technique in several fields ( _e.g._, speech recognition, language processing, and biomedical sciences), the use of surrogate models in material modeling is still filled with challenges and open issues. One of them relates to the data scarcity that exposes how data-driven models do not perform as well in extrapolation as they do within their training range. In general, another shortcoming of black-box models is their lack of interpretability. Although not a limiting aspect by itself, the limited interpretability these models offer can make it difficult to understand whether the fitted model is capable of yielding physically consistent solutions for loading paths different than those seen during training. In this scenario, the definition of a Design of Experiments (DoE) strategy plays an important role in the generalization capabilities of the surrogate model. The designer needs to take into account the computational (or experimental) budget available to collect the data and what type of loading scenarios are expected to be experienced by the model. 1 The former is known _a priori_, but the latter is not known exactly until the finite element simulation itself is run. As a consequence, large training and testing datasets are usually employed in an attempt to cover all different loading scenarios for a given strain/stress range. When path-dependency is present, conceiving an efficient DoE becomes even more complex since stresses now depend on the history of the material, leading to potentially infinite parameter space. One way to bypass the computationally intensive approach is to run and incorporate new load paths on-the-fly, updating the surrogate model as necessary as in the works of Goury et al. [1] and Rocha et al. [2]. In addition to the definition of the DoE, the physics-based assumptions about the material should also be wisely taken into account when choosing the modeling approach. For instance, conventional Artificial Neural Networks (ANN) with strains and stresses taken as input and output, respectively, will fail to capture phenomena such as elastic unloading. This scenario is illustrated by Vlassis and Sun [3] and occurs due to the unique mapping between inputs and outputs that does not reflect two different stress states for the same strain. One way to differentiate the different paths is by augmenting the feature space of the ANN with extra variables that carry partial information about the history of stresses and/or strains [4, 5]. Another highly popular strategy to handle path-dependency is to use Recurrent Neural Networks (RNNs), a variation of ANNs capable of learning from sequential data. This is done by incorporating the previous state of the network when making predictions for the current state. However, this approach often suffers from short-term memory when dealing with long sequences. To address that issue, more complex architectures with more model parameters and fine control of the flow of information retained through a sequence of information were proposed ( _e.g._, GRU and LSTM). These networks gained popularity and have been used to model a wide variety of materials that show history-dependency [6, 7, 8, 9, 10, 11]. However, RNNs are still severely limited by the curse of dimensionality associated with sampling arbitrarily long strain paths. The overview on the potential of RNNs for modeling path-dependent plasticity presented by Gorji et al. [12] illustrates the multiple ways in which one can define a DoE and argue that GRUs, in particular, can be used to model the plastic response of materials provided a rich enough training dataset is used. However, the authors do not investigate further how these networks would perform in scenarios slightly different than those seen in training or their efficiency in an FE <sup>2</sup> framework. Recently, a new class of ANNs called Physics-Informed Neural Networks (PINNs) was proposed by [13] to solve any given laws of physics described by general nonlinear partial differential equations. For training PINNs, in addition to the data used to model the governing equation, the loss function is augmented with information on the imposed physical constraints ( _e.g._ initial and boundary conditions). In this approach, automatic differentation plays a key role in allowing the outputs of the network to be differentiated with respect to the input. Applications of PINNs as surrogate constitutive models are still relatively new, but a few works showcase their potential in modeling elastoplastic [14, 15] and elastic-viscoplastic behaviors [16]. In [14] and [16], the loss function is also incremented with terms related to the physics constraints assumed by the material models considered ( _e.g._ the Karush-Kuhn-Tucker conditions on the yield function). While both works approximate the displacements and the stress based on the position of the material point at the macroscale and on the material properties, Haghighat et al. [14] further investigates the applicability of their surrogate model in a sensitivity analysis study. Finally, Eghbalian et al. [15] proposed an architecture where the nonlinear incremental elasticity and the strain decomposition are hardwired into the networks’s architecture and the loss function. Thus leading to improved capability in predicting unseen loading scenarios over conventional ANNs. Inspired by PINNs, Masi et al. [17] tailored a network architecture capable of ensuring thermodynamically consistent predictions by evaluating the numerical derivatives of the network with respect to its inputs. Later, Masi and Stefanou [18] proposed a key extension to the approach, in which the identification of the internal variables is no longer user-dependent. For that purpose, an encoder-decoder architecture is incorporated to identify the minimum number of internal variables from the set of internal coordinates of the system ( _e.g._, displacement fields, internal forces, etc.) in an unsupervised manner. The feature allows the recovery of the full-field information of the microstructure by the decoder. Another strategy that takes into account the derivatives of the approximated functions to impose thermodynamically consistency is proposed by Vlassis and Sun [3]. The authors treat the yield function as a signed distance function level set and formulate a supervised learning task that deduces the learned evolving yield function against a monotonically increasing accumulated plastic strain. As a result, cyclic loading paths can be predicted based only on monotonic data. For a recent and comprehensive review on the state-of-the-art literature of ANNs in the constitutive modeling of composite materials, the reader is referred to Liu et al. [19]. 2 Different from regular ANNs or RNNs, the Deep Material Network (DMN) proposed by Liu et al. [20] assigns physical meaning to the hyperparameters. The DMN learns the hidden topology representation of the micromodel (RVE) based on the stiffness matrices and residual stresses of the different material phases. A major advantage of DMNs is the ability to extrapolate to nonlinear behavior based only in elastic snapshots. Several follow-up publications and improvements on DMN can be found in the literature. The author’s latest work [21] is dedicated to tackling multiscale failure analysis, a far less explored avenue by the community. Other succesful applications in this field can be found in the works of Kerfriden et al. [22], Bessa et al. [23] and Oliver et al. [24], where different reduced-order modeling strategies were employed. In an alternative approach that incorporates some level of physics in the surrogate model, Fuhg et al. [25] combines a physical model that accounts partially for the constitutive behavior of the material and a Gaussian Process (GP) correction to locally improve the baseline physical model. Although this boosts accuracy inside the training space, in practice, it does not translate to benefits in terms of extrapolation. Another alternative that retains some of the physics embedded in the full-order solution is model order reduction. These methods are frequently employed to alleviate the computational cost of FE <sup>2</sup> [26, 27] and usually offer better generalization properties to unseen points than common surrogate models. The drawback is that they are inherently slower [28]. Such techniques can also be coupled with RNNs [29], ANNs [5] and GPs [30] to quickly infer the coefficients of the reduced basis approximation for arbitrary parameter values. Although a large body of literature has been devoted to applying ML techniques in the solid mechanics field, the gaps and issues left by data-driven surrogate models are still an open issue, compromising their reliable and widespread use in practical applications. In this work, a new network design is proposed specifically for the modeling of path-dependent materials and to accelerate concurrent finite element simulations. In Section 2 the FE <sup>2</sup> method is presented, while in Section 3 one of the most popular approaches to tackle the computational bottleneck originated from it is briefly discussed. In Section 4, the main features of the novel neural network are described. In Section 5, the Design of Experiments and methodology adopted for the comparative study shown in Section 6 is described. In this study, the performance of the proposed network is compared to a RNN for a single-scale problem. In Section 7 the novel approach is integrated into an FE <sup>2</sup> framework and tested in two applications for robustness and accuracy. Finally, conclusions are presented in Section 8. 2. Concurrent multiscale analysis Let Ω define the macroscopic domain being modeled. To find the internal stresses and displacement field of such body in absence of body forces, a boundary value problem that satisfies the following equilibrium equations is defined: ∇σ <sup>Ω</sup> = 0 (1) where ∇ is the divergence operator and σ <sup>Ω</sup> is the macroscopic stress, which depends on the macroscopic displacement field u <sup>Ω</sup> (for simplicity, this dependence is omitted). The governing equations are subjected to the boundary conditions: σ <sup>Ω</sup> n = t <sup>Γ</sup> <sup>_f_</sup> on Γ _f_ u <sup>Ω</sup> = u <sup>Γ</sup> <sup>_u_</sup> on Γ _u_ (2) where n is the normal to the surface Γ _f_ and u <sup>Γ</sup> <sup>_u_</sup> and t <sup>Γ</sup> <sup>_f_</sup> represent a set of Neumann and Dirichlet boundary conditions acting on the body surface such that Γ _u_ ∩ Γ _f_ = ∅ as illustrated in Fig. 1a. To relate strains and stresses, a constitutive model D is required: σ <sup>Ω</sup> = D <sup>Ω</sup> (ε <sup>Ω</sup>, α <sup>Ω</sup> ) (3) where α <sup>Ω</sup> are history variables that account for path-dependency and ε <sup>Ω</sup> is the macroscopic strain defined under small displacement assumptions as: ε <sup>Ω</sup> = <sup><u>1</u></sup> 2 �∇ u <sup>Ω</sup> + (∇ u <sup>Ω</sup> ) <sup>T�</sup> (4) In the concurrent multiscale approach, the model D <sup>Ω</sup> is not directly formulated but is instead obtained by nesting a lower scale finite element model to each integration point. In that scale, the microscopic stucture of complex materials can be explicitly modeled using simpler constitutive models for each of the components. Further discussion on how to solve the microscopic problem and link both scales is shown in Section 2.1 and 2.2. 3 ε <sup>Ω</sup> ω Γf Ω Γu ω σ <sup>Ω</sup> D <sup>Ω</sup> x Fixed corner 1 Micro-BVP 2 y 0 Master edges Slave edges Prescribed values (a) Schematic representation of FE <sup>2</sup> (b) Controlling nodes of RVE Figure 1: Scheme of FE <sup>2</sup> framework and definition of the boundary value problem on RVE To solve the boundary value problem at the macroscale, the Finite Element (FE) method is employed to discretize the domain Ω into a number of elements connected by nodes with _N_ degrees of freedom. The global equilibrium is solved iteratively in its discretised weak form: r = f <sup>Γ</sup> - f <sup>Ω</sup> ( u <sup>Ω</sup> ) = 0 (5) where r ∈ R <sup>_N_</sup> is a residual vector that goes to zero when equilibrium is reached, f <sup>Γ</sup> ∈ R <sup>_N_</sup> is the global external vector that represents the Neumann boundary conditions and f <sup>Ω</sup> ∈ R <sup>_N_</sup> is the global internal force vector given by a volume integral: Ω _e_ f <sup>Ω</sup> = A _ne_ _e_ =1 <sup>T</sup> _e_ <sup>σΩ(</sup> <sup>u</sup> <sup>Ω</sup> _e_ B <sup>T</sup> _e_ <sup>Ω</sup> _e_ <sup>) dΩ</sup> (6) where A is an assembly operator that takes into account the connectivities between the elements and the global system and B is a matrix with the spatial derivatives of the shape functions used to interpolate nodal displacements. Finally, an iterative procedure is adopted to solve Eq. (5) for the macroscopic displacement field: ∆ u <sup>Ω</sup> = u <sup>Ω</sup> _n_ <sup>Ω</sup> _n_ <sup>−</sup> <sup>u</sup> <sup>Ω</sup> _o_ <sup>Ω</sup> _o_ <sup>= −</sup> <sup>K</sup> <sup>−</sup> _o_ <sup>1</sup> <sup>−</sup> _o_ <sup>1</sup> <sup>r</sup> <sup>_o_</sup> (7) where the subscripts _o_ and _n_ refer to old and new analysis increments, respectively and K ∈ R <sup>_N_</sup> <sup>×</sup> <sup>_N_</sup> is the global tangent stiffness matrix given by: Ω _e_ <sup>Ω</sup> _e_ <sup>)</sup> <sup>B</sup> <sup>_e_</sup> <sup>dΩ</sup> (8) <sup>Ω</sup> _e_ <sup>(</sup> <sup>u</sup> <sup>Ω</sup> _e_ K = A _ne_ _e_ =1 B <sup>T</sup> _e_ <sup>T</sup> _e_ <sup>D</sup> <sup>Ω</sup> _e_ and D <sup>Ω</sup> is the constitutive tangent matrix, discussed in Section 2.2. The key difference to a classical FE simulation lies in the embedding of another FE model in the macroscopic integration points. Here, to obtain the internal forces in Eq. (6) and the tangent stiffness matrix in Eq. (8) for a single integration point of the macroscale, one needs to run an entire FE model instead of a single evaluation of a homogenous material model. This is the most computationally expensive part of the framework and is where the proposed network aims to tackle. The approach here is to replace the solution to the microscopic problem (discussed in Section 2.1) with a surrogate model, specifically a neural network. The homogenization procedure required to upscale the responses to the macroscale is discussed in Section 2.2. _2.1._ _Microscopic scale_ Let ω be a Representative Volume Element (RVE) of the microscopic material features whose behavior is to be upscaled. Assuming that the principle of separation of scales ( _i.e._ Ω ≫ ω) holds, the two scales can be linked by enforcing: u <sup>ω</sup> = ε <sup>Ω</sup> x <sup>ω</sup> + u ˜ (9) 4 where the linear displacement field is the result of the imposed macroscopic strains ε <sup>Ω</sup> and the fluctuation field ˜u is the result of microscopic inhomogeneities. The principle of separation of scales implies the stain averaging theorem that states that the macroscopic strains are considered uniform over the RVE domain: ε <sup>Ω</sup> ( x <sup>Ω</sup> ) = <sup><u>1</u></sup> ω ω ε <sup>ω</sup> ( x ω) dω (10) where ε <sup>ω</sup> is the microscopic strain tensor. Therefore, the microscopic displacement field in Eq. (9) can only satisfy (10) if the fluctuation displacement field vanishes at the RVE boundary when upscaling quantities. An additional requirement on the fluctation field having zero resultant work at the boundaries arises from the Hill-Mandel principle. Both requirements are met using Periodic Boundary Conditions (PBC) to represent the behavior of a macroscopic bulk material point. Fig. 1b illustrates the node groups and boundary edges needed to implement the PBC. In Section 5, the generation of ε-σ paths for the training of the surrogate models is obtained by setting a user-defined function to set the prescribed displacements u 1 and u 2. Finally, keeping the hypothesis of small strains, the stress equilibrium problem is described as: ∇σ <sup>ω</sup> = 0 σ <sup>ω</sup> = D <sup>ω</sup> (ε <sup>ω</sup>, α <sup>ω</sup> ) ε <sup>ω</sup> = <sup><u>1</u></sup> 2 �∇ u <sup>ω</sup> + (∇ u <sup>ω</sup> ) <sup>T�</sup> (11) where u <sup>ω</sup> is the microscopic displacement field and σ <sup>ω</sup> and ε <sup>ω</sup> are the microscopic stress and strain tensors, respectively. An analoguous procedure to the one detailed in Section 2 is used to find the microscopic displacement field (subjected to the periodic boundary conditions). Note that at this scale, regular physics-based material models D <sup>ω</sup> ( _e.g._ elastoplasticity, viscoelasticity, etc.) are employed to represent the constitutive behavior of the homogeneous material of the discretized elements. _2.2._ _Homogenization procedure_ After convergence of the microscopic displacement field u <sup>ω</sup>, the upscaling procedure is performed based on the Hill-Mandel principle. The principle postulates that the macroscopic stress power must equal the volume average of the microscopic power over the RVE. Considering the definition in Eq. (9), an expression similar to Eq. (10) is obtained for the homogenized stresses: σ <sup>Ω</sup> = <sup><u>1</u></sup> ω σ <sup>ω</sup> dω (12) ω As for the macroscopic constitutive tangent stiffness D <sup>Ω</sup>, a probing operator P is applied on the global microscopic tangent stiffness matrix K <sup>ω</sup> without the need to invert it as proposed by Nguyen et al. [31]. 3. Recurrent Neural Networks In this section, a brief overview of the working mechanisms of Recurrent Neural Networks is presented. Although part of the paper is dedicated to comparing them with the novel approach, here the idea is to use well-known concepts from ANNs and RNNs to illustrate features of the proposed network in the following sections. As a starting point, consider a conventional feed-forward neural network to surrogate the nonlinear constitutive relationship of a path-independent material given by the following parametric regression model: σ� <sup>Ω</sup> = NN (ε <sup>Ω</sup>, W, b ) (13) where W and b are weights and biases calibrated through a fitting procedure based on observations of the actual microscopic model. During training, the strains are fed to the first neural layer (input layer) and values are propagated until the final layer (output layer) to give the predicted stresses �σ <sup>Ω</sup> . These are in turn compared to the ground truth value according to a loss function. Based on that, the model parameters are adjusted so that the error between the predicted stresses and the actual stresses is minimized: _i_ <sup>Ω,</sup> <sup>W</sup> <sup>,</sup> <sup>b</sup> <sup>) ∥2</sup> (14) W, b = argmin W b _i_ ∈ X ∥ σ _i_ (ε <sup>Ω</sup> _i_ <sup>Ω</sup> _i_ <sup>) −</sup> <sup>σ�</sup> <sup>_i_</sup> <sup>(ε</sup> _i_ <sup>Ω</sup> 5 where X ∈ R <sup>_n_</sup> <sup>ε×</sup> <sup>_N_</sup> is a snapshot matrix with _N_ pairs of ε <sup>Ω</sup> -σ <sup>Ω</sup> obtained from microscopic simulations. This setting is the most straight-forward way to map pairs of macroscopic strains and stresses but does not offer good generalization properties once path-dependency is introduced. In that case, one way to overcome the lack of history information is to extend their feature space with _e.g._ previous (incremental) strains and/or stresses [4, 5]. As an alternative, RNNs offer additional parameters ( _i.e._ the hidden state) and mechanisms ( _i.e._ the gates that control the flow of information being propagated) to learn history information from sequential data in an implicit way. These parameters describe the evolution of the so-called hidden state and can encapsulate information from previous iterations without the need to introduce history variables in the feature space. In a regular RNN, the outputs and hidden state are given by: h <sup>_t_</sup> = φ( W 1 v <sup>_t_</sup> + W _s_ h <sup>_t_</sup> <sup>−1</sup> + b _s_ ) σ� <sup>_t_</sup> = φ( W 2 h <sup>_t_</sup> + b 2) (15) where φ(·) is an activation function, W _s_ and b _s_ are the additional model parameters (compared to conventional feedforward neural networks), v <sup>_t_</sup> are the current neuron values coming from the last layer and h <sup>_t_</sup> and h <sup>_t_</sup> <sup>−1</sup> are current and previous states, respectively. This arrangement allows the network to learn how stress evolves for a sequence of strains instead of bulding a regression model from independent stress-strain pairs and is illustrated in Fig. 2a. However, in practice, the efficiency of RNNs are impeded by vanishing gradient problems and are not suitable for long-term history dependent problems. To overcome that, more sophisticated architectures (more popularly known as cells) have been proposed. Among the most popular ones are the Gated Recurrent Unit (GRU) and the Long-Short Term Memory (LSTM), illustrated in Fig. 2b and 2c, respectively. The internal mechanisms, also known as gates, used to control the flow of information passing from one state to another are represented by the colored circles. For each gate, additional parameters need to be learned by the network in a way that the element-wise application of the sigmoid (red circles) or tanh (purple circles) functions can wisely retain what should be preserved and what can be forgotten in a long sequence. Despite best efforts, these architectures are still vulnerable to overfitting, compromising their ability to generalize well to new data. Potential solutions to prevent this phenomenon include regularization techniques such as L2 penalty, early stopping and dropout. In this work, a special type of dropout proposed by Kingma et al. [32] is used in combination with a GRU architecture is considered to perform the comparison with the proposed network. In this Bayesian GRU, the regular dropout with continuous noise ( _i.e._ Gaussian dropout) is reintepreted as a variational method that allows optimal dropout rates to be inferred from the data as opposed to it being fixed and defined in advance as usual. This circumvents the need for a validation set during model selection. For more details, the interested reader is referred to [32]. h <sup>t -1</sup> h <sup>t -1</sup> h <sup>t</sup> c <sup>t -1</sup> h <sup>t -1</sup> c <sup>t</sup> h <sup>t</sup> h <sup>t</sup> v <sup>t</sup> (c) Long-Short Term Memory Unit (LSTM) v <sup>t</sup> (a) Classical Recurrent Unit <mark>1-</mark> v <sup>t</sup> (b) Gated Recurrent Unit (GRU) Figure 2: Different architectures for recurrent units/cells: red circles correspond to the element-wise application of the sigmoid function, while purple circles correspond to the tanh function. 4. Physically Recurrent Neural Network This section presents the neural network proposed to capture path-dependent behavior of heterogeneous microscopic models. The core task of the network is to learn how the macroscopic strain ε <sup>Ω</sup> can be dehomogenized into a small set of representative material points and how their responses can be combined to obtain the homogenized macroscopic stresses σ <sup>Ω</sup> . For this, the parametric regression model R illustrated in Fig. 3 is proposed: a combination 6 of a data-driven encoder, a material layer with embedded physics-based material models and a data-driven decoder. Each of these components are discussed in detail in Sections 4.1, 4.2 and 4.3, respectively. Finally, the training process is described in Section 4.4 and the use of this network as constitutive model in FE <sup>2</sup> frameworks is discussed in Section 4.5. Material model ... ReLU, sigmoid, tanh, etc. _^_ Ω εxΩ σ _^_ xΩ Ω _^_ σ _^_ yΩ εΩy ReLU, sigmoid, tanh, etc. ... Ω εxyΩ σ _^_ xyΩ _^_ W 1 W l i 0 1 k-1 k k+1 l-1 l Encoder Material layer Decoder Figure 3: The proposed architecture _4.1._ _Encoder_ The encoder consists of all parameters that convert the macroscopic strain from the input layer to the values used as input of the material layer, which corresponds to the grey lines in Fig. 3. Since these values are the inputs of actual material models that are later combined by the decoder into the prediction of the macroscopic stresses, we interpret the role of the encoder as being the microscopic periodic boundary-value problem (BVP) solved with FE, only at a much lower computational cost. On the other hand, no information on the displacement field of the micromodel is retrieved by the network as the encoder is learned based exclusively on snapshots of macroscopic stresses. This understanding is depicted in Fig. 4 by the grey curved line linking the strains from the macroscopic scale and the fictitious strains seen by the material points in the network. Microscopic BVP Homogenization Encoder Material layer Decoder Figure 4: Interpretation of the proposed network with respect to a full-order solution As for the architecture, an arbitrary number of layers and units (with conventional activation functions as illustrated in Fig. 3) can be used. In case regular dense layers are employed, the neuron states ( a _i_ −1) from the previous layer _i_ -1 are propagated to the following layer _i_ according to: v _i_ = W _i_ a _i_ −1 + b _i_ a _i_ = φ( v _i_ ) (16) 7 where W _i_ ∈ R <sup>_ni_</sup> <sup>×</sup> <sup>_ni_</sup> <sup>−1</sup> is a weight matrix and b is a bias term with _ni_ being the number of neurons of layer _i_, and φ is an activation function applied in an element-wise manner to the neuron values of _i_ to introduce nonlinearity into the network. In the particular case where the dense layer is either the input or the output layers, no activation function is applied and a _i_ = v _i_ . Popular activation functions include the sigmoid, tanh and ReLU. In the present investigation, a single dense layer is considered before the material layer, which results in a linear relationship between macroscopic strains and local strains in the material layer. _4.2._ _Material layer_ The material layer is responsible for introducing explicitly the same physics-based material models used in the RVE that the network will be a surrogate for. To properly incorporate them and take full advantage of its outputs, important changes on how neurons are evaluated compared to regular dense layers are proposed. First, instead of introducing nonlinearity in a element-wise manner with a scalar-to-scalar activation function, neurons are grouped in _m_ sets of the size of the input layer (see colored boxes in Fig. 3) and then evaluated as a subgroup. Each subgroup is referred to as a _fictitious_ _material_ _point_ and its size is equal to the length of the strain vector ( _i.e._ length 3 for the present investigation in two dimensions). In this arrangement, each neuron of the subgroup _j_ represents one component of the strain vector ε _j_, as illustrated in Fig. 5a. Physics-based material models (e.g. plasticity, hyperelasticity, εxt j σxtj viscoelasticity, etc.) t σxtj t α <sup>t -1</sup> α <sup>t</sup> εytj σytj εxyt j σxyt j ε <sup>t</sup> σ <sup>t</sup> (b) Material cell α j <sup>t-1</sup> j <sup>t-1</sup> α tj t Vector of internal variables of j-th fictitious material point (a) Fictitious material point Figure 5: Schemes of (a) fictitious material point and (b) material layer as a cell Supposing the micromodel contains _n_ material models D <sup>ω</sup> 1 <sup>, . . . D</sup> _n_ <sup>ω, several combinations of them can be employed</sup> in the material layer. The choice on which material models should be used to evaluate the fictitious material points depends on the types of non-linearity embedded in each of these models. For instance, in this work, the micromodel consists of a composite microstructure with two material models: a linear elastic model D <sup>ω</sup> 1 <sup>to</sup> <sup>describe</sup> <sup>the</sup> <sup>fibers</sup> and an elastoplastic model with isotropic hardening D <sup>ω</sup> 2 <sup>to describe the matrix.</sup> <sup>However, in the material layer, only</sup> model D <sup>ω</sup> 2 <sup>is</sup> <sup>employed</sup> <sup>in</sup> <sup>all</sup> <sup>fictitious</sup> <sup>material</sup> <sup>points.</sup> <sup>This</sup> <sup>is</sup> <sup>possible</sup> <sup>because</sup> <sup>the</sup> <sup>network</sup> <sup>still</sup> <sup>can</sup> <sup>make</sup> <sup>any</sup> <sup>of</sup> the subgroups to behave linear elastically by passing small strains and scaling the stresses to give a significant elastic contribution. However, if instead of a linear elastic model, a nonlinear hyperelastic model was used to describe the fibers the network would not perform optimally. In that case, although the elastoplastic model does introduce nonlinearity to the network, the (nonlinear) contribution from the fibers is no longer embedded in that model. Furthermore, if the nonlinear hyperelastic model was the one chosen to evaluate all subgroups, the network would essentially become a 8 feed-forward one with no history information taken into account (explicitly or implicitly), losing the ability to predict elastic unloading. For such a micromodel, both material models would need to be considered. Another interesting hypothetical case is that of a micromodel with two elastoplastic phases with different material properties. This time, depending on the contrast of the material properties, a single material model with a fixed set of properties coming from one of the two phases might be enough to reproduce the homogenized response of the micromodel. In that case, making the material properties of each fictitious material point a trainable feature would also be advantageous. This could also be a valuable feature when dealing with experimental data or with a micromodel with continuously varying material properties. Naturally, far more complex arrangements than those discussed here are found in practice. Addressing these extensions is object of ongoing research. A general guideline is to employ all different sources of nonlinearity with their respective known material properties in the material layer. For simplicity, we choose to illustrate the network with a general material model D <sup>ω</sup> for all fictitious material points. Such model can take the form of any of the material models with known material properties used in the micromodel. Here, D <sup>ω</sup> takes as input the current strain ε <sup>_t_</sup> ∈ R <sup>_n_</sup> <sup>ε</sup> and the internal variables from previous time step α <sup>_t_</sup> <sup>−1</sup> ∈ R <sup>_nIntVar_</sup>, where _nIntVar_ is the number of internal variables of the material model. With that, the model is used to evaluate current stress state σ <sup>_t_</sup> ∈ R <sup>_n_</sup> <sup>ϵ</sup> and updated internal variables α <sup>_t_</sup> . These quantities motivated the tailor-made architecture of the proposed layer. To store the internal variables used as input/output of the material model, an auxiliary vector h _j_ ∈ R <sup>_nIntVar_</sup> referred as history vector is defined. In the particular case of a subgroup with a material model with no internal variables ( _e.g._ linear elastic model), h _j_ does not exist since _nIntVar_ = 0. For the first time step, the history vector is initialized as zero for all _m_ subgroups. As information reaches the material layer and the material model is called, three outputs are made available: the stresses σ <sup>_t_</sup> _j_ <sup>, the updated internal variables α</sup> <sup>_t_</sup> _j_ <sup>and the tangent stiffness matrix</sup> <sup>D</sup> <sup>_t_</sup> _j_ <sup>∈</sup> <sup>R</sup> <sup>_n_</sup> <sup>ε×ε.</sup> <sup>In</sup> are made available: the stresses σ <sup>_t_</sup> _j_ <sup>, the updated internal variables α</sup> <sup>_t_</sup> _j_ <sup>and the tangent stiffness matrix</sup> <sup>D</sup> <sup>_t_</sup> _j_ <sup>∈</sup> <sup>R</sup> <sup>_n_</sup> <sup>ε×ε.</sup> <sup>In</sup> this layer, only the stresses are propagated forward. To do this, each stress component is associated to a unit of the subgroup, as illustrated in Fig. 5a. Then, the updated internal variables α <sup>_t_</sup> are stored in h <sup>_t_</sup> _j_ <sup>so that when new strains</sup> ε <sup>_t_</sup> _j_ <sup>+1</sup> are fed to the fictitious material point, the material model is aware of its own history so far, making the ε-σ path of each subgroup unique. This architecture is illustrated in Fig. 5b. Note that h _j_ has no weighted connections with the neurons in the material layer (or any other layer). It is merely an object to store information about the history of the fictitious material point. It is also worth mentioning that since no data from the microscale has been collected and imposed in the network, the paths seen by the fictitious material points do not need to hold any similarity with actual integration points of the microscopic model. Using standard machine learning notation, the material layer propagates previous neuron states ( a _k_ −1) and applies the material model D <sup>ω</sup> as follows: v _k_ = W _k_ a _k_ −1 + b _k_ ⇒ a _k_, h = D <sup>ω</sup> ( v _k_, h <sup>_t_</sup> <sup>−1</sup> ) (17) where W _k_ ∈ R <sup>_nk_</sup> <sup>×</sup> <sup>_nk_</sup> <sup>−1</sup> is the weight matrix connecting layers _k_ -1 and _k_, b _k_ ∈ R <sup>_nk_</sup> is a bias term. In addition, v _k_ are the neuron values (correspond to the concatenated vector of all microscopic strains ε _j_ ), h <sup>_t_</sup> <sup>−1</sup> and h <sup>_t_</sup> are historyrelated term (correspond to concatenated vector of all internal variables α <sup>_t_</sup> _j_ <sup>−1)</sup> <sup>resulting</sup> <sup>from</sup> <sup>the</sup> <sup>material</sup> <sup>models</sup> with path-dependent behavior from past and current time step and a _k_ are the current neuron states (correspond to the concatenated vector of all microscopic stresses σ _j_ ). _4.3._ _Decoder_ The decoder consists of all parameters that convert the outputs from the material layer to the predicted macroscopic stress �σ <sup>Ω</sup> in the output layer, which corresponds to the brown lines in Fig. 3. Similar to the encoder, an arbitrary number of conventional layers and units can be employed. In the full-order solution, after convergence of the microscopic BVP, the macroscopic stresses are obtained by the volume average of microscopic stresses over the entire RVE. In the network, since the solution of the microscopic BVP is replaced by the encoder and the microscopic material points in the RVE are replaced by the few fictitious material points, the decoder is then analogous to the homogenization operator that transforms local stresses to macroscopic stresses, as illustrated by the brown curved line in Fig. 4. In the present work, we use a single dense layer (output) with linear activation and physics-motivated modifications to perform the task. With this, all the nonlinearity of the network arises from the models in the material layer. As discussed previously, the decoder can be understood as the averaging operator in a multiscale approach and with the 9 _j_ <sup>, the updated internal variables α</sup> <sup>_t_</sup> _j_ <sup>and the tangent stiffness matrix</sup> <sup>D</sup> <sup>_t_</sup> chosen architecture (dense-material-dense), the weights of the output layer can be seen as the relative contribution of each fictitious material point to the macroscopic stress. Based on that, a constraint on the positivity of the weights of the output layer is considered. For that, a softplus function ρ(·) is applied element-wise on the weights matrix before computing the neuron values of the last layer: v _l_ = ρ( W _l_ ) a _l_ −1 + b _l_ (18) where b _l_ is set to zero and a _l_ −1 corresponds to the stresses coming from the material layer. This procedure guarantees that, after the tranformation, weights will always be positive. _4.4._ _Training_ The goal of the training phase is to minimize a loss function given by: _L_ = <sup><u>1</u></sup> _N_ _N_ _i_ =1 <u>1</u> 2 <sup>∥</sup> <sup>σΩ(ε</sup> _i_ <sup>Ω) −</sup> <sup>σ�Ω(εΩ</sup> _i_ <sup>) ∥2</sup> (19) where _N_ is the number of snapshots. Based on it, a Stochastic Gradient Descent (SGD) optimization algorithm is used to update the trainable parameters W and b : W <sup>_n_</sup> = W <sup>_o_</sup> −A� <u>1</u> _B_ b <sup>_n_</sup> = b <sup>_o_</sup> −A� <u>1</u> _B_ _B_ _i_ =1 _B_ _i_ =1 <u>∂</u> _<u>Li</u>_ ∂ W <u>∂</u> _<u>Li</u>_ ∂ b (20) where _Li_ is the loss of the _i_ -th sample, _o_ indicates current values, _n_ indicates updated values and _B_ is the size of the sample mini-batch used in the update. Finally the A operator depends on the solver. In this work, the Adam optimizer [33] is used. To compute the gradients appearing in Eq. (20), backpropagation in time is employed in a similar fashion as done to RNNs: based on the network state ( v and a ) after computing each training curve with _n_ pairs of σ − ε, the chain rule is used to propagate the derivative of the loss functions starting from the output layer and progressively moving back through the network and through time. Commonly, this process is dealt with by automatic differentiation, but we present the expressions to allow for integrating the network directly into existing FE software. For this, two auxiliary quantities are defined. The first is defined for each layer and helps propagating the error through the network d _i_ ∈ R <sup>_ni_</sup> . Starting from the output layer _l_, it is defined as: d _l_ = <sup><u>∂</u></sup> <sup>_<u>L</u>_</sup> ∂ a _l_ = �σ <sup>Ω</sup> - σ <sup>Ω</sup> (21) Next, the effect of the activation function is taken into account as: d ¯ _i_ = d _i_ ⊙ <sup><u>∂φ(</u></sup> <sup><u>v</u></sup> <sup>_<u>i</u>_</sup> <sup><u>)</u></sup> ∂ v _i_ after which it is possible to compute the gradients of the trainable parameters: (22) <u>∂</u> _<u>L</u>_ ∂ W _i_ = d <sup>¯</sup> _i_ a <sup>_T_</sup> _i_ <u>∂</u> _<u>L</u>_ ∂ b _i_ = d <sup>¯</sup> _i_ (23) Finally, the values d of the previous layer (the next layer to be backpropagated) can be computed as: and the algorithm moves to Eq. (22) for layer _i_ -1. d _i_ −1 = W <sup>_T_</sup> _i_ <sup>d</sup> <sup>¯</sup> <sup>_i_</sup> (24) 10 When reaching the material layer, recall that the internal variables are stored in h and used for keeping track of the evolution of the internal variable through time. For that reason, a second auxiliary quantity is introduced and Eq. (22) is replaced by: d ¯ _i_ = d _i_ ⊙ <sup><u>∂</u></sup> <sup><u>a</u></sup> <sup>_<u>i</u>_</sup> ∂ v _i_ ∂ v _i_ + d <sup>_t_</sup> _h_ <sup>+1</sup> <sup>_t_</sup> _h_ <sup>+1</sup> ⊙ <sup><u>∂</u></sup> <sup><u>h</u></sup> (25) where the first term concerns the derivatives of stresses with respect to strains, the second term concerns the derivatives of the current internal variables with respect to strains and d _h_ ∈ R <sup>_ni_</sup> is given by: d _h_ = d _i_ ⊙ <sup><u>∂</u></sup> <sup><u>a</u></sup> <sup>_<u>i</u>_</sup> ∂ h <u>∂</u> <u>h</u> _h_ ⊙ (26) <sup>_t_</sup> <sup>+1</sup> ∂ h <sup>_t_</sup> <sup>−1</sup> <sup><u>∂</u></sup> <sup><u>a</u></sup> <sup>_<u>i</u>_</sup> _h_ ∂ h <sup>+</sup> <sup>d</sup> <sup>_t_</sup> <sup>+1</sup> Note that the derivatives of the stresses with respect to the strains of material point _j_ are an output of the material model: the tangent stiffness matrix D _j_ . The remaining derivatives in Eqs. (25) and (26) are evaluated using central finite differences. Naturally, computing gradients with other methods would also be possible. For instance, if the material model used in the network supports automatic differentation, storing the internal variables in h for backpropagation can be bypassed as the derivatives are automatically obtained in this approach. Finally, to obtain the gradients of the trainable parameters including the history-dependence coming from the material layer and compute the values d of the previous layer, we consider Eq. (25) instead of (22) in the expressions shown in Eqs. (23) and (24), respectively. _4.5._ _Use as constitutive model_ To make new stress predictions, the macroscopic strain ε <sup>Ω</sup> is fed to the input layer and a complete forward pass is performed. The final activated neuron values of the output layer give the predicted stress. To obtain the macroscopic consistent tangent stiffness matrix D <sup>Ω</sup>, a complete backward pass is required: D <sup>Ω</sup> = <sup><u>∂</u></sup> ∂ <sup><u>σ�</u></sup> ε <sup>ΩΩ</sup> ∂ v 0 <sup><u>∂</u></sup> ∂ <sup><u>σ�</u></sup> ε <sup>ΩΩ</sup> <sup>=</sup> ∂ <sup><u>∂</u></sup> v <sup><u>a</u></sup> 0 <sup>_<u>l</u>_</sup> = J (27) which is obtained with a backward pass through the network: J _i_ = J _i_ +1 I <sup>φ</sup> _i_ <sup>W</sup> <sup>_i_</sup> with J _l_ +1 = I (28) where I <sup>φ</sup> _i_ where I <sup>φ</sup> _i_ is a matrix whose diagonal contains the derivatives of the activation function with respect to the neuron values v : <sup>φ</sup> _i_ <sup>= diag(</sup> <sup><u>∂φ(</u></sup> <sup><u>v</u></sup> <sup>_<u>i</u>_</sup> <sup><u>)</u></sup> ∂ _v_ I <sup>φ</sup> _i_ ) (29) <sup><u>(</u></sup> <sup><u>v</u></sup> <sup>_<u>i</u>_</sup> <sup><u>)</u></sup> ∂ _v_ except for the material layer. In that case, such matrix is full and consists of the concatenation of the tangent stiffness matrix of all fictitious material points. It is worth mentioning that despite the linear dependency on the tangent stiffness matrices of the material models, the Jacobian matrix of the network does not inherit their spectral properties. _4.6._ _Analogies to other methods_ In this section, the parallels between features of the proposed network and related works in the literature are briefly discussed. One possible analogy comes from hyper-reduced-order models [34]. With the architecture chosen for the present investigation, both methods work on a reduced number of material points with modified (integration) weights. However, in the network, these points are only fictitious and learned by the encoder based on snapshots of the homogenized stresses. Moreover, each stress component is associated with a different weight. By contrast, the material points in the hyper-reduction approach exist in the microscopic model and a single modified integration weight of each material point selected is used to compute all its stress/internal force components. Following the discussion on the encoder, it is worth highlighting how this feature would be framed with respect to asymptotic homogenization schemes such as Mori-Tanaka [35]. In this type of solution, the microscopic problem is also not solved explictly and only average fields are calculated. Relying on the equivalent inclusion idea and on Eshelby’s solution [36], the strain concentration tensor is obtained analytically and yields the full solution of the microcopisc model as it correlates the average field of the phases in the micromodel with its average field. In our 11 network, although the macroscopic stresses are also obtained by relating macroscopic and (fictitious) microscopic strains through an encoder, here no average field is calculated for each of the phases. Indeed, not every phase needs to be included in the material layer and multiple strain paths for the same phase are considered. Furthermore, while Mori-Tanaka is accurate for moderate volume fractions of the inclusions, such restriction is not present in our method. Compared to PINNs, in which physical constraints are explicitly included in the loss function, here, most physical constraints are naturally taken care of by the physics-based material models directly embedded in the material layer. The proposed approach is also more general as it can be directly used for arbitrary material models and is not particularly tailored to a single type of model ( _e.g._ elastoplastic behavior [14, 15]). As an added benefit, our model selection procedure makes physical sense: we add more material points or material models to the network. Another noteworthy strategy with relevant analogies to our method is the DMN [20]. In this approach, the contribution of a few material points evaluated using the classical constitutive models in the RVE is also employed to make predictions in the online phase. On the same reasoning as discussed in Section 4.2, since the inputs come directly from actual material models, path-dependency is captured naturally. However, the main concept and architecture of DMNs are different from the ones explored here. In the offline phase, the goal of the DMN is to find a topological representation of the RVE with fewer degrees of freedom ( _i.e._ material points) based only on the elastic stiffness matrices of the different material phases that compose the original micromodel. For the online phase, the feature space is increased to include residual stresses of the micromodel components, and an iterative procedure is implemented. The authors compare the incremental strains of the material points at the beginning of the iteration with the one obtained by a de-homogenization process that backpropagates the macroscopic incremental strain from the output layer to the bottom layer ( _i.e._ input layer). Upon convergence, the set of internal variables of each material point at the bottom layer is therefore updated. In the present work, the feature space is the same in both phases and no iterative procedure is employed in the forward pass, which simplifies implementation and reduces even further the number of material model calls. Here, the strain path each fictitious material point follows is simply described by the encoder and not all phases need to be included in the network. The homogenized stresses and tangent stiffness are obtained in a single forward and backward pass, respectively. Furthermore, the backpropagation in our approach is considerably simpler than the DMN. Although the use of homogenization (and de-homogenization) operations in the DMN assigns physical interpretation to the model, it also makes training a rather intricate process. Finally, to draw a parallel with LSTMs, one might understand h as the cell state c, but instead of using bijective and smooth functions such as the sigmoid and tanh functions to describe the evolution of the material response, the material model itself is directly employed. This bypasses the need to learn new parameters to regulate the flow of information kept or forgotten throughout time (see Fig. 2b) and has important implications for the training process. The most important one is the ability to mirror physical behaviors such as elastic unloading/reloading without ever seeing the pattern during training, a stark contrast with LSTMs and GRUs that usually require extensive training sets with multiple cycles of loading and reloading at different strain levels with different step sizes. The physical interpretation of the nonlinearity is directly embedded in the network. In the numerical examples of this work, the nonlinearity is due to plasticity, but other effects such as hyperelasticity, visco-plasticity, stiffness degradation, or any combination thereof, could be embedded by adapting the constitutive model that is used in the material layer. 5. Design of Experiments One critical aspect of the training and testing of surrogate models is the formulation of a sampling plan. Typically, a uniform distribution of the sampling points is desirable, but that task becomes more complex when path-dependent behavior is present. In this case, pairs of strains and stresses are collected and processed as sequences, which leads to potentially infinite-dimensional parameter spaces. In this work, two strategies are considered. In the first approach, proportional loading paths are generated, which means that the stress ratio between the components is constant. Here, the sequence of strains is created based on two features: the loading function λ(∆ε, _t_ ) and the loading direction given by the unit vector n, where ∆ε is the step size and _t_ is the current time step. For each time step, n is multiplied by the scalar-valued loading function λ creating a new set of strains, which is in turn applied at the controlling nodes of the microscopic model. For monotonic loading, the loading function is as depicted in Fig. 7a. The values in the unit vector can come from prior knowledge of the material as illustrated in Fig. 6b, in which only fundamental cases such as uniaxial strain, pure 12 shear, and biaxial cases are considered, or from random distributions as represented by the purple line Fig. 6a. In the present work, the random directions are obtained by sampling values from _n_ ε independent Gaussian distributions (X ∼N(0, 1)) and subsequently normalizing the vectors. 1.00 0.50 1.00 0.50 _σxy/∥_ _σ_ _∥_ _σxy/∥_ _σ_ _∥_ [ _−_ ] [ _−_ ] 0.00 0.00 -0.50 -1.00 -1.00 -0.50 -1.00 -1.00 -0.50 -0.50 0.00 0.00 0.50 0.50 1.00 -1.00 -0.50 0.00 0.50 1.00 1.00 -1.00 -0.50 0.00 0.50 1.00 (a) Types of loading used in this study (b) Proportional loading with _a priori_ known directions Figure 6: Different design of experiments strategies Despite the simplicity in creating such paths, RNNs trained exclusively on monotonic cannot predict cylic responses. Thus, to create non-monotonic sequences, a linear piecewise function as the one depicted in Fig 7b is used. Note that even though the loading function is changed, the unit vector is kept constant for the entire strain sequence, yielding proportional loading. However, to cover the entire space of possible cyclic responses, a large (and _a priori_ unknown) number of curves comprehending different unloading points with different duration of unloading/reloading and step sizes is necessary. In this work, that matter is first handled in a simplified way by only sampling two different cycles of unloading/reloading. Finally, in a more general approach, a second strategy to create the ε-σ paths is considered: the _random_ _walks_ . These are typically defined by sampling random strain increments with random loading directions for each time step, resulting in non-proportional loading. In this work, random walks are created by associating the prescribed strains to independent Gaussian Processes (GPs) with X ∼N(µ, σ <sup>2</sup> ) and covariance function given by: _k_ ( x _p_, x _q_ ) = σ <sup>2</sup> _f_ <sup>exp</sup> - <sup><u>1</u></sup> (30) 2ℓ <sup>2</sup> <sup>∥</sup> <sup>x</sup> <sup>_p_</sup> <sup>−</sup> <sup>x</sup> <sup>_q_</sup> <sup>∥2�</sup> where σ <sup>2</sup> _f_ <sup>is the variance and ℓ</sup> <sup>is a length scale.</sup> <sup>In this setting, the lengthscale controls the smoothness of the strain</sup> path and the variance controls how large the step size can be for each prescribed degree of freedom of the controlling nodes. Similar approaches were employed by Mozaffar et al. [8] and Logarzo et al. [11]. The details of the present implementation are given in Algorithm 1. Note that instead of drawing the entire strain sequence for a given component, we sample it step by step and update the GP dataset before sampling again. This strategy results in the same strain sequence given a fixed random seed throughout the steps, but in this way the GPs can also be used in applications where the number of loading steps is changed on-the-fly. Following the work of Logarzo et al. [11], we define the mean of all GPs to be zero and include _t_ = 0 and ε _i_ = 0 as a prior. In addition to that, references to _fullModel_ ( _i.e._ the full-order microscopic model) in Algorithm 1 are kept as minimal and general as possible. One example of loading path resulting from Algorithm 1 is illustrated in Fig. 6a. In this paper, both strategies generate ε-σ curves containing 60 time steps, unless stated otherwise. To summarize the types of loading studied in the following sections: 13 Algorithm 1: <u>Generation of random loading path using GPs</u> Input : lengthscale ℓ, variance σ <sup>2</sup> _f_ <sup>, number of strain components</sup> <sup>_N_</sup> <sup>components, number of time steps</sup> <sup>_N_</sup> <sup>steps</sup> Output: macroscopic strains Dε and macroscopic stresses Dσ 1 initialize datasets: Dε ← ∅, Dσ ← ∅ 2 for _i_ ∈ [1, 2, ..., _Ncomponents_ ] do 3 initialize input and output datasets for GP _i_ : X GP _i_ ← 0, Y GP _i_ ← 0 4 initialize GP _i_ : GP _i_ ← `initGP` ( X GP _i_, Y GP _i_, ℓ, σ <sup>2</sup> _f_ <sup>2</sup> _f_ <sup>)</sup> 5 for _t_ ∈ [1, 2, ..., _Nsteps_ ] do 6 initialize current macroscopic strain: εcurrent ← ∅ 7 for _i_ ∈ [1, 2, ..., _Ncomponents_ ] do 8 sample from posterior distribution: ε _i_ ← GP _i_ :: `samplePosterior` ( _t_ ) 9 add value to strain vector: εcurrent ← εcurrent ∪ ε _i_ 10 solve micromechanical BVP: σcurrent ← `fullModel::materialUpdate` ( εcurrent ) 11 if _convergence_ then 12 store equilibrium solution of micromodel: `fullModel::storeSolution(` `)` 13 add macroscopic strains and stresses to dataset: Dε ← Dε ∪ εcurrent, Dσ ← Dσ ∪ σcurrent 14 for _i_ ∈ [1, 2, ..., _Ncomponents_ ] do 15 add time step and current strain to dataset of GP _i_ : X GP _i_ ← X GP _i_ ∪ _t_, Y GP _i_ ← Y GP _i_ ∪ ε _i_ 16 update GP _i_ with new data: GP _i_ :: `update` ( X GP _i_, Y GP _i_ ) 17 return (Dε, Dσ) - Type I: monotononic and proportional loading paths with _a priori_ known directions. The 18 directions used to train the proposed network are illustrated in Fig. 6b and include uniaxial strains, pure shear, biaxial cases and biaxial with shear cases. - Type II: monotonic and proportional loading paths randomly spread across the design space. The loading directions are generated randomly and the loading function is as shown in Fig. 7a. - Type III: non-monotonic and proportional loading paths randomly spread across the design space. Again, the loading directions are random, but the loading function is now given by Fig. 7b and includes one cycle of unloading; - Type IV: Variations to Type III: – Type IVa: same loading directions as the test set of Type III, but unloading/reloading takes place at a different point in time as shown in Fig. 7c; – Type IVb: same loading directions as the test set of Type III, but time step is 10 × smaller. Thus, to reach the same norm as the original curve in Type II, 600 time steps are evaluated, as depicted in Fig. 7d; - Type V: non-monotonic and non-proportional loading paths randomly spread across the design space. A GPbased path described by Eq. (30) is illustrated in Fig. 6a. Fig. 7e ilustrates the strain paths of each component using this approach with lengthscale ℓ = 20 and σ _f_ = 1.0 × 10 <sup>−3</sup> . 6. Assessing network performance In this section, the performance of the proposed network is compared to a state-of-the-art RNN trained on different training dataset sizes and methods to sample the design space. The comparison is done for a single micromodel. Specifically, four scenarios are investigated: (i) predicting unloading/reloading behavior from monotonic data, (ii) predicting unloading/reloading behavior from non-monotonic data, (iii) predicting unseen patterns from non-monotonic 14 0.10 0.08 0.06 0.04 0.02 0.00 Monotonic (∆ _s_ = 1 _._ 667 _×_ 10 <sup>_−_</sup> <sup>3</sup> ) 10 20 30 40 50 60 Time step [-] Non-monotonic (∆ _s_ = 1 _._ 667 _×_ 10 <sup>_−_</sup> <sup>3</sup> ) 10 20 30 40 50 60 Time step [-] Dif. unloading/reloading (∆ _s_ = 1 _._ 667 _×_ 10 <sup>_−_</sup> <sup>3</sup> ) 10 20 30 40 50 60 Time step [-] 0.10 0.08 0.06 0.04 0.02 0.00 0.10 0.08 0.06 0.04 0.02 0.00 (a) Monotonic loading (Types I and II) 0.10 (b) Non-monotonic loading (Type III) 0.04 (c) Different unloading/reloading (Type IVa) _εx_ (∆ _s_ = variable) _εy_ (∆ _s_ = variable) _εxy_ (∆ _s_ = variable) 10 20 30 40 50 60 Time step [-] 0.08 0.06 0.04 0.02 0.00 Non-monotonic w/ smaller step size (∆ _s_ = 1 _._ 667 _×_ 10 <sup>_−_</sup> <sup>4</sup> ) 100 200 300 400 500 600 Time step [-] 0.03 0.01 0.00 -0.01 -0.03 (d) Non-monotonic with smaller step size (Type(e) Random non-proportional and non-monotonic IVb) with ℓ = 20 (Type V) Figure 7: Proportional and non-proportional loading functions data, and (iv) training with non-monotonic and non-proportional loading paths. In the first three scenarios, our network is trained exclusively on the fundamental loading cases of Type I (18 curves), while the training of the RNN is an open question to be addressed in the following sections. From now on, the network presented in this work will be referred to as Physically Recurrent Neural Network, or simply PRNN. The PRNN was trained for 80000 epochs, while the RNN was trained for 60000 epochs with an early stopping criterion, which consists of interrupting training if the best training loss so far is not improved over a given period (in this work, 5000 epochs). The Adam optimizer is used in all cases with batch size of 9 and default parameters suggested by Kingma and Ba [33], with the exception of the learning rate of 0.01 for the RNNs. The layer sizes are chosen through model selection to provide optimal results and fair comparison with our approach to the best of our knowledge. The methodology adopted is briefly described in Section 6.1. The microscopic model consists of an RVE with 36 elastic fibers (volume fraction = 0.6) with properties E = 74000 MPa and ν = 0.2 embedded in an elastoplastic matrix with isotropic hardening. The geometry and the mesh with 7048 elements are depicted in Fig. 8. The elastoplastic matrix is modeled using the von Mises yield criterion with properties E = 3130 MPa, ν = 0.3 and yield stress given by: σ _y_ = 64.8 − 33.6 exp <sup>−ε</sup> _eq_ <sup>_p_</sup> <sup>/0.0003407</sup> (31) where ε _eq_ <sup>_p_</sup> <sup>is the equivalent plastic strain defined as:</sup> ε _eq_ <sup>_p_</sup> <sup>=</sup> - <u>2</u> 3 <sup>ε</sup> <sup>_p_</sup> <sup>: ε</sup> <sup>_p_</sup> (32) and ε <sup>_p_</sup> is the plastic strain. Plane stress conditions are assumed. _6.1._ _Model selection_ In this section, a grid-search strategy is employed to choose the best architecture for the networks. The goal is to find the optimum layer size before heading to the testing sections. Here, four different layer sizes and 10 different weight initializations are considered to mitigate the effect of randomness. 15 Figure 8: Geometry and mesh discretization of microscopic model adopted in this work. For the PRNN, a single material layer without biases and four different sizes are considered. In this case, only the elastoplastic model is used so that the size of the material layer is the only variable in the model selection. Recall that the network still can make a subgroup to behave elastically by passing small strains to the material model. The training and the validation sets consist of 18 Type I curves and 54 Type II curves, respectively. Fig. 9a shows the boxplot with the average validation error of each run alongside the mean error value. The networks with 6 units (or two fictitious material points) performed best. For the Bayesian RNN, a single GRU cell is employed and in each initialization, the training set consists of the fixed set of 18 Type I curves, 90 Type II curves randomly chosen from a pool of 1800 curves, and 90 Type III curves also randomly chosen from a pool of 1800 curves, amounting to 198 loading paths. That way, all types of curves used for training in the following sections are covered. Fig. 9b shows the boxplot with the average training error of each run alongside the mean error value of all runs represented by the x marker. In this study, it is found that the GRU with 128 units performs best. In this case, no validation set is needed to determine the best dropout rate as the type of RNN used in this investigation infers it from the training data by default (see Section 3). 32 64 128 256 GRU cell size [units] 14.00 12.00 10.00 8.00 6.00 4.00 2.00 0.00 3 6 9 12 Material layer size [units] 6.00 5.00 4.00 3.00 2.00 1.00 0.00 (a) Validation error for PRNNs trained on DPRNN = {18 Type I curves} and VPRNN = {54 Type II curves} (b) Training error for RNNs trained on DRNN = {18 Type I curves, 90 Type II and 90 Type III curves} Figure 9: Model selection of PRNN and RNN _6.2._ _Predicting unloading_ / _reloading from monotonic data_ In this section, the training process of the RNNs on Type II curves ( _i.e._ without unloading) is reported. The first test set consists of 100 Type II curves. Fig. 10 shows the average error of the RNNs over the test set compared to the best (blue triangle), worst (upside-down blue triangle), and average error (blue circle) found by the PRNNs. Note that the secondary axis starts with 18 curves, this is because the known directions used for training the PRNNs are also a 16 fixed set in the training of the RNNs. The training of the RNNs is stopped with 288 curves. At that stage, a similar level of accuracy between the PRNNs and the RNNs is obtained (although with a training set 16 times larger) and the addition of new curves only yields a marginal gain in accuracy. Total number of curves in RNN 18 36 72 144 288 8.00 7.00 6.00 5.00 4.00 3.00 2.00 1.00 0.00 0 18 54 126 270 Number of Type II curves in RNN RNNAverage RNNBest PRNNWorst RNNWorst PRNNAverage PRNNBest Figure 10: Absolute error over monotonic test set TII = {100 Type II curves} for RNNs trained on Types I and II and PRNNs on Type I only Next, a new test set with 100 Type III curves is evaluated by the same networks trained on the 288 monotonic curves. This time, the RNN fails to capture unloading and the addition of more monotonic data is ineffective, as shown in Fig. 11a. This outcome is not new to the literature and it is not surprising that RNNs need to see unloading behavior during training in order to be able to describe it. However, in contrast to the RNNs, the PRNNs provide the same level of accuracy for the test sets with and without unloading, even when not exposed to unloading data during training. In Fig. 11b a single representative case from test set TIII is plotted using the best RNN and PRNN. Both networks show good agreement with the reference solution until unloading starts (a feature not covered during training), but only the PRNN is capable of capturing the elastic unloading/reloading. 0.0 -8.0 -16.0 -24.0 0 10 20 30 40 50 60 12.0 8.0 4.0 0.0 0 10 20 30 40 50 60 30.0 20.0 10.0 0.0 Micro _∥_ DPRNN _∥_ = 18 curves _<u>∥</u>_ DRNN _<u>∥</u>_ = 288 curves 12.00 10.00 8.00 6.00 4.00 2.00 0.00 Total number of curves in RNN 288 576 1152 0 288 864 Number of additional Type II curves in RNN RNNAverage RNNBest RNNWorst PRNNWorst PRNNAverage PRNNBest (a) Absolute error over test set TIII = {100 Type III curves} for RNNs trained on Types I and II and PRNNs on Type I only 0 10 20 30 40 50 60 Time step [-] (b) Stress-time view of representative case from test set TIII using the best RNN and PRNN Figure 11: Absolute error over non-monotonic test set TIII for RNNs and PRNNs trained only on monotonic data and representative case _6.3._ _Predicting unloading_ / _reloading behavior from non-monotonic data_ Following the conclusions of Section 6.2, the training set of the RNN is expanded to include curves with the same unloading behavior as the one observed in the test set TIII. The 288 monotonic curves of Types I and II from the 17 previous section are combined with an increasing number of non-monotonic curves of Type III. This time, with the right features included in the training set, Fig. 12 shows a monotonic decrease of the average error for the RNN on TIII curves. However, the performance of the RNN only meets the one obtained by the PRNN with around 32 times more data. Total number of curves in RNN 288 324 360 432 576 12.00 10.00 8.00 6.00 4.00 2.00 0.00 0 1836 72 144 288 Number of Type III curves in RNN RNNAverage RNNBest RNNWorst PRNNWorst PRNNAverage PRNNBest Figure 12: Absolute error over non-monotonic test set TIII = {100 Type III curves} for RNNs trained on Types I, II and II and PRNNs on Type I only _6.4._ _Predicting unseen patterns from non-monotonic data_ In this section, three additional test sets are considered for the RNN trained on Types I, II and III and the PRNN trained on Type I only. The goal is to test the ability of the networks to predict the macroscopic stress with patterns different from those seen during training. First, we consider a test set with 100 unseen curves of Type IVa, which consists of proportional curves in random directions with a different predefined unloading/reloading behavior than that of Type III. The average error for that set is shown in Fig. 13a. Here, the 576 curves from the previous section are no longer enough to provide good accuracy when predicting a different unloading/reloading. By adding more Type III curves to the training set of the RNN, the average error decreases from 6.4 MPa to around 4.0 MPa but no significant gain in the accuracy is observed when the total number of curves is larger than 864 curves. Based on that, a representative case from test set TIVa is shown in Fig. 13b. Despite the relative low error from both networks, note that the RNN looses performance once unloading starts while the PRNN continues to show good agreement throughout the entire loading path. For the next scenario, a test set with 100 Type IVb curves are considered. These curves have the same unloading/reloading behavior as Type III, but with a 10× smaller time step. Fig. 14a illustrates the average error of 10 networks over that test set and again, it is clear that the addition of new curves with patterns different from the exact one being tested is not beneficial to the RNN. Again, the PRNN provides good accuracy. Essentially, the PRNN is only as sensitive to step size as the material models embedded in it. Fig. 14b illustrates the networks’ predictions for a curve in the test set TIVb. As a final test, a set of 100 Type V curves, which corresponds to non-proportional and non-monotonic paths, is considered. This type of curve combines the two previous features: different step sizes and different unloading/reloading locations. Fig. 15a shows the average error for additional non-monotonic curves in the training of the RNNs. It is clear that the RNN completely fails to capture non-proportional paths (lowest error around 32 MPa) and that the addition of more data with features different than those being tested is a waste of resources. Although in different levels, a similar trend of loss of accuracy is also observed in the PRNNs, where the best, average and worse performances result in errors around 8.9 MPa, 17.0 MPa and 11.2 MPa respectively. Fig. 15b illustrates the different order of error between the PRNN and the RNN on a representative case from test set TV. _6.5._ _Training both networks on non-monotonic and non-proportional loading_ In this section, both networks are trained on the most generic set of curves, _i.e._ random non-monotonic and nonproportional curves of Type V. In addition to that, we trained the PRNNs on the known and proportional loading cases 18 0.0 -8.0 -16.0 -24.0 0 10 20 30 40 50 60 15.0 10.0 5.0 0.0 -5.0 0 10 20 30 40 50 60 40.0 30.0 20.0 10.0 0.0 8.00 6.00 4.00 2.00 0.00 Total number of curves in RNN 576 864 1440 0 288 864 Number of additional Type III curves in RNN RNNAverage RNNBest P ~~RNN~~ <u>WorstRNNWorst</u> PRNNAverage PRNNBest Micro _∥_ DPRNN _∥_ = 18 curves _<u>∥</u>_ DRNN _<u>∥</u>_ = 864 curves (a) Absolute error over test set TIVa = {100 Type IVa curves} for RNNs trained on Types I, II and III and PRNN on Type I only 0 10 20 30 40 50 60 Time step [-] (b) Stress-time view of representative case from test set TIVa using the best RNN and PRNN Figure 13: Absolute error over non-monotonic test set TIVa = {100 Type IVa curves} for RNNs trained on Types I, II and II and PRNNs on Type I only and representative case 0.0 -8.0 -16.0 -24.0 -0.012 -0.010 -0.007 -0.005 -0.002 0.000 _εx_ [-] 10.0 5.0 0.0 -5.0 0.000 0.002 0.004 0.006 0.008 0.010 _εy_ [-] 30.0 Micro 20.0 10.0 _∥_ DPRNN _∥_ = 18 curves 0.0 _<u>∥</u>_ DRNN _<u>∥</u>_ = 864 curves 0.000 0.010 0.020 0.030 0.040 _εxy_ [-] 12.00 10.00 8.00 6.00 4.00 2.00 0.00 Total number of curves in RNN 576 864 1440 0 288 864 Number of additional Type III curves in RNN RNNAverage RNNBest RNNWorst PRNNWorst PRNNAverage PRNNBest (a) Absolute error over test set TIVb = {100 Type IVb curves} for RNNs trained on Types I, II and III and PRNNs on Type I only (b) Representative ε-σ curve from test set TIVb using the best RNN and PRNN Figure 14: Absolute error over different step size test set TIVb = {100 Type IVb curves} for RNNs trained on Types I, II and III and PRNNs on Type I only and representative case for comparison purposes. In that case, the size of the material layer is kept at 6 units and three training dataset sizes are considered. First, only the pure uniaxial cases are included, which yields 6 loading cases. Then, the 4 biaxial cases are added to the previous training dataset, resulting in 10 loading cases. And finally, we add the 8 cases with biaxial and shear loading, which amounts to the 18 fundamental paths shown in Fig. 6b. When training both networks on non-proportional paths a new model selection procedure was carried out to determine the optimum size of the material layer and the GRU cell, respectively. In this preliminary study, 10 different weights initialization are considered again. For training the RNNs and the PRNNs, 2304 and 198 Type V curves are 19 -0.030 -0.020 -0.010 _εx_ [-] -0.040 -0.030 -0.020 -0.010 0.000 _εy_ [-] Micro _∥_ DPRNN _∥_ = 18 curves _<u>∥</u>_ DRNN _<u>∥</u>_ = 864 curves -0.040 -0.020 0.000 0.020 _εxy_ [-] 80.0 40.0 0.0 -40.0 -80.0 40.0 0.0 -40.0 -80.0 40.0 20.0 0.0 -20.0 60.00 50.00 40.00 30.00 20.00 10.00 0.00 Total number of curves in RNN 576 864 1440 0 288 864 Number of additional Type III curves in RNN RNNAverage RNNBest RNNWorst PRNNWorst PRNNAverage PRNNBest (a) Absolute error over test set TV = {100 Type V curves} for RNN trained on Types I, II and III and PRNN on Type I only (b) Representative ε-σ curve from test set TV using the best RNN and PRNN Figure 15: Absolute error over non-proportional and non-monotonic test set TV = {100 Type V curves} for RNNs trained on Types I, II and III and PRNNs on Type I only and representative case used, respectively. Figs. 16a and 16b show the boxplot with the average error of each run alongside the mean error value. In this case, the networks with 18 units (which corresponds to six fictitious material points) performed better. For the Bayesian RNN, the GRUs with 128 units continue to provide the best performance. Therefore, this architecture is the one used in the comparison presented below. 12.00 40.00 10.00 8.00 6.00 4.00 2.00 0.00 3 6 9 12 15 18 21 Material layer size [units] (a) Validation error for PRNNs trained on DPRNN = {198 Type V curves} and VPRNN = {54 Type V curves} 35.00 30.00 25.00 20.00 15.00 10.00 5.00 32 64 128 256 GRU cell size [units] (b) Training error for RNNs trained on DRNN = {2304 Type V curves} Figure 16: Model selection of PRNN and RNN for non-monotonic and non-proportional loading This time, all test sets discussed in Section 6.2, 6.3 and 6.4 are used again to assess the accuracy of the networks with the new sampling strategy. Figures 17a-17e show the best, worst and average error for the cases studied so far in order. Based on this study, a few important insights are worth mentioning: after a certain point (around 576 curves), the RNNs reach an optimum level of accuracy and the addition of new curves no longer boosts predictions for proportional loading cases (TII, TIII, TIVa and TIVb). This is in line with the behavior observed in the previous sections, in which the RNNs would only perform well when trained with the same features as in the test set. And 20 more importantly, changing the sampling strategy also showed to have limited effect on improving their performance. Granted, increasing even further the number of curves used for training as well as the complexity of the RNN might help in that task. However, the point stands that with the PRNN, this is not necessary. Note that for the same training set sizes, the PRNN with either the known or the random curves perfoms better than using the RNNs. Finally, when choosing between known and random curves for training the PRNN, the latter shows comparable errors with the first when predicting proportional loading, but is significantly more accurate (see detail in Fig. 17e) for non-proportional loading. For that reason, the PRNN trained on Type V is chosen to illustrate the network’s capacity in the following FE <sup>2</sup> examples. On average, the accuracy of the PRNN reaches a plateau around 36 curves. From that point on, the benefit of adding new data is limited. 7. FE <sup>2</sup> applications In this section, the PRNN trained with 36 non-proportional and non-monotonic Type V curves and lowest test error for test set TV in Section 6.5 is employed as the constitutive model in two numerical examples. Results obtained with the PRNN as constitutive model are compared against results obtained with full FE <sup>2</sup> with the same micromodel that the network was trained to be a surrogate for. Both types of analysis are performed with an in-house Finite Element code using the open-source Jem/Jive C++ numerical analysis library [37]. At the macroscale, an arc-length method with an adaptive-stepping scheme [38] is adopted to tackle potential convergence issues. This way, if a loading step does not converge with the given (full) step size, a reduction factor is applied to it until the loading step converges or until a maximum number of reductions in the initial step has been reached, terminating the analysis. Upon convergence, in the following step, the analysis is resumed with the full step size. In this work, each load step can be reduced by a factor of 0.4 for a maximum number of 5 times. All simulations, including the PRNN training, were executed on a single core of a Xeon E5-2630V4 processor on a cluster node with 128 GB RAM running CentOS 7. _7.1._ _Tapered bar_ The first example consists in a tapered composite specimen with length of 128 mm and height of 8 mm loaded in transverse tension. In this setting, the 36-fiber RVE model used to train the networks in the previous sections is embedded at each integration point of the macroscale. The geometry and the boundary conditions are shown in Fig. 18a. The FE <sup>2</sup> problem is solved for 110 load steps with unloading according to the function shown in Fig. 18b. At this point, the macroscopic response is already in the plastic regime. The strain field at the end of the analysis is shown in Fig. 19a along with the location of one macroscopic integration point. This point is used to illustrate the state of the PRNN throughout the time steps. Recall that the network used in this section consists of 18 units ( _i.e._ 6 fictitious material points). Thus, each row in Fig. 19b corresponds to a fictitious material point, each with its own stress path and internal variables (even though only one of them is plotted). In this case, each component of the macroscopic response ( _i.e._ homogenized stresses) is simply the linear combination of the local stresses of the 6 material models. It can be observed that the two macroscopic responses are in excellent agreement, with minor deviations in stress components with low magnitude. This is only visualized for a single point, but it is emphasized that in this multiscale problem, agreement in the evolution of the stresses in a single integration point indicates that the whole problem is solved accurately. Moreover, the equivalent plastic deformation of each material point is plotted in the last column. Note that despite the plastic response of the RVE after time step 20, three of the fictitious material points of the network ( _m_ 1, _m_ 2 and _m_ 6) remain in the elastic regime. The accuracy of the PRNN is further assessed by inspecting the load-displacement curve at the top edge of the bar. Fig. 20a shows the load-displacement curve using the full-order solution and the network’s response for different macroscopic mesh discretizations. For the refinement studied so far (∆ <sup>Ω</sup> elem <sup>=</sup> <sup>8</sup> <sup>mm),</sup> <sup>it</sup> <sup>is</sup> <sup>clear</sup> <sup>that</sup> <sup>the</sup> <sup>proposed</sup> network can capture accurately the entire nonlinear response, albeit with minor deviations when the tapered bar changes from tension to compression and then back again to tension. Next, the global accuracy of the method is verified. Since the surrogate model is not as accurate as the full-order model, a different equilibrium solution at a certain time step affects the equilibrium in the following loading steps, leading to accumulated error and diverging ε-σ paths. In this case, since no reduction in the step size was observed at 21 <u>20</u> 15 10 5 <u>0</u> <u>610</u> <u>18</u> <u>36</u> <u>72</u> <u>6</u> <u>144288</u> <u>576</u> <u>1152</u> <u>2304</u> Number of curves used for training (b) Test set TIII = {100 Type III curves} 20 15 10 5 0 <u>610</u> <u>18</u> <u>36</u> <u>72</u> <u>6</u> <u>144288</u> <u>576</u> <u>1152</u> <u>2304</u> Number of curves used for training 56.00 48.00 40.00 32.00 24.00 16.00 8.00 0.00 56.00 48.00 40.00 32.00 24.00 16.00 8.00 0.00 20 15 <u>10</u> ~~5~~ ~~0~~ <u>610</u> <u>18</u> <u>36</u> <u>72</u> <u>6</u> <u>144288</u> <u>576</u> <u>1152</u> <u>2304</u> Number of curves used for training (a) Test set TII = {100 Type II curves} 20 15 10 <u>5</u> ~~0~~ <u>610</u> <u>18</u> <u>36</u> <u>72</u> <u>6</u> <u>144288</u> <u>576</u> <u>1152</u> <u>2304</u> Number of curves used for training PRNN - Known prop. PRNN - Random non-prop. RNN - Random non-prop. PRNN - Known prop. PRNN - Random non-prop. RNN - Random non-prop. 56.00 48.00 40.00 32.00 24.00 16.00 8.00 0.00 64.00 56.00 48.00 40.00 32.00 24.00 16.00 8.00 0.00 PRNN - Known prop. PRNN - Random non-prop. RNN - Random non-prop. PRNN - Known prop. PRNN - Random non-prop. RNN - Random non-prop. (c) Test set TIVa = {100 Type IVa curves} 64.00 56.00 48.00 40.00 32.00 24.00 16.00 8.00 0.00 (d) Test set TIVb = {100 Type IVb curves} <u>25</u> 20 15 <u>10</u> ~~5~~ 0 ~~6 10~~ ~~18~~ ~~36~~ ~~72~~ 6 144 288 576 1152 2304 Number of curves used for training PRNN - Known prop. PRNN - Random non-prop. RNN - Random non-prop. (e) Test set TV = {100 Type V curves} Figure 17: Absolute error of networks trained on different sampling strategies and different test sets any moment, the simple average error between the PRNN prediction and the full-order solution is calculated for each time step averaged over all integrations points at the macroscale, as illustrated in Fig. 20b. For most of the simulation, the average absolute error in the predictions remains below 1 MPa with two peaks around 4 MPa and 6 MPa when the loading is reversed, following the trends observed in Fig. 20a. For reference, the lowest error of the network for test 22 ε Ω Non-monotonic (∆ _s_ = 7 _._ 5 _×_ 10 <sup>_−_</sup> <sup>2</sup> ) 10 20 30 40 50 60 70 80 90 100 110 Time step [-] (b) Loading function Fictitious material point m1 Ω Ω Ω σ _^_ xΩ σ _^_ yΩ σ _^_ xyΩ _^_ Ω 12 <mark>8 m</mark> m F 8 mm 2400 mm y x Ω εxΩ εΩy εxyΩ Fictitious material point m6 4.00 3.50 3.00 2.50 2.00 1.50 1.00 0.50 0.00 σ _^_ Ω DΩ (a) Geometry and boundary conditions Figure 18: Tapered bar FE <sup>2</sup> example with (a) geometry and boundary conditions and (b) loading function set TV is plotted. For the purpose of assessing the efficiency of the network in accelerating the FE <sup>2</sup> simulations, three different levels of mesh refinement of the tapered bar are taken into account, being the coarses the one shown in Fig. 18. Table 1 summarizes the wall-clock time spent in the analysis of the different discretizations, as well as the speed-up in comparison to the full-order solution. For the mesh used to illustrate this section (∆ <sup>Ω</sup> elem <sup>=</sup> <sup>8</sup> <sup>mm),</sup> <sup>replacing</sup> <sup>the</sup> in comparison to the full-order solution. For the mesh used to illustrate this section (∆ <sup>Ω</sup> elem <sup>=</sup> <sup>8</sup> <sup>mm),</sup> <sup>replacing</sup> <sup>the</sup> solution of the BVP of the micromodel with the network led to a speed-up over 26000 with the accuracy reported in Fig. 20b. Considering the offline costs, the training time is still lower than that of using the full-order solution with 134 macroscopic elements, which is a very modest number of elements for a multiscale problem. Since the network is trained to replace the solution of the microscopic model, no additional training is required for the analysis of more complex cases where the macroscale problems require more elements and time steps. Hence, in general, higher speed-ups should be achieved with denser meshes. However, in this particular problem, this is not always the case. An increase from the coarsest to the intermediary mesh is observed, but no gain is achieved when refining even further. In that case, the reduction in performance due to the higher number of iterations caused by the necessity of adaptively reducing the step size in order to ensure convergence. In constrast, the full-order solution was more numerically stable for this mesh density and the adaptive-stepping scheme was not triggered. As the mesh is refined and strain localization takes place (see the red region in Fig. 19a), even higher strain levels are achieved, pushing the network to make predictions in unexplored regions during training, as illustrated in Fig. 21. Note that the network is already making far-reaching predictions in the coarsest discretization, although in a less extensive way. In the mesh with ∆ <sup>Ω</sup> elem <sup>= 8 mm, the maximum strain does not exceed 0.2, while ∆Ω</sup> elem <sup>=</sup> <sup>2 mm leads to</sup> <sup>Ω</sup> elem <sup>= 8 mm, the maximum strain does not exceed 0.2, while ∆Ω</sup> extensive way. In the mesh with ∆ <sup>Ω</sup> elem <sup>= 8 mm, the maximum strain does not exceed 0.2, while ∆Ω</sup> elem <sup>=</sup> <sup>2 mm leads to</sup> strains higher than 0.3. In spite of these complicating aspects, it is worth mentioning this is still a significant speed-up. Moreover, a far less severe effect on the global accuracy is observed, as illustrated by the almost overlapping loaddisplacement curves in Fig. 20a. In that sense, the adaptive-stepping scheme plays an important role to help overcome 23 F 1 y x (a) Strain field at the end of the analysis using the PRNN (b) Detailed view of PRNN for integration point 1 _σx_ [MPa] 10.0 0.0 -10.0 -20.0 0 20 40 60 80100 2.0 1.0 0.0 -1.0 -2.0 0 20 40 60 80100 12.0 6.0 0.0 -6.0 -12.0 0 20 40 60 80100 20.0 0.0 -20.0 0 20 40 60 80100 20.0 10.0 0.0 -10.0 -20.0 0 20 40 60 80100 5.0 2.5 0.0 -2.5 -5.0 0 20 40 60 80100 0.3 0.2 0.1 0.0 -0.1 0 20 40 60 80100 Time step [-] _εeq_ [-] 0.0500 0.0250 0.0000 -0.0250 -0.0500 0 20 40 60 80 100 0.0500 0.0250 0.0000 -0.0250 -0.0500 0 20 40 60 80 100 0.0450 0.0300 0.0150 0.0000 0 20 40 60 80 100 0.0003 0.0002 0.0002 0.0001 0.0000 0 20 40 60 80 100 0.0012 0.0008 0.0004 0.0000 0 20 40 60 80 100 0.0500 0.0250 0.0000 -0.0250 -0.0500 0 20 40 60 80 100 Time step [-] J2 model PRNNFE <sup>2</sup> FE <sup>2</sup> _σxy_ [MPa] 12.0 6.0 0.0 -6.0 -12.0 0 20 40 60 80100 0.8 0.4 0.0 -0.4 -0.8 0 20 40 60 80100 30.0 15.0 0.0 -15.0 -30.0 0 20 40 60 80100 5.0 2.5 0.0 -2.5 -5.0 0 20 40 60 80100 12.0 6.0 0.0 -6.0 -12.0 0 20 40 60 80100 0.8 0.0 -0.8 -1.6 0 20 40 60 80100 0.0 -0.0 -0.1 -0.1 0 20 40 60 80100 Time step [-] 0.4 0.0 -0.4 -0.8 6.0 3.0 0.0 _σy_ [MPa] 0 20 40 60 80100 -3.0 -6.0 0 20 40 60 80100 15.0 0.0 -15.0 0 20 40 60 80100 4.0 2.0 0.0 -2.0 -4.0 0 20 40 60 80100 20.0 10.0 0.0 -10.0 -20.0 0 20 40 60 80100 3.0 1.5 0.0 -1.5 -3.0 0 20 40 60 80100 40.0 20.0 0.0 -20.0 -40.0 0 20 40 60 80100 Time step [-] Figure 19: Strain field using the PRNN on the left and detailed view of PRNN for a single macroscopic integration point on the right. 300.0 200.0 100.0 0.0 -100.0 -200.0 -300.0 <sup>Ω</sup> elem <sup>= 2</sup> <sup>mm</sup> <sup>Ω</sup> elem <sup>= 4</sup> <sup>mm</sup> <sup>Ω</sup> elem <sup>= 8</sup> <sup>mm</sup> ~~RMSE~~ _~~σ~~_ ~~ˆ~~ _~~x~~_ RMSE _σ_ ˆ _y_ ~~RMSE~~ _~~σ~~_ ~~ˆ~~ _<u>xy</u>_ Ref. RMSE for test set _<u>T</u>_ V 0 20 40 60 80 100 110 Time step [ _−_ ] Full-order FE <sup>2</sup> ∆ <sup>Ω</sup> PRNNFE <sup>2</sup> ∆ <sup>Ω</sup> PRNNFE <sup>2</sup> ∆ <sup>Ω</sup> PRNNFE <sup>2</sup> ∆ <sup>Ω</sup> <sup>Ω</sup> elem <sup>= 2</sup> <sup>mm</sup> 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Displacement [mm] (a) Load-displacement curve obtained with the full-order FE <sup>2</sup> approach and with PRNN for different macroscopic mesh discretizations 6.00 5.00 4.00 3.00 2.00 1.00 0.00 (b) Average RMSE at each time step of analysis with ∆ <sup>Ω</sup> elem <sup>=</sup> <sup>8</sup> mm Figure 20: Tapered bar FE <sup>2</sup> example with (a) load-displacement curve with the full-order solution and best PRNN and (b) average error of PRNN’s predictions at each time step of the analysis with ∆ <sup>Ω</sup> elem <sup>= 8 mm.</sup> convergence issues. 24 Table 1: Computational cost for different mesh discretizations and efficiency of network in FE <sup>2</sup> approach. Online Macroscale element size (∆ <sup>Ω</sup> elem <sup>) [mm]</sup> 8 4 2 Number of elements at the macroscale 64 134 454 FE <sup>2</sup> wall-clock time [s] 21574 47644 178800 PRNNFE <sup>2</sup> wall-clock time [s] 0.81 1.55 8.41 Speed-up <sup>_a_</sup> [-] 26560 30746 21526 Av. wall-clock time per curve (dataset gen.) [s] 265 <sup>_b_</sup> N/A N/A Offline Av. training time (excl. dataset gen.) [s] 38045 <sup>_b_</sup> N/A N/A _a_ Evaluated as FE2 wall-clock time/PRNNFE2 wall-clock time and averaged over 5 runs _b_ One-off cost regardless of macroscopic mesh discretization 400 200 0 0 _._ 3 0 _._ 2 0 _._ 1 0 _._ 0 _−_ 0 _._ 1 Training set DPRNN PRNNFE <sup>2</sup> ∆ <sup>Ω</sup> elem <sup>=</sup> <sup>Ω</sup> elem <sup>=</sup> <sup>8.0</sup> <sup>mm</sup> <sup>Ω</sup> elem <sup>=</sup> <sup>2.0</sup> <sup>mm</sup> 400 200 0 0 _._ 06 0 _._ 04 0 _._ 02 0 _._ 00 _−_ 0 _._ 02 _−_ 0 _._ 04 _−_ 0 _._ 06 _−_ 0 _._ 08 Training set DPRNN PRNNFE <sup>2</sup> ∆ <sup>Ω</sup> elem <sup>=</sup> <sup>Ω</sup> elem <sup>=</sup> <sup>8.0</sup> <sup>mm</sup> <sup>Ω</sup> elem <sup>=</sup> <sup>2.0</sup> <sup>mm</sup> PRNNFE <sup>2</sup> ∆ <sup>Ω</sup> PRNNFE <sup>2</sup> ∆ <sup>Ω</sup> Training set DPRNN PRNNFE <sup>2</sup> ∆ <sup>Ω</sup> elem <sup>=</sup> <sup>Ω</sup> elem <sup>=</sup> <sup>8.0</sup> <sup>mm</sup> <sup>Ω</sup> elem <sup>=</sup> <sup>2.0</sup> <sup>mm</sup> 300 150 0 0 _._ 3 0 _._ 2 0 _._ 1 0 _._ 0 _−_ 0 _._ 1 PRNNFE <sup>2</sup> ∆ <sup>Ω</sup> _−_ 0 _._ 100 _−_ 0 _._ 075 _−_ 0 _._ 050 _−_ 0 _._ 025 0 _._ 000 0 _._ 025 0 _._ 050 0 _._ 0750 200 400 _εx_ [-] (a) Macroscopic strains in _x_ and _y_ _−_ 0 _._ 100 _−_ 0 _._ 075 _−_ 0 _._ 050 _−_ 0 _._ 025 0 _._ 000 0 _._ 025 0 _._ 050 0 _._ 0750 150 300 _εx_ [-] (b) Macroscopic strains in _x_ and _xy_ _−_ 0 _._ 08 _−_ 0 _._ 06 _−_ 0 _._ 04 _−_ 0 _._ 02 0 _._ 00 0 _._ 02 0 _._ 04 0 _._ 06 _εxy_ [-] (c) Macroscopic strains in _xy_ and _y_ 0 200 400 Figure 21: Joint distribution of strains from the training set of the best PRNN and strain distribution obtained by PRNNFE <sup>2</sup> for the tapered bar problem with different macroscopic mesh discretizations. _7.2._ _Plate with multiple holes_ As a final example, a composite plate with multiple cutouts with geometry and boundary and loading conditions as illustrated in Fig. 22 is studied. Again, an FE <sup>2</sup> approach is employed to solve the problem for the same microscopic model with which all the networks in Section 6 were trained for. This time, no unloading is imposed and 150 load steps with ∆s = 5.0 × 10 <sup>−3</sup> are considered. The load-displacement curve at the right edge of the plate is plotted in Fig. 23a using both the full-order solution and the network. Again, good agreement is observed between the macroscopic responses. The slight inaccuracy between those are quantified in Fig. 23b, in which the average absolute error of the component with the highest magnitudes (σ _x_ ) is around 1 MPa for almost the entire simulation. The displacement field at the end of the analysis is shown in Fig. 24a, where the location of five macroscopic integration points are marked for further inspection. The stress paths for each of these points are illustrated in Fig. 24b, where the full-order solution and the network prediction are plotted in black and gray, respectively. Note how the stress paths are non-proportional even for the relatively simple loading condition observed in the macroscale. The integration point on the edge of one of the cutouts, namely point 4, is also the one with the highest stress magnitude and the closest to a uniaxial state in the _x_ direction while the other points experience multiaxial loading more strongly. In terms of efficiency, the solution using the network is around 26705 times faster than the full-order solution, which took approximately 258780 s (around 72 hours). The order of magnitude in the speed-up is similar to that obtained in the tapered bar problem. Although no additional offline costs are incurred because the network has been trained before for the same microscopic model and it does not depend on the macroscopic problem at hand, it is worth stressing that the runtime of the full-order solution exceeds the sum of the online and offline costs of the PRNN. 25 3. <mark>2 mm</mark> 0.8 mm <mark>8 mm</mark> <mark>2 mm</mark> <mark>2 mm</mark> 3.2 mm 3.2 mm 1.6 mm 1.6 mm 1.6 mm 3.2 mm 4.8 mm <mark>3.2 mm</mark> <mark>3.2 mm</mark> ~~16 mm~~ Figure 22: Plate with cutouts: geometry and boundary and loading conditions. F 350.0 300.0 250.0 200.0 150.0 100.0 50.0 Full-order FE <sup>2</sup> PRNNFE <sup>2</sup> (18 units) 36 curves ~~RMSE~~ _~~σ~~_ ~~ˆ~~ _~~x~~_ RMSE _σ_ ˆ _y_ ~~RMSE~~ _~~σ~~_ ~~ˆ~~ _<u>xy</u>_ Ref. RMSE for test set _<u>T</u>_ V 0 20 40 60 80 100 Time step [ _−_ ] (b) Average RMSE 0.0 0.00 0.15 0.30 0.45 0.60 0.75 Displacement [mm] (a) Load-displacement curve 6.00 5.00 4.00 3.00 2.00 1.00 0.00 Figure 23: Plate with cutouts: (a) load-displacement curve and (b) average error of PRNN’s predictions at each time step of the analysis. Finally, this example shows that the network can capture multiaxial stress states and non-proportional loading as obtained in FE <sup>2</sup> simulations accurately. No convergence issues were encountered in the PRNNFE <sup>2</sup> simulation which points to the smoothness of the predictions that is not always guaranteed with surrogate models (see _e.g._ RNN curves in Fig. 15b). 8. Concluding remarks In this paper, a novel network with embedded physics-based constitutive models is proposed as surrogate model for the behavior of path-dependent materials in FE <sup>2</sup> simulations. The central idea is to address common problems in modeling path-dependent materials using black-box models ( _e.g._ unique mapping between input and output and limited extrapolation abilities) by taking a step back and reintroducing physics into the network in a way that requires very little extra coding effort with respect to existing FE <sup>2</sup> frameworks. This is done by employing the same material models used for the microscopic level as part of one of the layers of the network. To accommodate this non-standard neural layer the following changes with respect to standard neural network architectures are proposed. First, neurons are assembled in groups of the size of the number of strain/stress components 26 1 2 4 5 F 3 (a) Displacement field at the end of the analysis with PRNN and selection of integration points for inspection (b) Stress-time view of macroscopic integration points. Full-order solution in black and network’s prediction in gray Figure 24: Plate with cutouts: (a) displacement field at the end of the analysis and (b) selected integration points shown in stress-time view. of the problem. These are referred to as fictitious material points. Secondly, to take advantage of all the information coming from the physics-based material model, we store the updated internal variables used to fully describe the state of the fictitious material point in an auxiliary vector. With that, when new strain values are fed, the material point will start from the last stored internal variables. As a consequence, each subgroup follows a unique path without the need to increase the feature space with extra history variables. The properties and assumptions made by the physics-based constitutive model are inherited by the network and play a major role in reducing the amount of data required to mirror physical and complex behaviors such as elastic unloading/reloading. Here, the decomposition of the strain in elastic and plastic parts is an assumption built in the material model used to describe the nonlinear microscopic material phase and is also observed in the network when the local stresses of the fictitious material points are evaluated. This simple but highly-flexible arrangement allows the network to capture arbitrary unloading behaviors with only monotonic data, a stark contrast with other popular models such as RNNs. The PRNN inherits from FE <sup>2</sup> the idea that complex behavior of heterogeneous materials can be accurately described by letting simpler constitutive models that represent the microscopic constituents interact. The difference is that the interaction between the constituents is not based on micromechanics diretly but learned from data obtained from micromodel simulations. Based on that, an extensive numerical comparison involving a state-of-the-art black-box model, namely a Bayesian Recurrent Neural Network (referred to in this work as RNN), was carried out in order to elucidate the abilities of the proposed network (referred to as PRNN). First, we trained both networks only on 18 monotonic curves with known directions and proportional loading in a similar fashion as done to calibrate classical mesomodels. Such strategy led to poor performance when trying to predict other random directions from the RNN, but good accuracy from our method (Fig. 10). Following that conclusion, the size of the RNN’s training dataset was sequentially increased until the addition of more data did not result in significant gains in accuracy. At that stage, the PRNN performed with the same level of accuracy but with a factor of 16 times less data. Next, both networks were used to predict non-monotonic loading. For that scenario, the PRNN showed the same level of accuracy as before with the same minimal training dataset (Fig. 11a). Such outstanding result is not observed in the RNNs, which again required a larger training set. This time, non-monotonic loading curves were added until the RNN’s accuracy could no longer be significantly improved. As a result, a 32 times larger training dataset in comparison to the one used to train our network was necessary. Furthermore, while our network continues to perform well in all the scenarios tested so far, two other situations exposed the pitfalls of RNNs: (i) when trying to predict unloading in a different location than the one seen in training (Fig. 13a) and (ii) when the step size was modified 27 (Fig. 14a). This is typically tackled by sampling different unloading behaviors with different step sizes, leading to the choice of arbitrarily long sequences. However, we showed that this is a trivial scenario for the PRNN. The network is only as sensitive to step size as the material models it includes. In the last test, both networks were used to predict non-proportional and non-monotonic paths and neither succeeded, although they failed at very different levels. While the lowest error of the RNN was around 32 MPa, the best PRNN led to an error around 9 MPa error (Fig. 15a). Based on that, a second approach to generate the dataset was considered. Random strain paths were generated from Gaussian Processes priors, which produces non-proportional and non-monotonic loading as opposed to the proportional loading previously considered for training. This time, the size of the training dataset and the type of loading was also a variable for the PRNN. It was found that training the PRNN on random non-proportional and non-monotonic curves yields higher accuracy than training with known, proportional, and monotonic curves for all loading scenarios (Fig. 17). Although training with known directions is appealing, having a network that provides lower errors and consistent performance with random directions is also interesting. Ultimately, the PRNN consistently outperformed the RNN with 64 times less data. Finally, after ensuring the PRNN capacity in several challenging scenarios for black-box models, one of the networks trained on non-proportional and non-monotonic curves was chosen to surrogate the microscopic model in a set of two FE <sup>2</sup> examples. The first example concerned a tapered bar in transverse tension and was used to illustrate how the different material models in the PRNN behave for a single macroscopic integration point (Fig. 18). For different discretizations, speed-ups between 21000 and 31000 were obtained for the online phase (Table 1). Such substantial efficiency gain is explained from the dramatically reduced number of material model calls and the bypassing of solving the nonlinear microscopic system of equations for macroscopic stress evaluation for a single load step of each macroscopic integration point. In the last example, a similar order of magnitude of speed-up was observed and the accuracy of the PRNN was illustrated by comparing the ε-σ paths of different macroscopic integration points of a plate with multiple cutouts subjected to tension (Fig. 24b). For the analyzed cases, the time needed for a single FE <sup>2</sup> analysis exceeded the total offline and online time for the PRNN analysis, even though the selected problems had a very modest number of macroscopic elements. Moreover, performing subsequent macroscale analysis with the same material would not require any additional offline training and would therefore leverage the complete speed-up of four orders of magnitude. Acknowledgements The authors acknowledge the TU Delft AI Initiative for their support through the SLIMM AI Lab. FM acknowledges financial support from the Dutch Research Council (NWO) under Vidi grant 16464. References [1] O. Goury, D. Amsallem, S. Bordas, W. Liu, P. Kerfriden, Automatised selection of load paths to construct reduced-order models in compu tational damage micromechanics: from dissipation-driven random selection to bayesian optimization, Computational Mechanics 58 (2016) 213–234. doi: `[10.1007/s00466-016-1290-2](http://dx.doi.org/10.1007/s00466-016-1290-2)` . [2] I. B. C. M. Rocha, P. Kerfriden, F. P. van der Meer, On-the-fly construction of surrogate constitutive models for concurrent multiscale mechanical analysis through probabilistic machine learning, Journal of Computational Physics: X 9 (2021) 1–30. doi: `[10.1016/j.jcpx.](http://dx.doi.org/10.1016/j.jcpx.2020.100083)` `[2020.100083](http://dx.doi.org/10.1016/j.jcpx.2020.100083)` . `[arXiv:2007.07749](http://arxiv.org/abs/2007.07749)` . [3] N. N. Vlassis, W. Sun, Sobolev training of thermodynamic-informed neural networks for interpretable elasto-plasticity models with level set hardening, Computer Methods in Applied Mechanics and Engineering 377 (2021) 113695. doi: `[https://doi.org/10.1016/j.cma.](http://dx.doi.org/https://doi.org/10.1016/j.cma.2021.113695)` `[2021.113695](http://dx.doi.org/https://doi.org/10.1016/j.cma.2021.113695)` . [4] M. Lefik, D. Boso, B. Schrefler, Artificial neural networks in numerical modelling of composites, Computer Methods in Applied Me chanics and Engineering 198 (2009) 1785–1804. doi: `[https://doi.org/10.1016/j.cma.2008.12.036](http://dx.doi.org/https://doi.org/10.1016/j.cma.2008.12.036)`, advances in Simulation-Based Engineering Sciences – Honoring J. Tinsley Oden. [5] D. Huang, J. N. Fuhg, C. Weißenfels, P. Wriggers, A machine learning based plasticity model using proper orthogonal decomposition, Computer Methods in Applied Mechanics and Engineering 365 (2020) 113008. doi: `[10.1016/j.cma.2020.113008](http://dx.doi.org/10.1016/j.cma.2020.113008)` . `[arXiv:2001.03438](http://arxiv.org/abs/2001.03438)` . [6] F. Ghavamian, A. Simone, Accelerating multiscale finite element simulations of history-dependent materials using a recurrent neural network, Computer Methods in Applied Mechanics and Engineering 357 (2019) 112594. doi: `[10.1016/j.cma.2019.112594](http://dx.doi.org/10.1016/j.cma.2019.112594)` . [7] L. Wu, V. D. Nguyen, N. G. Kilingar, L. Noels, A recurrent neural network-accelerated multi-scale model for elasto-plastic heterogeneous materials subjected to random cyclic and non-proportional loading paths, Computer Methods in Applied Mechanics and Engineering 369 (2020) 113234. doi: `[https://doi.org/10.1016/j.cma.2020.113234](http://dx.doi.org/https://doi.org/10.1016/j.cma.2020.113234)` . 28 [8] M. Mozaffar, R. Bostanabad, W. Chen, K. Ehmann, J. Cao, M. A. Bessa, Deep learning predicts path-dependent plasticity, Proceedings of the National Academy of Sciences 116 (2019) 26414–26420. doi: `[10.1073/pnas.1911815116](http://dx.doi.org/10.1073/pnas.1911815116)` . `[arXiv:https://www.pnas.org/content/116/52/26414.full.pdf](http://arxiv.org/abs/https://www.pnas.org/content/116/52/26414.full.pdf)` . [9] G. Chen, Recurrent neural networks (RNNs) learn the constitutive law of viscoelasticity, Computational Mechanics 67 (2021) 1009–1019. doi: `[10.1007/s00466-021-01981-y](http://dx.doi.org/10.1007/s00466-021-01981-y)` . [10] A. Koeppe, F. Bamer, M. Selzer, B. Nestler, B. Markert, Explainable artificial intelligence for mechanics: physics-informing neural networks for constitutive models, 2021. `[arXiv:2104.10683](http://arxiv.org/abs/2104.10683)` . [11] H. J. Logarzo, G. Capuano, J. J. Rimoli, Smart constitutive laws: Inelastic homogenization through machine learning, Computer Methods in Applied Mechanics and Engineering 373 (2021) 113482. doi: `[https://doi.org/10.1016/j.cma.2020.113482](http://dx.doi.org/https://doi.org/10.1016/j.cma.2020.113482)` . [12] M. B. Gorji, M. Mozaffar, J. N. Heidenreich, J. Cao, D. Mohr, On the potential of recurrent neural networks for modeling path dependent plasticity, Journal of the Mechanics and Physics of Solids 143 (2020) 103972. doi: `[https://doi.org/10.1016/j.jmps.2020.103972](http://dx.doi.org/https://doi.org/10.1016/j.jmps.2020.103972)` . [13] M. Raissi, P. Perdikaris, G. Karniadakis, Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations, Journal of Computational Physics 378 (2019) 686–707. doi: `[https://doi.org/](http://dx.doi.org/https://doi.org/10.1016/j.jcp.2018.10.045)` `[10.1016/j.jcp.2018.10.045](http://dx.doi.org/https://doi.org/10.1016/j.jcp.2018.10.045)` . [14] E. Haghighat, M. Raissi, A. Moure, H. Gomez, R. Juanes, A physics-informed deep learning framework for inversion and surrogate modeling in solid mechanics, Computer Methods in Applied Mechanics and Engineering 379 (2021) 113741. doi: `[https://doi.org/10.1016/j.](http://dx.doi.org/https://doi.org/10.1016/j.cma.2021.113741)` `[cma.2021.113741](http://dx.doi.org/https://doi.org/10.1016/j.cma.2021.113741)` . [15] M. Eghbalian, M. Pouragha, R. Wan, A physics-informed deep neural network for surrogate modeling in classical elasto-plasticity, 2022. doi: `[10.48550/ARXIV.2204.12088](http://dx.doi.org/10.48550/ARXIV.2204.12088)` . [16] R. Arora, P. Kakkar, B. Dey, A. Chakraborty, Physics-informed neural networks for modeling rate- and temperature-dependent plasticity, 2022. doi: `[10.48550/ARXIV.2201.08363](http://dx.doi.org/10.48550/ARXIV.2201.08363)` . [17] F. Masi, I. Stefanou, P. Vannucci, V. Maffi-Berthier, Thermodynamics-based Artificial Neural Networks for constitutive modeling, Journal of the Mechanics and Physics of Solids 147 (2021). `[arXiv:2005.12183](http://arxiv.org/abs/2005.12183)` . [18] F. Masi, I. Stefanou, Multiscale modeling of inelastic materials with thermodynamics-based artificial neural networks (tann), Computer Methods in Applied Mechanics and Engineering 398 (2022) 115190. doi: `[https://doi.org/10.1016/j.cma.2022.115190](http://dx.doi.org/https://doi.org/10.1016/j.cma.2022.115190)` . [19] X. Liu, S. Tian, F. Tao, W. Yu, A review of artificial neural networks in the constitutive modeling of composite materials, Composites Part B: Engineering 224 (2021) 109152. doi: `[https://doi.org/10.1016/j.compositesb.2021.109152](http://dx.doi.org/https://doi.org/10.1016/j.compositesb.2021.109152)` . [20] Z. Liu, C. T. Wu, M. Koishi, A deep material network for multiscale topology learning and accelerated nonlinear modeling of heteroge neous materials, Computer Methods in Applied Mechanics and Engineering 345 (2019) 1138–1168. doi: `[10.1016/j.cma.2018.09.020](http://dx.doi.org/10.1016/j.cma.2018.09.020)` . `[arXiv:1807.09829](http://arxiv.org/abs/1807.09829)` . [21] Z. Liu, Cell division in deep material networks applied to multiscale strain localization modeling, CoRR abs/2101.07226 (2021). `[arXiv:2101.07226](http://arxiv.org/abs/2101.07226)` . [22] P. Kerfriden, O. Goury, T. Rabczuk, S. Bordas, A partitioned model order reduction approach to rationalise computational expenses in nonlinear fracture mechanics, Computer Methods in Applied Mechanics and Engineering 256 (2013) 169–188. doi: `[https://doi.org/10.](http://dx.doi.org/https://doi.org/10.1016/j.cma.2012.12.004)` `[1016/j.cma.2012.12.004](http://dx.doi.org/https://doi.org/10.1016/j.cma.2012.12.004)` . [23] M. Bessa, R. Bostanabad, Z. Liu, A. Hu, D. W. Apley, C. Brinson, W. Chen, W. Liu, A framework for data-driven analysis of materials under uncertainty: Countering the curse of dimensionality, Computer Methods in Applied Mechanics and Engineering 320 (2017) 633–667. doi: `[https://doi.org/10.1016/j.cma.2017.03.037](http://dx.doi.org/https://doi.org/10.1016/j.cma.2017.03.037)` . [24] J. Oliver, M. Caicedo, A. Huespe, J. Hern´andez, E. Roubin, Reduced order modeling strategies for computational multiscale fracture, Computer Methods in Applied Mechanics and Engineering 313 (2017) 560–595. doi: `[https://doi.org/10.1016/j.cma.2016.09.039](http://dx.doi.org/https://doi.org/10.1016/j.cma.2016.09.039)` . [25] J. N. Fuhg, C. B¨ohm, N. Bouklas, A. Fau, P. Wriggers, M. Marino, Model-data-driven constitutive responses: Application to a multi scale computational framework, International Journal of Engineering Science 167 (2021) 103522. doi: `[https://doi.org/10.1016/j.](http://dx.doi.org/https://doi.org/10.1016/j.ijengsci.2021.103522)` `[ijengsci.2021.103522](http://dx.doi.org/https://doi.org/10.1016/j.ijengsci.2021.103522)` . [26] F. Ghavamian, P. Tiso, A. Simone, Pod–deim model order reduction for strain-softening viscoplasticity, Computer Methods in Applied Mechanics and Engineering 317 (2017) 458–479. doi: `[https://doi.org/10.1016/j.cma.2016.11.025](http://dx.doi.org/https://doi.org/10.1016/j.cma.2016.11.025)` . [27] I. B. C. M. Rocha, F. P. van der Meer, L. Sluys, Efficient micromechanical analysis of fiber-reinforced composites subjected to cyclic loading through time homogenization and reduced-order modeling, Computer Methods in Applied Mechanics and Engineering 345 (2018). doi: `[10.1016/j.cma.2018.11.014](http://dx.doi.org/10.1016/j.cma.2018.11.014)` . [28] I. B. C. M. Rocha, P. Kerfriden, F. P. van der Meer, Micromechanics-based surrogate models for the response of composites: A critical comparison between a classical mesoscale constitutive model, hyper-reduction and neural networks, European Journal of Mechanics, A/Solids 82 (2020) 103995. doi: `[10.1016/j.euromechsol.2020.103995](http://dx.doi.org/10.1016/j.euromechsol.2020.103995)` . [29] S. Vijayaraghavan, L. Wu, L. Noels, S. P. A. Bordas, S. Natarajan, L. A. A. Beex, Neural-network acceleration of projection-based model order-reduction for finite plasticity: Application to rves, 2021. `[arXiv:2109.07747](http://arxiv.org/abs/2109.07747)` . [30] T. Guo, O. Rokoˇs, K. Veroy, Learning constitutive models from microstructural simulations via a non-intrusive reduced basis method, Computer Methods in Applied Mechanics and Engineering 384 (2021) 113924. doi: `[https://doi.org/10.1016/j.cma.2021.113924](http://dx.doi.org/https://doi.org/10.1016/j.cma.2021.113924)` . [31] V. P. Nguyen, O. Lloberas-Valls, M. Stroeven, L. J. Sluys, Computational homogenization for multiscale crack modeling. Implementational and computational aspects, International Journal for Numerical Methods in Engineering 89 (2012) 192–226. doi: `[10.1002/nme.3237](http://dx.doi.org/10.1002/nme.3237)` . [32] D. P. Kingma, T. Salimans, M. Welling, Variational dropout and the local reparameterization trick, 2015. doi: `[10.48550/ARXIV.1506.](http://dx.doi.org/10.48550/ARXIV.1506.02557)` `[02557](http://dx.doi.org/10.48550/ARXIV.1506.02557)` . [33] D. P. Kingma, J. Ba, Adam: A method for stochastic optimization, 2014. doi: `[10.48550/ARXIV.1412.6980](http://dx.doi.org/10.48550/ARXIV.1412.6980)` . [34] J. Hern´andez, M. Caicedo, A. Ferrer, Dimensional hyper-reduction of nonlinear finite element models via empirical cubature, Computer Methods in Applied Mechanics and Engineering 313 (2017) 687–722. doi: `[https://doi.org/10.1016/j.cma.2016.10.022](http://dx.doi.org/https://doi.org/10.1016/j.cma.2016.10.022)` . [35] T. Mori, K. Tanaka, Average stress in matrix and average elastic energy of materials with misfitting inclusions, Acta Metallurgica 21 (1973) 571–574. doi: `[https://doi.org/10.1016/0001-6160(73)90064-3](http://dx.doi.org/https://doi.org/10.1016/0001-6160%0x2873%0x2990064-3)` . [36] J. D. Eshelby, R. E. Peierls, The determination of the elastic field of an ellipsoidal inclusion, and related problems, Proceedings 29 of the Royal Society of London. Series A. Mathematical and Physical Sciences 241 (1957) 376–396. doi: `[10.1098/rspa.1957.0133](http://dx.doi.org/10.1098/rspa.1957.0133)` . `[arXiv:https://royalsocietypublishing.org/doi/pdf/10.1098/rspa.1957.0133](http://arxiv.org/abs/https://royalsocietypublishing.org/doi/pdf/10.1098/rspa.1957.0133)` . [37] C. Nguyen-Thanh, V. P. Nguyen, A. de Vaucorbeil, T. Kanti Mandal, J.-Y. Wu, Jive: An open source, research-oriented c++ library for solving partial differential equations, Advances in Engineering Software 150 (2020) 102925. doi: `[https://doi.org/10.1016/j.advengsoft.](http://dx.doi.org/https://doi.org/10.1016/j.advengsoft.2020.102925)` `[2020.102925](http://dx.doi.org/https://doi.org/10.1016/j.advengsoft.2020.102925)` . [38] F. P. van der Meer, Mesolevel modeling of failure in composite laminates: Constitutive, kinematic and algorithmic aspects, Archives of Computational Methods in Engineering 19 (2012) 381–425. doi: `[10.1007/s11831-012-9076-y](http://dx.doi.org/10.1007/s11831-012-9076-y)` . 30

섹션 본문 122문단 · 74,347자

(제목 없음)

1Driven by the need to accelerate numerical simulations, the use of machine learning techniques is rapidly growing in the field of computational solid mechanics. Their application is especially advantageous in concurrent multiscale finite element analysis (FE 2 ) due to the exceedingly high computational costs often associated with it and the high number of similar micromechanical analyses involved. To tackle the issue, using surrogate models to approximate the microscopic behavior and accelerate the simulations is a promising and increasingly popular strategy. However, several challenges related to their data-driven nature compromise the reliability of surrogate models in material modeling. The alternative explored in this work is to reintroduce some of the physics-based knowledge of classical constitutive modeling into a neural network by employing the actual material models used in the full-order micromodel to introduce non-linearity. Thus, path-dependency arises naturally since every material model in the layer keeps track of its own internal variables. For the numerical examples, a composite Representative Volume Element with elastic fibers and elasto-plastic matrix material is used as the microscopic model. The network is tested in a series of challenging scenarios and its performance is compared to that of a state-of-the-art Recurrent Neural Network (RNN). A remarkable outcome of the novel framework is the ability to naturally predict unloading/reloading behavior without ever seeing it during training, a stark contrast with popular but data-hungry models such as RNNs. Finally, the proposed network is applied to FE 2 examples to assess its robustness for application in nonlinear finite element analysis.

Introduction

2Driven by the need to accelerate numerical simulations, machine learning (ML) techniques are rapidly growing in the field of computational solid mechanics. The use of surrogate models in particular is especially advantageous in concurrent multiscale finite element analysis (FE 2 ). In this approach, each integration point at the macroscale is linked to a microscopic model, allowing complex materials such as composite materials to be explicitly modeled using relatively simple constitutive models. Although appealing, the computational cost associated with the concurrent Finite Element (FE) simulations is often prohibitive, hindering its widespread use in practical engineering-scale applications. In that sense, another layer of approximation, for instance based on ML techniques, that help accelerate FE 2 simulations is key.

3However, despite the successful use of this type of technique in several fields (e.g., speech recognition, language processing, and biomedical sciences), the use of surrogate models in material modeling is still filled with challenges and open issues. One of them relates to the data scarcity that exposes how data-driven models do not perform as well in extrapolation as they do within their training range. In general, another shortcoming of black-box models is their lack of interpretability. Although not a limiting aspect by itself, the limited interpretability these models offer can make it difficult to understand whether the fitted model is capable of yielding physically consistent solutions for loading paths different than those seen during training.

4In this scenario, the definition of a Design of Experiments (DoE) strategy plays an important role in the generalization capabilities of the surrogate model. The designer needs to take into account the computational (or experimental) budget available to collect the data and what type of loading scenarios are expected to be experienced by the model.

5The former is known a priori, but the latter is not known exactly until the finite element simulation itself is run. As a consequence, large training and testing datasets are usually employed in an attempt to cover all different loading scenarios for a given strain/stress range.

6When path-dependency is present, conceiving an efficient DoE becomes even more complex since stresses now depend on the history of the material, leading to potentially infinite parameter space. One way to bypass the computationally intensive approach is to run and incorporate new load paths on-the-fly, updating the surrogate model as necessary as in the works of Goury et al. [1] and Rocha et al. [2]. In addition to the definition of the DoE, the physics-based assumptions about the material should also be wisely taken into account when choosing the modeling approach. For instance, conventional Artificial Neural Networks (ANN) with strains and stresses taken as input and output, respectively, will fail to capture phenomena such as elastic unloading. This scenario is illustrated by Vlassis and Sun [3] and occurs due to the unique mapping between inputs and outputs that does not reflect two different stress states for the same strain. One way to differentiate the different paths is by augmenting the feature space of the ANN with extra variables that carry partial information about the history of stresses and/or strains [4,5].

7Another highly popular strategy to handle path-dependency is to use Recurrent Neural Networks (RNNs), a variation of ANNs capable of learning from sequential data. This is done by incorporating the previous state of the network when making predictions for the current state. However, this approach often suffers from short-term memory when dealing with long sequences. To address that issue, more complex architectures with more model parameters and fine control of the flow of information retained through a sequence of information were proposed (e.g., GRU and LSTM). These networks gained popularity and have been used to model a wide variety of materials that show history-dependency [6,7,8,9,10,11].

8However, RNNs are still severely limited by the curse of dimensionality associated with sampling arbitrarily long strain paths. The overview on the potential of RNNs for modeling path-dependent plasticity presented by Gorji et al. [12] illustrates the multiple ways in which one can define a DoE and argue that GRUs, in particular, can be used to model the plastic response of materials provided a rich enough training dataset is used. However, the authors do not investigate further how these networks would perform in scenarios slightly different than those seen in training or their efficiency in an FE 2 framework.

9Recently, a new class of ANNs called Physics-Informed Neural Networks (PINNs) was proposed by [13] to solve any given laws of physics described by general nonlinear partial differential equations. For training PINNs, in addition to the data used to model the governing equation, the loss function is augmented with information on the imposed physical constraints (e.g. initial and boundary conditions). In this approach, automatic differentation plays a key role in allowing the outputs of the network to be differentiated with respect to the input.

10Applications of PINNs as surrogate constitutive models are still relatively new, but a few works showcase their potential in modeling elastoplastic [14,15] and elastic-viscoplastic behaviors [16]. In [14] and [16], the loss function is also incremented with terms related to the physics constraints assumed by the material models considered (e.g. the Karush-Kuhn-Tucker conditions on the yield function). While both works approximate the displacements and the stress based on the position of the material point at the macroscale and on the material properties, Haghighat et al. [14] further investigates the applicability of their surrogate model in a sensitivity analysis study. Finally, Eghbalian et al. [15] proposed an architecture where the nonlinear incremental elasticity and the strain decomposition are hardwired into the networks's architecture and the loss function. Thus leading to improved capability in predicting unseen loading scenarios over conventional ANNs.

11Inspired by PINNs, Masi et al. [17] tailored a network architecture capable of ensuring thermodynamically consistent predictions by evaluating the numerical derivatives of the network with respect to its inputs. Later, Masi and Stefanou [18] proposed a key extension to the approach, in which the identification of the internal variables is no longer user-dependent. For that purpose, an encoder-decoder architecture is incorporated to identify the minimum number of internal variables from the set of internal coordinates of the system (e.g., displacement fields, internal forces, etc.) in an unsupervised manner. The feature allows the recovery of the full-field information of the microstructure by the decoder. Another strategy that takes into account the derivatives of the approximated functions to impose thermodynamically consistency is proposed by Vlassis and Sun [3]. The authors treat the yield function as a signed distance function level set and formulate a supervised learning task that deduces the learned evolving yield function against a monotonically increasing accumulated plastic strain. As a result, cyclic loading paths can be predicted based only on monotonic data. For a recent and comprehensive review on the state-of-the-art literature of ANNs in the constitutive modeling of composite materials, the reader is referred to Liu et al. [19]. Different from regular ANNs or RNNs, the Deep Material Network (DMN) proposed by Liu et al. [20] assigns physical meaning to the hyperparameters. The DMN learns the hidden topology representation of the micromodel (RVE) based on the stiffness matrices and residual stresses of the different material phases. A major advantage of DMNs is the ability to extrapolate to nonlinear behavior based only in elastic snapshots. Several follow-up publications and improvements on DMN can be found in the literature. The author's latest work [21] is dedicated to tackling multiscale failure analysis, a far less explored avenue by the community. Other succesful applications in this field can be found in the works of Kerfriden et al. [22], Bessa et al. [23] and Oliver et al. [24], where different reduced-order modeling strategies were employed.

12In an alternative approach that incorporates some level of physics in the surrogate model, Fuhg et al. [25] combines a physical model that accounts partially for the constitutive behavior of the material and a Gaussian Process (GP) correction to locally improve the baseline physical model. Although this boosts accuracy inside the training space, in practice, it does not translate to benefits in terms of extrapolation. Another alternative that retains some of the physics embedded in the full-order solution is model order reduction. These methods are frequently employed to alleviate the computational cost of FE 2 [26,27] and usually offer better generalization properties to unseen points than common surrogate models. The drawback is that they are inherently slower [28]. Such techniques can also be coupled with RNNs [29], ANNs [5] and GPs [30] to quickly infer the coefficients of the reduced basis approximation for arbitrary parameter values.

13Although a large body of literature has been devoted to applying ML techniques in the solid mechanics field, the gaps and issues left by data-driven surrogate models are still an open issue, compromising their reliable and widespread use in practical applications. In this work, a new network design is proposed specifically for the modeling of path-dependent materials and to accelerate concurrent finite element simulations. In Section 2 the FE 2 method is presented, while in Section 3 one of the most popular approaches to tackle the computational bottleneck originated from it is briefly discussed. In Section 4, the main features of the novel neural network are described. In Section 5, the Design of Experiments and methodology adopted for the comparative study shown in Section 6 is described. In this study, the performance of the proposed network is compared to a RNN for a single-scale problem. In Section 7 the novel approach is integrated into an FE 2 framework and tested in two applications for robustness and accuracy. Finally, conclusions are presented in Section 8.

Concurrent multiscale analysis

14Let Ω define the macroscopic domain being modeled. To find the internal stresses and displacement field of such body in absence of body forces, a boundary value problem that satisfies the following equilibrium equations is defined:

15where ∇ is the divergence operator and σ Ω is the macroscopic stress, which depends on the macroscopic displacement field u Ω (for simplicity, this dependence is omitted). The governing equations are subjected to the boundary conditions:

16where n is the normal to the surface Γ f and u Γ u and t Γ f represent a set of Neumann and Dirichlet boundary conditions acting on the body surface such that Γ u ∩ Γ f = ∅ as illustrated in Fig. 1a. To relate strains and stresses, a constitutive model D is required:

17where α Ω are history variables that account for path-dependency and ε Ω is the macroscopic strain defined under small displacement assumptions as:

18In the concurrent multiscale approach, the model D Ω is not directly formulated but is instead obtained by nesting a lower scale finite element model to each integration point. In that scale, the microscopic stucture of complex materials can be explicitly modeled using simpler constitutive models for each of the components. Further discussion on how to solve the microscopic problem and link both scales is shown in Section 2.1 and 2.2. To solve the boundary value problem at the macroscale, the Finite Element (FE) method is employed to discretize the domain Ω into a number of elements connected by nodes with N degrees of freedom. The global equilibrium is solved iteratively in its discretised weak form:

19where r ∈ R N is a residual vector that goes to zero when equilibrium is reached, f Γ ∈ R N is the global external vector that represents the Neumann boundary conditions and f Ω ∈ R N is the global internal force vector given by a volume integral:

20where A is an assembly operator that takes into account the connectivities between the elements and the global system and B is a matrix with the spatial derivatives of the shape functions used to interpolate nodal displacements. Finally, an iterative procedure is adopted to solve Eq. (5) for the macroscopic displacement field:

21where the subscripts o and n refer to old and new analysis increments, respectively and K ∈ R N×N is the global tangent stiffness matrix given by:

22and D Ω is the constitutive tangent matrix, discussed in Section 2.2.

23The key difference to a classical FE simulation lies in the embedding of another FE model in the macroscopic integration points. Here, to obtain the internal forces in Eq. (6) and the tangent stiffness matrix in Eq. (8) for a single integration point of the macroscale, one needs to run an entire FE model instead of a single evaluation of a homogenous material model. This is the most computationally expensive part of the framework and is where the proposed network aims to tackle. The approach here is to replace the solution to the microscopic problem (discussed in Section 2.1) with a surrogate model, specifically a neural network. The homogenization procedure required to upscale the responses to the macroscale is discussed in Section 2.2.

Microscopic scale

24Let ω be a Representative Volume Element (RVE) of the microscopic material features whose behavior is to be upscaled. Assuming that the principle of separation of scales (i.e. Ω ω) holds, the two scales can be linked by enforcing:

25where the linear displacement field is the result of the imposed macroscopic strains ε Ω and the fluctuation fieldũ is the result of microscopic inhomogeneities. The principle of separation of scales implies the stain averaging theorem that states that the macroscopic strains are considered uniform over the RVE domain:

26where ε ω is the microscopic strain tensor. Therefore, the microscopic displacement field in Eq. (9) can only satisfy (10) if the fluctuation displacement field vanishes at the RVE boundary when upscaling quantities. An additional requirement on the fluctation field having zero resultant work at the boundaries arises from the Hill-Mandel principle. Both requirements are met using Periodic Boundary Conditions (PBC) to represent the behavior of a macroscopic bulk material point. Fig. 1b illustrates the node groups and boundary edges needed to implement the PBC. In Section 5, the generation of ε-σ paths for the training of the surrogate models is obtained by setting a user-defined function to set the prescribed displacements u 1 and u 2 . Finally, keeping the hypothesis of small strains, the stress equilibrium problem is described as:

27where u ω is the microscopic displacement field and σ ω and ε ω are the microscopic stress and strain tensors, respectively. An analoguous procedure to the one detailed in Section 2 is used to find the microscopic displacement field (subjected to the periodic boundary conditions). Note that at this scale, regular physics-based material models D ω (e.g. elastoplasticity, viscoelasticity, etc.) are employed to represent the constitutive behavior of the homogeneous material of the discretized elements.

Homogenization procedure

28After convergence of the microscopic displacement field u ω , the upscaling procedure is performed based on the Hill-Mandel principle. The principle postulates that the macroscopic stress power must equal the volume average of the microscopic power over the RVE. Considering the definition in Eq. (9), an expression similar to Eq. (10) is obtained for the homogenized stresses:

29As for the macroscopic constitutive tangent stiffness D Ω , a probing operator P is applied on the global microscopic tangent stiffness matrix K ω without the need to invert it as proposed by Nguyen et al. [31].

Recurrent Neural Networks

30In this section, a brief overview of the working mechanisms of Recurrent Neural Networks is presented. Although part of the paper is dedicated to comparing them with the novel approach, here the idea is to use well-known concepts from ANNs and RNNs to illustrate features of the proposed network in the following sections.

31As a starting point, consider a conventional feed-forward neural network to surrogate the nonlinear constitutive relationship of a path-independent material given by the following parametric regression model:

32where W and b are weights and biases calibrated through a fitting procedure based on observations of the actual microscopic model. During training, the strains are fed to the first neural layer (input layer) and values are propagated until the final layer (output layer) to give the predicted stresses σ Ω . These are in turn compared to the ground truth value according to a loss function. Based on that, the model parameters are adjusted so that the error between the predicted stresses and the actual stresses is minimized:

33where X ∈ R n ε ×N is a snapshot matrix with N pairs of ε Ω -σ Ω obtained from microscopic simulations. This setting is the most straight-forward way to map pairs of macroscopic strains and stresses but does not offer good generalization properties once path-dependency is introduced. In that case, one way to overcome the lack of history information is to extend their feature space with e.g. previous (incremental) strains and/or stresses [4,5].

34As an alternative, RNNs offer additional parameters (i.e. the hidden state) and mechanisms (i.e. the gates that control the flow of information being propagated) to learn history information from sequential data in an implicit way. These parameters describe the evolution of the so-called hidden state and can encapsulate information from previous iterations without the need to introduce history variables in the feature space. In a regular RNN, the outputs and hidden state are given by:

35where φ(·) is an activation function, W s and b s are the additional model parameters (compared to conventional feedforward neural networks), v t are the current neuron values coming from the last layer and h t and h t−1 are current and previous states, respectively. This arrangement allows the network to learn how stress evolves for a sequence of strains instead of bulding a regression model from independent stress-strain pairs and is illustrated in Fig. 2a. However, in practice, the efficiency of RNNs are impeded by vanishing gradient problems and are not suitable for long-term history dependent problems.

36To overcome that, more sophisticated architectures (more popularly known as cells) have been proposed. Among the most popular ones are the Gated Recurrent Unit (GRU) and the Long-Short Term Memory (LSTM), illustrated in Fig. 2b and 2c, respectively. The internal mechanisms, also known as gates, used to control the flow of information passing from one state to another are represented by the colored circles. For each gate, additional parameters need to be learned by the network in a way that the element-wise application of the sigmoid (red circles) or tanh (purple circles) functions can wisely retain what should be preserved and what can be forgotten in a long sequence.

37Despite best efforts, these architectures are still vulnerable to overfitting, compromising their ability to generalize well to new data. Potential solutions to prevent this phenomenon include regularization techniques such as L2 penalty, early stopping and dropout. In this work, a special type of dropout proposed by Kingma et al. [32] is used in combination with a GRU architecture is considered to perform the comparison with the proposed network. In this Bayesian GRU, the regular dropout with continuous noise (i.e. Gaussian dropout) is reintepreted as a variational method that allows optimal dropout rates to be inferred from the data as opposed to it being fixed and defined in advance as usual. This circumvents the need for a validation set during model selection. For more details, the interested reader is referred to [32].

Physically Recurrent Neural Network

38This section presents the neural network proposed to capture path-dependent behavior of heterogeneous microscopic models. The core task of the network is to learn how the macroscopic strain ε Ω can be dehomogenized into a small set of representative material points and how their responses can be combined to obtain the homogenized macroscopic stresses σ Ω . For this, the parametric regression model R illustrated in Fig. 3 is proposed: a combination of a data-driven encoder, a material layer with embedded physics-based material models and a data-driven decoder. Each of these components are discussed in detail in Sections 4.1, 4.2 and 4.3, respectively. Finally, the training process is described in Section 4.4 and the use of this network as constitutive model in FE 2 frameworks is discussed in Section 4.5.

Encoder

39The encoder consists of all parameters that convert the macroscopic strain from the input layer to the values used as input of the material layer, which corresponds to the grey lines in Fig. 3. Since these values are the inputs of actual material models that are later combined by the decoder into the prediction of the macroscopic stresses, we interpret the role of the encoder as being the microscopic periodic boundary-value problem (BVP) solved with FE, only at a much lower computational cost. On the other hand, no information on the displacement field of the micromodel is retrieved by the network as the encoder is learned based exclusively on snapshots of macroscopic stresses. This understanding is depicted in Fig. 4 by the grey curved line linking the strains from the macroscopic scale and the fictitious strains seen by the material points in the network.

40Material layer Decoder Homogenization Figure 4: Interpretation of the proposed network with respect to a full-order solution As for the architecture, an arbitrary number of layers and units (with conventional activation functions as illustrated in Fig. 3) can be used. In case regular dense layers are employed, the neuron states (a i−1 ) from the previous layer i-1 are propagated to the following layer i according to:

41where W i ∈ R n i ×n i−1 is a weight matrix and b is a bias term with n i being the number of neurons of layer i, and φ is an activation function applied in an element-wise manner to the neuron values of i to introduce nonlinearity into the network. In the particular case where the dense layer is either the input or the output layers, no activation function is applied and a i = v i . Popular activation functions include the sigmoid, tanh and ReLU. In the present investigation, a single dense layer is considered before the material layer, which results in a linear relationship between macroscopic strains and local strains in the material layer.

Material layer

42The material layer is responsible for introducing explicitly the same physics-based material models used in the RVE that the network will be a surrogate for. To properly incorporate them and take full advantage of its outputs, important changes on how neurons are evaluated compared to regular dense layers are proposed. First, instead of introducing nonlinearity in a element-wise manner with a scalar-to-scalar activation function, neurons are grouped in m sets of the size of the input layer (see colored boxes in Fig. 3) and then evaluated as a subgroup. Each subgroup is referred to as a fictitious material point and its size is equal to the length of the strain vector (i.e. length 3 for the present investigation in two dimensions). In this arrangement, each neuron of the subgroup j represents one component of the strain vector ε j , as illustrated in Fig. 5a.

43Vector of internal variables of j-th fictitious material point Physics-based material models (e.g. plasticity, hyperelasticity, viscoelasticity, etc.) Supposing the micromodel contains n material models D ω 1 , . . . D ω n , several combinations of them can be employed in the material layer. The choice on which material models should be used to evaluate the fictitious material points depends on the types of non-linearity embedded in each of these models. For instance, in this work, the micromodel consists of a composite microstructure with two material models: a linear elastic model D ω 1 to describe the fibers and an elastoplastic model with isotropic hardening D ω 2 to describe the matrix. However, in the material layer, only model D ω 2 is employed in all fictitious material points. This is possible because the network still can make any of the subgroups to behave linear elastically by passing small strains and scaling the stresses to give a significant elastic contribution.

44However, if instead of a linear elastic model, a nonlinear hyperelastic model was used to describe the fibers the network would not perform optimally. In that case, although the elastoplastic model does introduce nonlinearity to the network, the (nonlinear) contribution from the fibers is no longer embedded in that model. Furthermore, if the nonlinear hyperelastic model was the one chosen to evaluate all subgroups, the network would essentially become a feed-forward one with no history information taken into account (explicitly or implicitly), losing the ability to predict elastic unloading. For such a micromodel, both material models would need to be considered.

45Another interesting hypothetical case is that of a micromodel with two elastoplastic phases with different material properties. This time, depending on the contrast of the material properties, a single material model with a fixed set of properties coming from one of the two phases might be enough to reproduce the homogenized response of the micromodel. In that case, making the material properties of each fictitious material point a trainable feature would also be advantageous. This could also be a valuable feature when dealing with experimental data or with a micromodel with continuously varying material properties. Naturally, far more complex arrangements than those discussed here are found in practice. Addressing these extensions is object of ongoing research. A general guideline is to employ all different sources of nonlinearity with their respective known material properties in the material layer.

46For simplicity, we choose to illustrate the network with a general material model D ω for all fictitious material points. Such model can take the form of any of the material models with known material properties used in the micromodel. Here, D ω takes as input the current strain ε t ∈ R n ε and the internal variables from previous time step α t−1 ∈ R n IntVar , where n IntVar is the number of internal variables of the material model. With that, the model is used to evaluate current stress state σ t ∈ R n and updated internal variables α t . These quantities motivated the tailor-made architecture of the proposed layer.

47To store the internal variables used as input/output of the material model, an auxiliary vector h j ∈ R n IntVar referred as history vector is defined. In the particular case of a subgroup with a material model with no internal variables (e.g. linear elastic model), h j does not exist since n IntVar = 0. For the first time step, the history vector is initialized as zero for all m subgroups. As information reaches the material layer and the material model is called, three outputs are made available: the stresses σ t j , the updated internal variables α t j and the tangent stiffness matrix D t j ∈ R n ε ×ε . In this layer, only the stresses are propagated forward. To do this, each stress component is associated to a unit of the subgroup, as illustrated in Fig. 5a. Then, the updated internal variables α t are stored in h t j so that when new strains ε t+1 j are fed to the fictitious material point, the material model is aware of its own history so far, making the ε-σ path of each subgroup unique. This architecture is illustrated in Fig. 5b.

48Note that h j has no weighted connections with the neurons in the material layer (or any other layer). It is merely an object to store information about the history of the fictitious material point. It is also worth mentioning that since no data from the microscale has been collected and imposed in the network, the paths seen by the fictitious material points do not need to hold any similarity with actual integration points of the microscopic model. Using standard machine learning notation, the material layer propagates previous neuron states (a k−1 ) and applies the material model D ω as follows:

49where W k ∈ R n k ×n k−1 is the weight matrix connecting layers k-1 and k, b k ∈ R n k is a bias term. In addition, v k are the neuron values (correspond to the concatenated vector of all microscopic strains ε j ), h t−1 and h t are historyrelated term (correspond to concatenated vector of all internal variables α t−1 j ) resulting from the material models with path-dependent behavior from past and current time step and a k are the current neuron states (correspond to the concatenated vector of all microscopic stresses σ j ).

Decoder

50The decoder consists of all parameters that convert the outputs from the material layer to the predicted macroscopic stress σ Ω in the output layer, which corresponds to the brown lines in Fig. 3. Similar to the encoder, an arbitrary number of conventional layers and units can be employed. In the full-order solution, after convergence of the microscopic BVP, the macroscopic stresses are obtained by the volume average of microscopic stresses over the entire RVE. In the network, since the solution of the microscopic BVP is replaced by the encoder and the microscopic material points in the RVE are replaced by the few fictitious material points, the decoder is then analogous to the homogenization operator that transforms local stresses to macroscopic stresses, as illustrated by the brown curved line in Fig. 4.

51In the present work, we use a single dense layer (output) with linear activation and physics-motivated modifications to perform the task. With this, all the nonlinearity of the network arises from the models in the material layer. As discussed previously, the decoder can be understood as the averaging operator in a multiscale approach and with the chosen architecture (dense-material-dense), the weights of the output layer can be seen as the relative contribution of each fictitious material point to the macroscopic stress. Based on that, a constraint on the positivity of the weights of the output layer is considered. For that, a softplus function ρ(·) is applied element-wise on the weights matrix before computing the neuron values of the last layer:

52where b l is set to zero and a l−1 corresponds to the stresses coming from the material layer. This procedure guarantees that, after the tranformation, weights will always be positive.

Training

53The goal of the training phase is to minimize a loss function given by:

54where N is the number of snapshots. Based on it, a Stochastic Gradient Descent (SGD) optimization algorithm is used to update the trainable parameters W and b:

55where L i is the loss of the i-th sample, o indicates current values, n indicates updated values and B is the size of the sample mini-batch used in the update. Finally the A operator depends on the solver. In this work, the Adam optimizer [33] is used.

56To compute the gradients appearing in Eq. (20), backpropagation in time is employed in a similar fashion as done to RNNs: based on the network state (v and a) after computing each training curve with n pairs of σ − ε, the chain rule is used to propagate the derivative of the loss functions starting from the output layer and progressively moving back through the network and through time. Commonly, this process is dealt with by automatic differentiation, but we present the expressions to allow for integrating the network directly into existing FE software. For this, two auxiliary quantities are defined. The first is defined for each layer and helps propagating the error through the network d i ∈ R n i . Starting from the output layer l, it is defined as:

57Next, the effect of the activation function is taken into account as:

58after which it is possible to compute the gradients of the trainable parameters:

59Finally, the values d of the previous layer (the next layer to be backpropagated) can be computed as:

60and the algorithm moves to Eq. (22) for layer i-1.

61When reaching the material layer, recall that the internal variables are stored in h and used for keeping track of the evolution of the internal variable through time. For that reason, a second auxiliary quantity is introduced and Eq.

62where the first term concerns the derivatives of stresses with respect to strains, the second term concerns the derivatives of the current internal variables with respect to strains and d h ∈ R n i is given by:

63Note that the derivatives of the stresses with respect to the strains of material point j are an output of the material model: the tangent stiffness matrix D j . The remaining derivatives in Eqs. (25) and (26) are evaluated using central finite differences. Naturally, computing gradients with other methods would also be possible. For instance, if the material model used in the network supports automatic differentation, storing the internal variables in h for backpropagation can be bypassed as the derivatives are automatically obtained in this approach.

64Finally, to obtain the gradients of the trainable parameters including the history-dependence coming from the material layer and compute the values d of the previous layer, we consider Eq. (25) instead of (22) in the expressions shown in Eqs. (23) and (24), respectively.

Use as constitutive model

65To make new stress predictions, the macroscopic strain ε Ω is fed to the input layer and a complete forward pass is performed. The final activated neuron values of the output layer give the predicted stress. To obtain the macroscopic consistent tangent stiffness matrix D Ω , a complete backward pass is required:

66which is obtained with a backward pass through the network:

67where I φ i is a matrix whose diagonal contains the derivatives of the activation function with respect to the neuron values v:

68except for the material layer. In that case, such matrix is full and consists of the concatenation of the tangent stiffness matrix of all fictitious material points. It is worth mentioning that despite the linear dependency on the tangent stiffness matrices of the material models, the Jacobian matrix of the network does not inherit their spectral properties.

Analogies to other methods

69In this section, the parallels between features of the proposed network and related works in the literature are briefly discussed. One possible analogy comes from hyper-reduced-order models [34]. With the architecture chosen for the present investigation, both methods work on a reduced number of material points with modified (integration) weights. However, in the network, these points are only fictitious and learned by the encoder based on snapshots of the homogenized stresses. Moreover, each stress component is associated with a different weight. By contrast, the material points in the hyper-reduction approach exist in the microscopic model and a single modified integration weight of each material point selected is used to compute all its stress/internal force components.

70Following the discussion on the encoder, it is worth highlighting how this feature would be framed with respect to asymptotic homogenization schemes such as Mori-Tanaka [35]. In this type of solution, the microscopic problem is also not solved explictly and only average fields are calculated. Relying on the equivalent inclusion idea and on Eshelby's solution [36], the strain concentration tensor is obtained analytically and yields the full solution of the microcopisc model as it correlates the average field of the phases in the micromodel with its average field. In our network, although the macroscopic stresses are also obtained by relating macroscopic and (fictitious) microscopic strains through an encoder, here no average field is calculated for each of the phases. Indeed, not every phase needs to be included in the material layer and multiple strain paths for the same phase are considered. Furthermore, while Mori-Tanaka is accurate for moderate volume fractions of the inclusions, such restriction is not present in our method.

71Compared to PINNs, in which physical constraints are explicitly included in the loss function, here, most physical constraints are naturally taken care of by the physics-based material models directly embedded in the material layer. The proposed approach is also more general as it can be directly used for arbitrary material models and is not particularly tailored to a single type of model (e.g. elastoplastic behavior [14,15]). As an added benefit, our model selection procedure makes physical sense: we add more material points or material models to the network.

72Another noteworthy strategy with relevant analogies to our method is the DMN [20]. In this approach, the contribution of a few material points evaluated using the classical constitutive models in the RVE is also employed to make predictions in the online phase. On the same reasoning as discussed in Section 4.2, since the inputs come directly from actual material models, path-dependency is captured naturally. However, the main concept and architecture of DMNs are different from the ones explored here. In the offline phase, the goal of the DMN is to find a topological representation of the RVE with fewer degrees of freedom (i.e. material points) based only on the elastic stiffness matrices of the different material phases that compose the original micromodel. For the online phase, the feature space is increased to include residual stresses of the micromodel components, and an iterative procedure is implemented. The authors compare the incremental strains of the material points at the beginning of the iteration with the one obtained by a de-homogenization process that backpropagates the macroscopic incremental strain from the output layer to the bottom layer (i.e. input layer). Upon convergence, the set of internal variables of each material point at the bottom layer is therefore updated.

73In the present work, the feature space is the same in both phases and no iterative procedure is employed in the forward pass, which simplifies implementation and reduces even further the number of material model calls. Here, the strain path each fictitious material point follows is simply described by the encoder and not all phases need to be included in the network. The homogenized stresses and tangent stiffness are obtained in a single forward and backward pass, respectively. Furthermore, the backpropagation in our approach is considerably simpler than the DMN. Although the use of homogenization (and de-homogenization) operations in the DMN assigns physical interpretation to the model, it also makes training a rather intricate process.

74Finally, to draw a parallel with LSTMs, one might understand h as the cell state c, but instead of using bijective and smooth functions such as the sigmoid and tanh functions to describe the evolution of the material response, the material model itself is directly employed. This bypasses the need to learn new parameters to regulate the flow of information kept or forgotten throughout time (see Fig. 2b) and has important implications for the training process. The most important one is the ability to mirror physical behaviors such as elastic unloading/reloading without ever seeing the pattern during training, a stark contrast with LSTMs and GRUs that usually require extensive training sets with multiple cycles of loading and reloading at different strain levels with different step sizes. The physical interpretation of the nonlinearity is directly embedded in the network. In the numerical examples of this work, the nonlinearity is due to plasticity, but other effects such as hyperelasticity, visco-plasticity, stiffness degradation, or any combination thereof, could be embedded by adapting the constitutive model that is used in the material layer.

Design of Experiments

75One critical aspect of the training and testing of surrogate models is the formulation of a sampling plan. Typically, a uniform distribution of the sampling points is desirable, but that task becomes more complex when path-dependent behavior is present. In this case, pairs of strains and stresses are collected and processed as sequences, which leads to potentially infinite-dimensional parameter spaces.

76In this work, two strategies are considered. In the first approach, proportional loading paths are generated, which means that the stress ratio between the components is constant. Here, the sequence of strains is created based on two features: the loading function λ(∆ε, t) and the loading direction given by the unit vector n, where ∆ε is the step size and t is the current time step. For each time step, n is multiplied by the scalar-valued loading function λ creating a new set of strains, which is in turn applied at the controlling nodes of the microscopic model.

77For monotonic loading, the loading function is as depicted in Fig. 7a. The values in the unit vector can come from prior knowledge of the material as illustrated in Fig. 6b, in which only fundamental cases such as uniaxial strain, pure shear, and biaxial cases are considered, or from random distributions as represented by the purple line Fig. 6a. In the present work, the random directions are obtained by sampling values from n ε independent Gaussian distributions (X ∼ N(0, 1)) and subsequently normalizing the vectors. Despite the simplicity in creating such paths, RNNs trained exclusively on monotonic cannot predict cylic responses. Thus, to create non-monotonic sequences, a linear piecewise function as the one depicted in Fig 7b is used. Note that even though the loading function is changed, the unit vector is kept constant for the entire strain sequence, yielding proportional loading. However, to cover the entire space of possible cyclic responses, a large (and a priori unknown) number of curves comprehending different unloading points with different duration of unloading/reloading and step sizes is necessary. In this work, that matter is first handled in a simplified way by only sampling two different cycles of unloading/reloading.

78Finally, in a more general approach, a second strategy to create the ε-σ paths is considered: the random walks. These are typically defined by sampling random strain increments with random loading directions for each time step, resulting in non-proportional loading. In this work, random walks are created by associating the prescribed strains to independent Gaussian Processes (GPs) with X ∼ N(µ, σ 2 ) and covariance function given by:

79where σ 2 f is the variance and is a length scale. In this setting, the lengthscale controls the smoothness of the strain path and the variance controls how large the step size can be for each prescribed degree of freedom of the controlling nodes. Similar approaches were employed by Mozaffar et al. [8] and Logarzo et al. [11].

80The details of the present implementation are given in Algorithm 1. Note that instead of drawing the entire strain sequence for a given component, we sample it step by step and update the GP dataset before sampling again. This strategy results in the same strain sequence given a fixed random seed throughout the steps, but in this way the GPs can also be used in applications where the number of loading steps is changed on-the-fly. Following the work of Logarzo et al. [11], we define the mean of all GPs to be zero and include t = 0 and ε i = 0 as a prior. In addition to that, references to fullModel (i.e. the full-order microscopic model) in Algorithm 1 are kept as minimal and general as possible. One example of loading path resulting from Algorithm 1 is illustrated in Fig. 6a.

81In this paper, both strategies generate ε-σ curves containing 60 time steps, unless stated otherwise. To summarize the types of loading studied in the following sections:

82Algorithm 1: Generation of random loading path using GPs Input : lengthscale , variance σ 2 f , number of strain components N components , number of time steps N steps Output: macroscopic strains D ε and macroscopic stresses D σ 1 initialize datasets: D ε ← ∅, D σ ← ∅ 2 for i ∈ [1, 2, ..., N components ] do 3 initialize input and output datasets for GP i :

83• Type I: monotononic and proportional loading paths with a priori known directions. The 18 directions used to train the proposed network are illustrated in Fig. 6b and include uniaxial strains, pure shear, biaxial cases and biaxial with shear cases.

84• Type II: monotonic and proportional loading paths randomly spread across the design space. The loading directions are generated randomly and the loading function is as shown in Fig. 7a.

85• Type III: non-monotonic and proportional loading paths randomly spread across the design space. Again, the loading directions are random, but the loading function is now given by Fig. 7b and includes one cycle of unloading;

86• Type IV: Variations to Type III:

87-Type IVa: same loading directions as the test set of Type III, but unloading/reloading takes place at a different point in time as shown in Fig. 7c;

88-Type IVb: same loading directions as the test set of Type III, but time step is 10 × smaller. Thus, to reach the same norm as the original curve in Type II, 600 time steps are evaluated, as depicted in Fig. 7d;

89• Type V: non-monotonic and non-proportional loading paths randomly spread across the design space. A GPbased path described by Eq. (30) is illustrated in Fig. 6a. Fig. 7e ilustrates the strain paths of each component using this approach with lengthscale = 20 and σ f = 1.0 × 10 −3 .

Assessing network performance

90In this section, the performance of the proposed network is compared to a state-of-the-art RNN trained on different training dataset sizes and methods to sample the design space. The comparison is done for a single micromodel. Specifically, four scenarios are investigated: (i) predicting unloading/reloading behavior from monotonic data, (ii) predicting unloading/reloading behavior from non-monotonic data, (iii) predicting unseen patterns from non-monotonic From now on, the network presented in this work will be referred to as Physically Recurrent Neural Network, or simply PRNN. The PRNN was trained for 80000 epochs, while the RNN was trained for 60000 epochs with an early stopping criterion, which consists of interrupting training if the best training loss so far is not improved over a given period (in this work, 5000 epochs). The Adam optimizer is used in all cases with batch size of 9 and default parameters suggested by Kingma and Ba [33], with the exception of the learning rate of 0.01 for the RNNs. The layer sizes are chosen through model selection to provide optimal results and fair comparison with our approach to the best of our knowledge. The methodology adopted is briefly described in Section 6.1.

91The microscopic model consists of an RVE with 36 elastic fibers (volume fraction = 0.6) with properties E = 74000 MPa and ν = 0.2 embedded in an elastoplastic matrix with isotropic hardening. The geometry and the mesh with 7048 elements are depicted in Fig. 8. The elastoplastic matrix is modeled using the von Mises yield criterion with properties E = 3130 MPa, ν = 0.3 and yield stress given by: σ y = 64.8 − 33.6 exp −ε p eq /0.0003407 (31) where ε p eq is the equivalent plastic strain defined as:

92and ε p is the plastic strain. Plane stress conditions are assumed.

Model selection

93In this section, a grid-search strategy is employed to choose the best architecture for the networks. The goal is to find the optimum layer size before heading to the testing sections. Here, four different layer sizes and 10 different weight initializations are considered to mitigate the effect of randomness. For the PRNN, a single material layer without biases and four different sizes are considered. In this case, only the elastoplastic model is used so that the size of the material layer is the only variable in the model selection. Recall that the network still can make a subgroup to behave elastically by passing small strains to the material model. The training and the validation sets consist of 18 Type I curves and 54 Type II curves, respectively. Fig. 9a shows the boxplot with the average validation error of each run alongside the mean error value. The networks with 6 units (or two fictitious material points) performed best.

94For the Bayesian RNN, a single GRU cell is employed and in each initialization, the training set consists of the fixed set of 18 Type I curves, 90 Type II curves randomly chosen from a pool of 1800 curves, and 90 Type III curves also randomly chosen from a pool of 1800 curves, amounting to 198 loading paths. That way, all types of curves used for training in the following sections are covered. Fig. 9b shows the boxplot with the average training error of each run alongside the mean error value of all runs represented by the x marker. In this study, it is found that the GRU with 128 units performs best. In this case, no validation set is needed to determine the best dropout rate as the type of RNN used in this investigation infers it from the training data by default (see Section 3).

Predicting unloading/reloading from monotonic data

95In this section, the training process of the RNNs on Type II curves (i.e. without unloading) is reported. The first test set consists of 100 Type II curves. Fig. 10 shows the average error of the RNNs over the test set compared to the best (blue triangle), worst (upside-down blue triangle), and average error (blue circle) found by the PRNNs. Note that the secondary axis starts with 18 curves, this is because the known directions used for training the PRNNs are also a fixed set in the training of the RNNs. The training of the RNNs is stopped with 288 curves. At that stage, a similar level of accuracy between the PRNNs and the RNNs is obtained (although with a training set 16 times larger) and the addition of new curves only yields a marginal gain in accuracy. Next, a new test set with 100 Type III curves is evaluated by the same networks trained on the 288 monotonic curves. This time, the RNN fails to capture unloading and the addition of more monotonic data is ineffective, as shown in Fig. 11a. This outcome is not new to the literature and it is not surprising that RNNs need to see unloading behavior during training in order to be able to describe it. However, in contrast to the RNNs, the PRNNs provide the same level of accuracy for the test sets with and without unloading, even when not exposed to unloading data during training. In Fig. 11b

Predicting unloading/reloading behavior from non-monotonic data

96Following the conclusions of Section 6.2, the training set of the RNN is expanded to include curves with the same unloading behavior as the one observed in the test set T III . The 288 monotonic curves of Types I and II from the previous section are combined with an increasing number of non-monotonic curves of Type III. This time, with the right features included in the training set, Fig. 12

Predicting unseen patterns from non-monotonic data

97In this section, three additional test sets are considered for the RNN trained on Types I, II and III and the PRNN trained on Type I only. The goal is to test the ability of the networks to predict the macroscopic stress with patterns different from those seen during training.

98First, we consider a test set with 100 unseen curves of Type IVa, which consists of proportional curves in random directions with a different predefined unloading/reloading behavior than that of Type III. The average error for that set is shown in Fig. 13a. Here, the 576 curves from the previous section are no longer enough to provide good accuracy when predicting a different unloading/reloading. By adding more Type III curves to the training set of the RNN, the average error decreases from 6.4 MPa to around 4.0 MPa but no significant gain in the accuracy is observed when the total number of curves is larger than 864 curves. Based on that, a representative case from test set T IVa is shown in Fig. 13b. Despite the relative low error from both networks, note that the RNN looses performance once unloading starts while the PRNN continues to show good agreement throughout the entire loading path.

99For the next scenario, a test set with 100 Type IVb curves are considered. These curves have the same unloading/reloading behavior as Type III, but with a 10× smaller time step. Fig. 14a illustrates the average error of 10 networks over that test set and again, it is clear that the addition of new curves with patterns different from the exact one being tested is not beneficial to the RNN. Again, the PRNN provides good accuracy. Essentially, the PRNN is only as sensitive to step size as the material models embedded in it. Fig. 14b illustrates the networks' predictions for a curve in the test set T IVb .

100As a final test, a set of 100 Type V curves, which corresponds to non-proportional and non-monotonic paths, is considered. This type of curve combines the two previous features: different step sizes and different unloading/reloading locations. Fig. 15a shows the average error for additional non-monotonic curves in the training of the RNNs. It is clear that the RNN completely fails to capture non-proportional paths (lowest error around 32 MPa) and that the addition of more data with features different than those being tested is a waste of resources. Although in different levels, a similar trend of loss of accuracy is also observed in the PRNNs, where the best, average and worse performances result in errors around 8.9 MPa, 17.0 MPa and 11.2 MPa respectively. Fig. 15b illustrates the different order of error between the PRNN and the RNN on a representative case from test set T V .

Training both networks on non-monotonic and non-proportional loading

101In this section, both networks are trained on the most generic set of curves, i.e. random non-monotonic and nonproportional curves of Type V. In addition to that, we trained the PRNNs on the known and proportional loading cases 0 288 864 Type IVb curves} for RNNs trained on Types I, II and III and PRNNs on Type I only and representative case for comparison purposes. In that case, the size of the material layer is kept at 6 units and three training dataset sizes are considered. First, only the pure uniaxial cases are included, which yields 6 loading cases. Then, the 4 biaxial cases are added to the previous training dataset, resulting in 10 loading cases. And finally, we add the 8 cases with biaxial and shear loading, which amounts to the 18 fundamental paths shown in Fig. 6b. When training both networks on non-proportional paths a new model selection procedure was carried out to determine the optimum size of the material layer and the GRU cell, respectively. In this preliminary study, 10 For the Bayesian RNN, the GRUs with 128 units continue to provide the best performance. Therefore, this architecture is the one used in the comparison presented below. This time, all test sets discussed in Section 6.2, 6.3 and 6.4 are used again to assess the accuracy of the networks with the new sampling strategy. Figures 17a-17e show the best, worst and average error for the cases studied so far in order. Based on this study, a few important insights are worth mentioning: after a certain point (around 576 curves), the RNNs reach an optimum level of accuracy and the addition of new curves no longer boosts predictions for proportional loading cases (T II , T III , T IVa and T IVb ). This is in line with the behavior observed in the previous sections, in which the RNNs would only perform well when trained with the same features as in the test set. And more importantly, changing the sampling strategy also showed to have limited effect on improving their performance. Granted, increasing even further the number of curves used for training as well as the complexity of the RNN might help in that task. However, the point stands that with the PRNN, this is not necessary. Note that for the same training set sizes, the PRNN with either the known or the random curves perfoms better than using the RNNs.

102Finally, when choosing between known and random curves for training the PRNN, the latter shows comparable errors with the first when predicting proportional loading, but is significantly more accurate (see detail in Fig. 17e) for non-proportional loading. For that reason, the PRNN trained on Type V is chosen to illustrate the network's capacity in the following FE 2 examples. On average, the accuracy of the PRNN reaches a plateau around 36 curves. From that point on, the benefit of adding new data is limited.

FE 2 applications

103In this section, the PRNN trained with 36 non-proportional and non-monotonic Type V curves and lowest test error for test set T V in Section 6.5 is employed as the constitutive model in two numerical examples. Results obtained with the PRNN as constitutive model are compared against results obtained with full FE 2 with the same micromodel that the network was trained to be a surrogate for. Both types of analysis are performed with an in-house Finite Element code using the open-source Jem/Jive C++ numerical analysis library [37].

104At the macroscale, an arc-length method with an adaptive-stepping scheme [38] is adopted to tackle potential convergence issues. This way, if a loading step does not converge with the given (full) step size, a reduction factor is applied to it until the loading step converges or until a maximum number of reductions in the initial step has been reached, terminating the analysis. Upon convergence, in the following step, the analysis is resumed with the full step size. In this work, each load step can be reduced by a factor of 0.4 for a maximum number of 5 times.

105All simulations, including the PRNN training, were executed on a single core of a Xeon E5-2630V4 processor on a cluster node with 128 GB RAM running CentOS 7.

Tapered bar

106The first example consists in a tapered composite specimen with length of 128 mm and height of 8 mm loaded in transverse tension. In this setting, the 36-fiber RVE model used to train the networks in the previous sections is embedded at each integration point of the macroscale. The geometry and the boundary conditions are shown in Fig. 18a. The FE 2 problem is solved for 110 load steps with unloading according to the function shown in Fig. 18b. At this point, the macroscopic response is already in the plastic regime.

107The strain field at the end of the analysis is shown in Fig. 19a along with the location of one macroscopic integration point. This point is used to illustrate the state of the PRNN throughout the time steps. Recall that the network used in this section consists of 18 units (i.e. 6 fictitious material points). Thus, each row in Fig. 19b corresponds to a fictitious material point, each with its own stress path and internal variables (even though only one of them is plotted).

108In this case, each component of the macroscopic response (i.e. homogenized stresses) is simply the linear combination of the local stresses of the 6 material models. It can be observed that the two macroscopic responses are in excellent agreement, with minor deviations in stress components with low magnitude. This is only visualized for a single point, but it is emphasized that in this multiscale problem, agreement in the evolution of the stresses in a single integration point indicates that the whole problem is solved accurately. Moreover, the equivalent plastic deformation of each material point is plotted in the last column. Note that despite the plastic response of the RVE after time step 20, three of the fictitious material points of the network (m 1 , m 2 and m 6 ) remain in the elastic regime.

109The accuracy of the PRNN is further assessed by inspecting the load-displacement curve at the top edge of the bar. Fig. 20a shows the load-displacement curve using the full-order solution and the network's response for different macroscopic mesh discretizations. For the refinement studied so far (∆ Ω elem = 8 mm), it is clear that the proposed network can capture accurately the entire nonlinear response, albeit with minor deviations when the tapered bar changes from tension to compression and then back again to tension.

110Next, the global accuracy of the method is verified. Since the surrogate model is not as accurate as the full-order model, a different equilibrium solution at a certain time step affects the equilibrium in the following loading steps, leading to accumulated error and diverging ε-σ paths. In this case, since no reduction in the step size was observed at For the purpose of assessing the efficiency of the network in accelerating the FE 2 simulations, three different levels of mesh refinement of the tapered bar are taken into account, being the coarses the one shown in Fig. 18. Table 1 summarizes the wall-clock time spent in the analysis of the different discretizations, as well as the speed-up in comparison to the full-order solution. For the mesh used to illustrate this section (∆ Ω elem = 8 mm), replacing the solution of the BVP of the micromodel with the network led to a speed-up over 26000 with the accuracy reported in Fig. 20b. Considering the offline costs, the training time is still lower than that of using the full-order solution with 134 macroscopic elements, which is a very modest number of elements for a multiscale problem.

111Since the network is trained to replace the solution of the microscopic model, no additional training is required for the analysis of more complex cases where the macroscale problems require more elements and time steps. Hence, in general, higher speed-ups should be achieved with denser meshes. However, in this particular problem, this is not always the case. An increase from the coarsest to the intermediary mesh is observed, but no gain is achieved when refining even further. In that case, the reduction in performance due to the higher number of iterations caused by the necessity of adaptively reducing the step size in order to ensure convergence. In constrast, the full-order solution was more numerically stable for this mesh density and the adaptive-stepping scheme was not triggered.

112As the mesh is refined and strain localization takes place (see the red region in Fig. 19a), even higher strain levels are achieved, pushing the network to make predictions in unexplored regions during training, as illustrated in Fig. 21. Note that the network is already making far-reaching predictions in the coarsest discretization, although in a less extensive way. In the mesh with ∆ Ω elem = 8 mm, the maximum strain does not exceed 0.2, while ∆ Ω elem = 2 mm leads to strains higher than 0.3. In spite of these complicating aspects, it is worth mentioning this is still a significant speed-up. Moreover, a far less severe effect on the global accuracy is observed, as illustrated by the almost overlapping loaddisplacement curves in Fig. 20a. In that sense, the adaptive-stepping scheme plays an important role to help overcome convergence issues.

Plate with multiple holes

113As a final example, a composite plate with multiple cutouts with geometry and boundary and loading conditions as illustrated in Fig. 22 is studied. Again, an FE 2 approach is employed to solve the problem for the same microscopic model with which all the networks in Section 6 were trained for. This time, no unloading is imposed and 150 load steps with ∆s = 5.0 × 10 −3 are considered. The load-displacement curve at the right edge of the plate is plotted in Fig. 23a using both the full-order solution and the network. Again, good agreement is observed between the macroscopic responses. The slight inaccuracy between those are quantified in Fig. 23b, in which the average absolute error of the component with the highest magnitudes (σ x ) is around 1 MPa for almost the entire simulation.

114The displacement field at the end of the analysis is shown in Fig. 24a, where the location of five macroscopic integration points are marked for further inspection. The stress paths for each of these points are illustrated in Fig. 24b, where the full-order solution and the network prediction are plotted in black and gray, respectively. Note how the stress paths are non-proportional even for the relatively simple loading condition observed in the macroscale. The integration point on the edge of one of the cutouts, namely point 4, is also the one with the highest stress magnitude and the closest to a uniaxial state in the x direction while the other points experience multiaxial loading more strongly.

115In terms of efficiency, the solution using the network is around 26705 times faster than the full-order solution, which took approximately 258780 s (around 72 hours). The order of magnitude in the speed-up is similar to that obtained in the tapered bar problem. Although no additional offline costs are incurred because the network has been trained before for the same microscopic model and it does not depend on the macroscopic problem at hand, it is worth stressing that the runtime of the full-order solution exceeds the sum of the online and offline costs of the PRNN. Finally, this example shows that the network can capture multiaxial stress states and non-proportional loading as obtained in FE 2 simulations accurately. No convergence issues were encountered in the PRNNFE 2 simulation which points to the smoothness of the predictions that is not always guaranteed with surrogate models (see e.g. RNN curves in Fig. 15b).

Concluding remarks

116In this paper, a novel network with embedded physics-based constitutive models is proposed as surrogate model for the behavior of path-dependent materials in FE 2 simulations. The central idea is to address common problems in modeling path-dependent materials using black-box models (e.g. unique mapping between input and output and limited extrapolation abilities) by taking a step back and reintroducing physics into the network in a way that requires very little extra coding effort with respect to existing FE 2 frameworks. This is done by employing the same material models used for the microscopic level as part of one of the layers of the network.

117To accommodate this non-standard neural layer the following changes with respect to standard neural network architectures are proposed. First, neurons are assembled in groups of the size of the number of strain/stress components of the problem. These are referred to as fictitious material points. Secondly, to take advantage of all the information coming from the physics-based material model, we store the updated internal variables used to fully describe the state of the fictitious material point in an auxiliary vector. With that, when new strain values are fed, the material point will start from the last stored internal variables. As a consequence, each subgroup follows a unique path without the need to increase the feature space with extra history variables. The properties and assumptions made by the physics-based constitutive model are inherited by the network and play a major role in reducing the amount of data required to mirror physical and complex behaviors such as elastic unloading/reloading. Here, the decomposition of the strain in elastic and plastic parts is an assumption built in the material model used to describe the nonlinear microscopic material phase and is also observed in the network when the local stresses of the fictitious material points are evaluated. This simple but highly-flexible arrangement allows the network to capture arbitrary unloading behaviors with only monotonic data, a stark contrast with other popular models such as RNNs. The PRNN inherits from FE 2 the idea that complex behavior of heterogeneous materials can be accurately described by letting simpler constitutive models that represent the microscopic constituents interact. The difference is that the interaction between the constituents is not based on micromechanics diretly but learned from data obtained from micromodel simulations.

118Based on that, an extensive numerical comparison involving a state-of-the-art black-box model, namely a Bayesian Recurrent Neural Network (referred to in this work as RNN), was carried out in order to elucidate the abilities of the proposed network (referred to as PRNN). First, we trained both networks only on 18 monotonic curves with known directions and proportional loading in a similar fashion as done to calibrate classical mesomodels. Such strategy led to poor performance when trying to predict other random directions from the RNN, but good accuracy from our method (Fig. 10). Following that conclusion, the size of the RNN's training dataset was sequentially increased until the addition of more data did not result in significant gains in accuracy. At that stage, the PRNN performed with the same level of accuracy but with a factor of 16 times less data.

119Next, both networks were used to predict non-monotonic loading. For that scenario, the PRNN showed the same level of accuracy as before with the same minimal training dataset (Fig. 11a). Such outstanding result is not observed in the RNNs, which again required a larger training set. This time, non-monotonic loading curves were added until the RNN's accuracy could no longer be significantly improved. As a result, a 32 times larger training dataset in comparison to the one used to train our network was necessary. Furthermore, while our network continues to perform well in all the scenarios tested so far, two other situations exposed the pitfalls of RNNs: (i) when trying to predict unloading in a different location than the one seen in training (Fig. 13a) and (ii) when the step size was modified (Fig. 14a). This is typically tackled by sampling different unloading behaviors with different step sizes, leading to the choice of arbitrarily long sequences. However, we showed that this is a trivial scenario for the PRNN. The network is only as sensitive to step size as the material models it includes.

120In the last test, both networks were used to predict non-proportional and non-monotonic paths and neither succeeded, although they failed at very different levels. While the lowest error of the RNN was around 32 MPa, the best PRNN led to an error around 9 MPa error (Fig. 15a). Based on that, a second approach to generate the dataset was considered. Random strain paths were generated from Gaussian Processes priors, which produces non-proportional and non-monotonic loading as opposed to the proportional loading previously considered for training. This time, the size of the training dataset and the type of loading was also a variable for the PRNN. It was found that training the PRNN on random non-proportional and non-monotonic curves yields higher accuracy than training with known, proportional, and monotonic curves for all loading scenarios (Fig. 17). Although training with known directions is appealing, having a network that provides lower errors and consistent performance with random directions is also interesting. Ultimately, the PRNN consistently outperformed the RNN with 64 times less data.

121Finally, after ensuring the PRNN capacity in several challenging scenarios for black-box models, one of the networks trained on non-proportional and non-monotonic curves was chosen to surrogate the microscopic model in a set of two FE 2 examples. The first example concerned a tapered bar in transverse tension and was used to illustrate how the different material models in the PRNN behave for a single macroscopic integration point (Fig. 18). For different discretizations, speed-ups between 21000 and 31000 were obtained for the online phase (Table 1). Such substantial efficiency gain is explained from the dramatically reduced number of material model calls and the bypassing of solving the nonlinear microscopic system of equations for macroscopic stress evaluation for a single load step of each macroscopic integration point.

122In the last example, a similar order of magnitude of speed-up was observed and the accuracy of the PRNN was illustrated by comparing the ε-σ paths of different macroscopic integration points of a plate with multiple cutouts subjected to tension (Fig. 24b). For the analyzed cases, the time needed for a single FE 2 analysis exceeded the total offline and online time for the PRNN analysis, even though the selected problems had a very modest number of macroscopic elements. Moreover, performing subsequent macroscale analysis with the same material would not require any additional offline training and would therefore leverage the complete speed-up of four orders of magnitude.

참고문헌 39건

  1. Adam: A Method for Stochastic Optimization 2014
  2. Mesolevel Modeling of Failure in Composite Laminates: Constitutive, Kinematic and Algorithmic Aspects Archives of Computational Methods in Engineering · Springer Science+Business Media · 2012 10.1007/s11831-012-9076-y
  3. A partitioned model order reduction approach to rationalise computational expenses in nonlinear fracture mechanics Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2012 10.1016/j.cma.2012.12.004
  4. Average stress in matrix and average elastic energy of materials with misfitting inclusions Acta Metallurgica · University of Toronto Press · 1973 10.1016/0001-6160(73)90064-3
  5. Micromechanical analysis of polymer composites reinforced by unidirectional fibres: Part I – Constitutive modelling International Journal of Solids and Structures · Elsevier BV · 2013 10.1016/j.ijsolstr.2013.02.009
  6. Artificial Neural Networks in numerical modelling of composites Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2009 10.1016/j.cma.2008.12.036
  7. The determination of the elastic field of an ellipsoidal inclusion, and related problems Proceedings of the Royal Society of London A Mathematical and Physical Sciences · Royal Society · 1957 10.1098/rspa.1957.0133
  8. Computational homogenization for multiscale crack modeling. Implementational and computational aspects International Journal for Numerical Methods in Engineering · Wiley · 2011 10.1002/nme.3237
  9. Automatised selection of load paths to construct reduced-order models in computational damage micromechanics: from dissipation-driven random selection to Bayesian optimization Computational Mechanics · Springer Science+Business Media · 2016 10.1007/s00466-016-1290-2
  10. Micromechanical validation of a mesomodel for plasticity in composites European Journal of Mechanics - A/Solids · Elsevier BV · 2016 10.1016/j.euromechsol.2016.06.008
  11. Reduced order modeling strategies for computational multiscale fracture Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2016 10.1016/j.cma.2016.09.039
  12. Dimensional hyper-reduction of nonlinear finite element models via empirical cubature Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2016 10.1016/j.cma.2016.10.022
  13. POD–DEIM model order reduction for strain-softening viscoplasticity Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2016 10.1016/j.cma.2016.11.025
  14. A framework for data-driven analysis of materials under uncertainty: Countering the curse of dimensionality Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2017 10.1016/j.cma.2017.03.037
  15. A deep material network for multiscale topology learning and accelerated nonlinear modeling of heterogeneous materials Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2018 10.1016/j.cma.2018.09.020
  16. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations Journal of Computational Physics · Elsevier BV · 2018 10.1016/j.jcp.2018.10.045
  17. Efficient micromechanical analysis of fiber-reinforced composites subjected to cyclic loading through time homogenization and reduced-order modeling Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2018 10.1016/j.cma.2018.11.014
  18. Variational Dropout and the Local Reparameterization Trick arXiv (Cornell University) · Cornell University · 2015
  19. Accelerating multiscale finite element simulations of history-dependent materials using a recurrent neural network Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2019 10.1016/j.cma.2019.112594
  20. Deep learning predicts path-dependent plasticity Proceedings of the National Academy of Sciences · National Academy of Sciences · 2019 10.1073/pnas.1911815116
  21. A machine learning based plasticity model using proper orthogonal decomposition Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.113008
  22. Micromechanics-based surrogate models for the response of composites: A critical comparison between a classical mesoscale constitutive model, hyper-reduction and neural networks European Journal of Mechanics - A/Solids · Elsevier BV · 2020 10.1016/j.euromechsol.2020.103995
  23. On the potential of recurrent neural networks for modeling path dependent plasticity Journal of the Mechanics and Physics of Solids · Elsevier BV · 2020 10.1016/j.jmps.2020.103972
  24. Thermodynamics-based Artificial Neural Networks for constitutive modeling Journal of the Mechanics and Physics of Solids · Elsevier BV · 2020 10.1016/j.jmps.2020.104277
  25. A recurrent neural network-accelerated multi-scale model for elasto-plastic heterogeneous materials subjected to random cyclic and non-proportional loading paths Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.113234
  26. Smart constitutive laws: Inelastic homogenization through machine learning Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.113482
  27. Jive: An open source, research-oriented C++ library for solving partial differential equations Advances in Engineering Software · Elsevier BV · 2020 10.1016/j.advengsoft.2020.102925
  28. On-the-fly construction of surrogate constitutive models for concurrent\n multiscale mechanical analysis through probabilistic machine learning arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2007.07749
  29. Recurrent neural networks (RNNs) learn the constitutive law of viscoelasticity Computational Mechanics · Springer Science+Business Media · 2021 10.1007/s00466-021-01981-y
  30. Sobolev training of thermodynamic-informed neural networks for interpretable elasto-plasticity models with level set hardening Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.113695
  31. A physics-informed deep learning framework for inversion and surrogate modeling in solid mechanics Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.113741
  32. Model-data-driven constitutive responses: Application to a multiscale computational framework International Journal of Engineering Science · Elsevier BV · 2021 10.1016/j.ijengsci.2021.103522
  33. Explainable artificial intelligence for mechanics: physics-informing neural networks for constitutive models arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2104.10683
  34. Learning constitutive models from microstructural simulations via a non-intrusive reduced basis method Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.113924
  35. A review of artificial neural networks in the constitutive modeling of composite materials Composites Part B Engineering · Elsevier BV · 2021 10.1016/j.compositesb.2021.109152
  36. Neural-network acceleration of projection-based model-order-reduction for finite plasticity: Application to RVEs arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2109.07747
  37. Physics-informed neural networks for modeling rate- and temperature-dependent plasticity arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2201.08363
  38. Multiscale modeling of inelastic materials with Thermodynamics-based Artificial Neural Networks (TANN) Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.115190
  39. A physics-informed deep neural network for surrogate modeling in classical elasto-plasticity Computers and Geotechnics · Elsevier BV · 2023 10.1016/j.compgeo.2023.105472