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

FE$${}^\textrm{ANN}$$: an efficient data-driven multiscale approach based on physics-constrained neural networks and automated data mining

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

기본 정보

저자
  1. Karl A. Kalina — Institute of Solid Mechanics, TU Dresden, 01062, Dresden, Germany
  2. Lennart Linden — Institute of Solid Mechanics, TU Dresden, 01062, Dresden, Germany
  3. Jörg Brummund — Institute of Solid Mechanics, TU Dresden, 01062, Dresden, Germany
  4. Markus Kästner — Institute of Solid Mechanics, TU Dresden, 01062, Dresden, Germany
DOI
10.1007/s00466-022-02260-0
저널
Computational Mechanics
발행년도
2023
발행기관
Springer Science+Business Media
피인용수
93
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1007/s00466-022-02260-0
토픽
Composite Material Mechanics
OpenAlex ID
W4319601611

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(9) 타이어코드, (10) 아라미드, (21) 에폭시수지
R&D 측면
분석·모델링
확신도
0.80
근거 용어
physics-constrained artificial neural networks, multiscale approach, finite strain hyperelasticity, fiber reinforced composite, computational homogenization
판단 근거
물리 법칙을 결합한 인공신경망을 통해 복잡한 미세구조를 가진 섬유 강화 복합소재의 거시적 비선형 거동을 시뮬레이션하는 방법론을 다루고 있습니다.
R&D 활용 포인트
아라미드, 타이어코드, 또는 유리섬유 강화 컴파운드와 같은 섬유 보강 복합소재의 미세구조에 따른 기계적 물성 및 비선형 거동을 예측하는 디지털 트윈/설계 모델링에 활용 가능합니다.
평가 입력
초록 2,065자

초록

Abstract Herein, we present a new data-driven multiscale framework called FE $${}^\textrm{ANN}$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:msup> <mml:mrow/> <mml:mtext>ANN</mml:mtext> </mml:msup> </mml:math> which is based on two main keystones: the usage of physics-constrained artificial neural networks (ANNs) as macroscopic surrogate models and an autonomous data mining process. Our approach allows the efficient simulation of materials with complex underlying microstructures which reveal an overall anisotropic and nonlinear behavior on the macroscale. Thereby, we restrict ourselves to finite strain hyperelasticity problems for now. By using a set of problem specific invariants as the input of the ANN and the Helmholtz free energy density as the output, several physical principles, e. g., objectivity, material symmetry, compatibility with the balance of angular momentum and thermodynamic consistency are fulfilled a priori. The necessary data for the training of the ANN-based surrogate model, i. e., macroscopic deformations and corresponding stresses, are collected via computational homogenization of representative volume elements (RVEs). Thereby, the core feature of the approach is given by a completely autonomous mining of the required data set within an overall loop. In each iteration of the loop, new data are generated by gathering the macroscopic deformation states from the macroscopic finite element simulation and a subsequently sorting by using the anisotropy class of the considered material. Finally, all unknown deformations are prescribed in the RVE simulation to get the corresponding stresses and thus to extend the data set. The proposed framework consequently allows to reduce the number of time-consuming microscale simulations to a minimum. It is exemplarily applied to several descriptive examples, where a fiber reinforced composite with a highly nonlinear Ogden-type behavior of the individual components is considered. Thereby, a rather high accuracy could be proved by a validation of the approach.

본문 123,848자

본문 펼치기
Herein, we present a new data-driven multiscale framework called FE ANN which is based on two main keystones: the usage of physics-constrained artificial neural networks (ANNs) as macroscopic surrogate models and an autonomous data mining process. Our approach allows the efficient simulation of materials with complex underlying microstructures which reveal an overall anisotropic and nonlinear behavior on the macroscale. Thereby, we restrict ourselves to finite strain hyperelasticity problems for now. By using a set of problem specific invariants as the input of the ANN and the Helmholtz free energy density as the output, several physical principles, e. g., objectivity, material symmetry, compatibility with the balance of angular momentum and thermodynamic consistency are fulfilled a priori. The necessary data for the training of the ANN-based surrogate model, i. e., macroscopic deformations and corresponding stresses, are collected via computational homogenization of representative volume elements (RVEs). Thereby, the core feature of the approach is given by a completely autonomous mining of the required data set within an overall loop. In each iteration of the loop, new data are generated by gathering the macroscopic deformation states from the macroscopic finite element (FE) simulation and a subsequently sorting by using the anisotropy class of the considered material. Finally, all unknown deformations are prescribed in the RVE simulation to get the corresponding stresses and thus to extend the data set. The proposed framework consequently allows to reduce the number of time-consuming microscale simulations to a minimum. It is exemplarily applied to several descriptive examples, where a fiber reinforced composite with a highly nonlinear Ogden-type behavior of the individual components is considered. Thereby, a rather high accuracy could be proved by a validation of the approach. Introduction Materials with an underlying meso-or microstructure, e. g., composites, solid foams, dual-phase steels or 3D-printed structures, enable the targeted design of engineering components with respect to their application. However, due to effects such as anisotropy, nonlinear or multiphysics phenomena, the experimental characterization of the effective constitutive behavior of such materials can be very complex. Multiscale schemes To avoid such a characterization of the material's effective behavior, computational multiscale schemes can be used. These schemes allow the simulation of engineering components made of materials with underlying microstructure solely based on information about the microstructural arrangement and the properties of the individual components, e. g., matrix and inclusions. Basically, two different types of multiscale schemes exist: the coupled multiscale scheme which is also known as FE 2 approach (finite element square) [1,2,3,4,5,6,7,8] and the decoupled or sequential multiscale scheme [9,10,11,12,13,14]. Multiscale schemes The FE 2 method allows to completely couple the microscopic and macroscopic scales without the need for the explicit formulation of an effective constitutive model. It is thus universally applicable to arbitrary geometries if the necessary microscopic information are available. However, the decisive disadvantage is the very high computational effort, which results from the solution of the microscopic boundary value problem (BVP) for the homogenization at each integration point of the macroscopic FE mesh. Multiscale schemes Within a decoupled multiscale scheme, the material's effective behavior is initially determined from homogenization of representative volume elements (RVEs) and then a suitable constitutive model, the so-called macro or surrogate model, is calibrated by these data. With this model, macroscopic BVPs can now be solved, whereby the influence of the microstructure is implicitly captured by the macro model. Thus, in contrast to the FE 2 method, the explicit solution of the microscopic BVP at each integration point is omitted. The central disadvantage, however, is that the formulation of such a model can be extremely complicated. Data-based methods in solid mechanics To circumvent the time consuming task of formulating and calibrating a surrogate model within a decoupled multi-scale scheme, data-based or data-driven techniques are very promising and have the potential to improve or replace traditional constitutive models. These techniques have become increasingly popular in the computational mechanics community during the last years [15,16]. In the following, a brief overview of the most common methods and their application to multiscale schemes is given. Overview on data-based constitutive modeling A relatively new strategy to substitute classical constitutive equations is the data-driven mechanics approach, initially proposed by Kirchdoerfer and Ortiz [17] and extended to, e. g., noisy data sets [18], finite strains [19], inelasticity [20] or fracture mechanics [21] in the meantime. This method completely avoids to use constitutive equations. Instead, sets of stress-strain tuples which characterize the material's behavior are used. A data-driven solver hence seeks to minimize the distance between the searched solution and the material data set within a proper energy norm, while compatibility and equilibrium have to be satisfied simultaneously. Overview on data-based constitutive modeling The construction of so called constitutive manifolds from collected data is an alternative approach which is described for elasticity and inelasticity by Ibañez et al. [22]. With this technique, it is possible to strictly fulfill the 2nd law of thermodynamics, i. e., the thermodynamic consistency, by using the GENERIC paradigm (General Equation for Non-Equilibrium Reversible-Irreversible Coupling) during the construction of constitutive manifolds [23]. Overview on data-based constitutive modeling Besides the previously mentioned techniques, there exist numerous data-based methods originating from the field of machine learning (ML). Probably, the most common technique is the application of artificial neural networks (ANNs), which have already been proposed in the early 90s by the pioneering work of Ghabussi et al. [24]. In the last decades, ANNs have been intensively used for mechanical material modeling and simulations by means of the finite element method (FEM), e. g., in [25,26,27,28,29] among others. Overview on data-based constitutive modeling However, in general, a large amount of data is required to train ANNs to serve as robust and accurate surrogate models for systems with complex underlying physics, e. g., constitutive models. In this context, a comparatively new branch of ML techniques related to constitutive modeling are approaches classified as physics-informed, physics-constrained [30,31], mechanics-informed [32] or hybrid models [33,34]. In these methods, essential physical principles and information are inserted into the ML-based model or parts of classical models are replaced with data-based methods, which leads to an improvement of the extrapolation capability and enables training with sparse data. In the case of ANNs, this can be achieved via the network architecture or by adapted training In the following, the term physics-informed does not directly refer to the PINN-approach (physics-informed neural network) according to Raissi et al. [35]. In a PINN, the searched solution field approximated by the ANN, e. g., displacement ( , ), is inserted into the governing partial differential equation (PDE) at collocation points. This expression is then added to the loss, so that the fulfillment of the PDE is enforced. In the context of constitutive modeling, however, the idea to enrich the ML approach with physical knowledge is applied in a similar way. algorithms. By choosing problem-specific invariant sets as the input variables, material symmetries are automatically satisfied for hyperelastic models [36,29,37]. Furthermore, the thermodynamic consistency can be fulfilled by choosing the free energy as the output quantity. In order to train the ANN with respect to the stresses, gradients of the output with respect to the input are inserted into the loss [38,36]. This technique is also named as Sobolev training in [39]. Furthermore, physical knowledge can be inserted via constraint training processes [40]. For the consideration of dissipative behavior, Masi et al. [41] proposed an adapted ANN architecture consisting of two feed forward neural networks (FNNs). Thereby, the first network is used to predict the evolution of internal variables and the second for approximating the free energy. Finally, the combination of classical models with data-based techniques is a further method to insert physical knowledge. Thereby, only parts of a model are replaced by data-based techniques, e. g., in plasticity models [33,34,42]. Data-based multiscale modeling and simulation In the context of multiscale problems, the mentioned databased methods can be used as surrogate models which replace the computationally expensive simulation of RVEs [43]. The high flexibility of trained networks with simultaneously excellent prediction qualities is thereby proven in numerous works: In [38] ANNs are used to describe the homogenized response of cubic lattice metamaterials exhibiting large deformations and buckling phenomena. Thereby, several types of hyperelastic ML-based models which fulfill basic physical requirements are used and compared to each other. Based on this, an extension to polyconvex hyperelastic models is given in [37]. In [44], FFNs and RNNs (recurrent neural networks) are used to replicate the homogenization of RVEs revealing inelastic behavior of the individual components. Thereby, also unknown paths can be predicted with the trained networks. Similarly, ANNs that replace the inelastic constitutive responses of composite materials sampled by RVE simulations are shown in [45]. Thereby, in addition, a deep reinforcement learning combinatorics game is used to automatically find an optimal set of network hyper-parameters from a decision tree. A data-driven multiscale framework called deep material network is shown in [46,47,48]. Thereby, the homogenized RVE response is reproduced by a network including a collection of connected mechanistic building blocks with analytical homogenization solutions. With that, a complex effective response could be described without the loss of essential physics. An extension of the deep material network approach to fully coupled thermomechanical multiscale simulations of composite materials is given in [49]. Data-based multiscale modeling and simulation Furthermore, ANNs can be used to link microstructural characteristics and effective properties. For example, in [50], an ML framework for predicting macroscopic yield as a function of crystallographic texture is described. An ML-based multiscale calibration of constitutive models representing the effective response of rate dependent composite materials is applied to brain white matter in [51]. Based on a library of calibrated parameters corresponding to a set of microstructural characteristics, an ML model which predicts the constitutive model parameters directly from a new microstructure is trained. Similarly, an ANN is trained to predict the elastic properties of short fiber reinforced plastics in [52]. Finally, the application of data-based techniques as surrogate models in decoupled multiscale schemes, which enable the simulation of macroscopic engineering components, is promising. In the pioneering work [53], a decoupled multiscale scheme using an ANN-based surrogate model has been shown for elastic composites with cubic microstructures. Another multiscale methodology is presented in [54]. Therein, a hybrid macroscopic surrogate model is used, i. e., a traditional constitutive model is combined with a data-driven correction. An ML-based multiscale framework for the simulation of the elastic response of metals having a polycrystalline microstructure is presented in [39]. Therein, the database is generated by using a 3D FFT (fast Fourier transform) solver. Based on this, [55,42] show an extension to elastoplasticity, whereby ANNs are used for the description of the yield surface and the stress within a hybrid modeling approach. Similarly, the simulation of the elastic-plastic deformation behavior of open-cell foam structures is shown in [33,34]. Thereby, a hybrid model including two ANNs is used as the macroscopic surrogate model. Therein, the first network serves for the description of the macroscale yield function and the second one for the prediction of the floating direction. In [49], two scale simulations of thermo-mechanical problems are solved by using deep material networks. Applying the modeling strategy initially proposed in [41], a multiscale scheme for the inelastic behavior of lattice material structures is described in [56]. An application of ANNs as surrogate models describing the anisotropic electrical response of graphene/polymer nanocomposites is shown in [57]. Furthermore, in [58], the application of recurrent neural networks (RNNs) as surrogate models within multiscale simulations of elastoplastic problems is shown. Furthermore, the RNN-based approach is compared to full FE 2 simulations. An application of RNN surrogate models to viscoplasticity is described in [59]. A combination of fully coupled FE 2 simulations with an adaptive switching to ANN-based surrogate models for the complex simulation of RVEs is shown in [60]. In addition, a multiscale framework based on the datadriven mechanics approach [17] is presented in [61] for the application to sand. Thereby, the necessary data set is extracted from lower scale simulations. In [62], a multi-level method is used within a data-driven multiscale scheme which is applied for the simulation of solid foam materials. Content Within this contribution, an efficient data-driven multiscale approach called FE ANN , which makes use of physics-constrained ANNs as a macroscopic surrogate model, is presented. The approach allows to consider materials with complex microstructures leading to an overall anisotropic behavior, whereby a restriction to hyperelastic solids is made for now. The ANNbased surrogate model automatically fulfills several physical principles, e. g., objectivity, material symmetry, compatibility with the balance of angular momentum and the thermodynamic consistency. This is done by using a set of problem specific invariants as the input of the network and the Helmholtz free energy density as the output, cf. Linka et al. [36], Klein et al. [37] or Linden et al. [63], among others. The data which are used to train the ANN are collected via computational homogenization of an RVE representing the material's microstructure. Thereby, in contrast to most of the datadriven multiscale approaches from the literature, it is not necessary to explore all required macroscopic states of deformation which occur in the macroscopic simulation in advance. Instead, the required data, i. e., effective deformations and corresponding stresses, are determined by homogenization in a fully autonomous way within the framework by collecting the relevant deformations from the macroscopic FE simulation. This procedure is similar to the approach presented by Korzeniowski and Weinberg [62] which is based on the data-driven mechanics approach [17]. Here, in addition, the macroscopic deformations are mapped into an invariant space associated to the symmetry group of the considered material. In this space, the selection of relevant states is done so that the number of time-consuming microscale simulations can be reduced to a minimum. Moreover, it is not necessary to perform a rough scan of the relevant deformation area in advance here. The proposed framework is exemplarily applied to several descriptive examples, where a fiber reinforced composite with a highly nonlinear behavior of the individual components is considered. Content The organization of the paper is as follows: In Sect. 2, the basic equations of the finite strain continuum solid mechanics theory as well as basic principles of hyperelastic models are given. After this, the proposed data-driven multiscale framework is described in Sect. 3. This approach is exemplarily applied within several numerical examples in Sect. 4. After a discussion of the results, the paper is closed by concluding remarks and an outlook to necessary future work in Sect. 5. Continuum solid mechanics In this section, the basic kinematic and stress quantities as well as general relations of anisotropic hyperelastic constitutive models are summarized shortly. The reader is referred to the textbooks of Haupt [64], Holzapfel [65] or Ogden [66] for a detailed overview. Furthermore, a Hill-type homogenization framework is introduced. For a clear mathematical notation, the space of tensors Continuum solid mechanics except for a tensor of rank zero, is used in the following. In Eq. (1), R 3 , N and ⊗ denote the Euclidean vector space, the set of natural numbers and the dyadic product, respectively. Tensors of rank one and two are given by boldface italic symbols in the following, i. e., ∈ L 1 or , ∈ L 2 . Furthermore, a single or double contraction of two tensors is given by · = ⊗ or : = , respectively. Thereby, ∈ L 1 denotes a Cartesian basis vector and the Einstein summation convention is used. Kinematics and stress measures 2.1.1 Kinematics In the following, a material body C which occupies the reference configuration B 0 ⊂ R 3 at time 0 ∈ R ≥0 and the current configuration B ⊂ R 3 at time ∈ T := { ∈ R + | ≥ 0 } is considered. The displacement vector ∈ L 1 of a material point ∈ C capturing the positions ∈ B 0 at 0 and ∈ B at is given by ( , ) := ( , ) − . Therein, : B 0 × T → B , ( , ) ↦ → =: ( , ) denotes a bijective motion function which is postulated to be continuous in space and time. As further kinematic quantities, the deformation gradient ∈ L 2 and the Jacobian determinant ∈ R + are defined by the relations := (∇ ) T and := det > 0 . Kinematics and stress measures 2.1.1 Kinematics In the equation above, ∇ is the nabla-operator with respect to reference configuration B 0 . A deformation measure which is free of rigid body motions is given by the positive definite right Cauchy-Green deformation tensor := T · ∈ with the space of symmetric second order tensors := ∈ L 2 | = T . With that and by using Sylvesters formula, the spectral decomposition of follows to Kinematics and stress measures 2.1.1 Kinematics where 1 ∈ L 2 , ∈ R ≥0 and ∈ denote the identity tensor, the principal stretches and the projection tensors, respectively. The introduced symbol ∈ {1, 2, 3} indicates the algebraic multiplicity of . Furthermore, is defined as the Kronecker delta. Stress measures Within the framework of nonlinear continuum solid mechanics, various stress measures can be defined. The symmetric Cauchy stress ∈ , also known as true stress, is defined with respect to the current configuration B. Furthermore, the 1st and 2nd Piola-Kirchhoff stress tensors ∈ L 2 and ∈ follow from the pull back operations Stress measures Accordingly, is related to both, B and B 0 , whereas is completely defined with respect to B 0 . General properties The constitutive behavior of the considered solids is restricted to hyperelasticity within this work. Accordingly, a hyperelastic potential which is equal to the Helmholtz free energy density function : L 2 → R + , ↦ → ( ) exists. By applying the procedure of Coleman and Noll [67], the relations General properties then follow from the evaluation of the Clausius-Planck inequality [65]. With that, the thermodynamic consistency of any hyperelastic model is fulfilled a priori. In addition, there are some further requirements on , which ensure a physically reasonable constitutive behavior [65,66]. The normalization condition requires that (1) = 0, i. e., that the free energy vanishes in the undeformed state. Furthermore, the free energy should increase in any case if deformation appears: ( ) > 0 ∀ ≠ 1. The former two conditions imply that has a global minimum at = 1. Consequently, the undeformed state is stress-free, i. e., (1) = 0 holds. Additionally, the growth condition requires that an infinite amount of energy is needed to infinitely expand the volume or compress it to zero: ( ) → ∞ as ( → ∞ ∨ → 0 + ). Finally, the principle of material objectivity states that the free energy is invariant with respect to a superimposed rigid body motion. This statement is expressed by the relation ( ) = ( · ) which holds for all special orthogonal tensors General properties Accordingly, the principle of material objectivity is automatically fulfilled if the tensor is used as the argument of instead of , i. e., : General properties → R + , ↦ → ( ), which is done in the following. General properties Finally, polyconvexity of the energy , i. e., convexity with respect to , Cof := −T and det , is a further condition. This condition implies material stability, i. e., Legendre-Hadamard-Ellipticity, see Ebbing [68] for more details. However, polyconvexity is a quite strong requirement on the free energy. Material symmetry Besides the previously mentioned requirements, the constitutive equations should also reflect the symmetry of the described material which is expressed by the principle of material symmetry [64,68]. According to that, the free energy have to be invariant with respect to all orthogonal transformations belonging to the symmetry group of the underlying material: Material symmetry In order to describe anisotropic constitutive behavior, the concept of structural tensors can be used [64,68]. Depending on the considered material, these tensors are of order two 1 , 2 , . . . , 2 ∈ L 2 , four M 1 , M 2 , . . . , M 4 ∈ L 4 , or even higher. They reflect the material's anisotropy and are thus invariant with respect to the symmetry transformations, e. g., Material symmetry The notation * M means , where the Einstein summation convention is used. If the structural tensors are appended to the list of arguments of , the energy is an isotropic tensor function even if the material is anisotropic which means that Material symmetry holds for all ∈ . To abbreviate the notation, the sets Preprint submitted to Springer arXiv Finally, a set I := ( 1 , 2 , . . . , ) ∈ R ×1 consisting of ∈ N irreducible scalar valued invariants ∈ R could be derived by using the Cayley-Hamilton theorem. Consequently, the free energy is expressed by the isotropic tensor function = ( 1 , 2 , . . . , ) which is invariant with respect to all transformations ∈ . By using the latter definition and applying the chain rule, the 2nd Piola-Kirchhoff stress follows to Preprint submitted to Springer arXiv where ∈ denotes tensor generators corresponding to the invariants [29]. Special anisotropy classes Within this work, two anisotropy classes are considered, isotropic as well as transversely isotropic materials. Corresponding sets of irreducible invariants are given in the following. Special anisotropy classes A set of irreducible invariants describing an isotropic hyperelastic solid is given by Special anisotropy classes The used principal invariants are given by Special anisotropy classes whereby the cofactor of is defined by Cof := 2 −1 . Special anisotropy classes Note that I • is also expressible by the principal stretches which follows from Eq. (3): Special anisotropy classes According to [64,65,68], the structural tensor describing transverse isotropy is given by the second order tensor = ⊗ , whereby ∈ L 1 with | | ≡ 1 is the fiber direction in the undeformed state. A set of irreducible invariants is thus I := ( 1 , 2 , 3 , 4 , 5 ) ∈ R 5×1 . Therein, the latter two invariants, which capture the material's anisotropy, are given by the expressions 4 := : and 5 := Scale transition scheme In the following, a distinction between two different scales, the micro-and the macroscale is made. The former is characterized by a heterogeneous structure consisting of matrix Scale transition scheme The Cayley-Hamilton theorem states that a second order tensor fulfills his own eigenvalue equation, e. g., 3 − 1 2 + 2 − 3 1 = 0, where 1 , 2 , 3 denote the principal invariants of , cf. Eq. (9). Consequently, any power with ≥ 3 as well as the inverse −1 are expressible in terms of 2 , and 1 [64]. Scale transition scheme Note that the more common expression 2 = 1 2 (tr 2 −tr 2 ) is equivalent to 2 = tr(Cof ). Both expressions can be transformed into each other by using the Cayley-Hamilton theorem. length ℓ ∈ R + , whereas the second considers a macroscopic bodyB 0 ⊂ R 3 of characteristic lengthl ∈ R + and is assumed to be homogeneous. For the lengths introduced, the relationl ℓ known as scale separation must hold [3]. To label macroscopic quantities, they are marked by( •) in the following. Scale transition scheme In order to connect microscopic and macroscopic tensor quantities, an appropriate homogenization scheme is needed. Consequently, each macroscopic point¯∈B 0 gets assigned properties resulting from the behavior of the microstructure. For this purpose, a representative volume element (RVE) of the material is considered on the microscale in the vicinity of¯, cf. Fig. 1. An effective macroscopic quantity is then identified from the microscopic field distribution within the RVE by the volume average Scale transition scheme Using Eq. (12), the macroscopic deformation gradient and the 1st Piola-Kirchhoff stress are defined by¯:= and := , respectively [3,4,11]. Appropriate boundary conditions for the microscopic BVP, which has to be solved before the volume averaging can be performed, are deducible from the equivalence of the macroscopic and the averaged microscopic energies which is also known as the Hill-Mandel condition. For the considered finite strain setting it is given by the following relation [3,4,11]: Scale transition scheme where (•) denotes the material time derivative. Regarding purely hyperelastic behavior, the Hill-Mandel condition expresses the equality of the rates of the macroscopic and the averaged microscopic Helmholtz free energies: ¯= . Consequently, it holds¯= . To fulfill Eq. (13), several type of boundary conditions (BCs) can be used, whereby periodic BCs given by the spaces Scale transition scheme Preprint submitted to Springer arXiv are applied within this work [11]. In the equation above, = · is the nominal stress vector. Furthermore, (•) + and (•) − denote values on opposing boundaries of the RVE which is supposed to be periodic. The tilde( •) marks the fluctuation part of a microscopic tensor quantity. Scale transition scheme Based on the summarized continuum theory, the following section introduces the proposed data-driven multiscale scheme FE ANN . The general procedure of this framework is basically subdivided into five steps referred as After the framework is initiated with step (a), the steps (b)-(e) are executed within an overall loop which is given in Algorithm 1. Accordingly, the ANN is trained with the current data set D of the iteration ∈ N, the macroscale problem is solved, unknown macroscopic states of deformationā re detected, and the macroscopic stresses¯corresponding to the previously unknown deformations are generated via computational homogenization. The loop terminates in an iteration ≥ 1, after no further deformation states are found and the relevant space of deformation is thus completely sampled by D . In order to prevent that the macroscopic simulation does not reach the final time step goal -which could be occur due to a failed convergence of the ANN -but no new deformations are detected within ∈ { 0 , 1 , · · · , = end < goal }, a further inner repeat loop is implemented. Therein, the steps (b)-(d) are performed multiple times, until the final time step goal is reached or new states of deformation are found. A schematic representation of the framework is given in Fig. 2. The single steps are described in detail in the following. Scale transition scheme In order to enable a fully automatized utilization of the framework, a Python wrapper which runs on a high performance cluster (HPC) using the Batch-System SLURM (Simple Linux Utility for Resource Management) has been implemented. This wrapper processes the loop independently by starting the individual jobs and managing the results. Initial data generation (a) To start with, an initial data set D 1 := { 1 T , 2 T , . . . , T } consisting of ∈ N data tuples T := (¯R VE ,¯R VE ) ∈ L 2 × L 2 is generated. Basically, a low number of tuples is sufficient to initiate the multiscale scheme. Suitable states of deformation are simple load cases as, e. g., uniaxial tension and equibiaxial tension Initial data generation (a) where these load cases could be applied on the RVE in different directions. In the equations above,¯∈ R + and¯∈ R denote prescribed effective stretches and shears, respectively. The labeling with (−) means that the corresponding coordinate of the effective 1st Piola-Kirchhoff stress¯is prescribed to zero. The stresses¯R VE belonging to the deformations RVE are calculated from a computational homogenization according to Subsect. 2.3, whereby this is done by using an in house Matlab FE code. The periodic BCs are applied via the master node concept therein [69]. ANN-based macroscopic surrogate model Within the data-driven multiscale loop, an appropriate macroscopic surrogate model is needed. To this end, a physicsconstrained ANN model, which a priori fulfills several physical conditions, is used, compare Subsect. 2.2. ANN-based macroscopic surrogate model Assuming that the macroscopic material symmetry group of the considered composite is known, and thus the structural tensors M 2 , M 4 corresponding to the material are available, the invariants¯(¯, M 2 , M 4 ) are determined first. These scalar values are mapped into a normalized domain, i. e., ANN-based macroscopic surrogate model : ANN-based macroscopic surrogate model . . , } with respect to the training data set, and are arranged in a vector = (¯1,¯2, . . . ,¯) ∈ R ×1 . Thereafter, the free energy is predicted by an FNN with the normalized invariants¯serving as input values and¯as output. Restricting the network architecture to only one hidden layer containing neurons, it holds¯A ANN-based macroscopic surrogate model Preprint submitted to Springer arXiv ANN-based macroscopic surrogate model Thus, the surrogate model automatically fulfills several physical principles: thermodynamic consistency, objectivity and material symmetry. A graphical summary of the described surrogate model structure is given in Fig. 3. ANN-based macroscopic surrogate model In order to fulfill additional physical conditions, it may be necessary to incorporate further non-independent invariants Note that a non-bounded activation function is necessary to fulfill the growth condition, i. e.,¯A NN (¯) → ∞ as (¯→ ∞ ∨¯→ 0 + ). Besides the Softplus activation function, further choices are possible, e. g., ELU or ReLu. However, in contrast to the Softplus function, they are not twice continuously differentiable. * into the argument list of¯A NN . In this case, Eqs. (18) and (20) are to be modified according tō ANN ANN-based macroscopic surrogate model and ANN-based macroscopic surrogate model where A := { 1 , . . . , }, = |A|, is a set containing the indices of the additional invariants¯ * . Accordingly, the growth condition can be additionally guaranteed for¯→ 0 + by including¯ * 3 := 1/¯3 as a further invariant and not only¯3 itself, where¯ * 3 is defined to be independent, i. e.,¯3¯ * 3 = 0. Thus, A = {3} in this case. However, in addition, further constraints have to be satisfied by the weights to ensure that the growth condition is fulfilled. As shown in Appendix A, a possible sufficient condition is given by ANN-based macroscopic surrogate model Therein, the set N := {1, 2, , . . . , } contains the indices of the hidden layer neurons. In the work [37], the growth condition is fulfilled in a similar way by adding an additional energy term which is not directly included in¯A NN . Training process of the ANN (b) The ANN-based model is trained with respect to the current data set D in each iteration of the multiscale loop, where a random division into training and test data is made. Training process of the ANN (b) Within the training process, the weights and bias values , , , and * are then determined. In order to enable an adjustment of the ANN to the stress values, gradients of the output with respect to the input are inserted into the loss Training process of the ANN (b) which is similar to [38,36,39]. The training is done by using the SLSQP optimizer (Sequential Least Squares Programming). Thereby, the ANN is trained several times, where the parameters of the best achieved training state are stored at the end [29]. An implementation of the described workflow is realized using Python, Tensorflow and SciPy. Within the training the constraint (23) can be switched on optionally. Finally, in order to fulfill the normalization condition, the bias value is chosen such that¯A NN = 0 within the initial (undeformed) state. Training process of the ANN (b) Due to local minima within the loss function, the optimization procedure which is applied here depends on the starting values of the weights and biases. Thus, the network is trained several times to overcome this. Implementation and macroscopic simulation (c) The model equation (18) has been implemented within the FE toolbox FEniCS [70,71]. Therein, the stress relation given by Eq. (20) and the material tangent Autonomous data mining Besides the physics-constrained surrogate model, the core feature of the data-driven multiscale framework is the data mining process which is done in a fully automatic manner. Data analysis (d) Within each iteration of the overall multiscale loop, the local deformation states of the macroscopic bodyB are collected. To this end, the deformation gradient¯is stored at each quadrature point of the FE mesh and at each time increment . Consequently, the body's full state of deformation is characterized by the set F macro := { 1¯m acro , 2¯m acro , . . . ,¯m acro } which is a subset of L 2 . Now, previously unknown deformations have to be detected, whereby it is meaningful to only consider states providing additional information for the material under observation. Since the intrinsic constitutive behavior of the material lives in the space of invariants I ⊂ R ( + )×1 , it is useful to perform a transformation into this space at this point [29]: are used, respectively. Thus, by making use of Eq. (26), the current data set D is compared to F macro within the invariant space. If a state which is contained in F macro is unique within a given tolerance tol,1 , it is needed to enrich the data set for the next multiscale iteration step + 1. Thereby, the set F macro is searched in an reverse manner, i. e., starting from the last time step end . If a unique state is identified in the step , the full time series¯( 0 ),¯( 1 ), . . . ,¯( ) with ≤ end is added to F new ⊂ L 2 . Thus, it is possible that deformation states in the set F new are multiple with respect to F new itself and/or D . To avoid that this unnecessarily inflates the training process, a Note that it is useful to save the time series of a new deformation state, i. e., all states¯( 0 , 1 , . . . , ) proceeding at a fixed quadrature point. This facilitates the application of the macroscopic deformation within the computational homogenization later on. Furthermore, an extension to path dependent materials requires this mandatory. Data analysis (d) Preprint submitted to Springer arXiv further filtering step is performed in the data enrichment step (e). Data analysis (d) By using the described technique for the identification of relevant macroscopic deformation states, it is possible to reduce the number of time consuming microscale simulations following in the next step to a minimum. Data enrichment (e) After F new has been determined, it is necessary to identify the stresses belonging to the states¯m acro . This is done by applying these states within the RVE simulations and calculating the stresses by volume averaging. In order to use only one RVE and anyhow allow different microstructure orientations in the macroscopic body, a transformation of¯is necessary before. To this end, the relation¯(¯) =¯( ·¯· T ) with ∈ + , which holds for arbitrary material symmetry groups, is used. Thus, the collected state of deformation macro from the macroscopic sample is processed by the Euclidean transformation The tuples T = (¯R VE ,¯R VE ) consisting of applied deformations and corresponding stresses are then collected in the set D RVE . Euclidean transformation As already mentioned above, it is possible that data tuples in the set D RVE are multiple with respect to D RVE itself and/or D . Thus, a further filtering step is performed, where multiple tuples are sorted out with respect to D and D RVE within a given tolerance tol,2 . To this end, a transformation to the invariant space is used again, see Subsect Examples In order to demonstrate the ability of the developed datadriven multiscale approach FE ANN described in Sect. 3, it is applied to the solution of three numerical examples within this section. Specifically, three macroscopic structures -a cuboid with a circular hole, a torsional sample and the Cook membrane -are considered. All of them consist of a fiber reinforced composite revealing a highly nonlinear behavior of the individual phases. Microscopic properties of the composite 4.1.1 Constitutive behavior The constitutive behavior of the composite's individual components, i. e., fibers and matrix, is described by a hyperelastic Ogden model [66]. It is given by the free energy density function where, , ∈ R and ∈ R + are model parameters. The symbol R + iso := −1/3 denotes the isochoric principal stretches following from the Flory split [72]: Microscopic properties of the composite 4.1.1 Constitutive behavior = vol · iso with iso = −1/3 and det iso ≡ 1 , (29) i. e., the multiplicative decomposition of into volumetric vol and isochoric iso parts. Note that the introduced material parameters are related to initial shear modulus init and Poisson's ratio init via the relations Microscopic properties of the composite 4.1.1 Constitutive behavior respectively. Furthermore, in order to guarantee a physically meaningful behavior, the parameters and have to be restricted by the following constraints: ( < −1 ∨ ≥ 2 and > 0) ∀ ∈ {1, 2, · · · O } [66]. The stress of the Ogden model is determined by using Eq. (5) and follows to Microscopic properties of the composite 4.1.1 Constitutive behavior The calculation of the projection tensors related to the right Cauchy-Green deformation tensor is given in Eq. (3). Microscopic properties of the composite 4.1.1 Constitutive behavior Within the following numerical examples, the material parameters given in Tab. 1 are chosen. With this choice, a highly nonlinear behavior of the matrix phase is achieved, cf. [29]. The parameters of the fibers are chosen in such a way, that a neo-Hookean model results. Note that the selected parameters are not related to a real material. Microstructure and RVE definition Besides the constitutive behavior of the individual components, the geometric arrangement of the individual phases has to be defined. In order to choose a realistic microstructure, it Preprint submitted to Springer arXiv is characterized by a monodisperse stochastic arrangement of fibers with = 30 % volume fraction here. Furthermore, a minimum distance of := 0.4 with respect to the fiber radius = 10 µm is chosen. According to the homogenization concept, a suitable RVE which is sufficiently large to capture the essential statistic properties of the microstructure is needed. Herein, this condition is checked by applying the 2 -test proposed by Gittman et al. [73]. Thereby, randomly generated RVEs with fixed number of inclusions and volume fraction are generated. The effective response of these RVEs is then determined by a computational homogenization, whereby a specific load case is chosen depending on the property of interest, e. g., this could be a stress or a stiffness component. Based on these results, a statistical analysis is done by evaluating the scatter of by means of the quantity Microstructure and RVE definition If the accuracy of is sufficient, i. e., 2 ≤ tol , the tested sample size is the final RVE size. Otherwise, the sample size have to be increased and the analysis will be repeated. Microstructure and RVE definition The described 2 -test has been applied to the fiber reinforced material. Thereby, a tolerance of tol = 2.5 % and a number of = 10 RVEs for each RVE-class with inc inclusions have been chosen. As representative load cases, uniaxial tensions according to Eq. (16) 1 are applied into the 1 -, 2and the 3 -direction, i. e., perpendicular and parallel to the fiber orientation. Thereby, the stress into the tension direction is evaluated according to Eq. (32). The prescribed tolerance is finally reached for the RVE-class with inc = 100 fibers. The determined stress-stretch curves and the chosen RVE are depicted in Fig. 4 for the final RVE. Accordingly, a highly nonlinear and anisotropic effective response occurs. Microstructure and RVE definition Generation and meshing of the periodic cells have been done by using the python tool gmshModel , whereby the placement of the fibers is realized via the random sequential adsorption (RSA) algorithm [74]. The RVEs were meshed by tetrahedron elements with 10 nodes. A total of 94,456 elements is reached for the final RVE with 100 fibers. Microstructure and RVE definition It should be noted, that it is not sufficient to represent the microstructure of a fiber reinforced composite with an overall transversely isotropic behavior by a hexagonal unit cell if finite strains are considered. This is due to the loss of the material symmetry which results from the deformation of the RVE cell, cf. Appendix B. Microstructure and RVE definition The python tool gmshModel is freely accessible under https:// gmshmodel.readthedocs.io/en/latest/. Application of the data-driven multiscale framework for the simulation of macroscopic samples After the definition of the composite's microscopic properties, the data-driven framework FE ANN is applied for the simulation of several multiscale problems. The macroscopic geometries and applied BCs are depicted in Fig. 5. Application of the data-driven multiscale framework for the simulation of macroscopic samples In all examples, the following specifications and meta parameters have been used: The effective transversely isotropic behavior, which results from the RVE homogenization, is described by using the setĪ := (¯1,¯2,¯3,¯4,¯5,¯ * 3 ) ∈ R 6×1 consisting of six invariants, cf. Subsect. 2.2.3. As discussed in Subsect. 3.2, the non-independent invariant¯ * 3 = 1/¯3 is added to allow the growth condition to be satisfied by construction of the network architecture. As already mentioned, this requires additional constraints for the weights, e. g., Eq. (23). However, training under these constraints results in noticeably worse stress predictions. Thus, in order to achieve maximum prediction quality, the constraints were not considered within the training here. The adapted architecture is nevertheless used to allow a better comparability to the same network architecture trained with the constraint, see the study in Appendix A. The ANNs used as the surrogate model consist of only one hidden layer with 15 neurons which has been shown to be sufficiently accurate, where the networks are trained 25 times in each macroscopic iteration. For comparison see the study given in [29]. Application of the data-driven multiscale framework for the simulation of macroscopic samples As shown in Fig. 4(b), the fiber orientation of the RVE is given by RVE = 3 , where 3 is the Cartesian base vector. In order to transform deformation states for the general case macro ≠ RVE by using Eq. (27), Rodrigues' rotation formula Application of the data-driven multiscale framework for the simulation of macroscopic samples is applied to determine . Therein, := macro × RVE is the unit normal vector and := ( macro , RVE ) the angle between the fiber directions. Finally, the tolerance for the detection of unique deformation states within the invariant space I is set to tol,1 = 5 %. The tolerance for the filtering step is set to tol,2 = 1 %, cf. Subsects. 3.3.1 and 3.3.2. Cuboid under tension As a first example, a cuboid with a circular hole is loaded by tension. To this end, a displacement ofˆ= 0.4¯1 is prescribed at the top surface, where¯1 is the initial length in 1 -direction. The fiber orientation is chosen to macro = 1 . The cuboid's geometric dimensions are specified by¯1 ׯ2 ׯ3 = (100 × 100 × 25) mm. The hole in the center has a radius of 30 mm. Preprint submitted to Springer arXiv x 1 Preprint submitted to Springer arXiv x 2φ Preprint submitted to Springer arXiv A macro Preprint submitted to Springer arXiv Table 2: Load cases for the generation of the initial data. The effective deformations¯R VE are prescribed according to Eqs. (16) and (17). Preprint submitted to Springer arXiv Load case¯m ax¯min¯max directions Uniaxial tension Preprint submitted to Springer arXiv Multiscale iterations The single iterations within the loop are described for the multiscale simulation of the cuboid in the following. Preprint submitted to Springer arXiv To start the algorithm, the initial data have to be generated first, cf. Subsect. 3.1 step (a). Here, a total number of 18 load cases -six uniaxial tension and compression, six equibiaxial tension and compression as well as six simple shear states -are prescribed to the fiber reinforced RVE. Different loading directions are considered to collect knowledge about the composite's overall anisotropy. The applied stretches and shears as well as the directions are given in Tab. 2. In order to avoid that data providing the same physical information are contained multiple times, a filtering process is applied in the invariant space I . Within I , the collected states cover only a sparse region which is pervaded by a few paths consisting of 193 tuples T . This is shown in Fig. 6, where the set is exemplarily visualized in the sectional planes¯1-¯3 and¯1-¯5. However, due to the physical knowledge which is incorporated into the ANN-based macroscopic surrogate model, this sparse data set is sufficient to initiate the multiscale scheme. Now, the algorithm enters the multiscale loop with iteration 1 and the initial data set is labeled as D 1 . It is used to train the physics-constrained ANN which is afterwards utilized as the RVE surrogate model within the macroscopic simulation, cf. Subsect. 3.2 steps (b) and (c). Note that the prediction of the sample's macroscopic fields, i. e., displacement¯( , ), deformation¯( , ), stress¯( , ), etc., is only an initial guess in this first iteration. This is due to the fact that the ANN does not know the occurring stress-deformation states for the most part at this point. However, it is still sufficient to identify new deformation states. As described in Subsect. 3.3.1, this is done by transforming the sample's deformation states, collected into the set F macro 1 , into the invariant space I and to identify unique states by a comparison to D 1 . As already mentioned, the full time series¯( 0 ),¯( 1 ), . . . ,¯( ) with ≤ end is added to F new if a unique state is identified in the step . These deformation paths are prescribed in the RVE Due to the material symmetry (transverse isotropy), several loadings are equivalent from the point of the material, e. g., uniaxial tension in 1 -or 1 193 495 1 2 688 9 12/15 3 697 60 1 4 757 13 1 5 770 0 1 simulation and the corresponding stresses¯are determined. After the subsequent filtering process with the tolerance tol,2 , a total number of 495 unique tuples is identified. They are given in Fig. 6. In iteration 2, the new information are used to enrich the data set D 2 = D 1 ∪ D new 1 . This set is used to train the ANN which is then applied for the prediction of the sample's macroscopic fields. As shown in Fig. 6, only a low number of new tuples is now detected from F macro 2 . This is due to the fact that the macroscopic simulation terminates already in time step end = 12 < goal , cf. Tab. 3. Preprint submitted to Springer arXiv However, using these new data, the prediction of the macroscopic simulation in the subsequent 3rd iteration yields that the sample's deformation field maps to a new region within I which consists of 60 tuples. The described process -consisting of the steps training process, macroscopic simulation, data analysis and data enrichment -is repeated until no further unique data are found which is the case in iteration 5. Note that an overlap of tuples from D and D new is possible, since a state is already unique if it deviates only in one of the six relevant invariants. Thus, an intersection in the depicted sectional planes may occur. Preprint submitted to Springer arXiv In advance, the macroscopic sample's states F macro 5 → D macro 5 mapped to I and the data set D 5 of iteration 5 are depicted within the full invariant space in Fig. 7. It becomes apparent, that D 5 \ D 1 contains tuples which are not included into F macro 5 . Thus, as described above, the predictions of iteration 1-4 are only necessary to gradually approach the correct result of the macroscopic simulation. However, due to the fact that the collected deformations are prescribed within the RVE simulations to determine the corresponding stresses, no defective information could enter the data set. Preprint submitted to Springer arXiv The stress predictions of the ANN for all tuples in D 5 are compared to the reference values of the RVE simulations in Fig. 8(a). As shown there, an almost perfect prediction occurs for both, training and test data. A single loading path and the corresponding deformed RVE at time goal are depicted in Fig. 9 exemplarily. Preprint submitted to Springer arXiv Validation In order to demonstrate the quality of the developed FE ANN approach, the full deformation space of the cuboid is analyzed and the single states are applied to the RVE simulation, respectively. To this end, the symmetric right Cauchy-Green deformation tensors¯are calculated from The unknown states are prescribed within RVE simulations to get the corresponding stress values. These stresses are then compared to the predictions of the ANN which has been trained by D 5 . As shown in Fig. 8(b), an almost perfect prediction is observed also for these states. Consequently, the proposed FE ANN approach has shown to be highly accurate. Preprint submitted to Springer arXiv Furthermore, in order to demonstrate that the chosen tolerance tol,1 = 5 % within the multiscale loop is sufficient, the achieved macroscopic solution is compared to a solution in which this tolerance is prescribed to 2.5 %. As shown in Fig. 11, a relative error of below 2 % with respect to the reference solution occurs for the stress¯1 1 Preprint submitted to Springer arXiv In want of a fully coupled FE 2 implementation, this comparison is used. Iteration 1 Initial data New data D new 1 of iteration 1 Figure 12: Sampling of the invariant space I within the simulation of the torsional sample. The initial data set contains the load cases given in Tab. 2 and the data collected from the cuboid simulation. Iteration 1 The multiscale scheme was terminated in iteration 2. Exemplarily, the sectional planes¯1-¯3 and¯1-¯4 are depicted. Torsional sample After the detailed description of the multiscale loop within the solution process of the cuboid geometry, a further example is considered. Now, the FE ANN scheme is applied to the solution of a torsional sample with a circular hole given in Fig. 5(b). Accordingly, the fiber direction of the macro sample is chosen as macro = 2 in this example. Nevertheless, due to the applied transformation given by Eq. (27), the same RVE with RVE = 3 is used. The torsional sample is loaded by specifying a distortion ofˆ= 45 • around the 1 -axis. The sample's geometric dimensions are specified by¯1 ׯ2 × 3 = (200 × 100 × 100) mm. The hole in the center has a radius of 40 mm. Torsional sample In order to minimize the computational effort, the scheme is initiated by using the collected data set D 5 from the previous example as the initial data. In this way, a knowledge base is created for a specific material under consideration, which can be used for further simulations and, at the same time, can be continuously expanded. Torsional sample The multiscale loop now terminates after only 2 iterations which is due to the described initiation with the available data set. As shown exemplarily for the sectional planes¯1-¯3 and¯1-5 in Fig. 12, a wide range of relevant states is already covered by the states extracted from the cuboid simulation. Thus, the advantage of a transformation into the invariant space becomes again very clear. Although the deformation of the cuboid tensile specimen and torsional specimen is very different in the¯-space, both overlap clearly in invariant space which is in accordance to [29]. Caused from the geometry and the anisotropic nonlinear elastic behavior, a complex deformation of the macroscopic sample occurs, cf. the surface plot of¯1 2 on the deformed geometry in Fig. 13. Cook's membrane Finally, as a last example, Cook's membrane is simulated by using the developed data-driven multiscale scheme. Thereby, the fiber direction within the membrane is prescribed to macro = ( 1 + 3 )/ √ 2. To initiate the scheme, the data set from the previous example is used, where this set also contains data collected within the first example. Again, a fast convergence of the multiscale loop is achieved after only 2 overall iterations. As shown exemplarily for the sectional planes¯1-¯3 and¯1-¯5 in Fig. 14, a wide range of relevant states is already covered by the states extracted from the cuboid and the torsional sample simulations. Thus, as already mentioned, the advantage of a transformation into the invariant space is underpinned. Although the deformation of the cuboid tensile specimen, the torsional specimen and the Cook membrane are very different in the¯-space, they overlap clearly in invariant space. The deformed macroscopic states with the right Cauchy-Green deformation¯1 1 are depicted in Fig. 15 for the time steps 10 Iteration 1 Initial data New data D new 1 of iteration 1 Figure 14: Sampling of the invariant space I within the simulation of the Cook's membrane. The initial data set contains the load cases given in Tab. 2 as well as the data collected from the cuboid and the torsional sample simulation. The multiscale scheme was terminated in iteration 2. Exemplarily, the sectional planes¯1-¯3 and¯1-¯4 are depicted. Iteration 1 Preprint submitted to Springer arXiv deformation of the Cook membrane occurs. This effect results from the coupling between shear and tension which is a well known effect of fiber reinforced materials. Although a relatively complex response behavior occurs here, the multiscale problem can be solved quickly and without further human supervision even in this example. Conclusions In this work, a novel data-driven multiscale approach called FE ANN is presented. It is based on physics-constrained ANNs which are used as highly efficient surrogate models and an unsupervised data mining process. The approach allows the efficient simulation of materials with complex underlying microstructures which reveal an overall anisotropic and nonlinear elastic behavior on the macroscale, e. g., composites, architectured materials with pronounced microstructure or foams. The framework has been implemented in such a way, that it is usable on a HPC cluster based on the Batch-System SLURM. Starting from basic kinematics and stress measure definitions, a short revision of anisotropic hyperelastic constitutive models at finite strains is given. Furthermore, a Hill-type homogenization framework is described in brief. Based on this theoretical basis, the developed data-driven multiscale scheme is illustrated in detail. This includes the general procedure and a description of the single steps: initial data generation (a), training process of the ANN (b), macroscopic simulation (c), data analysis (d) and data enrichment (e). Afterwards, the approach is exemplarily applied to the solution of three demonstrative examples, a cuboid under tension, a torsional sample and the Cook membrane. Thereby, the considered macroscopic bodies consist of a fiber reinforced composite revealing a highly nonlinear behavior of the individual phases. Due to the incorporation of physical knowledge into the ANNbased surrogate model, only a small number of computationally expensive RVE simulations was needed to solve the considered macroscopic problems. Furthermore, a rather high accuracy of the surrogate model has been shown within a validation. Conclusions Altogether, the presented data-driven approach has shown to be an efficient tool for the solution of complex multiscale problems at finite strains. Due to the implemented unsupervised data mining, it is universally applicable to various macroscopic geometries and BCs. In order to extend the scheme's application area, several extensions have to be made in the future. For instance, an extension to further material symmetry groups [68] have to be made by integrating appropriate invariant sets into the implementation. Finally, an extension to dissipative constitutive behavior [41,56,55] is needed. with , * 3 ∈ R + respectively. Starting from Eq. (37) to analyze the case¯→ 0 + , it follows lim →0 +¯A Conclusions Using Eq. (40) and supposing that it exists at least one * 3 > 0, one finds that Conclusions where : R → {0, 1} denotes the Heaviside step function. Thereby, it has been utilized that the values and , are finite and are negligible with respect to¯ * 3 . Consequently, it holds Conclusions In the same way, supposing that it exists at least one 3 > 0, it holds Conclusions Consequently, similar to Eq. (43), it holds Conclusions Note that for the case¯→ ∞, the other invariants which also tend towards infinity have no influence, since¯3 is the leading term. The above two conditions given in Eqs. (43) and (45) together constitute a sufficient condition for the growth condition to be satisfied. However, an easy to implement condition which is also sufficient but more restrictive is given by Eq. (36). As one can see, it is included in the conditions * 3 > 0 ∧ 3 > 0. A.2 Comparison of an adapted network and a network neglecting the growth condition Here, the network which is used in the examples discussed within Sect. 4 is compared to an adapted network which, in contrast to the other network, fulfills the growth condition. To this end, the prediction quality for the data set containing relevant deformation states of the cuboid, the torsional sample and the Cook's membrane is analyzed for both ANNs. Thereby, the constraint (36) has been taken into account within the training of the second network. A.2 Comparison of an adapted network and a network neglecting the growth condition The stresses predicted by the networks and the reference stresses obtained from RVE simulations are given in Fig. 16(a) and (b). As one can see, the prediction quality is very good for both ANNs. However, regarding the zoom plots, a noticeable difference between both networks becomes apparent. Accordingly, the prediction quality of the adapted network which fulfills the growth condition is declined compared to the network with no further constraints on the weights. This is underlined by a comparison of the maximum relative erros within the stress components given in Tab. 4. Note that the comparatively large maximum error in¯1 3 results from the small stresses within these component. B Comparison of hexagonal unit cells and random cells In this appended section, the effective stress-strain response of a fiber reinforced composite represented by two different microstructures, an ideal hexagonal and a random distribution, are compared to each other. The first microstructure is thus Preprint submitted to Springer arXiv Transverse stretches Tension in x 1 -direction Tension in x 2 -direction x 1 Transverse stretches x 2 Transverse stretches x 3 Transverse stretches x 1 represented by a unit cell, whereas the second one consists of 100 fibers to capture for statistical effects. The fiber orientation points in the 3 -direction for both. Exemplarily, a uniaxial tension into the 1 -and the 2 -direction, i. e., perpendicular to the fiber orientation, are considered, where a maximum stretch of¯= 2 is applied. In Fig. 17(a) and (b), the stress-stretch curves and the transverse stretch¯⊥ are depicted for the hexagonal unit cell. Thereby,¯⊥, which follows due to lateral contraction, is measured in the 2 -or 1 -direction, respectively. Since in the undeformed state all fibers have the same distance in the 1 -2 -plane, the curves in the initial region are nearly equivalent. However, as the deformation of the RVE increases, the curves deviate more and more from each other. This is due to the fact that the arrangement of the microstructure changes significantly as a result of the deformation which could be termed a deformation induced anisotropy. Regarding the deformed microstructure for tension in the 1 -direction, it no longer corresponds to the arrangement in the case of tension in the 2 -direction (rotated by 90 degrees), cf. Fig. 17(c). Thus, in summary, the material loses the property of transverse isotropy if finite deformations occur. Transverse stretches Compared to this, the same uniaxial loadings are depicted in Fig. 18(a) and (b) for the cell with a random fiber distribution. As one can see there, the curves lie on top of each other over the complete range of stretch¯∈ [1,2]. Thus, in contrast to the hexagonal unit cell, a transversely isotropic effective behavior -which is expected for a fiber reinforced compositeresults even for finite strains, whereby the 1 -2 -plane is the isotropy plane. In order to simulate the overall behavior of a realistic fiber reinforced composite, the usage of a statistical RVE is thus mandatory for finite strains. Transverse stretches Tension in x 1 -direction Transverse stretches Tension in x 2 -direction x 1 Transverse stretches x 2 Transverse stretches x 3 Transverse stretches x 1 Transverse stretches x 2 -tension x 1 -tension Introduction Materials with an underlying meso-or microstructure, e. g., composites, solid foams, dual-phase steels or 3D-printed structures, enable the targeted design of engineering components with respect to their application. However, due to effects such as anisotropy, nonlinear or multiphysics phenomena, the experimental characterization of the effective constitutive behavior of such materials can be very complex. Multiscale schemes To avoid such a characterization of the material's effective behavior, computational multiscale schemes can be used. These schemes allow the simulation of engineering components made of materials with underlying microstructure solely based on information about the microstructural arrangement and the properties of the individual components, e. g., matrix and inclusions. Basically, two different types of multiscale schemes exist: the coupled multiscale scheme which is also known as FE 2 approach (finite element square) [1,2,3,4,5,6,7,8] and the decoupled or sequential multiscale scheme [9,10,11,12,13,14]. Multiscale schemes The FE 2 method allows to completely couple the microscopic and macroscopic scales without the need for the explicit formulation of an effective constitutive model. It is thus universally applicable to arbitrary geometries if the necessary microscopic information are available. However, the decisive disadvantage is the very high computational effort, which results from the solution of the microscopic boundary value problem (BVP) for the homogenization at each integration point of the macroscopic FE mesh. Multiscale schemes Within a decoupled multiscale scheme, the material's effective behavior is initially determined from homogenization of representative volume elements (RVEs) and then a suitable constitutive model, the so-called macro or surrogate model, is calibrated by these data. With this model, macroscopic BVPs can now be solved, whereby the influence of the microstructure is implicitly captured by the macro model. Thus, in contrast to the FE 2 method, the explicit solution of the microscopic BVP at each integration point is omitted. The central disadvantage, however, is that the formulation of such a model can be extremely complicated. Data-based methods in solid mechanics To circumvent the time consuming task of formulating and calibrating a surrogate model within a decoupled multi-scale scheme, data-based or data-driven techniques are very promising and have the potential to improve or replace traditional constitutive models. These techniques have become increasingly popular in the computational mechanics community during the last years [15,16]. In the following, a brief overview of the most common methods and their application to multiscale schemes is given. Overview on data-based constitutive modeling A relatively new strategy to substitute classical constitutive equations is the data-driven mechanics approach, initially proposed by Kirchdoerfer and Ortiz [17] and extended to, e. g., noisy data sets [18], finite strains [19], inelasticity [20] or fracture mechanics [21] in the meantime. This method completely avoids to use constitutive equations. Instead, sets of stress-strain tuples which characterize the material's behavior are used. A data-driven solver hence seeks to minimize the distance between the searched solution and the material data set within a proper energy norm, while compatibility and equilibrium have to be satisfied simultaneously. Overview on data-based constitutive modeling The construction of so called constitutive manifolds from collected data is an alternative approach which is described for elasticity and inelasticity by Ibañez et al. [22]. With this technique, it is possible to strictly fulfill the 2nd law of thermodynamics, i. e., the thermodynamic consistency, by using the GENERIC paradigm (General Equation for Non-Equilibrium Reversible-Irreversible Coupling) during the construction of constitutive manifolds [23]. Overview on data-based constitutive modeling Besides the previously mentioned techniques, there exist numerous data-based methods originating from the field of machine learning (ML). Probably, the most common technique is the application of artificial neural networks (ANNs), which have already been proposed in the early 90s by the pioneering work of Ghabussi et al. [24]. In the last decades, ANNs have been intensively used for mechanical material modeling and simulations by means of the finite element method (FEM), e. g., in [25,26,27,28,29] among others. Overview on data-based constitutive modeling However, in general, a large amount of data is required to train ANNs to serve as robust and accurate surrogate models for systems with complex underlying physics, e. g., constitutive models. In this context, a comparatively new branch of ML techniques related to constitutive modeling are approaches classified as physics-informed, physics-constrained [30,31], mechanics-informed [32] or hybrid models [33,34]. In these methods, essential physical principles and information are inserted into the ML-based model or parts of classical models are replaced with data-based methods, which leads to an improvement of the extrapolation capability and enables training with sparse data. In the case of ANNs, this can be achieved via the network architecture or by adapted training In the following, the term physics-informed does not directly refer to the PINN-approach (physics-informed neural network) according to Raissi et al. [35]. In a PINN, the searched solution field approximated by the ANN, e. g., displacement ( , ), is inserted into the governing partial differential equation (PDE) at collocation points. This expression is then added to the loss, so that the fulfillment of the PDE is enforced. In the context of constitutive modeling, however, the idea to enrich the ML approach with physical knowledge is applied in a similar way. algorithms. By choosing problem-specific invariant sets as the input variables, material symmetries are automatically satisfied for hyperelastic models [36,29,37]. Furthermore, the thermodynamic consistency can be fulfilled by choosing the free energy as the output quantity. In order to train the ANN with respect to the stresses, gradients of the output with respect to the input are inserted into the loss [38,36]. This technique is also named as Sobolev training in [39]. Furthermore, physical knowledge can be inserted via constraint training processes [40]. For the consideration of dissipative behavior, Masi et al. [41] proposed an adapted ANN architecture consisting of two feed forward neural networks (FNNs). Thereby, the first network is used to predict the evolution of internal variables and the second for approximating the free energy. Finally, the combination of classical models with data-based techniques is a further method to insert physical knowledge. Thereby, only parts of a model are replaced by data-based techniques, e. g., in plasticity models [33,34,42]. Data-based multiscale modeling and simulation In the context of multiscale problems, the mentioned databased methods can be used as surrogate models which replace the computationally expensive simulation of RVEs [43]. The high flexibility of trained networks with simultaneously excellent prediction qualities is thereby proven in numerous works: In [38] ANNs are used to describe the homogenized response of cubic lattice metamaterials exhibiting large deformations and buckling phenomena. Thereby, several types of hyperelastic ML-based models which fulfill basic physical requirements are used and compared to each other. Based on this, an extension to polyconvex hyperelastic models is given in [37]. In [44], FFNs and RNNs (recurrent neural networks) are used to replicate the homogenization of RVEs revealing inelastic behavior of the individual components. Thereby, also unknown paths can be predicted with the trained networks. Similarly, ANNs that replace the inelastic constitutive responses of composite materials sampled by RVE simulations are shown in [45]. Thereby, in addition, a deep reinforcement learning combinatorics game is used to automatically find an optimal set of network hyper-parameters from a decision tree. A data-driven multiscale framework called deep material network is shown in [46,47,48]. Thereby, the homogenized RVE response is reproduced by a network including a collection of connected mechanistic building blocks with analytical homogenization solutions. With that, a complex effective response could be described without the loss of essential physics. An extension of the deep material network approach to fully coupled thermomechanical multiscale simulations of composite materials is given in [49]. Data-based multiscale modeling and simulation Furthermore, ANNs can be used to link microstructural characteristics and effective properties. For example, in [50], an ML framework for predicting macroscopic yield as a function of crystallographic texture is described. An ML-based multiscale calibration of constitutive models representing the effective response of rate dependent composite materials is applied to brain white matter in [51]. Based on a library of calibrated parameters corresponding to a set of microstructural characteristics, an ML model which predicts the constitutive model parameters directly from a new microstructure is trained. Similarly, an ANN is trained to predict the elastic properties of short fiber reinforced plastics in [52]. Finally, the application of data-based techniques as surrogate models in decoupled multiscale schemes, which enable the simulation of macroscopic engineering components, is promising. In the pioneering work [53], a decoupled multiscale scheme using an ANN-based surrogate model has been shown for elastic composites with cubic microstructures. Another multiscale methodology is presented in [54]. Therein, a hybrid macroscopic surrogate model is used, i. e., a traditional constitutive model is combined with a data-driven correction. An ML-based multiscale framework for the simulation of the elastic response of metals having a polycrystalline microstructure is presented in [39]. Therein, the database is generated by using a 3D FFT (fast Fourier transform) solver. Based on this, [55,42] show an extension to elastoplasticity, whereby ANNs are used for the description of the yield surface and the stress within a hybrid modeling approach. Similarly, the simulation of the elastic-plastic deformation behavior of open-cell foam structures is shown in [33,34]. Thereby, a hybrid model including two ANNs is used as the macroscopic surrogate model. Therein, the first network serves for the description of the macroscale yield function and the second one for the prediction of the floating direction. In [49], two scale simulations of thermo-mechanical problems are solved by using deep material networks. Applying the modeling strategy initially proposed in [41], a multiscale scheme for the inelastic behavior of lattice material structures is described in [56]. An application of ANNs as surrogate models describing the anisotropic electrical response of graphene/polymer nanocomposites is shown in [57]. Furthermore, in [58], the application of recurrent neural networks (RNNs) as surrogate models within multiscale simulations of elastoplastic problems is shown. Furthermore, the RNN-based approach is compared to full FE 2 simulations. An application of RNN surrogate models to viscoplasticity is described in [59]. A combination of fully coupled FE 2 simulations with an adaptive switching to ANN-based surrogate models for the complex simulation of RVEs is shown in [60]. In addition, a multiscale framework based on the datadriven mechanics approach [17] is presented in [61] for the application to sand. Thereby, the necessary data set is extracted from lower scale simulations. In [62], a multi-level method is used within a data-driven multiscale scheme which is applied for the simulation of solid foam materials. Content Within this contribution, an efficient data-driven multiscale approach called FE ANN , which makes use of physics-constrained ANNs as a macroscopic surrogate model, is presented. The approach allows to consider materials with complex microstructures leading to an overall anisotropic behavior, whereby a restriction to hyperelastic solids is made for now. The ANNbased surrogate model automatically fulfills several physical principles, e. g., objectivity, material symmetry, compatibility with the balance of angular momentum and the thermodynamic consistency. This is done by using a set of problem specific invariants as the input of the network and the Helmholtz free energy density as the output, cf. Linka et al. [36], Klein et al. [37] or Linden et al. [63], among others. The data which are used to train the ANN are collected via computational homogenization of an RVE representing the material's microstructure. Thereby, in contrast to most of the datadriven multiscale approaches from the literature, it is not necessary to explore all required macroscopic states of deformation which occur in the macroscopic simulation in advance. Instead, the required data, i. e., effective deformations and corresponding stresses, are determined by homogenization in a fully autonomous way within the framework by collecting the relevant deformations from the macroscopic FE simulation. This procedure is similar to the approach presented by Korzeniowski and Weinberg [62] which is based on the data-driven mechanics approach [17]. Here, in addition, the macroscopic deformations are mapped into an invariant space associated to the symmetry group of the considered material. In this space, the selection of relevant states is done so that the number of time-consuming microscale simulations can be reduced to a minimum. Moreover, it is not necessary to perform a rough scan of the relevant deformation area in advance here. The proposed framework is exemplarily applied to several descriptive examples, where a fiber reinforced composite with a highly nonlinear behavior of the individual components is considered. Content The organization of the paper is as follows: In Sect. 2, the basic equations of the finite strain continuum solid mechanics theory as well as basic principles of hyperelastic models are given. After this, the proposed data-driven multiscale framework is described in Sect. 3. This approach is exemplarily applied within several numerical examples in Sect. 4. After a discussion of the results, the paper is closed by concluding remarks and an outlook to necessary future work in Sect. 5. Continuum solid mechanics In this section, the basic kinematic and stress quantities as well as general relations of anisotropic hyperelastic constitutive models are summarized shortly. The reader is referred to the textbooks of Haupt [64], Holzapfel [65] or Ogden [66] for a detailed overview. Furthermore, a Hill-type homogenization framework is introduced. For a clear mathematical notation, the space of tensors Continuum solid mechanics except for a tensor of rank zero, is used in the following. In Eq. (1), R 3 , N and ⊗ denote the Euclidean vector space, the set of natural numbers and the dyadic product, respectively. Tensors of rank one and two are given by boldface italic symbols in the following, i. e., ∈ L 1 or , ∈ L 2 . Furthermore, a single or double contraction of two tensors is given by · = ⊗ or : = , respectively. Thereby, ∈ L 1 denotes a Cartesian basis vector and the Einstein summation convention is used. Kinematics and stress measures 2.1.1 Kinematics In the following, a material body C which occupies the reference configuration B 0 ⊂ R 3 at time 0 ∈ R ≥0 and the current configuration B ⊂ R 3 at time ∈ T := { ∈ R + | ≥ 0 } is considered. The displacement vector ∈ L 1 of a material point ∈ C capturing the positions ∈ B 0 at 0 and ∈ B at is given by ( , ) := ( , ) − . Therein, : B 0 × T → B , ( , ) ↦ → =: ( , ) denotes a bijective motion function which is postulated to be continuous in space and time. As further kinematic quantities, the deformation gradient ∈ L 2 and the Jacobian determinant ∈ R + are defined by the relations := (∇ ) T and := det > 0 . Kinematics and stress measures 2.1.1 Kinematics In the equation above, ∇ is the nabla-operator with respect to reference configuration B 0 . A deformation measure which is free of rigid body motions is given by the positive definite right Cauchy-Green deformation tensor := T · ∈ with the space of symmetric second order tensors := ∈ L 2 | = T . With that and by using Sylvesters formula, the spectral decomposition of follows to Kinematics and stress measures 2.1.1 Kinematics where 1 ∈ L 2 , ∈ R ≥0 and ∈ denote the identity tensor, the principal stretches and the projection tensors, respectively. The introduced symbol ∈ {1, 2, 3} indicates the algebraic multiplicity of . Furthermore, is defined as the Kronecker delta. Stress measures Within the framework of nonlinear continuum solid mechanics, various stress measures can be defined. The symmetric Cauchy stress ∈ , also known as true stress, is defined with respect to the current configuration B. Furthermore, the 1st and 2nd Piola-Kirchhoff stress tensors ∈ L 2 and ∈ follow from the pull back operations Stress measures Accordingly, is related to both, B and B 0 , whereas is completely defined with respect to B 0 . General properties The constitutive behavior of the considered solids is restricted to hyperelasticity within this work. Accordingly, a hyperelastic potential which is equal to the Helmholtz free energy density function : L 2 → R + , ↦ → ( ) exists. By applying the procedure of Coleman and Noll [67], the relations General properties then follow from the evaluation of the Clausius-Planck inequality [65]. With that, the thermodynamic consistency of any hyperelastic model is fulfilled a priori. In addition, there are some further requirements on , which ensure a physically reasonable constitutive behavior [65,66]. The normalization condition requires that (1) = 0, i. e., that the free energy vanishes in the undeformed state. Furthermore, the free energy should increase in any case if deformation appears: ( ) > 0 ∀ ≠ 1. The former two conditions imply that has a global minimum at = 1. Consequently, the undeformed state is stress-free, i. e., (1) = 0 holds. Additionally, the growth condition requires that an infinite amount of energy is needed to infinitely expand the volume or compress it to zero: ( ) → ∞ as ( → ∞ ∨ → 0 + ). Finally, the principle of material objectivity states that the free energy is invariant with respect to a superimposed rigid body motion. This statement is expressed by the relation ( ) = ( · ) which holds for all special orthogonal tensors General properties Accordingly, the principle of material objectivity is automatically fulfilled if the tensor is used as the argument of instead of , i. e., : General properties → R + , ↦ → ( ), which is done in the following. General properties Finally, polyconvexity of the energy , i. e., convexity with respect to , Cof := −T and det , is a further condition. This condition implies material stability, i. e., Legendre-Hadamard-Ellipticity, see Ebbing [68] for more details. However, polyconvexity is a quite strong requirement on the free energy. Material symmetry Besides the previously mentioned requirements, the constitutive equations should also reflect the symmetry of the described material which is expressed by the principle of material symmetry [64,68]. According to that, the free energy have to be invariant with respect to all orthogonal transformations belonging to the symmetry group of the underlying material: Material symmetry In order to describe anisotropic constitutive behavior, the concept of structural tensors can be used [64,68]. Depending on the considered material, these tensors are of order two 1 , 2 , . . . , 2 ∈ L 2 , four M 1 , M 2 , . . . , M 4 ∈ L 4 , or even higher. They reflect the material's anisotropy and are thus invariant with respect to the symmetry transformations, e. g., Material symmetry The notation * M means , where the Einstein summation convention is used. If the structural tensors are appended to the list of arguments of , the energy is an isotropic tensor function even if the material is anisotropic which means that Material symmetry holds for all ∈ . To abbreviate the notation, the sets Preprint submitted to Springer arXiv Finally, a set I := ( 1 , 2 , . . . , ) ∈ R ×1 consisting of ∈ N irreducible scalar valued invariants ∈ R could be derived by using the Cayley-Hamilton theorem. Consequently, the free energy is expressed by the isotropic tensor function = ( 1 , 2 , . . . , ) which is invariant with respect to all transformations ∈ . By using the latter definition and applying the chain rule, the 2nd Piola-Kirchhoff stress follows to Preprint submitted to Springer arXiv where ∈ denotes tensor generators corresponding to the invariants [29]. Special anisotropy classes Within this work, two anisotropy classes are considered, isotropic as well as transversely isotropic materials. Corresponding sets of irreducible invariants are given in the following. Special anisotropy classes A set of irreducible invariants describing an isotropic hyperelastic solid is given by Special anisotropy classes The used principal invariants are given by Special anisotropy classes whereby the cofactor of is defined by Cof := 2 −1 . Special anisotropy classes Note that I • is also expressible by the principal stretches which follows from Eq. (3): Special anisotropy classes According to [64,65,68], the structural tensor describing transverse isotropy is given by the second order tensor = ⊗ , whereby ∈ L 1 with | | ≡ 1 is the fiber direction in the undeformed state. A set of irreducible invariants is thus I := ( 1 , 2 , 3 , 4 , 5 ) ∈ R 5×1 . Therein, the latter two invariants, which capture the material's anisotropy, are given by the expressions 4 := : and 5 := Scale transition scheme In the following, a distinction between two different scales, the micro-and the macroscale is made. The former is characterized by a heterogeneous structure consisting of matrix Scale transition scheme The Cayley-Hamilton theorem states that a second order tensor fulfills his own eigenvalue equation, e. g., 3 − 1 2 + 2 − 3 1 = 0, where 1 , 2 , 3 denote the principal invariants of , cf. Eq. (9). Consequently, any power with ≥ 3 as well as the inverse −1 are expressible in terms of 2 , and 1 [64]. Scale transition scheme Note that the more common expression 2 = 1 2 (tr 2 −tr 2 ) is equivalent to 2 = tr(Cof ). Both expressions can be transformed into each other by using the Cayley-Hamilton theorem. length ℓ ∈ R + , whereas the second considers a macroscopic bodyB 0 ⊂ R 3 of characteristic lengthl ∈ R + and is assumed to be homogeneous. For the lengths introduced, the relationl ℓ known as scale separation must hold [3]. To label macroscopic quantities, they are marked by( •) in the following. Scale transition scheme In order to connect microscopic and macroscopic tensor quantities, an appropriate homogenization scheme is needed. Consequently, each macroscopic point¯∈B 0 gets assigned properties resulting from the behavior of the microstructure. For this purpose, a representative volume element (RVE) of the material is considered on the microscale in the vicinity of¯, cf. Fig. 1. An effective macroscopic quantity is then identified from the microscopic field distribution within the RVE by the volume average Scale transition scheme Using Eq. (12), the macroscopic deformation gradient and the 1st Piola-Kirchhoff stress are defined by¯:= and := , respectively [3,4,11]. Appropriate boundary conditions for the microscopic BVP, which has to be solved before the volume averaging can be performed, are deducible from the equivalence of the macroscopic and the averaged microscopic energies which is also known as the Hill-Mandel condition. For the considered finite strain setting it is given by the following relation [3,4,11]: Scale transition scheme where (•) denotes the material time derivative. Regarding purely hyperelastic behavior, the Hill-Mandel condition expresses the equality of the rates of the macroscopic and the averaged microscopic Helmholtz free energies: ¯= . Consequently, it holds¯= . To fulfill Eq. (13), several type of boundary conditions (BCs) can be used, whereby periodic BCs given by the spaces Scale transition scheme Preprint submitted to Springer arXiv are applied within this work [11]. In the equation above, = · is the nominal stress vector. Furthermore, (•) + and (•) − denote values on opposing boundaries of the RVE which is supposed to be periodic. The tilde( •) marks the fluctuation part of a microscopic tensor quantity. Scale transition scheme Based on the summarized continuum theory, the following section introduces the proposed data-driven multiscale scheme FE ANN . The general procedure of this framework is basically subdivided into five steps referred as After the framework is initiated with step (a), the steps (b)-(e) are executed within an overall loop which is given in Algorithm 1. Accordingly, the ANN is trained with the current data set D of the iteration ∈ N, the macroscale problem is solved, unknown macroscopic states of deformationā re detected, and the macroscopic stresses¯corresponding to the previously unknown deformations are generated via computational homogenization. The loop terminates in an iteration ≥ 1, after no further deformation states are found and the relevant space of deformation is thus completely sampled by D . In order to prevent that the macroscopic simulation does not reach the final time step goal -which could be occur due to a failed convergence of the ANN -but no new deformations are detected within ∈ { 0 , 1 , · · · , = end < goal }, a further inner repeat loop is implemented. Therein, the steps (b)-(d) are performed multiple times, until the final time step goal is reached or new states of deformation are found. A schematic representation of the framework is given in Fig. 2. The single steps are described in detail in the following. Scale transition scheme In order to enable a fully automatized utilization of the framework, a Python wrapper which runs on a high performance cluster (HPC) using the Batch-System SLURM (Simple Linux Utility for Resource Management) has been implemented. This wrapper processes the loop independently by starting the individual jobs and managing the results. Initial data generation (a) To start with, an initial data set D 1 := { 1 T , 2 T , . . . , T } consisting of ∈ N data tuples T := (¯R VE ,¯R VE ) ∈ L 2 × L 2 is generated. Basically, a low number of tuples is sufficient to initiate the multiscale scheme. Suitable states of deformation are simple load cases as, e. g., uniaxial tension and equibiaxial tension Initial data generation (a) where these load cases could be applied on the RVE in different directions. In the equations above,¯∈ R + and¯∈ R denote prescribed effective stretches and shears, respectively. The labeling with (−) means that the corresponding coordinate of the effective 1st Piola-Kirchhoff stress¯is prescribed to zero. The stresses¯R VE belonging to the deformations RVE are calculated from a computational homogenization according to Subsect. 2.3, whereby this is done by using an in house Matlab FE code. The periodic BCs are applied via the master node concept therein [69]. ANN-based macroscopic surrogate model Within the data-driven multiscale loop, an appropriate macroscopic surrogate model is needed. To this end, a physicsconstrained ANN model, which a priori fulfills several physical conditions, is used, compare Subsect. 2.2. ANN-based macroscopic surrogate model Assuming that the macroscopic material symmetry group of the considered composite is known, and thus the structural tensors M 2 , M 4 corresponding to the material are available, the invariants¯(¯, M 2 , M 4 ) are determined first. These scalar values are mapped into a normalized domain, i. e., ANN-based macroscopic surrogate model : ANN-based macroscopic surrogate model . . , } with respect to the training data set, and are arranged in a vector = (¯1,¯2, . . . ,¯) ∈ R ×1 . Thereafter, the free energy is predicted by an FNN with the normalized invariants¯serving as input values and¯as output. Restricting the network architecture to only one hidden layer containing neurons, it holds¯A ANN-based macroscopic surrogate model Preprint submitted to Springer arXiv ANN-based macroscopic surrogate model Thus, the surrogate model automatically fulfills several physical principles: thermodynamic consistency, objectivity and material symmetry. A graphical summary of the described surrogate model structure is given in Fig. 3. ANN-based macroscopic surrogate model In order to fulfill additional physical conditions, it may be necessary to incorporate further non-independent invariants Note that a non-bounded activation function is necessary to fulfill the growth condition, i. e.,¯A NN (¯) → ∞ as (¯→ ∞ ∨¯→ 0 + ). Besides the Softplus activation function, further choices are possible, e. g., ELU or ReLu. However, in contrast to the Softplus function, they are not twice continuously differentiable. * into the argument list of¯A NN . In this case, Eqs. (18) and (20) are to be modified according tō ANN ANN-based macroscopic surrogate model and ANN-based macroscopic surrogate model where A := { 1 , . . . , }, = |A|, is a set containing the indices of the additional invariants¯ * . Accordingly, the growth condition can be additionally guaranteed for¯→ 0 + by including¯ * 3 := 1/¯3 as a further invariant and not only¯3 itself, where¯ * 3 is defined to be independent, i. e.,¯3¯ * 3 = 0. Thus, A = {3} in this case. However, in addition, further constraints have to be satisfied by the weights to ensure that the growth condition is fulfilled. As shown in Appendix A, a possible sufficient condition is given by ANN-based macroscopic surrogate model Therein, the set N := {1, 2, , . . . , } contains the indices of the hidden layer neurons. In the work [37], the growth condition is fulfilled in a similar way by adding an additional energy term which is not directly included in¯A NN . Training process of the ANN (b) The ANN-based model is trained with respect to the current data set D in each iteration of the multiscale loop, where a random division into training and test data is made. Training process of the ANN (b) Within the training process, the weights and bias values , , , and * are then determined. In order to enable an adjustment of the ANN to the stress values, gradients of the output with respect to the input are inserted into the loss Training process of the ANN (b) which is similar to [38,36,39]. The training is done by using the SLSQP optimizer (Sequential Least Squares Programming). Thereby, the ANN is trained several times, where the parameters of the best achieved training state are stored at the end [29]. An implementation of the described workflow is realized using Python, Tensorflow and SciPy. Within the training the constraint (23) can be switched on optionally. Finally, in order to fulfill the normalization condition, the bias value is chosen such that¯A NN = 0 within the initial (undeformed) state. Training process of the ANN (b) Due to local minima within the loss function, the optimization procedure which is applied here depends on the starting values of the weights and biases. Thus, the network is trained several times to overcome this. Implementation and macroscopic simulation (c) The model equation (18) has been implemented within the FE toolbox FEniCS [70,71]. Therein, the stress relation given by Eq. (20) and the material tangent Autonomous data mining Besides the physics-constrained surrogate model, the core feature of the data-driven multiscale framework is the data mining process which is done in a fully automatic manner. Data analysis (d) Within each iteration of the overall multiscale loop, the local deformation states of the macroscopic bodyB are collected. To this end, the deformation gradient¯is stored at each quadrature point of the FE mesh and at each time increment . Consequently, the body's full state of deformation is characterized by the set F macro := { 1¯m acro , 2¯m acro , . . . ,¯m acro } which is a subset of L 2 . Now, previously unknown deformations have to be detected, whereby it is meaningful to only consider states providing additional information for the material under observation. Since the intrinsic constitutive behavior of the material lives in the space of invariants I ⊂ R ( + )×1 , it is useful to perform a transformation into this space at this point [29]: are used, respectively. Thus, by making use of Eq. (26), the current data set D is compared to F macro within the invariant space. If a state which is contained in F macro is unique within a given tolerance tol,1 , it is needed to enrich the data set for the next multiscale iteration step + 1. Thereby, the set F macro is searched in an reverse manner, i. e., starting from the last time step end . If a unique state is identified in the step , the full time series¯( 0 ),¯( 1 ), . . . ,¯( ) with ≤ end is added to F new ⊂ L 2 . Thus, it is possible that deformation states in the set F new are multiple with respect to F new itself and/or D . To avoid that this unnecessarily inflates the training process, a Note that it is useful to save the time series of a new deformation state, i. e., all states¯( 0 , 1 , . . . , ) proceeding at a fixed quadrature point. This facilitates the application of the macroscopic deformation within the computational homogenization later on. Furthermore, an extension to path dependent materials requires this mandatory. Data analysis (d) Preprint submitted to Springer arXiv further filtering step is performed in the data enrichment step (e). Data analysis (d) By using the described technique for the identification of relevant macroscopic deformation states, it is possible to reduce the number of time consuming microscale simulations following in the next step to a minimum. Data enrichment (e) After F new has been determined, it is necessary to identify the stresses belonging to the states¯m acro . This is done by applying these states within the RVE simulations and calculating the stresses by volume averaging. In order to use only one RVE and anyhow allow different microstructure orientations in the macroscopic body, a transformation of¯is necessary before. To this end, the relation¯(¯) =¯( ·¯· T ) with ∈ + , which holds for arbitrary material symmetry groups, is used. Thus, the collected state of deformation macro from the macroscopic sample is processed by the Euclidean transformation The tuples T = (¯R VE ,¯R VE ) consisting of applied deformations and corresponding stresses are then collected in the set D RVE . Euclidean transformation As already mentioned above, it is possible that data tuples in the set D RVE are multiple with respect to D RVE itself and/or D . Thus, a further filtering step is performed, where multiple tuples are sorted out with respect to D and D RVE within a given tolerance tol,2 . To this end, a transformation to the invariant space is used again, see Subsect Examples In order to demonstrate the ability of the developed datadriven multiscale approach FE ANN described in Sect. 3, it is applied to the solution of three numerical examples within this section. Specifically, three macroscopic structures -a cuboid with a circular hole, a torsional sample and the Cook membrane -are considered. All of them consist of a fiber reinforced composite revealing a highly nonlinear behavior of the individual phases. Microscopic properties of the composite 4.1.1 Constitutive behavior The constitutive behavior of the composite's individual components, i. e., fibers and matrix, is described by a hyperelastic Ogden model [66]. It is given by the free energy density function where, , ∈ R and ∈ R + are model parameters. The symbol R + iso := −1/3 denotes the isochoric principal stretches following from the Flory split [72]: Microscopic properties of the composite 4.1.1 Constitutive behavior = vol · iso with iso = −1/3 and det iso ≡ 1 , (29) i. e., the multiplicative decomposition of into volumetric vol and isochoric iso parts. Note that the introduced material parameters are related to initial shear modulus init and Poisson's ratio init via the relations Microscopic properties of the composite 4.1.1 Constitutive behavior respectively. Furthermore, in order to guarantee a physically meaningful behavior, the parameters and have to be restricted by the following constraints: ( < −1 ∨ ≥ 2 and > 0) ∀ ∈ {1, 2, · · · O } [66]. The stress of the Ogden model is determined by using Eq. (5) and follows to Microscopic properties of the composite 4.1.1 Constitutive behavior The calculation of the projection tensors related to the right Cauchy-Green deformation tensor is given in Eq. (3). Microscopic properties of the composite 4.1.1 Constitutive behavior Within the following numerical examples, the material parameters given in Tab. 1 are chosen. With this choice, a highly nonlinear behavior of the matrix phase is achieved, cf. [29]. The parameters of the fibers are chosen in such a way, that a neo-Hookean model results. Note that the selected parameters are not related to a real material. Microstructure and RVE definition Besides the constitutive behavior of the individual components, the geometric arrangement of the individual phases has to be defined. In order to choose a realistic microstructure, it Preprint submitted to Springer arXiv is characterized by a monodisperse stochastic arrangement of fibers with = 30 % volume fraction here. Furthermore, a minimum distance of := 0.4 with respect to the fiber radius = 10 µm is chosen. According to the homogenization concept, a suitable RVE which is sufficiently large to capture the essential statistic properties of the microstructure is needed. Herein, this condition is checked by applying the 2 -test proposed by Gittman et al. [73]. Thereby, randomly generated RVEs with fixed number of inclusions and volume fraction are generated. The effective response of these RVEs is then determined by a computational homogenization, whereby a specific load case is chosen depending on the property of interest, e. g., this could be a stress or a stiffness component. Based on these results, a statistical analysis is done by evaluating the scatter of by means of the quantity Microstructure and RVE definition If the accuracy of is sufficient, i. e., 2 ≤ tol , the tested sample size is the final RVE size. Otherwise, the sample size have to be increased and the analysis will be repeated. Microstructure and RVE definition The described 2 -test has been applied to the fiber reinforced material. Thereby, a tolerance of tol = 2.5 % and a number of = 10 RVEs for each RVE-class with inc inclusions have been chosen. As representative load cases, uniaxial tensions according to Eq. (16) 1 are applied into the 1 -, 2and the 3 -direction, i. e., perpendicular and parallel to the fiber orientation. Thereby, the stress into the tension direction is evaluated according to Eq. (32). The prescribed tolerance is finally reached for the RVE-class with inc = 100 fibers. The determined stress-stretch curves and the chosen RVE are depicted in Fig. 4 for the final RVE. Accordingly, a highly nonlinear and anisotropic effective response occurs. Microstructure and RVE definition Generation and meshing of the periodic cells have been done by using the python tool gmshModel , whereby the placement of the fibers is realized via the random sequential adsorption (RSA) algorithm [74]. The RVEs were meshed by tetrahedron elements with 10 nodes. A total of 94,456 elements is reached for the final RVE with 100 fibers. Microstructure and RVE definition It should be noted, that it is not sufficient to represent the microstructure of a fiber reinforced composite with an overall transversely isotropic behavior by a hexagonal unit cell if finite strains are considered. This is due to the loss of the material symmetry which results from the deformation of the RVE cell, cf. Appendix B. Microstructure and RVE definition The python tool gmshModel is freely accessible under https:// gmshmodel.readthedocs.io/en/latest/. Application of the data-driven multiscale framework for the simulation of macroscopic samples After the definition of the composite's microscopic properties, the data-driven framework FE ANN is applied for the simulation of several multiscale problems. The macroscopic geometries and applied BCs are depicted in Fig. 5. Application of the data-driven multiscale framework for the simulation of macroscopic samples In all examples, the following specifications and meta parameters have been used: The effective transversely isotropic behavior, which results from the RVE homogenization, is described by using the setĪ := (¯1,¯2,¯3,¯4,¯5,¯ * 3 ) ∈ R 6×1 consisting of six invariants, cf. Subsect. 2.2.3. As discussed in Subsect. 3.2, the non-independent invariant¯ * 3 = 1/¯3 is added to allow the growth condition to be satisfied by construction of the network architecture. As already mentioned, this requires additional constraints for the weights, e. g., Eq. (23). However, training under these constraints results in noticeably worse stress predictions. Thus, in order to achieve maximum prediction quality, the constraints were not considered within the training here. The adapted architecture is nevertheless used to allow a better comparability to the same network architecture trained with the constraint, see the study in Appendix A. The ANNs used as the surrogate model consist of only one hidden layer with 15 neurons which has been shown to be sufficiently accurate, where the networks are trained 25 times in each macroscopic iteration. For comparison see the study given in [29]. Application of the data-driven multiscale framework for the simulation of macroscopic samples As shown in Fig. 4(b), the fiber orientation of the RVE is given by RVE = 3 , where 3 is the Cartesian base vector. In order to transform deformation states for the general case macro ≠ RVE by using Eq. (27), Rodrigues' rotation formula Application of the data-driven multiscale framework for the simulation of macroscopic samples is applied to determine . Therein, := macro × RVE is the unit normal vector and := ( macro , RVE ) the angle between the fiber directions. Finally, the tolerance for the detection of unique deformation states within the invariant space I is set to tol,1 = 5 %. The tolerance for the filtering step is set to tol,2 = 1 %, cf. Subsects. 3.3.1 and 3.3.2. Cuboid under tension As a first example, a cuboid with a circular hole is loaded by tension. To this end, a displacement ofˆ= 0.4¯1 is prescribed at the top surface, where¯1 is the initial length in 1 -direction. The fiber orientation is chosen to macro = 1 . The cuboid's geometric dimensions are specified by¯1 ׯ2 ׯ3 = (100 × 100 × 25) mm. The hole in the center has a radius of 30 mm. Preprint submitted to Springer arXiv x 1 Preprint submitted to Springer arXiv x 2φ Preprint submitted to Springer arXiv A macro Preprint submitted to Springer arXiv Table 2: Load cases for the generation of the initial data. The effective deformations¯R VE are prescribed according to Eqs. (16) and (17). Preprint submitted to Springer arXiv Load case¯m ax¯min¯max directions Uniaxial tension Preprint submitted to Springer arXiv Multiscale iterations The single iterations within the loop are described for the multiscale simulation of the cuboid in the following. Preprint submitted to Springer arXiv To start the algorithm, the initial data have to be generated first, cf. Subsect. 3.1 step (a). Here, a total number of 18 load cases -six uniaxial tension and compression, six equibiaxial tension and compression as well as six simple shear states -are prescribed to the fiber reinforced RVE. Different loading directions are considered to collect knowledge about the composite's overall anisotropy. The applied stretches and shears as well as the directions are given in Tab. 2. In order to avoid that data providing the same physical information are contained multiple times, a filtering process is applied in the invariant space I . Within I , the collected states cover only a sparse region which is pervaded by a few paths consisting of 193 tuples T . This is shown in Fig. 6, where the set is exemplarily visualized in the sectional planes¯1-¯3 and¯1-¯5. However, due to the physical knowledge which is incorporated into the ANN-based macroscopic surrogate model, this sparse data set is sufficient to initiate the multiscale scheme. Now, the algorithm enters the multiscale loop with iteration 1 and the initial data set is labeled as D 1 . It is used to train the physics-constrained ANN which is afterwards utilized as the RVE surrogate model within the macroscopic simulation, cf. Subsect. 3.2 steps (b) and (c). Note that the prediction of the sample's macroscopic fields, i. e., displacement¯( , ), deformation¯( , ), stress¯( , ), etc., is only an initial guess in this first iteration. This is due to the fact that the ANN does not know the occurring stress-deformation states for the most part at this point. However, it is still sufficient to identify new deformation states. As described in Subsect. 3.3.1, this is done by transforming the sample's deformation states, collected into the set F macro 1 , into the invariant space I and to identify unique states by a comparison to D 1 . As already mentioned, the full time series¯( 0 ),¯( 1 ), . . . ,¯( ) with ≤ end is added to F new if a unique state is identified in the step . These deformation paths are prescribed in the RVE Due to the material symmetry (transverse isotropy), several loadings are equivalent from the point of the material, e. g., uniaxial tension in 1 -or 1 193 495 1 2 688 9 12/15 3 697 60 1 4 757 13 1 5 770 0 1 simulation and the corresponding stresses¯are determined. After the subsequent filtering process with the tolerance tol,2 , a total number of 495 unique tuples is identified. They are given in Fig. 6. In iteration 2, the new information are used to enrich the data set D 2 = D 1 ∪ D new 1 . This set is used to train the ANN which is then applied for the prediction of the sample's macroscopic fields. As shown in Fig. 6, only a low number of new tuples is now detected from F macro 2 . This is due to the fact that the macroscopic simulation terminates already in time step end = 12 < goal , cf. Tab. 3. Preprint submitted to Springer arXiv However, using these new data, the prediction of the macroscopic simulation in the subsequent 3rd iteration yields that the sample's deformation field maps to a new region within I which consists of 60 tuples. The described process -consisting of the steps training process, macroscopic simulation, data analysis and data enrichment -is repeated until no further unique data are found which is the case in iteration 5. Note that an overlap of tuples from D and D new is possible, since a state is already unique if it deviates only in one of the six relevant invariants. Thus, an intersection in the depicted sectional planes may occur. Preprint submitted to Springer arXiv In advance, the macroscopic sample's states F macro 5 → D macro 5 mapped to I and the data set D 5 of iteration 5 are depicted within the full invariant space in Fig. 7. It becomes apparent, that D 5 \ D 1 contains tuples which are not included into F macro 5 . Thus, as described above, the predictions of iteration 1-4 are only necessary to gradually approach the correct result of the macroscopic simulation. However, due to the fact that the collected deformations are prescribed within the RVE simulations to determine the corresponding stresses, no defective information could enter the data set. Preprint submitted to Springer arXiv The stress predictions of the ANN for all tuples in D 5 are compared to the reference values of the RVE simulations in Fig. 8(a). As shown there, an almost perfect prediction occurs for both, training and test data. A single loading path and the corresponding deformed RVE at time goal are depicted in Fig. 9 exemplarily. Preprint submitted to Springer arXiv Validation In order to demonstrate the quality of the developed FE ANN approach, the full deformation space of the cuboid is analyzed and the single states are applied to the RVE simulation, respectively. To this end, the symmetric right Cauchy-Green deformation tensors¯are calculated from The unknown states are prescribed within RVE simulations to get the corresponding stress values. These stresses are then compared to the predictions of the ANN which has been trained by D 5 . As shown in Fig. 8(b), an almost perfect prediction is observed also for these states. Consequently, the proposed FE ANN approach has shown to be highly accurate. Preprint submitted to Springer arXiv Furthermore, in order to demonstrate that the chosen tolerance tol,1 = 5 % within the multiscale loop is sufficient, the achieved macroscopic solution is compared to a solution in which this tolerance is prescribed to 2.5 %. As shown in Fig. 11, a relative error of below 2 % with respect to the reference solution occurs for the stress¯1 1 Preprint submitted to Springer arXiv In want of a fully coupled FE 2 implementation, this comparison is used. Iteration 1 Initial data New data D new 1 of iteration 1 Figure 12: Sampling of the invariant space I within the simulation of the torsional sample. The initial data set contains the load cases given in Tab. 2 and the data collected from the cuboid simulation. Iteration 1 The multiscale scheme was terminated in iteration 2. Exemplarily, the sectional planes¯1-¯3 and¯1-¯4 are depicted. Torsional sample After the detailed description of the multiscale loop within the solution process of the cuboid geometry, a further example is considered. Now, the FE ANN scheme is applied to the solution of a torsional sample with a circular hole given in Fig. 5(b). Accordingly, the fiber direction of the macro sample is chosen as macro = 2 in this example. Nevertheless, due to the applied transformation given by Eq. (27), the same RVE with RVE = 3 is used. The torsional sample is loaded by specifying a distortion ofˆ= 45 • around the 1 -axis. The sample's geometric dimensions are specified by¯1 ׯ2 × 3 = (200 × 100 × 100) mm. The hole in the center has a radius of 40 mm. Torsional sample In order to minimize the computational effort, the scheme is initiated by using the collected data set D 5 from the previous example as the initial data. In this way, a knowledge base is created for a specific material under consideration, which can be used for further simulations and, at the same time, can be continuously expanded. Torsional sample The multiscale loop now terminates after only 2 iterations which is due to the described initiation with the available data set. As shown exemplarily for the sectional planes¯1-¯3 and¯1-5 in Fig. 12, a wide range of relevant states is already covered by the states extracted from the cuboid simulation. Thus, the advantage of a transformation into the invariant space becomes again very clear. Although the deformation of the cuboid tensile specimen and torsional specimen is very different in the¯-space, both overlap clearly in invariant space which is in accordance to [29]. Caused from the geometry and the anisotropic nonlinear elastic behavior, a complex deformation of the macroscopic sample occurs, cf. the surface plot of¯1 2 on the deformed geometry in Fig. 13. Cook's membrane Finally, as a last example, Cook's membrane is simulated by using the developed data-driven multiscale scheme. Thereby, the fiber direction within the membrane is prescribed to macro = ( 1 + 3 )/ √ 2. To initiate the scheme, the data set from the previous example is used, where this set also contains data collected within the first example. Again, a fast convergence of the multiscale loop is achieved after only 2 overall iterations. As shown exemplarily for the sectional planes¯1-¯3 and¯1-¯5 in Fig. 14, a wide range of relevant states is already covered by the states extracted from the cuboid and the torsional sample simulations. Thus, as already mentioned, the advantage of a transformation into the invariant space is underpinned. Although the deformation of the cuboid tensile specimen, the torsional specimen and the Cook membrane are very different in the¯-space, they overlap clearly in invariant space. The deformed macroscopic states with the right Cauchy-Green deformation¯1 1 are depicted in Fig. 15 for the time steps 10 Iteration 1 Initial data New data D new 1 of iteration 1 Figure 14: Sampling of the invariant space I within the simulation of the Cook's membrane. The initial data set contains the load cases given in Tab. 2 as well as the data collected from the cuboid and the torsional sample simulation. The multiscale scheme was terminated in iteration 2. Exemplarily, the sectional planes¯1-¯3 and¯1-¯4 are depicted. Iteration 1 Preprint submitted to Springer arXiv deformation of the Cook membrane occurs. This effect results from the coupling between shear and tension which is a well known effect of fiber reinforced materials. Although a relatively complex response behavior occurs here, the multiscale problem can be solved quickly and without further human supervision even in this example. Conclusions In this work, a novel data-driven multiscale approach called FE ANN is presented. It is based on physics-constrained ANNs which are used as highly efficient surrogate models and an unsupervised data mining process. The approach allows the efficient simulation of materials with complex underlying microstructures which reveal an overall anisotropic and nonlinear elastic behavior on the macroscale, e. g., composites, architectured materials with pronounced microstructure or foams. The framework has been implemented in such a way, that it is usable on a HPC cluster based on the Batch-System SLURM. Starting from basic kinematics and stress measure definitions, a short revision of anisotropic hyperelastic constitutive models at finite strains is given. Furthermore, a Hill-type homogenization framework is described in brief. Based on this theoretical basis, the developed data-driven multiscale scheme is illustrated in detail. This includes the general procedure and a description of the single steps: initial data generation (a), training process of the ANN (b), macroscopic simulation (c), data analysis (d) and data enrichment (e). Afterwards, the approach is exemplarily applied to the solution of three demonstrative examples, a cuboid under tension, a torsional sample and the Cook membrane. Thereby, the considered macroscopic bodies consist of a fiber reinforced composite revealing a highly nonlinear behavior of the individual phases. Due to the incorporation of physical knowledge into the ANNbased surrogate model, only a small number of computationally expensive RVE simulations was needed to solve the considered macroscopic problems. Furthermore, a rather high accuracy of the surrogate model has been shown within a validation. Conclusions Altogether, the presented data-driven approach has shown to be an efficient tool for the solution of complex multiscale problems at finite strains. Due to the implemented unsupervised data mining, it is universally applicable to various macroscopic geometries and BCs. In order to extend the scheme's application area, several extensions have to be made in the future. For instance, an extension to further material symmetry groups [68] have to be made by integrating appropriate invariant sets into the implementation. Finally, an extension to dissipative constitutive behavior [41,56,55] is needed. with , * 3 ∈ R + respectively. Starting from Eq. (37) to analyze the case¯→ 0 + , it follows lim →0 +¯A Conclusions Using Eq. (40) and supposing that it exists at least one * 3 > 0, one finds that Conclusions where : R → {0, 1} denotes the Heaviside step function. Thereby, it has been utilized that the values and , are finite and are negligible with respect to¯ * 3 . Consequently, it holds Conclusions In the same way, supposing that it exists at least one 3 > 0, it holds Conclusions Consequently, similar to Eq. (43), it holds Conclusions Note that for the case¯→ ∞, the other invariants which also tend towards infinity have no influence, since¯3 is the leading term. The above two conditions given in Eqs. (43) and (45) together constitute a sufficient condition for the growth condition to be satisfied. However, an easy to implement condition which is also sufficient but more restrictive is given by Eq. (36). As one can see, it is included in the conditions * 3 > 0 ∧ 3 > 0. A.2 Comparison of an adapted network and a network neglecting the growth condition Here, the network which is used in the examples discussed within Sect. 4 is compared to an adapted network which, in contrast to the other network, fulfills the growth condition. To this end, the prediction quality for the data set containing relevant deformation states of the cuboid, the torsional sample and the Cook's membrane is analyzed for both ANNs. Thereby, the constraint (36) has been taken into account within the training of the second network. A.2 Comparison of an adapted network and a network neglecting the growth condition The stresses predicted by the networks and the reference stresses obtained from RVE simulations are given in Fig. 16(a) and (b). As one can see, the prediction quality is very good for both ANNs. However, regarding the zoom plots, a noticeable difference between both networks becomes apparent. Accordingly, the prediction quality of the adapted network which fulfills the growth condition is declined compared to the network with no further constraints on the weights. This is underlined by a comparison of the maximum relative erros within the stress components given in Tab. 4. Note that the comparatively large maximum error in¯1 3 results from the small stresses within these component. B Comparison of hexagonal unit cells and random cells In this appended section, the effective stress-strain response of a fiber reinforced composite represented by two different microstructures, an ideal hexagonal and a random distribution, are compared to each other. The first microstructure is thus Preprint submitted to Springer arXiv Transverse stretches Tension in x 1 -direction Tension in x 2 -direction x 1 Transverse stretches x 2 Transverse stretches x 3 Transverse stretches x 1 represented by a unit cell, whereas the second one consists of 100 fibers to capture for statistical effects. The fiber orientation points in the 3 -direction for both. Exemplarily, a uniaxial tension into the 1 -and the 2 -direction, i. e., perpendicular to the fiber orientation, are considered, where a maximum stretch of¯= 2 is applied. In Fig. 17(a) and (b), the stress-stretch curves and the transverse stretch¯⊥ are depicted for the hexagonal unit cell. Thereby,¯⊥, which follows due to lateral contraction, is measured in the 2 -or 1 -direction, respectively. Since in the undeformed state all fibers have the same distance in the 1 -2 -plane, the curves in the initial region are nearly equivalent. However, as the deformation of the RVE increases, the curves deviate more and more from each other. This is due to the fact that the arrangement of the microstructure changes significantly as a result of the deformation which could be termed a deformation induced anisotropy. Regarding the deformed microstructure for tension in the 1 -direction, it no longer corresponds to the arrangement in the case of tension in the 2 -direction (rotated by 90 degrees), cf. Fig. 17(c). Thus, in summary, the material loses the property of transverse isotropy if finite deformations occur. Transverse stretches Compared to this, the same uniaxial loadings are depicted in Fig. 18(a) and (b) for the cell with a random fiber distribution. As one can see there, the curves lie on top of each other over the complete range of stretch¯∈ [1,2]. Thus, in contrast to the hexagonal unit cell, a transversely isotropic effective behavior -which is expected for a fiber reinforced compositeresults even for finite strains, whereby the 1 -2 -plane is the isotropy plane. In order to simulate the overall behavior of a realistic fiber reinforced composite, the usage of a statistical RVE is thus mandatory for finite strains. Transverse stretches Tension in x 1 -direction Transverse stretches Tension in x 2 -direction x 1 Transverse stretches x 2 Transverse stretches x 3 Transverse stretches x 1 Transverse stretches x 2 -tension x 1 -tension

섹션 본문 257문단 · 115,503자

(제목 없음)

1Herein, we present a new data-driven multiscale framework called FE ANN which is based on two main keystones: the usage of physics-constrained artificial neural networks (ANNs) as macroscopic surrogate models and an autonomous data mining process. Our approach allows the efficient simulation of materials with complex underlying microstructures which reveal an overall anisotropic and nonlinear behavior on the macroscale. Thereby, we restrict ourselves to finite strain hyperelasticity problems for now. By using a set of problem specific invariants as the input of the ANN and the Helmholtz free energy density as the output, several physical principles, e. g., objectivity, material symmetry, compatibility with the balance of angular momentum and thermodynamic consistency are fulfilled a priori. The necessary data for the training of the ANN-based surrogate model, i. e., macroscopic deformations and corresponding stresses, are collected via computational homogenization of representative volume elements (RVEs). Thereby, the core feature of the approach is given by a completely autonomous mining of the required data set within an overall loop. In each iteration of the loop, new data are generated by gathering the macroscopic deformation states from the macroscopic finite element (FE) simulation and a subsequently sorting by using the anisotropy class of the considered material. Finally, all unknown deformations are prescribed in the RVE simulation to get the corresponding stresses and thus to extend the data set. The proposed framework consequently allows to reduce the number of time-consuming microscale simulations to a minimum. It is exemplarily applied to several descriptive examples, where a fiber reinforced composite with a highly nonlinear Ogden-type behavior of the individual components is considered. Thereby, a rather high accuracy could be proved by a validation of the approach.

Introduction

2Materials with an underlying meso-or microstructure, e. g., composites, solid foams, dual-phase steels or 3D-printed structures, enable the targeted design of engineering components with respect to their application. However, due to effects such as anisotropy, nonlinear or multiphysics phenomena, the experimental characterization of the effective constitutive behavior of such materials can be very complex.

Multiscale schemes

3To avoid such a characterization of the material's effective behavior, computational multiscale schemes can be used. These schemes allow the simulation of engineering components made of materials with underlying microstructure solely based on information about the microstructural arrangement and the properties of the individual components, e. g., matrix and inclusions. Basically, two different types of multiscale schemes exist: the coupled multiscale scheme which is also known as FE 2 approach (finite element square) [1,2,3,4,5,6,7,8] and the decoupled or sequential multiscale scheme [9,10,11,12,13,14].

4The FE 2 method allows to completely couple the microscopic and macroscopic scales without the need for the explicit formulation of an effective constitutive model. It is thus universally applicable to arbitrary geometries if the necessary microscopic information are available. However, the decisive disadvantage is the very high computational effort, which results from the solution of the microscopic boundary value problem (BVP) for the homogenization at each integration point of the macroscopic FE mesh.

5Within a decoupled multiscale scheme, the material's effective behavior is initially determined from homogenization of representative volume elements (RVEs) and then a suitable constitutive model, the so-called macro or surrogate model, is calibrated by these data. With this model, macroscopic BVPs can now be solved, whereby the influence of the microstructure is implicitly captured by the macro model. Thus, in contrast to the FE 2 method, the explicit solution of the microscopic BVP at each integration point is omitted. The central disadvantage, however, is that the formulation of such a model can be extremely complicated.

Data-based methods in solid mechanics

6To circumvent the time consuming task of formulating and calibrating a surrogate model within a decoupled multi-scale scheme, data-based or data-driven techniques are very promising and have the potential to improve or replace traditional constitutive models. These techniques have become increasingly popular in the computational mechanics community during the last years [15,16]. In the following, a brief overview of the most common methods and their application to multiscale schemes is given.

Overview on data-based constitutive modeling

7A relatively new strategy to substitute classical constitutive equations is the data-driven mechanics approach, initially proposed by Kirchdoerfer and Ortiz [17] and extended to, e. g., noisy data sets [18], finite strains [19], inelasticity [20] or fracture mechanics [21] in the meantime. This method completely avoids to use constitutive equations. Instead, sets of stress-strain tuples which characterize the material's behavior are used. A data-driven solver hence seeks to minimize the distance between the searched solution and the material data set within a proper energy norm, while compatibility and equilibrium have to be satisfied simultaneously.

8The construction of so called constitutive manifolds from collected data is an alternative approach which is described for elasticity and inelasticity by Ibañez et al. [22]. With this technique, it is possible to strictly fulfill the 2nd law of thermodynamics, i. e., the thermodynamic consistency, by using the GENERIC paradigm (General Equation for Non-Equilibrium Reversible-Irreversible Coupling) during the construction of constitutive manifolds [23].

9Besides the previously mentioned techniques, there exist numerous data-based methods originating from the field of machine learning (ML). Probably, the most common technique is the application of artificial neural networks (ANNs), which have already been proposed in the early 90s by the pioneering work of Ghabussi et al. [24]. In the last decades, ANNs have been intensively used for mechanical material modeling and simulations by means of the finite element method (FEM), e. g., in [25,26,27,28,29] among others.

10However, in general, a large amount of data is required to train ANNs to serve as robust and accurate surrogate models for systems with complex underlying physics, e. g., constitutive models. In this context, a comparatively new branch of ML techniques related to constitutive modeling are approaches classified as physics-informed, physics-constrained [30,31], mechanics-informed [32] or hybrid models [33,34]. In these methods, essential physical principles and information are inserted into the ML-based model or parts of classical models are replaced with data-based methods, which leads to an improvement of the extrapolation capability and enables training with sparse data. In the case of ANNs, this can be achieved via the network architecture or by adapted training In the following, the term physics-informed does not directly refer to the PINN-approach (physics-informed neural network) according to Raissi et al. [35]. In a PINN, the searched solution field approximated by the ANN, e. g., displacement ( , ), is inserted into the governing partial differential equation (PDE) at collocation points. This expression is then added to the loss, so that the fulfillment of the PDE is enforced. In the context of constitutive modeling, however, the idea to enrich the ML approach with physical knowledge is applied in a similar way. algorithms. By choosing problem-specific invariant sets as the input variables, material symmetries are automatically satisfied for hyperelastic models [36,29,37]. Furthermore, the thermodynamic consistency can be fulfilled by choosing the free energy as the output quantity. In order to train the ANN with respect to the stresses, gradients of the output with respect to the input are inserted into the loss [38,36]. This technique is also named as Sobolev training in [39]. Furthermore, physical knowledge can be inserted via constraint training processes [40]. For the consideration of dissipative behavior, Masi et al. [41] proposed an adapted ANN architecture consisting of two feed forward neural networks (FNNs). Thereby, the first network is used to predict the evolution of internal variables and the second for approximating the free energy. Finally, the combination of classical models with data-based techniques is a further method to insert physical knowledge. Thereby, only parts of a model are replaced by data-based techniques, e. g., in plasticity models [33,34,42].

Data-based multiscale modeling and simulation

11In the context of multiscale problems, the mentioned databased methods can be used as surrogate models which replace the computationally expensive simulation of RVEs [43]. The high flexibility of trained networks with simultaneously excellent prediction qualities is thereby proven in numerous works: In [38] ANNs are used to describe the homogenized response of cubic lattice metamaterials exhibiting large deformations and buckling phenomena. Thereby, several types of hyperelastic ML-based models which fulfill basic physical requirements are used and compared to each other. Based on this, an extension to polyconvex hyperelastic models is given in [37]. In [44], FFNs and RNNs (recurrent neural networks) are used to replicate the homogenization of RVEs revealing inelastic behavior of the individual components. Thereby, also unknown paths can be predicted with the trained networks. Similarly, ANNs that replace the inelastic constitutive responses of composite materials sampled by RVE simulations are shown in [45]. Thereby, in addition, a deep reinforcement learning combinatorics game is used to automatically find an optimal set of network hyper-parameters from a decision tree. A data-driven multiscale framework called deep material network is shown in [46,47,48]. Thereby, the homogenized RVE response is reproduced by a network including a collection of connected mechanistic building blocks with analytical homogenization solutions. With that, a complex effective response could be described without the loss of essential physics. An extension of the deep material network approach to fully coupled thermomechanical multiscale simulations of composite materials is given in [49].

12Furthermore, ANNs can be used to link microstructural characteristics and effective properties. For example, in [50], an ML framework for predicting macroscopic yield as a function of crystallographic texture is described. An ML-based multiscale calibration of constitutive models representing the effective response of rate dependent composite materials is applied to brain white matter in [51]. Based on a library of calibrated parameters corresponding to a set of microstructural characteristics, an ML model which predicts the constitutive model parameters directly from a new microstructure is trained. Similarly, an ANN is trained to predict the elastic properties of short fiber reinforced plastics in [52]. Finally, the application of data-based techniques as surrogate models in decoupled multiscale schemes, which enable the simulation of macroscopic engineering components, is promising. In the pioneering work [53], a decoupled multiscale scheme using an ANN-based surrogate model has been shown for elastic composites with cubic microstructures. Another multiscale methodology is presented in [54]. Therein, a hybrid macroscopic surrogate model is used, i. e., a traditional constitutive model is combined with a data-driven correction. An ML-based multiscale framework for the simulation of the elastic response of metals having a polycrystalline microstructure is presented in [39]. Therein, the database is generated by using a 3D FFT (fast Fourier transform) solver. Based on this, [55,42] show an extension to elastoplasticity, whereby ANNs are used for the description of the yield surface and the stress within a hybrid modeling approach. Similarly, the simulation of the elastic-plastic deformation behavior of open-cell foam structures is shown in [33,34]. Thereby, a hybrid model including two ANNs is used as the macroscopic surrogate model. Therein, the first network serves for the description of the macroscale yield function and the second one for the prediction of the floating direction. In [49], two scale simulations of thermo-mechanical problems are solved by using deep material networks. Applying the modeling strategy initially proposed in [41], a multiscale scheme for the inelastic behavior of lattice material structures is described in [56]. An application of ANNs as surrogate models describing the anisotropic electrical response of graphene/polymer nanocomposites is shown in [57]. Furthermore, in [58], the application of recurrent neural networks (RNNs) as surrogate models within multiscale simulations of elastoplastic problems is shown. Furthermore, the RNN-based approach is compared to full FE 2 simulations. An application of RNN surrogate models to viscoplasticity is described in [59]. A combination of fully coupled FE 2 simulations with an adaptive switching to ANN-based surrogate models for the complex simulation of RVEs is shown in [60]. In addition, a multiscale framework based on the datadriven mechanics approach [17] is presented in [61] for the application to sand. Thereby, the necessary data set is extracted from lower scale simulations. In [62], a multi-level method is used within a data-driven multiscale scheme which is applied for the simulation of solid foam materials.

Content

13Within this contribution, an efficient data-driven multiscale approach called FE ANN , which makes use of physics-constrained ANNs as a macroscopic surrogate model, is presented. The approach allows to consider materials with complex microstructures leading to an overall anisotropic behavior, whereby a restriction to hyperelastic solids is made for now. The ANNbased surrogate model automatically fulfills several physical principles, e. g., objectivity, material symmetry, compatibility with the balance of angular momentum and the thermodynamic consistency. This is done by using a set of problem specific invariants as the input of the network and the Helmholtz free energy density as the output, cf. Linka et al. [36], Klein et al. [37] or Linden et al. [63], among others. The data which are used to train the ANN are collected via computational homogenization of an RVE representing the material's microstructure. Thereby, in contrast to most of the datadriven multiscale approaches from the literature, it is not necessary to explore all required macroscopic states of deformation which occur in the macroscopic simulation in advance. Instead, the required data, i. e., effective deformations and corresponding stresses, are determined by homogenization in a fully autonomous way within the framework by collecting the relevant deformations from the macroscopic FE simulation. This procedure is similar to the approach presented by Korzeniowski and Weinberg [62] which is based on the data-driven mechanics approach [17]. Here, in addition, the macroscopic deformations are mapped into an invariant space associated to the symmetry group of the considered material. In this space, the selection of relevant states is done so that the number of time-consuming microscale simulations can be reduced to a minimum. Moreover, it is not necessary to perform a rough scan of the relevant deformation area in advance here. The proposed framework is exemplarily applied to several descriptive examples, where a fiber reinforced composite with a highly nonlinear behavior of the individual components is considered.

14The organization of the paper is as follows: In Sect. 2, the basic equations of the finite strain continuum solid mechanics theory as well as basic principles of hyperelastic models are given. After this, the proposed data-driven multiscale framework is described in Sect. 3. This approach is exemplarily applied within several numerical examples in Sect. 4. After a discussion of the results, the paper is closed by concluding remarks and an outlook to necessary future work in Sect. 5.

Continuum solid mechanics

15In this section, the basic kinematic and stress quantities as well as general relations of anisotropic hyperelastic constitutive models are summarized shortly. The reader is referred to the textbooks of Haupt [64], Holzapfel [65] or Ogden [66] for a detailed overview. Furthermore, a Hill-type homogenization framework is introduced. For a clear mathematical notation, the space of tensors

16except for a tensor of rank zero, is used in the following. In Eq. (1), R 3 , N and ⊗ denote the Euclidean vector space, the set of natural numbers and the dyadic product, respectively. Tensors of rank one and two are given by boldface italic symbols in the following, i. e., ∈ L 1 or , ∈ L 2 . Furthermore, a single or double contraction of two tensors is given by · = ⊗ or : = , respectively. Thereby, ∈ L 1 denotes a Cartesian basis vector and the Einstein summation convention is used.

Kinematics and stress measures 2.1.1 Kinematics

17In the following, a material body C which occupies the reference configuration B 0 ⊂ R 3 at time 0 ∈ R ≥0 and the current configuration B ⊂ R 3 at time ∈ T := { ∈ R + | ≥ 0 } is considered. The displacement vector ∈ L 1 of a material point ∈ C capturing the positions ∈ B 0 at 0 and ∈ B at is given by ( , ) := ( , ) − . Therein, : B 0 × T → B , ( , ) ↦ → =: ( , ) denotes a bijective motion function which is postulated to be continuous in space and time. As further kinematic quantities, the deformation gradient ∈ L 2 and the Jacobian determinant ∈ R + are defined by the relations := (∇ ) T and := det > 0 .

18In the equation above, ∇ is the nabla-operator with respect to reference configuration B 0 . A deformation measure which is free of rigid body motions is given by the positive definite right Cauchy-Green deformation tensor := T · ∈ with the space of symmetric second order tensors := ∈ L 2 | = T . With that and by using Sylvesters formula, the spectral decomposition of follows to

19where 1 ∈ L 2 , ∈ R ≥0 and ∈ denote the identity tensor, the principal stretches and the projection tensors, respectively. The introduced symbol ∈ {1, 2, 3} indicates the algebraic multiplicity of . Furthermore, is defined as the Kronecker delta.

Stress measures

20Within the framework of nonlinear continuum solid mechanics, various stress measures can be defined. The symmetric Cauchy stress ∈ , also known as true stress, is defined with respect to the current configuration B. Furthermore, the 1st and 2nd Piola-Kirchhoff stress tensors ∈ L 2 and ∈ follow from the pull back operations

21Accordingly, is related to both, B and B 0 , whereas is completely defined with respect to B 0 .

General properties

22The constitutive behavior of the considered solids is restricted to hyperelasticity within this work. Accordingly, a hyperelastic potential which is equal to the Helmholtz free energy density function : L 2 → R + , ↦ → ( ) exists. By applying the procedure of Coleman and Noll [67], the relations

23then follow from the evaluation of the Clausius-Planck inequality [65]. With that, the thermodynamic consistency of any hyperelastic model is fulfilled a priori. In addition, there are some further requirements on , which ensure a physically reasonable constitutive behavior [65,66]. The normalization condition requires that (1) = 0, i. e., that the free energy vanishes in the undeformed state. Furthermore, the free energy should increase in any case if deformation appears: ( ) > 0 ∀ ≠ 1. The former two conditions imply that has a global minimum at = 1. Consequently, the undeformed state is stress-free, i. e., (1) = 0 holds. Additionally, the growth condition requires that an infinite amount of energy is needed to infinitely expand the volume or compress it to zero: ( ) → ∞ as ( → ∞ ∨ → 0 + ). Finally, the principle of material objectivity states that the free energy is invariant with respect to a superimposed rigid body motion. This statement is expressed by the relation ( ) = ( · ) which holds for all special orthogonal tensors

24Accordingly, the principle of material objectivity is automatically fulfilled if the tensor is used as the argument of instead of , i. e., :

25→ R + , ↦ → ( ), which is done in the following.

26Finally, polyconvexity of the energy , i. e., convexity with respect to , Cof := −T and det , is a further condition. This condition implies material stability, i. e., Legendre-Hadamard-Ellipticity, see Ebbing [68] for more details. However, polyconvexity is a quite strong requirement on the free energy.

Material symmetry

27Besides the previously mentioned requirements, the constitutive equations should also reflect the symmetry of the described material which is expressed by the principle of material symmetry [64,68]. According to that, the free energy have to be invariant with respect to all orthogonal transformations belonging to the symmetry group of the underlying material:

28In order to describe anisotropic constitutive behavior, the concept of structural tensors can be used [64,68]. Depending on the considered material, these tensors are of order two 1 , 2 , . . . , 2 ∈ L 2 , four M 1 , M 2 , . . . , M 4 ∈ L 4 , or even higher. They reflect the material's anisotropy and are thus invariant with respect to the symmetry transformations, e. g.,

29The notation * M means , where the Einstein summation convention is used. If the structural tensors are appended to the list of arguments of , the energy is an isotropic tensor function even if the material is anisotropic which means that

30holds for all ∈ . To abbreviate the notation, the sets

Preprint submitted to Springer arXiv

31Finally, a set I := ( 1 , 2 , . . . , ) ∈ R ×1 consisting of ∈ N irreducible scalar valued invariants ∈ R could be derived by using the Cayley-Hamilton theorem. Consequently, the free energy is expressed by the isotropic tensor function = ( 1 , 2 , . . . , ) which is invariant with respect to all transformations ∈ . By using the latter definition and applying the chain rule, the 2nd Piola-Kirchhoff stress follows to

32where ∈ denotes tensor generators corresponding to the invariants [29].

Special anisotropy classes

33Within this work, two anisotropy classes are considered, isotropic as well as transversely isotropic materials. Corresponding sets of irreducible invariants are given in the following.

34A set of irreducible invariants describing an isotropic hyperelastic solid is given by

35The used principal invariants are given by

36whereby the cofactor of is defined by Cof := 2 −1 .

37Note that I • is also expressible by the principal stretches which follows from Eq. (3):

38According to [64,65,68], the structural tensor describing transverse isotropy is given by the second order tensor = ⊗ , whereby ∈ L 1 with | | ≡ 1 is the fiber direction in the undeformed state. A set of irreducible invariants is thus I := ( 1 , 2 , 3 , 4 , 5 ) ∈ R 5×1 . Therein, the latter two invariants, which capture the material's anisotropy, are given by the expressions 4 := : and 5 :=

Scale transition scheme

39In the following, a distinction between two different scales, the micro-and the macroscale is made. The former is characterized by a heterogeneous structure consisting of matrix

40The Cayley-Hamilton theorem states that a second order tensor fulfills his own eigenvalue equation, e. g., 3 − 1 2 + 2 − 3 1 = 0, where 1 , 2 , 3 denote the principal invariants of , cf. Eq. (9). Consequently, any power with ≥ 3 as well as the inverse −1 are expressible in terms of 2 , and 1 [64].

41Note that the more common expression 2 = 1 2 (tr 2 −tr 2 ) is equivalent to 2 = tr(Cof ). Both expressions can be transformed into each other by using the Cayley-Hamilton theorem. length ℓ ∈ R + , whereas the second considers a macroscopic bodyB 0 ⊂ R 3 of characteristic lengthl ∈ R + and is assumed to be homogeneous. For the lengths introduced, the relationl ℓ known as scale separation must hold [3]. To label macroscopic quantities, they are marked by( •) in the following.

42In order to connect microscopic and macroscopic tensor quantities, an appropriate homogenization scheme is needed. Consequently, each macroscopic point¯∈B 0 gets assigned properties resulting from the behavior of the microstructure. For this purpose, a representative volume element (RVE) of the material is considered on the microscale in the vicinity of¯, cf. Fig. 1. An effective macroscopic quantity is then identified from the microscopic field distribution within the RVE by the volume average

43Using Eq. (12), the macroscopic deformation gradient and the 1st Piola-Kirchhoff stress are defined by¯:= and := , respectively [3,4,11]. Appropriate boundary conditions for the microscopic BVP, which has to be solved before the volume averaging can be performed, are deducible from the equivalence of the macroscopic and the averaged microscopic energies which is also known as the Hill-Mandel condition. For the considered finite strain setting it is given by the following relation [3,4,11]:

44where (•) denotes the material time derivative. Regarding purely hyperelastic behavior, the Hill-Mandel condition expresses the equality of the rates of the macroscopic and the averaged microscopic Helmholtz free energies: ¯= . Consequently, it holds¯= . To fulfill Eq. (13), several type of boundary conditions (BCs) can be used, whereby periodic BCs given by the spaces

45Preprint submitted to Springer arXiv are applied within this work [11]. In the equation above, = · is the nominal stress vector. Furthermore, (•) + and (•) − denote values on opposing boundaries of the RVE which is supposed to be periodic. The tilde( •) marks the fluctuation part of a microscopic tensor quantity.

46Based on the summarized continuum theory, the following section introduces the proposed data-driven multiscale scheme FE ANN . The general procedure of this framework is basically subdivided into five steps referred as After the framework is initiated with step (a), the steps (b)-(e) are executed within an overall loop which is given in Algorithm 1. Accordingly, the ANN is trained with the current data set D of the iteration ∈ N, the macroscale problem is solved, unknown macroscopic states of deformationā re detected, and the macroscopic stresses¯corresponding to the previously unknown deformations are generated via computational homogenization. The loop terminates in an iteration ≥ 1, after no further deformation states are found and the relevant space of deformation is thus completely sampled by D . In order to prevent that the macroscopic simulation does not reach the final time step goal -which could be occur due to a failed convergence of the ANN -but no new deformations are detected within ∈ { 0 , 1 , · · · , = end < goal }, a further inner repeat loop is implemented. Therein, the steps (b)-(d) are performed multiple times, until the final time step goal is reached or new states of deformation are found. A schematic representation of the framework is given in Fig. 2. The single steps are described in detail in the following.

47In order to enable a fully automatized utilization of the framework, a Python wrapper which runs on a high performance cluster (HPC) using the Batch-System SLURM (Simple Linux Utility for Resource Management) has been implemented. This wrapper processes the loop independently by starting the individual jobs and managing the results.

Initial data generation (a)

48To start with, an initial data set D 1 := { 1 T , 2 T , . . . , T } consisting of ∈ N data tuples T := (¯R VE ,¯R VE ) ∈ L 2 × L 2 is generated. Basically, a low number of tuples is sufficient to initiate the multiscale scheme. Suitable states of deformation are simple load cases as, e. g., uniaxial tension and equibiaxial tension

49where these load cases could be applied on the RVE in different directions. In the equations above,¯∈ R + and¯∈ R denote prescribed effective stretches and shears, respectively. The labeling with (−) means that the corresponding coordinate of the effective 1st Piola-Kirchhoff stress¯is prescribed to zero. The stresses¯R VE belonging to the deformations RVE are calculated from a computational homogenization according to Subsect. 2.3, whereby this is done by using an in house Matlab FE code. The periodic BCs are applied via the master node concept therein [69].

ANN-based macroscopic surrogate model

50Within the data-driven multiscale loop, an appropriate macroscopic surrogate model is needed. To this end, a physicsconstrained ANN model, which a priori fulfills several physical conditions, is used, compare Subsect. 2.2.

51Assuming that the macroscopic material symmetry group of the considered composite is known, and thus the structural tensors M 2 , M 4 corresponding to the material are available, the invariants¯(¯, M 2 , M 4 ) are determined first. These scalar values are mapped into a normalized domain, i. e.,

52:

53. . , } with respect to the training data set, and are arranged in a vector = (¯1,¯2, . . . ,¯) ∈ R ×1 . Thereafter, the free energy is predicted by an FNN with the normalized invariants¯serving as input values and¯as output. Restricting the network architecture to only one hidden layer containing neurons, it holds¯A

54Preprint submitted to Springer arXiv

55Thus, the surrogate model automatically fulfills several physical principles: thermodynamic consistency, objectivity and material symmetry. A graphical summary of the described surrogate model structure is given in Fig. 3.

56In order to fulfill additional physical conditions, it may be necessary to incorporate further non-independent invariants Note that a non-bounded activation function is necessary to fulfill the growth condition, i. e.,¯A NN (¯) → ∞ as (¯→ ∞ ∨¯→ 0 + ). Besides the Softplus activation function, further choices are possible, e. g., ELU or ReLu. However, in contrast to the Softplus function, they are not twice continuously differentiable. * into the argument list of¯A NN . In this case, Eqs. (18) and (20) are to be modified according tō ANN

57and

58where A := { 1 , . . . , }, = |A|, is a set containing the indices of the additional invariants¯ * . Accordingly, the growth condition can be additionally guaranteed for¯→ 0 + by including¯ * 3 := 1/¯3 as a further invariant and not only¯3 itself, where¯ * 3 is defined to be independent, i. e.,¯3¯ * 3 = 0. Thus, A = {3} in this case. However, in addition, further constraints have to be satisfied by the weights to ensure that the growth condition is fulfilled. As shown in Appendix A, a possible sufficient condition is given by

59Therein, the set N := {1, 2, , . . . , } contains the indices of the hidden layer neurons. In the work [37], the growth condition is fulfilled in a similar way by adding an additional energy term which is not directly included in¯A NN .

Training process of the ANN (b)

60The ANN-based model is trained with respect to the current data set D in each iteration of the multiscale loop, where a random division into training and test data is made.

61Within the training process, the weights and bias values , , , and * are then determined. In order to enable an adjustment of the ANN to the stress values, gradients of the output with respect to the input are inserted into the loss

62which is similar to [38,36,39]. The training is done by using the SLSQP optimizer (Sequential Least Squares Programming). Thereby, the ANN is trained several times, where the parameters of the best achieved training state are stored at the end [29]. An implementation of the described workflow is realized using Python, Tensorflow and SciPy. Within the training the constraint (23) can be switched on optionally. Finally, in order to fulfill the normalization condition, the bias value is chosen such that¯A NN = 0 within the initial (undeformed) state.

63Due to local minima within the loss function, the optimization procedure which is applied here depends on the starting values of the weights and biases. Thus, the network is trained several times to overcome this.

Implementation and macroscopic simulation (c)

64The model equation (18) has been implemented within the FE toolbox FEniCS [70,71]. Therein, the stress relation given by Eq. (20) and the material tangent

Autonomous data mining

65Besides the physics-constrained surrogate model, the core feature of the data-driven multiscale framework is the data mining process which is done in a fully automatic manner.

Data analysis (d)

66Within each iteration of the overall multiscale loop, the local deformation states of the macroscopic bodyB are collected. To this end, the deformation gradient¯is stored at each quadrature point of the FE mesh and at each time increment . Consequently, the body's full state of deformation is characterized by the set F macro := { 1¯m acro , 2¯m acro , . . . ,¯m acro } which is a subset of L 2 . Now, previously unknown deformations have to be detected, whereby it is meaningful to only consider states providing additional information for the material under observation. Since the intrinsic constitutive behavior of the material lives in the space of invariants I ⊂ R ( + )×1 , it is useful to perform a transformation into this space at this point [29]: are used, respectively. Thus, by making use of Eq. (26), the current data set D is compared to F macro within the invariant space. If a state which is contained in F macro is unique within a given tolerance tol,1 , it is needed to enrich the data set for the next multiscale iteration step + 1. Thereby, the set F macro is searched in an reverse manner, i. e., starting from the last time step end . If a unique state is identified in the step , the full time series¯( 0 ),¯( 1 ), . . . ,¯( ) with ≤ end is added to F new ⊂ L 2 . Thus, it is possible that deformation states in the set F new are multiple with respect to F new itself and/or D . To avoid that this unnecessarily inflates the training process, a Note that it is useful to save the time series of a new deformation state, i. e., all states¯( 0 , 1 , . . . , ) proceeding at a fixed quadrature point. This facilitates the application of the macroscopic deformation within the computational homogenization later on. Furthermore, an extension to path dependent materials requires this mandatory.

67Preprint submitted to Springer arXiv further filtering step is performed in the data enrichment step (e).

68By using the described technique for the identification of relevant macroscopic deformation states, it is possible to reduce the number of time consuming microscale simulations following in the next step to a minimum.

Data enrichment (e)

69After F new has been determined, it is necessary to identify the stresses belonging to the states¯m acro . This is done by applying these states within the RVE simulations and calculating the stresses by volume averaging. In order to use only one RVE and anyhow allow different microstructure orientations in the macroscopic body, a transformation of¯is necessary before. To this end, the relation¯(¯) =¯( ·¯· T ) with ∈ + , which holds for arbitrary material symmetry groups, is used. Thus, the collected state of deformation macro from the macroscopic sample is processed by the

Euclidean transformation

70The tuples T = (¯R VE ,¯R VE ) consisting of applied deformations and corresponding stresses are then collected in the set D RVE .

71As already mentioned above, it is possible that data tuples in the set D RVE are multiple with respect to D RVE itself and/or D . Thus, a further filtering step is performed, where multiple tuples are sorted out with respect to D and D RVE within a given tolerance tol,2 . To this end, a transformation to the invariant space is used again, see Subsect

Examples

72In order to demonstrate the ability of the developed datadriven multiscale approach FE ANN described in Sect. 3, it is applied to the solution of three numerical examples within this section. Specifically, three macroscopic structures -a cuboid with a circular hole, a torsional sample and the Cook membrane -are considered. All of them consist of a fiber reinforced composite revealing a highly nonlinear behavior of the individual phases.

Microscopic properties of the composite 4.1.1 Constitutive behavior

73The constitutive behavior of the composite's individual components, i. e., fibers and matrix, is described by a hyperelastic Ogden model [66]. It is given by the free energy density function where, , ∈ R and ∈ R + are model parameters. The symbol R + iso := −1/3 denotes the isochoric principal stretches following from the Flory split [72]:

74= vol · iso with iso = −1/3 and det iso ≡ 1 , (29) i. e., the multiplicative decomposition of into volumetric vol and isochoric iso parts. Note that the introduced material parameters are related to initial shear modulus init and Poisson's ratio init via the relations

75respectively. Furthermore, in order to guarantee a physically meaningful behavior, the parameters and have to be restricted by the following constraints: ( < −1 ∨ ≥ 2 and > 0) ∀ ∈ {1, 2, · · · O } [66]. The stress of the Ogden model is determined by using Eq. (5) and follows to

76The calculation of the projection tensors related to the right Cauchy-Green deformation tensor is given in Eq. (3).

77Within the following numerical examples, the material parameters given in Tab. 1 are chosen. With this choice, a highly nonlinear behavior of the matrix phase is achieved, cf. [29]. The parameters of the fibers are chosen in such a way, that a neo-Hookean model results. Note that the selected parameters are not related to a real material.

Microstructure and RVE definition

78Besides the constitutive behavior of the individual components, the geometric arrangement of the individual phases has to be defined. In order to choose a realistic microstructure, it Preprint submitted to Springer arXiv is characterized by a monodisperse stochastic arrangement of fibers with = 30 % volume fraction here. Furthermore, a minimum distance of := 0.4 with respect to the fiber radius = 10 µm is chosen. According to the homogenization concept, a suitable RVE which is sufficiently large to capture the essential statistic properties of the microstructure is needed. Herein, this condition is checked by applying the 2 -test proposed by Gittman et al. [73]. Thereby, randomly generated RVEs with fixed number of inclusions and volume fraction are generated. The effective response of these RVEs is then determined by a computational homogenization, whereby a specific load case is chosen depending on the property of interest, e. g., this could be a stress or a stiffness component. Based on these results, a statistical analysis is done by evaluating the scatter of by means of the quantity

79If the accuracy of is sufficient, i. e., 2 ≤ tol , the tested sample size is the final RVE size. Otherwise, the sample size have to be increased and the analysis will be repeated.

80The described 2 -test has been applied to the fiber reinforced material. Thereby, a tolerance of tol = 2.5 % and a number of = 10 RVEs for each RVE-class with inc inclusions have been chosen. As representative load cases, uniaxial tensions according to Eq. (16) 1 are applied into the 1 -, 2and the 3 -direction, i. e., perpendicular and parallel to the fiber orientation. Thereby, the stress into the tension direction is evaluated according to Eq. (32). The prescribed tolerance is finally reached for the RVE-class with inc = 100 fibers. The determined stress-stretch curves and the chosen RVE are depicted in Fig. 4 for the final RVE. Accordingly, a highly nonlinear and anisotropic effective response occurs.

81Generation and meshing of the periodic cells have been done by using the python tool gmshModel , whereby the placement of the fibers is realized via the random sequential adsorption (RSA) algorithm [74]. The RVEs were meshed by tetrahedron elements with 10 nodes. A total of 94,456 elements is reached for the final RVE with 100 fibers.

82It should be noted, that it is not sufficient to represent the microstructure of a fiber reinforced composite with an overall transversely isotropic behavior by a hexagonal unit cell if finite strains are considered. This is due to the loss of the material symmetry which results from the deformation of the RVE cell, cf. Appendix B.

83The python tool gmshModel is freely accessible under https:// gmshmodel.readthedocs.io/en/latest/.

Application of the data-driven multiscale framework for the simulation of macroscopic samples

84After the definition of the composite's microscopic properties, the data-driven framework FE ANN is applied for the simulation of several multiscale problems. The macroscopic geometries and applied BCs are depicted in Fig. 5.

85In all examples, the following specifications and meta parameters have been used: The effective transversely isotropic behavior, which results from the RVE homogenization, is described by using the setĪ := (¯1,¯2,¯3,¯4,¯5,¯ * 3 ) ∈ R 6×1 consisting of six invariants, cf. Subsect. 2.2.3. As discussed in Subsect. 3.2, the non-independent invariant¯ * 3 = 1/¯3 is added to allow the growth condition to be satisfied by construction of the network architecture. As already mentioned, this requires additional constraints for the weights, e. g., Eq. (23). However, training under these constraints results in noticeably worse stress predictions. Thus, in order to achieve maximum prediction quality, the constraints were not considered within the training here. The adapted architecture is nevertheless used to allow a better comparability to the same network architecture trained with the constraint, see the study in Appendix A. The ANNs used as the surrogate model consist of only one hidden layer with 15 neurons which has been shown to be sufficiently accurate, where the networks are trained 25 times in each macroscopic iteration. For comparison see the study given in [29].

86As shown in Fig. 4(b), the fiber orientation of the RVE is given by RVE = 3 , where 3 is the Cartesian base vector. In order to transform deformation states for the general case macro ≠ RVE by using Eq. (27), Rodrigues' rotation formula

87is applied to determine . Therein, := macro × RVE is the unit normal vector and := ( macro , RVE ) the angle between the fiber directions. Finally, the tolerance for the detection of unique deformation states within the invariant space I is set to tol,1 = 5 %. The tolerance for the filtering step is set to tol,2 = 1 %, cf. Subsects. 3.3.1 and 3.3.2.

Cuboid under tension

88As a first example, a cuboid with a circular hole is loaded by tension. To this end, a displacement ofˆ= 0.4¯1 is prescribed at the top surface, where¯1 is the initial length in 1 -direction. The fiber orientation is chosen to macro = 1 . The cuboid's geometric dimensions are specified by¯1 ׯ2 ׯ3 = (100 × 100 × 25) mm. The hole in the center has a radius of 30 mm.

Preprint submitted to Springer arXiv

89x 1

90x 2φ

91A macro Preprint submitted to Springer arXiv Table 2: Load cases for the generation of the initial data. The effective deformations¯R VE are prescribed according to Eqs. (16) and (17).

92Load case¯m ax¯min¯max directions Uniaxial tension

93Multiscale iterations The single iterations within the loop are described for the multiscale simulation of the cuboid in the following.

94To start the algorithm, the initial data have to be generated first, cf. Subsect. 3.1 step (a). Here, a total number of 18 load cases -six uniaxial tension and compression, six equibiaxial tension and compression as well as six simple shear states -are prescribed to the fiber reinforced RVE. Different loading directions are considered to collect knowledge about the composite's overall anisotropy. The applied stretches and shears as well as the directions are given in Tab. 2. In order to avoid that data providing the same physical information are contained multiple times, a filtering process is applied in the invariant space I . Within I , the collected states cover only a sparse region which is pervaded by a few paths consisting of 193 tuples T . This is shown in Fig. 6, where the set is exemplarily visualized in the sectional planes¯1-¯3 and¯1-¯5. However, due to the physical knowledge which is incorporated into the ANN-based macroscopic surrogate model, this sparse data set is sufficient to initiate the multiscale scheme. Now, the algorithm enters the multiscale loop with iteration 1 and the initial data set is labeled as D 1 . It is used to train the physics-constrained ANN which is afterwards utilized as the RVE surrogate model within the macroscopic simulation, cf. Subsect. 3.2 steps (b) and (c). Note that the prediction of the sample's macroscopic fields, i. e., displacement¯( , ), deformation¯( , ), stress¯( , ), etc., is only an initial guess in this first iteration. This is due to the fact that the ANN does not know the occurring stress-deformation states for the most part at this point. However, it is still sufficient to identify new deformation states. As described in Subsect. 3.3.1, this is done by transforming the sample's deformation states, collected into the set F macro 1 , into the invariant space I and to identify unique states by a comparison to D 1 . As already mentioned, the full time series¯( 0 ),¯( 1 ), . . . ,¯( ) with ≤ end is added to F new if a unique state is identified in the step . These deformation paths are prescribed in the RVE Due to the material symmetry (transverse isotropy), several loadings are equivalent from the point of the material, e. g., uniaxial tension in 1 -or 1 193 495 1 2 688 9 12/15 3 697 60 1 4 757 13 1 5 770 0 1 simulation and the corresponding stresses¯are determined. After the subsequent filtering process with the tolerance tol,2 , a total number of 495 unique tuples is identified. They are given in Fig. 6. In iteration 2, the new information are used to enrich the data set D 2 = D 1 ∪ D new 1 . This set is used to train the ANN which is then applied for the prediction of the sample's macroscopic fields. As shown in Fig. 6, only a low number of new tuples is now detected from F macro 2 . This is due to the fact that the macroscopic simulation terminates already in time step end = 12 < goal , cf. Tab. 3.

95However, using these new data, the prediction of the macroscopic simulation in the subsequent 3rd iteration yields that the sample's deformation field maps to a new region within I which consists of 60 tuples. The described process -consisting of the steps training process, macroscopic simulation, data analysis and data enrichment -is repeated until no further unique data are found which is the case in iteration 5. Note that an overlap of tuples from D and D new is possible, since a state is already unique if it deviates only in one of the six relevant invariants. Thus, an intersection in the depicted sectional planes may occur.

96In advance, the macroscopic sample's states F macro 5 → D macro 5 mapped to I and the data set D 5 of iteration 5 are depicted within the full invariant space in Fig. 7. It becomes apparent, that D 5 \ D 1 contains tuples which are not included into F macro 5 . Thus, as described above, the predictions of iteration 1-4 are only necessary to gradually approach the correct result of the macroscopic simulation. However, due to the fact that the collected deformations are prescribed within the RVE simulations to determine the corresponding stresses, no defective information could enter the data set.

97The stress predictions of the ANN for all tuples in D 5 are compared to the reference values of the RVE simulations in Fig. 8(a). As shown there, an almost perfect prediction occurs for both, training and test data. A single loading path and the corresponding deformed RVE at time goal are depicted in Fig. 9 exemplarily.

98Validation In order to demonstrate the quality of the developed FE ANN approach, the full deformation space of the cuboid is analyzed and the single states are applied to the RVE simulation, respectively. To this end, the symmetric right Cauchy-Green deformation tensors¯are calculated from The unknown states are prescribed within RVE simulations to get the corresponding stress values. These stresses are then compared to the predictions of the ANN which has been trained by D 5 . As shown in Fig. 8(b), an almost perfect prediction is observed also for these states. Consequently, the proposed FE ANN approach has shown to be highly accurate.

99Furthermore, in order to demonstrate that the chosen tolerance tol,1 = 5 % within the multiscale loop is sufficient, the achieved macroscopic solution is compared to a solution in which this tolerance is prescribed to 2.5 %. As shown in Fig. 11, a relative error of below 2 % with respect to the reference solution occurs for the stress¯1 1

100In want of a fully coupled FE 2 implementation, this comparison is used.

Iteration 1

101Initial data New data D new 1 of iteration 1 Figure 12: Sampling of the invariant space I within the simulation of the torsional sample. The initial data set contains the load cases given in Tab. 2 and the data collected from the cuboid simulation.

102The multiscale scheme was terminated in iteration 2. Exemplarily, the sectional planes¯1-¯3 and¯1-¯4 are depicted.

Torsional sample

103After the detailed description of the multiscale loop within the solution process of the cuboid geometry, a further example is considered. Now, the FE ANN scheme is applied to the solution of a torsional sample with a circular hole given in Fig. 5(b). Accordingly, the fiber direction of the macro sample is chosen as macro = 2 in this example. Nevertheless, due to the applied transformation given by Eq. (27), the same RVE with RVE = 3 is used. The torsional sample is loaded by specifying a distortion ofˆ= 45 • around the 1 -axis. The sample's geometric dimensions are specified by¯1 ׯ2 × 3 = (200 × 100 × 100) mm. The hole in the center has a radius of 40 mm.

104In order to minimize the computational effort, the scheme is initiated by using the collected data set D 5 from the previous example as the initial data. In this way, a knowledge base is created for a specific material under consideration, which can be used for further simulations and, at the same time, can be continuously expanded.

105The multiscale loop now terminates after only 2 iterations which is due to the described initiation with the available data set. As shown exemplarily for the sectional planes¯1-¯3 and¯1-5 in Fig. 12, a wide range of relevant states is already covered by the states extracted from the cuboid simulation. Thus, the advantage of a transformation into the invariant space becomes again very clear. Although the deformation of the cuboid tensile specimen and torsional specimen is very different in the¯-space, both overlap clearly in invariant space which is in accordance to [29]. Caused from the geometry and the anisotropic nonlinear elastic behavior, a complex deformation of the macroscopic sample occurs, cf. the surface plot of¯1 2 on the deformed geometry in Fig. 13.

Cook's membrane

106Finally, as a last example, Cook's membrane is simulated by using the developed data-driven multiscale scheme. Thereby, the fiber direction within the membrane is prescribed to macro = ( 1 + 3 )/ √ 2. To initiate the scheme, the data set from the previous example is used, where this set also contains data collected within the first example. Again, a fast convergence of the multiscale loop is achieved after only 2 overall iterations. As shown exemplarily for the sectional planes¯1-¯3 and¯1-¯5 in Fig. 14, a wide range of relevant states is already covered by the states extracted from the cuboid and the torsional sample simulations. Thus, as already mentioned, the advantage of a transformation into the invariant space is underpinned. Although the deformation of the cuboid tensile specimen, the torsional specimen and the Cook membrane are very different in the¯-space, they overlap clearly in invariant space. The deformed macroscopic states with the right Cauchy-Green deformation¯1 1 are depicted in Fig. 15 for the time steps 10

Iteration 1

107Initial data New data D new 1 of iteration 1 Figure 14: Sampling of the invariant space I within the simulation of the Cook's membrane. The initial data set contains the load cases given in Tab. 2 as well as the data collected from the cuboid and the torsional sample simulation. The multiscale scheme was terminated in iteration 2. Exemplarily, the sectional planes¯1-¯3 and¯1-¯4 are depicted.

108Preprint submitted to Springer arXiv deformation of the Cook membrane occurs. This effect results from the coupling between shear and tension which is a well known effect of fiber reinforced materials. Although a relatively complex response behavior occurs here, the multiscale problem can be solved quickly and without further human supervision even in this example.

Conclusions

109In this work, a novel data-driven multiscale approach called FE ANN is presented. It is based on physics-constrained ANNs which are used as highly efficient surrogate models and an unsupervised data mining process. The approach allows the efficient simulation of materials with complex underlying microstructures which reveal an overall anisotropic and nonlinear elastic behavior on the macroscale, e. g., composites, architectured materials with pronounced microstructure or foams. The framework has been implemented in such a way, that it is usable on a HPC cluster based on the Batch-System SLURM. Starting from basic kinematics and stress measure definitions, a short revision of anisotropic hyperelastic constitutive models at finite strains is given. Furthermore, a Hill-type homogenization framework is described in brief. Based on this theoretical basis, the developed data-driven multiscale scheme is illustrated in detail. This includes the general procedure and a description of the single steps: initial data generation (a), training process of the ANN (b), macroscopic simulation (c), data analysis (d) and data enrichment (e). Afterwards, the approach is exemplarily applied to the solution of three demonstrative examples, a cuboid under tension, a torsional sample and the Cook membrane. Thereby, the considered macroscopic bodies consist of a fiber reinforced composite revealing a highly nonlinear behavior of the individual phases. Due to the incorporation of physical knowledge into the ANNbased surrogate model, only a small number of computationally expensive RVE simulations was needed to solve the considered macroscopic problems. Furthermore, a rather high accuracy of the surrogate model has been shown within a validation.

110Altogether, the presented data-driven approach has shown to be an efficient tool for the solution of complex multiscale problems at finite strains. Due to the implemented unsupervised data mining, it is universally applicable to various macroscopic geometries and BCs. In order to extend the scheme's application area, several extensions have to be made in the future. For instance, an extension to further material symmetry groups [68] have to be made by integrating appropriate invariant sets into the implementation. Finally, an extension to dissipative constitutive behavior [41,56,55] is needed. with , * 3 ∈ R + respectively. Starting from Eq. (37) to analyze the case¯→ 0 + , it follows lim →0 +¯A

111Using Eq. (40) and supposing that it exists at least one * 3 > 0, one finds that

112where : R → {0, 1} denotes the Heaviside step function. Thereby, it has been utilized that the values and , are finite and are negligible with respect to¯ * 3 . Consequently, it holds

113In the same way, supposing that it exists at least one 3 > 0, it holds

114Consequently, similar to Eq. (43), it holds

115Note that for the case¯→ ∞, the other invariants which also tend towards infinity have no influence, since¯3 is the leading term. The above two conditions given in Eqs. (43) and (45) together constitute a sufficient condition for the growth condition to be satisfied. However, an easy to implement condition which is also sufficient but more restrictive is given by Eq. (36). As one can see, it is included in the conditions * 3 > 0 ∧ 3 > 0.

A.2 Comparison of an adapted network and a network neglecting the growth condition

116Here, the network which is used in the examples discussed within Sect. 4 is compared to an adapted network which, in contrast to the other network, fulfills the growth condition. To this end, the prediction quality for the data set containing relevant deformation states of the cuboid, the torsional sample and the Cook's membrane is analyzed for both ANNs. Thereby, the constraint (36) has been taken into account within the training of the second network.

117The stresses predicted by the networks and the reference stresses obtained from RVE simulations are given in Fig. 16(a) and (b). As one can see, the prediction quality is very good for both ANNs. However, regarding the zoom plots, a noticeable difference between both networks becomes apparent. Accordingly, the prediction quality of the adapted network which fulfills the growth condition is declined compared to the network with no further constraints on the weights. This is underlined by a comparison of the maximum relative erros within the stress components given in Tab. 4. Note that the comparatively large maximum error in¯1 3 results from the small stresses within these component.

B Comparison of hexagonal unit cells and random cells

118In this appended section, the effective stress-strain response of a fiber reinforced composite represented by two different microstructures, an ideal hexagonal and a random distribution, are compared to each other. The first microstructure is thus Preprint submitted to Springer arXiv

Transverse stretches

119Tension in x 1 -direction Tension in x 2 -direction x 1

120x 2

121x 3

122x 1 represented by a unit cell, whereas the second one consists of 100 fibers to capture for statistical effects. The fiber orientation points in the 3 -direction for both. Exemplarily, a uniaxial tension into the 1 -and the 2 -direction, i. e., perpendicular to the fiber orientation, are considered, where a maximum stretch of¯= 2 is applied. In Fig. 17(a) and (b), the stress-stretch curves and the transverse stretch¯⊥ are depicted for the hexagonal unit cell. Thereby,¯⊥, which follows due to lateral contraction, is measured in the 2 -or 1 -direction, respectively. Since in the undeformed state all fibers have the same distance in the 1 -2 -plane, the curves in the initial region are nearly equivalent. However, as the deformation of the RVE increases, the curves deviate more and more from each other. This is due to the fact that the arrangement of the microstructure changes significantly as a result of the deformation which could be termed a deformation induced anisotropy. Regarding the deformed microstructure for tension in the 1 -direction, it no longer corresponds to the arrangement in the case of tension in the 2 -direction (rotated by 90 degrees), cf. Fig. 17(c). Thus, in summary, the material loses the property of transverse isotropy if finite deformations occur.

123Compared to this, the same uniaxial loadings are depicted in Fig. 18(a) and (b) for the cell with a random fiber distribution. As one can see there, the curves lie on top of each other over the complete range of stretch¯∈ [1,2]. Thus, in contrast to the hexagonal unit cell, a transversely isotropic effective behavior -which is expected for a fiber reinforced compositeresults even for finite strains, whereby the 1 -2 -plane is the isotropy plane. In order to simulate the overall behavior of a realistic fiber reinforced composite, the usage of a statistical RVE is thus mandatory for finite strains.

124Tension in x 1 -direction

125Tension in x 2 -direction x 1

126x 2

127x 3

128x 1

129x 2 -tension x 1 -tension

Introduction

130Materials with an underlying meso-or microstructure, e. g., composites, solid foams, dual-phase steels or 3D-printed structures, enable the targeted design of engineering components with respect to their application. However, due to effects such as anisotropy, nonlinear or multiphysics phenomena, the experimental characterization of the effective constitutive behavior of such materials can be very complex.

Multiscale schemes

131To avoid such a characterization of the material's effective behavior, computational multiscale schemes can be used. These schemes allow the simulation of engineering components made of materials with underlying microstructure solely based on information about the microstructural arrangement and the properties of the individual components, e. g., matrix and inclusions. Basically, two different types of multiscale schemes exist: the coupled multiscale scheme which is also known as FE 2 approach (finite element square) [1,2,3,4,5,6,7,8] and the decoupled or sequential multiscale scheme [9,10,11,12,13,14].

132The FE 2 method allows to completely couple the microscopic and macroscopic scales without the need for the explicit formulation of an effective constitutive model. It is thus universally applicable to arbitrary geometries if the necessary microscopic information are available. However, the decisive disadvantage is the very high computational effort, which results from the solution of the microscopic boundary value problem (BVP) for the homogenization at each integration point of the macroscopic FE mesh.

133Within a decoupled multiscale scheme, the material's effective behavior is initially determined from homogenization of representative volume elements (RVEs) and then a suitable constitutive model, the so-called macro or surrogate model, is calibrated by these data. With this model, macroscopic BVPs can now be solved, whereby the influence of the microstructure is implicitly captured by the macro model. Thus, in contrast to the FE 2 method, the explicit solution of the microscopic BVP at each integration point is omitted. The central disadvantage, however, is that the formulation of such a model can be extremely complicated.

Data-based methods in solid mechanics

134To circumvent the time consuming task of formulating and calibrating a surrogate model within a decoupled multi-scale scheme, data-based or data-driven techniques are very promising and have the potential to improve or replace traditional constitutive models. These techniques have become increasingly popular in the computational mechanics community during the last years [15,16]. In the following, a brief overview of the most common methods and their application to multiscale schemes is given.

Overview on data-based constitutive modeling

135A relatively new strategy to substitute classical constitutive equations is the data-driven mechanics approach, initially proposed by Kirchdoerfer and Ortiz [17] and extended to, e. g., noisy data sets [18], finite strains [19], inelasticity [20] or fracture mechanics [21] in the meantime. This method completely avoids to use constitutive equations. Instead, sets of stress-strain tuples which characterize the material's behavior are used. A data-driven solver hence seeks to minimize the distance between the searched solution and the material data set within a proper energy norm, while compatibility and equilibrium have to be satisfied simultaneously.

136The construction of so called constitutive manifolds from collected data is an alternative approach which is described for elasticity and inelasticity by Ibañez et al. [22]. With this technique, it is possible to strictly fulfill the 2nd law of thermodynamics, i. e., the thermodynamic consistency, by using the GENERIC paradigm (General Equation for Non-Equilibrium Reversible-Irreversible Coupling) during the construction of constitutive manifolds [23].

137Besides the previously mentioned techniques, there exist numerous data-based methods originating from the field of machine learning (ML). Probably, the most common technique is the application of artificial neural networks (ANNs), which have already been proposed in the early 90s by the pioneering work of Ghabussi et al. [24]. In the last decades, ANNs have been intensively used for mechanical material modeling and simulations by means of the finite element method (FEM), e. g., in [25,26,27,28,29] among others.

138However, in general, a large amount of data is required to train ANNs to serve as robust and accurate surrogate models for systems with complex underlying physics, e. g., constitutive models. In this context, a comparatively new branch of ML techniques related to constitutive modeling are approaches classified as physics-informed, physics-constrained [30,31], mechanics-informed [32] or hybrid models [33,34]. In these methods, essential physical principles and information are inserted into the ML-based model or parts of classical models are replaced with data-based methods, which leads to an improvement of the extrapolation capability and enables training with sparse data. In the case of ANNs, this can be achieved via the network architecture or by adapted training In the following, the term physics-informed does not directly refer to the PINN-approach (physics-informed neural network) according to Raissi et al. [35]. In a PINN, the searched solution field approximated by the ANN, e. g., displacement ( , ), is inserted into the governing partial differential equation (PDE) at collocation points. This expression is then added to the loss, so that the fulfillment of the PDE is enforced. In the context of constitutive modeling, however, the idea to enrich the ML approach with physical knowledge is applied in a similar way. algorithms. By choosing problem-specific invariant sets as the input variables, material symmetries are automatically satisfied for hyperelastic models [36,29,37]. Furthermore, the thermodynamic consistency can be fulfilled by choosing the free energy as the output quantity. In order to train the ANN with respect to the stresses, gradients of the output with respect to the input are inserted into the loss [38,36]. This technique is also named as Sobolev training in [39]. Furthermore, physical knowledge can be inserted via constraint training processes [40]. For the consideration of dissipative behavior, Masi et al. [41] proposed an adapted ANN architecture consisting of two feed forward neural networks (FNNs). Thereby, the first network is used to predict the evolution of internal variables and the second for approximating the free energy. Finally, the combination of classical models with data-based techniques is a further method to insert physical knowledge. Thereby, only parts of a model are replaced by data-based techniques, e. g., in plasticity models [33,34,42].

Data-based multiscale modeling and simulation

139In the context of multiscale problems, the mentioned databased methods can be used as surrogate models which replace the computationally expensive simulation of RVEs [43]. The high flexibility of trained networks with simultaneously excellent prediction qualities is thereby proven in numerous works: In [38] ANNs are used to describe the homogenized response of cubic lattice metamaterials exhibiting large deformations and buckling phenomena. Thereby, several types of hyperelastic ML-based models which fulfill basic physical requirements are used and compared to each other. Based on this, an extension to polyconvex hyperelastic models is given in [37]. In [44], FFNs and RNNs (recurrent neural networks) are used to replicate the homogenization of RVEs revealing inelastic behavior of the individual components. Thereby, also unknown paths can be predicted with the trained networks. Similarly, ANNs that replace the inelastic constitutive responses of composite materials sampled by RVE simulations are shown in [45]. Thereby, in addition, a deep reinforcement learning combinatorics game is used to automatically find an optimal set of network hyper-parameters from a decision tree. A data-driven multiscale framework called deep material network is shown in [46,47,48]. Thereby, the homogenized RVE response is reproduced by a network including a collection of connected mechanistic building blocks with analytical homogenization solutions. With that, a complex effective response could be described without the loss of essential physics. An extension of the deep material network approach to fully coupled thermomechanical multiscale simulations of composite materials is given in [49].

140Furthermore, ANNs can be used to link microstructural characteristics and effective properties. For example, in [50], an ML framework for predicting macroscopic yield as a function of crystallographic texture is described. An ML-based multiscale calibration of constitutive models representing the effective response of rate dependent composite materials is applied to brain white matter in [51]. Based on a library of calibrated parameters corresponding to a set of microstructural characteristics, an ML model which predicts the constitutive model parameters directly from a new microstructure is trained. Similarly, an ANN is trained to predict the elastic properties of short fiber reinforced plastics in [52]. Finally, the application of data-based techniques as surrogate models in decoupled multiscale schemes, which enable the simulation of macroscopic engineering components, is promising. In the pioneering work [53], a decoupled multiscale scheme using an ANN-based surrogate model has been shown for elastic composites with cubic microstructures. Another multiscale methodology is presented in [54]. Therein, a hybrid macroscopic surrogate model is used, i. e., a traditional constitutive model is combined with a data-driven correction. An ML-based multiscale framework for the simulation of the elastic response of metals having a polycrystalline microstructure is presented in [39]. Therein, the database is generated by using a 3D FFT (fast Fourier transform) solver. Based on this, [55,42] show an extension to elastoplasticity, whereby ANNs are used for the description of the yield surface and the stress within a hybrid modeling approach. Similarly, the simulation of the elastic-plastic deformation behavior of open-cell foam structures is shown in [33,34]. Thereby, a hybrid model including two ANNs is used as the macroscopic surrogate model. Therein, the first network serves for the description of the macroscale yield function and the second one for the prediction of the floating direction. In [49], two scale simulations of thermo-mechanical problems are solved by using deep material networks. Applying the modeling strategy initially proposed in [41], a multiscale scheme for the inelastic behavior of lattice material structures is described in [56]. An application of ANNs as surrogate models describing the anisotropic electrical response of graphene/polymer nanocomposites is shown in [57]. Furthermore, in [58], the application of recurrent neural networks (RNNs) as surrogate models within multiscale simulations of elastoplastic problems is shown. Furthermore, the RNN-based approach is compared to full FE 2 simulations. An application of RNN surrogate models to viscoplasticity is described in [59]. A combination of fully coupled FE 2 simulations with an adaptive switching to ANN-based surrogate models for the complex simulation of RVEs is shown in [60]. In addition, a multiscale framework based on the datadriven mechanics approach [17] is presented in [61] for the application to sand. Thereby, the necessary data set is extracted from lower scale simulations. In [62], a multi-level method is used within a data-driven multiscale scheme which is applied for the simulation of solid foam materials.

Content

141Within this contribution, an efficient data-driven multiscale approach called FE ANN , which makes use of physics-constrained ANNs as a macroscopic surrogate model, is presented. The approach allows to consider materials with complex microstructures leading to an overall anisotropic behavior, whereby a restriction to hyperelastic solids is made for now. The ANNbased surrogate model automatically fulfills several physical principles, e. g., objectivity, material symmetry, compatibility with the balance of angular momentum and the thermodynamic consistency. This is done by using a set of problem specific invariants as the input of the network and the Helmholtz free energy density as the output, cf. Linka et al. [36], Klein et al. [37] or Linden et al. [63], among others. The data which are used to train the ANN are collected via computational homogenization of an RVE representing the material's microstructure. Thereby, in contrast to most of the datadriven multiscale approaches from the literature, it is not necessary to explore all required macroscopic states of deformation which occur in the macroscopic simulation in advance. Instead, the required data, i. e., effective deformations and corresponding stresses, are determined by homogenization in a fully autonomous way within the framework by collecting the relevant deformations from the macroscopic FE simulation. This procedure is similar to the approach presented by Korzeniowski and Weinberg [62] which is based on the data-driven mechanics approach [17]. Here, in addition, the macroscopic deformations are mapped into an invariant space associated to the symmetry group of the considered material. In this space, the selection of relevant states is done so that the number of time-consuming microscale simulations can be reduced to a minimum. Moreover, it is not necessary to perform a rough scan of the relevant deformation area in advance here. The proposed framework is exemplarily applied to several descriptive examples, where a fiber reinforced composite with a highly nonlinear behavior of the individual components is considered.

142The organization of the paper is as follows: In Sect. 2, the basic equations of the finite strain continuum solid mechanics theory as well as basic principles of hyperelastic models are given. After this, the proposed data-driven multiscale framework is described in Sect. 3. This approach is exemplarily applied within several numerical examples in Sect. 4. After a discussion of the results, the paper is closed by concluding remarks and an outlook to necessary future work in Sect. 5.

Continuum solid mechanics

143In this section, the basic kinematic and stress quantities as well as general relations of anisotropic hyperelastic constitutive models are summarized shortly. The reader is referred to the textbooks of Haupt [64], Holzapfel [65] or Ogden [66] for a detailed overview. Furthermore, a Hill-type homogenization framework is introduced. For a clear mathematical notation, the space of tensors

144except for a tensor of rank zero, is used in the following. In Eq. (1), R 3 , N and ⊗ denote the Euclidean vector space, the set of natural numbers and the dyadic product, respectively. Tensors of rank one and two are given by boldface italic symbols in the following, i. e., ∈ L 1 or , ∈ L 2 . Furthermore, a single or double contraction of two tensors is given by · = ⊗ or : = , respectively. Thereby, ∈ L 1 denotes a Cartesian basis vector and the Einstein summation convention is used.

Kinematics and stress measures 2.1.1 Kinematics

145In the following, a material body C which occupies the reference configuration B 0 ⊂ R 3 at time 0 ∈ R ≥0 and the current configuration B ⊂ R 3 at time ∈ T := { ∈ R + | ≥ 0 } is considered. The displacement vector ∈ L 1 of a material point ∈ C capturing the positions ∈ B 0 at 0 and ∈ B at is given by ( , ) := ( , ) − . Therein, : B 0 × T → B , ( , ) ↦ → =: ( , ) denotes a bijective motion function which is postulated to be continuous in space and time. As further kinematic quantities, the deformation gradient ∈ L 2 and the Jacobian determinant ∈ R + are defined by the relations := (∇ ) T and := det > 0 .

146In the equation above, ∇ is the nabla-operator with respect to reference configuration B 0 . A deformation measure which is free of rigid body motions is given by the positive definite right Cauchy-Green deformation tensor := T · ∈ with the space of symmetric second order tensors := ∈ L 2 | = T . With that and by using Sylvesters formula, the spectral decomposition of follows to

147where 1 ∈ L 2 , ∈ R ≥0 and ∈ denote the identity tensor, the principal stretches and the projection tensors, respectively. The introduced symbol ∈ {1, 2, 3} indicates the algebraic multiplicity of . Furthermore, is defined as the Kronecker delta.

Stress measures

148Within the framework of nonlinear continuum solid mechanics, various stress measures can be defined. The symmetric Cauchy stress ∈ , also known as true stress, is defined with respect to the current configuration B. Furthermore, the 1st and 2nd Piola-Kirchhoff stress tensors ∈ L 2 and ∈ follow from the pull back operations

149Accordingly, is related to both, B and B 0 , whereas is completely defined with respect to B 0 .

General properties

150The constitutive behavior of the considered solids is restricted to hyperelasticity within this work. Accordingly, a hyperelastic potential which is equal to the Helmholtz free energy density function : L 2 → R + , ↦ → ( ) exists. By applying the procedure of Coleman and Noll [67], the relations

151then follow from the evaluation of the Clausius-Planck inequality [65]. With that, the thermodynamic consistency of any hyperelastic model is fulfilled a priori. In addition, there are some further requirements on , which ensure a physically reasonable constitutive behavior [65,66]. The normalization condition requires that (1) = 0, i. e., that the free energy vanishes in the undeformed state. Furthermore, the free energy should increase in any case if deformation appears: ( ) > 0 ∀ ≠ 1. The former two conditions imply that has a global minimum at = 1. Consequently, the undeformed state is stress-free, i. e., (1) = 0 holds. Additionally, the growth condition requires that an infinite amount of energy is needed to infinitely expand the volume or compress it to zero: ( ) → ∞ as ( → ∞ ∨ → 0 + ). Finally, the principle of material objectivity states that the free energy is invariant with respect to a superimposed rigid body motion. This statement is expressed by the relation ( ) = ( · ) which holds for all special orthogonal tensors

152Accordingly, the principle of material objectivity is automatically fulfilled if the tensor is used as the argument of instead of , i. e., :

153→ R + , ↦ → ( ), which is done in the following.

154Finally, polyconvexity of the energy , i. e., convexity with respect to , Cof := −T and det , is a further condition. This condition implies material stability, i. e., Legendre-Hadamard-Ellipticity, see Ebbing [68] for more details. However, polyconvexity is a quite strong requirement on the free energy.

Material symmetry

155Besides the previously mentioned requirements, the constitutive equations should also reflect the symmetry of the described material which is expressed by the principle of material symmetry [64,68]. According to that, the free energy have to be invariant with respect to all orthogonal transformations belonging to the symmetry group of the underlying material:

156In order to describe anisotropic constitutive behavior, the concept of structural tensors can be used [64,68]. Depending on the considered material, these tensors are of order two 1 , 2 , . . . , 2 ∈ L 2 , four M 1 , M 2 , . . . , M 4 ∈ L 4 , or even higher. They reflect the material's anisotropy and are thus invariant with respect to the symmetry transformations, e. g.,

157The notation * M means , where the Einstein summation convention is used. If the structural tensors are appended to the list of arguments of , the energy is an isotropic tensor function even if the material is anisotropic which means that

158holds for all ∈ . To abbreviate the notation, the sets

Preprint submitted to Springer arXiv

159Finally, a set I := ( 1 , 2 , . . . , ) ∈ R ×1 consisting of ∈ N irreducible scalar valued invariants ∈ R could be derived by using the Cayley-Hamilton theorem. Consequently, the free energy is expressed by the isotropic tensor function = ( 1 , 2 , . . . , ) which is invariant with respect to all transformations ∈ . By using the latter definition and applying the chain rule, the 2nd Piola-Kirchhoff stress follows to

160where ∈ denotes tensor generators corresponding to the invariants [29].

Special anisotropy classes

161Within this work, two anisotropy classes are considered, isotropic as well as transversely isotropic materials. Corresponding sets of irreducible invariants are given in the following.

162A set of irreducible invariants describing an isotropic hyperelastic solid is given by

163The used principal invariants are given by

164whereby the cofactor of is defined by Cof := 2 −1 .

165Note that I • is also expressible by the principal stretches which follows from Eq. (3):

166According to [64,65,68], the structural tensor describing transverse isotropy is given by the second order tensor = ⊗ , whereby ∈ L 1 with | | ≡ 1 is the fiber direction in the undeformed state. A set of irreducible invariants is thus I := ( 1 , 2 , 3 , 4 , 5 ) ∈ R 5×1 . Therein, the latter two invariants, which capture the material's anisotropy, are given by the expressions 4 := : and 5 :=

Scale transition scheme

167In the following, a distinction between two different scales, the micro-and the macroscale is made. The former is characterized by a heterogeneous structure consisting of matrix

168The Cayley-Hamilton theorem states that a second order tensor fulfills his own eigenvalue equation, e. g., 3 − 1 2 + 2 − 3 1 = 0, where 1 , 2 , 3 denote the principal invariants of , cf. Eq. (9). Consequently, any power with ≥ 3 as well as the inverse −1 are expressible in terms of 2 , and 1 [64].

169Note that the more common expression 2 = 1 2 (tr 2 −tr 2 ) is equivalent to 2 = tr(Cof ). Both expressions can be transformed into each other by using the Cayley-Hamilton theorem. length ℓ ∈ R + , whereas the second considers a macroscopic bodyB 0 ⊂ R 3 of characteristic lengthl ∈ R + and is assumed to be homogeneous. For the lengths introduced, the relationl ℓ known as scale separation must hold [3]. To label macroscopic quantities, they are marked by( •) in the following.

170In order to connect microscopic and macroscopic tensor quantities, an appropriate homogenization scheme is needed. Consequently, each macroscopic point¯∈B 0 gets assigned properties resulting from the behavior of the microstructure. For this purpose, a representative volume element (RVE) of the material is considered on the microscale in the vicinity of¯, cf. Fig. 1. An effective macroscopic quantity is then identified from the microscopic field distribution within the RVE by the volume average

171Using Eq. (12), the macroscopic deformation gradient and the 1st Piola-Kirchhoff stress are defined by¯:= and := , respectively [3,4,11]. Appropriate boundary conditions for the microscopic BVP, which has to be solved before the volume averaging can be performed, are deducible from the equivalence of the macroscopic and the averaged microscopic energies which is also known as the Hill-Mandel condition. For the considered finite strain setting it is given by the following relation [3,4,11]:

172where (•) denotes the material time derivative. Regarding purely hyperelastic behavior, the Hill-Mandel condition expresses the equality of the rates of the macroscopic and the averaged microscopic Helmholtz free energies: ¯= . Consequently, it holds¯= . To fulfill Eq. (13), several type of boundary conditions (BCs) can be used, whereby periodic BCs given by the spaces

173Preprint submitted to Springer arXiv are applied within this work [11]. In the equation above, = · is the nominal stress vector. Furthermore, (•) + and (•) − denote values on opposing boundaries of the RVE which is supposed to be periodic. The tilde( •) marks the fluctuation part of a microscopic tensor quantity.

174Based on the summarized continuum theory, the following section introduces the proposed data-driven multiscale scheme FE ANN . The general procedure of this framework is basically subdivided into five steps referred as After the framework is initiated with step (a), the steps (b)-(e) are executed within an overall loop which is given in Algorithm 1. Accordingly, the ANN is trained with the current data set D of the iteration ∈ N, the macroscale problem is solved, unknown macroscopic states of deformationā re detected, and the macroscopic stresses¯corresponding to the previously unknown deformations are generated via computational homogenization. The loop terminates in an iteration ≥ 1, after no further deformation states are found and the relevant space of deformation is thus completely sampled by D . In order to prevent that the macroscopic simulation does not reach the final time step goal -which could be occur due to a failed convergence of the ANN -but no new deformations are detected within ∈ { 0 , 1 , · · · , = end < goal }, a further inner repeat loop is implemented. Therein, the steps (b)-(d) are performed multiple times, until the final time step goal is reached or new states of deformation are found. A schematic representation of the framework is given in Fig. 2. The single steps are described in detail in the following.

175In order to enable a fully automatized utilization of the framework, a Python wrapper which runs on a high performance cluster (HPC) using the Batch-System SLURM (Simple Linux Utility for Resource Management) has been implemented. This wrapper processes the loop independently by starting the individual jobs and managing the results.

Initial data generation (a)

176To start with, an initial data set D 1 := { 1 T , 2 T , . . . , T } consisting of ∈ N data tuples T := (¯R VE ,¯R VE ) ∈ L 2 × L 2 is generated. Basically, a low number of tuples is sufficient to initiate the multiscale scheme. Suitable states of deformation are simple load cases as, e. g., uniaxial tension and equibiaxial tension

177where these load cases could be applied on the RVE in different directions. In the equations above,¯∈ R + and¯∈ R denote prescribed effective stretches and shears, respectively. The labeling with (−) means that the corresponding coordinate of the effective 1st Piola-Kirchhoff stress¯is prescribed to zero. The stresses¯R VE belonging to the deformations RVE are calculated from a computational homogenization according to Subsect. 2.3, whereby this is done by using an in house Matlab FE code. The periodic BCs are applied via the master node concept therein [69].

ANN-based macroscopic surrogate model

178Within the data-driven multiscale loop, an appropriate macroscopic surrogate model is needed. To this end, a physicsconstrained ANN model, which a priori fulfills several physical conditions, is used, compare Subsect. 2.2.

179Assuming that the macroscopic material symmetry group of the considered composite is known, and thus the structural tensors M 2 , M 4 corresponding to the material are available, the invariants¯(¯, M 2 , M 4 ) are determined first. These scalar values are mapped into a normalized domain, i. e.,

180:

181. . , } with respect to the training data set, and are arranged in a vector = (¯1,¯2, . . . ,¯) ∈ R ×1 . Thereafter, the free energy is predicted by an FNN with the normalized invariants¯serving as input values and¯as output. Restricting the network architecture to only one hidden layer containing neurons, it holds¯A

182Preprint submitted to Springer arXiv

183Thus, the surrogate model automatically fulfills several physical principles: thermodynamic consistency, objectivity and material symmetry. A graphical summary of the described surrogate model structure is given in Fig. 3.

184In order to fulfill additional physical conditions, it may be necessary to incorporate further non-independent invariants Note that a non-bounded activation function is necessary to fulfill the growth condition, i. e.,¯A NN (¯) → ∞ as (¯→ ∞ ∨¯→ 0 + ). Besides the Softplus activation function, further choices are possible, e. g., ELU or ReLu. However, in contrast to the Softplus function, they are not twice continuously differentiable. * into the argument list of¯A NN . In this case, Eqs. (18) and (20) are to be modified according tō ANN

185and

186where A := { 1 , . . . , }, = |A|, is a set containing the indices of the additional invariants¯ * . Accordingly, the growth condition can be additionally guaranteed for¯→ 0 + by including¯ * 3 := 1/¯3 as a further invariant and not only¯3 itself, where¯ * 3 is defined to be independent, i. e.,¯3¯ * 3 = 0. Thus, A = {3} in this case. However, in addition, further constraints have to be satisfied by the weights to ensure that the growth condition is fulfilled. As shown in Appendix A, a possible sufficient condition is given by

187Therein, the set N := {1, 2, , . . . , } contains the indices of the hidden layer neurons. In the work [37], the growth condition is fulfilled in a similar way by adding an additional energy term which is not directly included in¯A NN .

Training process of the ANN (b)

188The ANN-based model is trained with respect to the current data set D in each iteration of the multiscale loop, where a random division into training and test data is made.

189Within the training process, the weights and bias values , , , and * are then determined. In order to enable an adjustment of the ANN to the stress values, gradients of the output with respect to the input are inserted into the loss

190which is similar to [38,36,39]. The training is done by using the SLSQP optimizer (Sequential Least Squares Programming). Thereby, the ANN is trained several times, where the parameters of the best achieved training state are stored at the end [29]. An implementation of the described workflow is realized using Python, Tensorflow and SciPy. Within the training the constraint (23) can be switched on optionally. Finally, in order to fulfill the normalization condition, the bias value is chosen such that¯A NN = 0 within the initial (undeformed) state.

191Due to local minima within the loss function, the optimization procedure which is applied here depends on the starting values of the weights and biases. Thus, the network is trained several times to overcome this.

Implementation and macroscopic simulation (c)

192The model equation (18) has been implemented within the FE toolbox FEniCS [70,71]. Therein, the stress relation given by Eq. (20) and the material tangent

Autonomous data mining

193Besides the physics-constrained surrogate model, the core feature of the data-driven multiscale framework is the data mining process which is done in a fully automatic manner.

Data analysis (d)

194Within each iteration of the overall multiscale loop, the local deformation states of the macroscopic bodyB are collected. To this end, the deformation gradient¯is stored at each quadrature point of the FE mesh and at each time increment . Consequently, the body's full state of deformation is characterized by the set F macro := { 1¯m acro , 2¯m acro , . . . ,¯m acro } which is a subset of L 2 . Now, previously unknown deformations have to be detected, whereby it is meaningful to only consider states providing additional information for the material under observation. Since the intrinsic constitutive behavior of the material lives in the space of invariants I ⊂ R ( + )×1 , it is useful to perform a transformation into this space at this point [29]: are used, respectively. Thus, by making use of Eq. (26), the current data set D is compared to F macro within the invariant space. If a state which is contained in F macro is unique within a given tolerance tol,1 , it is needed to enrich the data set for the next multiscale iteration step + 1. Thereby, the set F macro is searched in an reverse manner, i. e., starting from the last time step end . If a unique state is identified in the step , the full time series¯( 0 ),¯( 1 ), . . . ,¯( ) with ≤ end is added to F new ⊂ L 2 . Thus, it is possible that deformation states in the set F new are multiple with respect to F new itself and/or D . To avoid that this unnecessarily inflates the training process, a Note that it is useful to save the time series of a new deformation state, i. e., all states¯( 0 , 1 , . . . , ) proceeding at a fixed quadrature point. This facilitates the application of the macroscopic deformation within the computational homogenization later on. Furthermore, an extension to path dependent materials requires this mandatory.

195Preprint submitted to Springer arXiv further filtering step is performed in the data enrichment step (e).

196By using the described technique for the identification of relevant macroscopic deformation states, it is possible to reduce the number of time consuming microscale simulations following in the next step to a minimum.

Data enrichment (e)

197After F new has been determined, it is necessary to identify the stresses belonging to the states¯m acro . This is done by applying these states within the RVE simulations and calculating the stresses by volume averaging. In order to use only one RVE and anyhow allow different microstructure orientations in the macroscopic body, a transformation of¯is necessary before. To this end, the relation¯(¯) =¯( ·¯· T ) with ∈ + , which holds for arbitrary material symmetry groups, is used. Thus, the collected state of deformation macro from the macroscopic sample is processed by the

Euclidean transformation

198The tuples T = (¯R VE ,¯R VE ) consisting of applied deformations and corresponding stresses are then collected in the set D RVE .

199As already mentioned above, it is possible that data tuples in the set D RVE are multiple with respect to D RVE itself and/or D . Thus, a further filtering step is performed, where multiple tuples are sorted out with respect to D and D RVE within a given tolerance tol,2 . To this end, a transformation to the invariant space is used again, see Subsect

Examples

200In order to demonstrate the ability of the developed datadriven multiscale approach FE ANN described in Sect. 3, it is applied to the solution of three numerical examples within this section. Specifically, three macroscopic structures -a cuboid with a circular hole, a torsional sample and the Cook membrane -are considered. All of them consist of a fiber reinforced composite revealing a highly nonlinear behavior of the individual phases.

Microscopic properties of the composite 4.1.1 Constitutive behavior

201The constitutive behavior of the composite's individual components, i. e., fibers and matrix, is described by a hyperelastic Ogden model [66]. It is given by the free energy density function where, , ∈ R and ∈ R + are model parameters. The symbol R + iso := −1/3 denotes the isochoric principal stretches following from the Flory split [72]:

202= vol · iso with iso = −1/3 and det iso ≡ 1 , (29) i. e., the multiplicative decomposition of into volumetric vol and isochoric iso parts. Note that the introduced material parameters are related to initial shear modulus init and Poisson's ratio init via the relations

203respectively. Furthermore, in order to guarantee a physically meaningful behavior, the parameters and have to be restricted by the following constraints: ( < −1 ∨ ≥ 2 and > 0) ∀ ∈ {1, 2, · · · O } [66]. The stress of the Ogden model is determined by using Eq. (5) and follows to

204The calculation of the projection tensors related to the right Cauchy-Green deformation tensor is given in Eq. (3).

205Within the following numerical examples, the material parameters given in Tab. 1 are chosen. With this choice, a highly nonlinear behavior of the matrix phase is achieved, cf. [29]. The parameters of the fibers are chosen in such a way, that a neo-Hookean model results. Note that the selected parameters are not related to a real material.

Microstructure and RVE definition

206Besides the constitutive behavior of the individual components, the geometric arrangement of the individual phases has to be defined. In order to choose a realistic microstructure, it Preprint submitted to Springer arXiv is characterized by a monodisperse stochastic arrangement of fibers with = 30 % volume fraction here. Furthermore, a minimum distance of := 0.4 with respect to the fiber radius = 10 µm is chosen. According to the homogenization concept, a suitable RVE which is sufficiently large to capture the essential statistic properties of the microstructure is needed. Herein, this condition is checked by applying the 2 -test proposed by Gittman et al. [73]. Thereby, randomly generated RVEs with fixed number of inclusions and volume fraction are generated. The effective response of these RVEs is then determined by a computational homogenization, whereby a specific load case is chosen depending on the property of interest, e. g., this could be a stress or a stiffness component. Based on these results, a statistical analysis is done by evaluating the scatter of by means of the quantity

207If the accuracy of is sufficient, i. e., 2 ≤ tol , the tested sample size is the final RVE size. Otherwise, the sample size have to be increased and the analysis will be repeated.

208The described 2 -test has been applied to the fiber reinforced material. Thereby, a tolerance of tol = 2.5 % and a number of = 10 RVEs for each RVE-class with inc inclusions have been chosen. As representative load cases, uniaxial tensions according to Eq. (16) 1 are applied into the 1 -, 2and the 3 -direction, i. e., perpendicular and parallel to the fiber orientation. Thereby, the stress into the tension direction is evaluated according to Eq. (32). The prescribed tolerance is finally reached for the RVE-class with inc = 100 fibers. The determined stress-stretch curves and the chosen RVE are depicted in Fig. 4 for the final RVE. Accordingly, a highly nonlinear and anisotropic effective response occurs.

209Generation and meshing of the periodic cells have been done by using the python tool gmshModel , whereby the placement of the fibers is realized via the random sequential adsorption (RSA) algorithm [74]. The RVEs were meshed by tetrahedron elements with 10 nodes. A total of 94,456 elements is reached for the final RVE with 100 fibers.

210It should be noted, that it is not sufficient to represent the microstructure of a fiber reinforced composite with an overall transversely isotropic behavior by a hexagonal unit cell if finite strains are considered. This is due to the loss of the material symmetry which results from the deformation of the RVE cell, cf. Appendix B.

211The python tool gmshModel is freely accessible under https:// gmshmodel.readthedocs.io/en/latest/.

Application of the data-driven multiscale framework for the simulation of macroscopic samples

212After the definition of the composite's microscopic properties, the data-driven framework FE ANN is applied for the simulation of several multiscale problems. The macroscopic geometries and applied BCs are depicted in Fig. 5.

213In all examples, the following specifications and meta parameters have been used: The effective transversely isotropic behavior, which results from the RVE homogenization, is described by using the setĪ := (¯1,¯2,¯3,¯4,¯5,¯ * 3 ) ∈ R 6×1 consisting of six invariants, cf. Subsect. 2.2.3. As discussed in Subsect. 3.2, the non-independent invariant¯ * 3 = 1/¯3 is added to allow the growth condition to be satisfied by construction of the network architecture. As already mentioned, this requires additional constraints for the weights, e. g., Eq. (23). However, training under these constraints results in noticeably worse stress predictions. Thus, in order to achieve maximum prediction quality, the constraints were not considered within the training here. The adapted architecture is nevertheless used to allow a better comparability to the same network architecture trained with the constraint, see the study in Appendix A. The ANNs used as the surrogate model consist of only one hidden layer with 15 neurons which has been shown to be sufficiently accurate, where the networks are trained 25 times in each macroscopic iteration. For comparison see the study given in [29].

214As shown in Fig. 4(b), the fiber orientation of the RVE is given by RVE = 3 , where 3 is the Cartesian base vector. In order to transform deformation states for the general case macro ≠ RVE by using Eq. (27), Rodrigues' rotation formula

215is applied to determine . Therein, := macro × RVE is the unit normal vector and := ( macro , RVE ) the angle between the fiber directions. Finally, the tolerance for the detection of unique deformation states within the invariant space I is set to tol,1 = 5 %. The tolerance for the filtering step is set to tol,2 = 1 %, cf. Subsects. 3.3.1 and 3.3.2.

Cuboid under tension

216As a first example, a cuboid with a circular hole is loaded by tension. To this end, a displacement ofˆ= 0.4¯1 is prescribed at the top surface, where¯1 is the initial length in 1 -direction. The fiber orientation is chosen to macro = 1 . The cuboid's geometric dimensions are specified by¯1 ׯ2 ׯ3 = (100 × 100 × 25) mm. The hole in the center has a radius of 30 mm.

Preprint submitted to Springer arXiv

217x 1

218x 2φ

219A macro Preprint submitted to Springer arXiv Table 2: Load cases for the generation of the initial data. The effective deformations¯R VE are prescribed according to Eqs. (16) and (17).

220Load case¯m ax¯min¯max directions Uniaxial tension

221Multiscale iterations The single iterations within the loop are described for the multiscale simulation of the cuboid in the following.

222To start the algorithm, the initial data have to be generated first, cf. Subsect. 3.1 step (a). Here, a total number of 18 load cases -six uniaxial tension and compression, six equibiaxial tension and compression as well as six simple shear states -are prescribed to the fiber reinforced RVE. Different loading directions are considered to collect knowledge about the composite's overall anisotropy. The applied stretches and shears as well as the directions are given in Tab. 2. In order to avoid that data providing the same physical information are contained multiple times, a filtering process is applied in the invariant space I . Within I , the collected states cover only a sparse region which is pervaded by a few paths consisting of 193 tuples T . This is shown in Fig. 6, where the set is exemplarily visualized in the sectional planes¯1-¯3 and¯1-¯5. However, due to the physical knowledge which is incorporated into the ANN-based macroscopic surrogate model, this sparse data set is sufficient to initiate the multiscale scheme. Now, the algorithm enters the multiscale loop with iteration 1 and the initial data set is labeled as D 1 . It is used to train the physics-constrained ANN which is afterwards utilized as the RVE surrogate model within the macroscopic simulation, cf. Subsect. 3.2 steps (b) and (c). Note that the prediction of the sample's macroscopic fields, i. e., displacement¯( , ), deformation¯( , ), stress¯( , ), etc., is only an initial guess in this first iteration. This is due to the fact that the ANN does not know the occurring stress-deformation states for the most part at this point. However, it is still sufficient to identify new deformation states. As described in Subsect. 3.3.1, this is done by transforming the sample's deformation states, collected into the set F macro 1 , into the invariant space I and to identify unique states by a comparison to D 1 . As already mentioned, the full time series¯( 0 ),¯( 1 ), . . . ,¯( ) with ≤ end is added to F new if a unique state is identified in the step . These deformation paths are prescribed in the RVE Due to the material symmetry (transverse isotropy), several loadings are equivalent from the point of the material, e. g., uniaxial tension in 1 -or 1 193 495 1 2 688 9 12/15 3 697 60 1 4 757 13 1 5 770 0 1 simulation and the corresponding stresses¯are determined. After the subsequent filtering process with the tolerance tol,2 , a total number of 495 unique tuples is identified. They are given in Fig. 6. In iteration 2, the new information are used to enrich the data set D 2 = D 1 ∪ D new 1 . This set is used to train the ANN which is then applied for the prediction of the sample's macroscopic fields. As shown in Fig. 6, only a low number of new tuples is now detected from F macro 2 . This is due to the fact that the macroscopic simulation terminates already in time step end = 12 < goal , cf. Tab. 3.

223However, using these new data, the prediction of the macroscopic simulation in the subsequent 3rd iteration yields that the sample's deformation field maps to a new region within I which consists of 60 tuples. The described process -consisting of the steps training process, macroscopic simulation, data analysis and data enrichment -is repeated until no further unique data are found which is the case in iteration 5. Note that an overlap of tuples from D and D new is possible, since a state is already unique if it deviates only in one of the six relevant invariants. Thus, an intersection in the depicted sectional planes may occur.

224In advance, the macroscopic sample's states F macro 5 → D macro 5 mapped to I and the data set D 5 of iteration 5 are depicted within the full invariant space in Fig. 7. It becomes apparent, that D 5 \ D 1 contains tuples which are not included into F macro 5 . Thus, as described above, the predictions of iteration 1-4 are only necessary to gradually approach the correct result of the macroscopic simulation. However, due to the fact that the collected deformations are prescribed within the RVE simulations to determine the corresponding stresses, no defective information could enter the data set.

225The stress predictions of the ANN for all tuples in D 5 are compared to the reference values of the RVE simulations in Fig. 8(a). As shown there, an almost perfect prediction occurs for both, training and test data. A single loading path and the corresponding deformed RVE at time goal are depicted in Fig. 9 exemplarily.

226Validation In order to demonstrate the quality of the developed FE ANN approach, the full deformation space of the cuboid is analyzed and the single states are applied to the RVE simulation, respectively. To this end, the symmetric right Cauchy-Green deformation tensors¯are calculated from The unknown states are prescribed within RVE simulations to get the corresponding stress values. These stresses are then compared to the predictions of the ANN which has been trained by D 5 . As shown in Fig. 8(b), an almost perfect prediction is observed also for these states. Consequently, the proposed FE ANN approach has shown to be highly accurate.

227Furthermore, in order to demonstrate that the chosen tolerance tol,1 = 5 % within the multiscale loop is sufficient, the achieved macroscopic solution is compared to a solution in which this tolerance is prescribed to 2.5 %. As shown in Fig. 11, a relative error of below 2 % with respect to the reference solution occurs for the stress¯1 1

228In want of a fully coupled FE 2 implementation, this comparison is used.

Iteration 1

229Initial data New data D new 1 of iteration 1 Figure 12: Sampling of the invariant space I within the simulation of the torsional sample. The initial data set contains the load cases given in Tab. 2 and the data collected from the cuboid simulation.

230The multiscale scheme was terminated in iteration 2. Exemplarily, the sectional planes¯1-¯3 and¯1-¯4 are depicted.

Torsional sample

231After the detailed description of the multiscale loop within the solution process of the cuboid geometry, a further example is considered. Now, the FE ANN scheme is applied to the solution of a torsional sample with a circular hole given in Fig. 5(b). Accordingly, the fiber direction of the macro sample is chosen as macro = 2 in this example. Nevertheless, due to the applied transformation given by Eq. (27), the same RVE with RVE = 3 is used. The torsional sample is loaded by specifying a distortion ofˆ= 45 • around the 1 -axis. The sample's geometric dimensions are specified by¯1 ׯ2 × 3 = (200 × 100 × 100) mm. The hole in the center has a radius of 40 mm.

232In order to minimize the computational effort, the scheme is initiated by using the collected data set D 5 from the previous example as the initial data. In this way, a knowledge base is created for a specific material under consideration, which can be used for further simulations and, at the same time, can be continuously expanded.

233The multiscale loop now terminates after only 2 iterations which is due to the described initiation with the available data set. As shown exemplarily for the sectional planes¯1-¯3 and¯1-5 in Fig. 12, a wide range of relevant states is already covered by the states extracted from the cuboid simulation. Thus, the advantage of a transformation into the invariant space becomes again very clear. Although the deformation of the cuboid tensile specimen and torsional specimen is very different in the¯-space, both overlap clearly in invariant space which is in accordance to [29]. Caused from the geometry and the anisotropic nonlinear elastic behavior, a complex deformation of the macroscopic sample occurs, cf. the surface plot of¯1 2 on the deformed geometry in Fig. 13.

Cook's membrane

234Finally, as a last example, Cook's membrane is simulated by using the developed data-driven multiscale scheme. Thereby, the fiber direction within the membrane is prescribed to macro = ( 1 + 3 )/ √ 2. To initiate the scheme, the data set from the previous example is used, where this set also contains data collected within the first example. Again, a fast convergence of the multiscale loop is achieved after only 2 overall iterations. As shown exemplarily for the sectional planes¯1-¯3 and¯1-¯5 in Fig. 14, a wide range of relevant states is already covered by the states extracted from the cuboid and the torsional sample simulations. Thus, as already mentioned, the advantage of a transformation into the invariant space is underpinned. Although the deformation of the cuboid tensile specimen, the torsional specimen and the Cook membrane are very different in the¯-space, they overlap clearly in invariant space. The deformed macroscopic states with the right Cauchy-Green deformation¯1 1 are depicted in Fig. 15 for the time steps 10

Iteration 1

235Initial data New data D new 1 of iteration 1 Figure 14: Sampling of the invariant space I within the simulation of the Cook's membrane. The initial data set contains the load cases given in Tab. 2 as well as the data collected from the cuboid and the torsional sample simulation. The multiscale scheme was terminated in iteration 2. Exemplarily, the sectional planes¯1-¯3 and¯1-¯4 are depicted.

236Preprint submitted to Springer arXiv deformation of the Cook membrane occurs. This effect results from the coupling between shear and tension which is a well known effect of fiber reinforced materials. Although a relatively complex response behavior occurs here, the multiscale problem can be solved quickly and without further human supervision even in this example.

Conclusions

237In this work, a novel data-driven multiscale approach called FE ANN is presented. It is based on physics-constrained ANNs which are used as highly efficient surrogate models and an unsupervised data mining process. The approach allows the efficient simulation of materials with complex underlying microstructures which reveal an overall anisotropic and nonlinear elastic behavior on the macroscale, e. g., composites, architectured materials with pronounced microstructure or foams. The framework has been implemented in such a way, that it is usable on a HPC cluster based on the Batch-System SLURM. Starting from basic kinematics and stress measure definitions, a short revision of anisotropic hyperelastic constitutive models at finite strains is given. Furthermore, a Hill-type homogenization framework is described in brief. Based on this theoretical basis, the developed data-driven multiscale scheme is illustrated in detail. This includes the general procedure and a description of the single steps: initial data generation (a), training process of the ANN (b), macroscopic simulation (c), data analysis (d) and data enrichment (e). Afterwards, the approach is exemplarily applied to the solution of three demonstrative examples, a cuboid under tension, a torsional sample and the Cook membrane. Thereby, the considered macroscopic bodies consist of a fiber reinforced composite revealing a highly nonlinear behavior of the individual phases. Due to the incorporation of physical knowledge into the ANNbased surrogate model, only a small number of computationally expensive RVE simulations was needed to solve the considered macroscopic problems. Furthermore, a rather high accuracy of the surrogate model has been shown within a validation.

238Altogether, the presented data-driven approach has shown to be an efficient tool for the solution of complex multiscale problems at finite strains. Due to the implemented unsupervised data mining, it is universally applicable to various macroscopic geometries and BCs. In order to extend the scheme's application area, several extensions have to be made in the future. For instance, an extension to further material symmetry groups [68] have to be made by integrating appropriate invariant sets into the implementation. Finally, an extension to dissipative constitutive behavior [41,56,55] is needed. with , * 3 ∈ R + respectively. Starting from Eq. (37) to analyze the case¯→ 0 + , it follows lim →0 +¯A

239Using Eq. (40) and supposing that it exists at least one * 3 > 0, one finds that

240where : R → {0, 1} denotes the Heaviside step function. Thereby, it has been utilized that the values and , are finite and are negligible with respect to¯ * 3 . Consequently, it holds

241In the same way, supposing that it exists at least one 3 > 0, it holds

242Consequently, similar to Eq. (43), it holds

243Note that for the case¯→ ∞, the other invariants which also tend towards infinity have no influence, since¯3 is the leading term. The above two conditions given in Eqs. (43) and (45) together constitute a sufficient condition for the growth condition to be satisfied. However, an easy to implement condition which is also sufficient but more restrictive is given by Eq. (36). As one can see, it is included in the conditions * 3 > 0 ∧ 3 > 0.

A.2 Comparison of an adapted network and a network neglecting the growth condition

244Here, the network which is used in the examples discussed within Sect. 4 is compared to an adapted network which, in contrast to the other network, fulfills the growth condition. To this end, the prediction quality for the data set containing relevant deformation states of the cuboid, the torsional sample and the Cook's membrane is analyzed for both ANNs. Thereby, the constraint (36) has been taken into account within the training of the second network.

245The stresses predicted by the networks and the reference stresses obtained from RVE simulations are given in Fig. 16(a) and (b). As one can see, the prediction quality is very good for both ANNs. However, regarding the zoom plots, a noticeable difference between both networks becomes apparent. Accordingly, the prediction quality of the adapted network which fulfills the growth condition is declined compared to the network with no further constraints on the weights. This is underlined by a comparison of the maximum relative erros within the stress components given in Tab. 4. Note that the comparatively large maximum error in¯1 3 results from the small stresses within these component.

B Comparison of hexagonal unit cells and random cells

246In this appended section, the effective stress-strain response of a fiber reinforced composite represented by two different microstructures, an ideal hexagonal and a random distribution, are compared to each other. The first microstructure is thus Preprint submitted to Springer arXiv

Transverse stretches

247Tension in x 1 -direction Tension in x 2 -direction x 1

248x 2

249x 3

250x 1 represented by a unit cell, whereas the second one consists of 100 fibers to capture for statistical effects. The fiber orientation points in the 3 -direction for both. Exemplarily, a uniaxial tension into the 1 -and the 2 -direction, i. e., perpendicular to the fiber orientation, are considered, where a maximum stretch of¯= 2 is applied. In Fig. 17(a) and (b), the stress-stretch curves and the transverse stretch¯⊥ are depicted for the hexagonal unit cell. Thereby,¯⊥, which follows due to lateral contraction, is measured in the 2 -or 1 -direction, respectively. Since in the undeformed state all fibers have the same distance in the 1 -2 -plane, the curves in the initial region are nearly equivalent. However, as the deformation of the RVE increases, the curves deviate more and more from each other. This is due to the fact that the arrangement of the microstructure changes significantly as a result of the deformation which could be termed a deformation induced anisotropy. Regarding the deformed microstructure for tension in the 1 -direction, it no longer corresponds to the arrangement in the case of tension in the 2 -direction (rotated by 90 degrees), cf. Fig. 17(c). Thus, in summary, the material loses the property of transverse isotropy if finite deformations occur.

251Compared to this, the same uniaxial loadings are depicted in Fig. 18(a) and (b) for the cell with a random fiber distribution. As one can see there, the curves lie on top of each other over the complete range of stretch¯∈ [1,2]. Thus, in contrast to the hexagonal unit cell, a transversely isotropic effective behavior -which is expected for a fiber reinforced compositeresults even for finite strains, whereby the 1 -2 -plane is the isotropy plane. In order to simulate the overall behavior of a realistic fiber reinforced composite, the usage of a statistical RVE is thus mandatory for finite strains.

252Tension in x 1 -direction

253Tension in x 2 -direction x 1

254x 2

255x 3

256x 1

257x 2 -tension x 1 -tension

참고문헌 84건

  1. Multi-Scale Modelling and Simulation of Textile Reinforced Materials Springer eBooks · Springer Nature · 2008 10.1007/1-4020-5370-3_510
  2. Nonlinear Solid Mechanics: A Continuum Approach for Engineering 2000
  3. Computational homogenization of nonlinear elastic materials using neural networks International Journal for Numerical Methods in Engineering · Wiley · 2015 10.1002/nme.4953
  4. FE2 multiscale approach for modelling the elastoviscoplastic behaviour of long fibre SiC/Ti composite materials Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2000 10.1016/s0045-7825(99)00224-8
  5. Representative volume: Existence and size determination Engineering Fracture Mechanics · Elsevier BV · 2006 10.1016/j.engfracmech.2006.12.021
  6. Knowledge‐Based Modeling of Material Behavior with Neural Networks Journal of Engineering Mechanics · American Society of Civil Engineers · 1991 10.1061/(asce)0733-9399(1991)117:1(132)
  7. A method of two-scale analysis with micro-macro decoupling scheme: application to hyperelastic composite materials Computational Mechanics · Springer Science+Business Media · 2013 10.1007/s00466-013-0872-5
  8. Computational micro-to-macro transitions of discretized microstructures undergoing small strains Archive of Applied Mechanics · Springer Science+Business Media · 2002 10.1007/s00419-002-0212-2
  9. Thermodynamic relations for high elastic materials Transactions of the Faraday Society · Royal Society of Chemistry · 1961 10.1039/tf9615700829
  10. Numerical implementation of a neural network based material model in finite element analysis International Journal for Numerical Methods in Engineering · Wiley · 2004 10.1002/nme.905
  11. Algorithmic two-scale transition for magneto-electro-mechanically coupled problems Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2015 10.1016/j.cma.2015.10.005
  12. Data-driven computational mechanics Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2016 10.1016/j.cma.2016.02.001
  13. Plasticity and Beyond Courses and lectures · Springer Vienna · 2013 10.1007/978-3-7091-1625-8
  14. Random Heterogeneous Materials Interdisciplinary applied mathematics · Springer Nature · 2002 10.1007/978-1-4757-6355-3
  15. A Manifold Learning Approach to Data-Driven Computational Elasticity and Inelasticity Archives of Computational Methods in Engineering · Springer Science+Business Media · 2016 10.1007/s11831-016-9197-9
  16. Numerical characterisation of uncured elastomers by a neural network based approach Computers & Structures · Elsevier BV · 2017 10.1016/j.compstruc.2016.12.012
  17. Computational and analytical investigations of shape effects in the experimental characterization of magnetorheological elastomers International Journal of Solids and Structures · Elsevier BV · 2017 10.1016/j.ijsolstr.2017.04.012
  18. Data Driven Computing with noisy material data sets Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2017 10.1016/j.cma.2017.07.039
  19. A data-driven approach to nonlinear elasticity Computers & Structures · Elsevier BV · 2017 10.1016/j.compstruc.2017.07.031
  20. Thermodynamically consistent data-driven computational mechanics Continuum Mechanics and Thermodynamics · Springer Science+Business Media · 2018 10.1007/s00161-018-0677-z
  21. Numerical simulation of dynamic failure behavior for cylindrical carbon fiber reinforced polymer Composite Structures · Elsevier BV · 2018 10.1016/j.compstruct.2018.06.075
  22. Artificial neural networks and intelligent finite elements in non-linear structural mechanics Thin-Walled Structures · Elsevier BV · 2018 10.1016/j.tws.2018.06.035
  23. 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
  24. Model-Free Data-Driven inelasticity Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2019 10.1016/j.cma.2019.02.016
  25. A data-driven computational homogenization method based on neural networks for the nonlinear anisotropic electrical response of graphene/polymer nanocomposites Computational Mechanics · Springer Science+Business Media · 2018 10.1007/s00466-018-1643-0
  26. 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
  27. Exploring the 3D architectures of deep material network in data-driven multiscale mechanics Journal of the Mechanics and Physics of Solids · Elsevier BV · 2019 10.1016/j.jmps.2019.03.004
  28. On-the-Fly Adaptivity for Nonlinear Twoscale Simulations Using Artificial Neural Networks and Reduced Order Modeling Frontiers in Materials · Frontiers Media · 2019 10.3389/fmats.2019.00075
  29. A Review of the Application of Machine Learning and Data Mining Approaches in Continuum Materials Mechanics Frontiers in Materials · Frontiers Media · 2019 10.3389/fmats.2019.00110
  30. Computational Homogenization of Heterogeneous Materials with Finite Elements Solid mechanics and its applications · Springer Nature (Netherlands) · 2019 10.1007/978-3-030-18383-7
  31. 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
  32. Finite thermo‐elastic decoupled two‐scale analysis International Journal for Numerical Methods in Engineering · Wiley · 2019 10.1002/nme.6212
  33. A hybrid approach to simulate the homogenized irreversible elastic–plastic deformations and damage of foams by neural networks International Journal of Plasticity · Elsevier BV · 2019 10.1016/j.ijplas.2019.11.003
  34. Data-driven modeling and learning in science and engineering Comptes Rendus Mécanique · Elsevier BV · 2019 10.1016/j.crme.2019.11.009
  35. Geometric deep learning for computational mechanics Part I: anisotropic hyperelasticity Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.113299
  36. A macroscopic model for magnetorheological elastomers based on microscopic simulations International Journal of Solids and Structures · Elsevier BV · 2020 10.1016/j.ijsolstr.2020.02.028
  37. On the micromechanics of deep material networks Journal of the Mechanics and Physics of Solids · Elsevier BV · 2020 10.1016/j.jmps.2020.103984
  38. 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
  39. Data-driven fracture mechanics Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.113390
  40. A neural network constitutive model for hyperelasticity based on molecular dynamics simulations International Journal for Numerical Methods in Engineering · Wiley · 2020 10.1002/nme.6459
  41. 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
  42. A decoupling scheme for two‐scale finite thermoviscoelasticity with thermal and cure‐induced deformations International Journal for Numerical Methods in Engineering · Wiley · 2020 10.1002/nme.6575
  43. On-the-Fly Adaptivity for Nonlinear Twoscale Simulations Using Artificial Neural Networks and Reduced Order Modeling Frontiers in Materials · Frontiers Media · 2019 10.3389/fmats.2019.00075
  44. Data-Driven multiscale modeling in mechanics Journal of the Mechanics and Physics of Solids · Elsevier BV · 2020 10.1016/j.jmps.2020.104239
  45. Constitutive artificial neural networks: A fast and general approach to predictive data-driven constitutive modeling by deep learning Journal of Computational Physics · Elsevier BV · 2020 10.1016/j.jcp.2020.110010
  46. Anisotropic hyperelastic constitutive models for finite deformations combining material theory and data-driven approaches with application to cubic lattice metamaterials Computational Mechanics · Springer Science+Business Media · 2020 10.1007/s00466-020-01954-7
  47. Multiscale modeling and simulation of magneto-active elastomers based on experimental data Physical Sciences Reviews · De Gruyter · 2020 10.1515/psr-2020-0012
  48. Multiscale computation on feedforward neural network and recurrent neural network Frontiers of Structural and Civil Engineering · Higher Education Press · 2020 10.1007/s11709-020-0691-7
  49. An efficient monolithic solution scheme for FE2 problems Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.113886
  50. Prediction of Short Fiber Composite Properties by an Artificial Neural Network Trained on an RVE Database Fibers · Multidisciplinary Digital Publishing Institute · 2021 10.3390/fib9020008
  51. 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
  52. DNN2: A hyper-parameter reinforcement learning game for self-design of neural network based elasto-plastic constitutive descriptions Computers & Structures · Elsevier BV · 2021 10.1016/j.compstruc.2021.106505
  53. 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
  54. Machine learning based multiscale calibration of mesoscopic constitutive models for composite materials: application to brain white matter Computational Mechanics · Springer Science+Business Media · 2021 10.1007/s00466-021-02009-1
  55. Local approximate Gaussian process regression for data-driven constitutive models: development and comparison with neural networks Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.114217
  56. Direct FE2 for simulating strain-rate dependent compressive failure of cylindrical CFRP Composites Part C Open Access · Elsevier BV · 2021 10.1016/j.jcomc.2021.100165
  57. Data-driven modeling of the mechanical behavior of anisotropic soft biological tissue Engineering With Computers · Springer Science+Business Media · 2022 10.1007/s00366-022-01733-3
  58. Constrained neural network training and its application to hyperelastic material modeling Computational Mechanics · Springer Science+Business Media · 2021 10.1007/s00466-021-02064-8
  59. 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
  60. Numerical simulation for deformation of laminates combining the novel shell element with the decoupled two-scale viscoelastic analysis of FRP International Journal of Solids and Structures · Elsevier BV · 2021 10.1016/j.ijsolstr.2021.111236
  61. On physics-informed data-driven isotropic and anisotropic constitutive models through probabilistic machine learning and space-filling sampling Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.114915
  62. Automated constitutive modeling of isotropic hyperelasticity based on artificial neural networks Computational Mechanics · Springer Science+Business Media · 2021 10.1007/s00466-021-02090-6
  63. Component-based machine learning paradigm for discovering rate-dependent and pressure-sensitive level-set plasticity models Journal of Applied Mechanics · ASM International · 2021 10.1115/1.4052684
  64. On the importance of self-consistency in recurrent neural network models representing elasto-plastic solids Journal of the Mechanics and Physics of Solids · Elsevier BV · 2021 10.1016/j.jmps.2021.104697
  65. A constitutive macroscale model for compressible magneto-active polymers based on computational homogenization data: Part I — Magnetic linear regime International Journal of Solids and Structures · Elsevier BV · 2021 10.1016/j.ijsolstr.2021.111294
  66. Polyconvex anisotropic hyperelasticity with neural networks Journal of the Mechanics and Physics of Solids · Elsevier BV · 2021 10.1016/j.jmps.2021.104703
  67. A Hybrid Approach Employing Neural Networks to Simulate the Elasto−Plastic Deformation Behavior of 3D‐Foam Structures Advanced Engineering Materials · Wiley · 2021 10.1002/adem.202100641
  68. Thermodynamically consistent constitutive modeling of isotropic hyperelasticity based on artificial neural networks PAMM · Wiley · 2021 10.1002/pamm.202100144
  69. An FE-DMN method for the multiscale analysis of thermomechanical composites Computational Mechanics · Springer Science+Business Media · 2022 10.1007/s00466-021-02131-0
  70. Continuum Mechanics and Theory of Materials Advanced texts in physics · Springer Nature · 2000 10.1007/978-3-662-04109-3
  71. A Mechanics-Informed Artificial Neural Network Approach in Data-Driven Constitutive Modeling AIAA SCITECH 2022 Forum · 2022 10.2514/6.2022-0100
  72. Molecular dynamics inferred transfer learning models for finite‐strain hyperelasticity of monoclinic crystals: Sobolev training and validations against physical constraints International Journal for Numerical Methods in Engineering · Wiley · 2022 10.1002/nme.6992
  73. Machine-learning convex and texture-dependent macroscopic yield from crystal plasticity simulations Materialia · Elsevier BV · 2022 10.1016/j.mtla.2022.101446
  74. Thermodynamically consistent machine-learned internal state variable approach for data-driven modeling of path-dependent materials Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.115348
  75. Model-free data-driven simulation of inelastic materials using structured data sets, tangent space information and transition rules Computational Mechanics · Springer Science+Business Media · 2022 10.1007/s00466-022-02174-x
  76. Automated Solution of Differential Equations by the Finite Element Method Lecture notes in computational science and engineering · Springer Nature · 2012 10.1007/978-3-642-23099-8
  77. The thermodynamics of elastic materials with heat conduction and viscosity Archive for Rational Mechanics and Analysis · Springer Science+Business Media · 1963 10.1007/bf01262690
  78. NN-EUCLID: Deep-learning hyperelasticity without stress data Journal of the Mechanics and Physics of Solids · Elsevier BV · 2022 10.1016/j.jmps.2022.105076
  79. 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
  80. Data-driven tissue mechanics with polyconvex neural ordinary differential equations Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.115248
  81. A concept for data-driven computational mechanics in the presence of polymorphic uncertain properties Engineering Structures · Elsevier BV · 2022 10.1016/j.engstruct.2022.114672
  82. Non-linear elastic deformations Engineering Analysis · Elsevier BV · 1984 10.1016/0264-682x(84)90061-3
  83. Learning hyperelastic anisotropy from data via a tensor basis neural network Journal of the Mechanics and Physics of Solids · Elsevier BV · 2022 10.1016/j.jmps.2022.105022
  84. Finite electro-elasticity with physics-augmented neural networks Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.115501