Data-driven computational mechanics: comparison of model-free and model-based methods in constitutive modeling
간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (9) 타이어코드(10) 아라미드(21) 에폭시수지
기본 정보
- 저자
- DOI
- 10.1007/s00419-024-02664-9
- 저널
- Archive of Applied Mechanics
- 발행년도
- 2024
- 발행기관
- Springer Science+Business Media
- 피인용수
- 11
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1007/s00419-024-02664-9
- 토픽
- Composite Material Mechanics
- OpenAlex ID
- W4401669359
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 엔지니어링 플라스틱 · (23) 컴파운드
- 부 분야
- (9) 타이어코드, (10) 아라미드, (21) 에폭시수지
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- constitutive modeling, data-driven computational mechanics, neural network, anisotropic nonlinear elastic, finite element method
- 판단 근거
- 이 논문은 데이터 기반의 구성 방정식(constitutive modeling) 및 신경망을 이용한 재료 거동 예측 모델링 기법을 다루고 있습니다. 이는 코오롱인더스트리의 복합소재(컴파운드), 타이어코드, 아라미드 등 이방성 및 비선형 거동을 가진 고분자/복합재료의 물성 설계 및 구조 해석 시뮬레이션 효율을 높이는 데 간접적으로 활용될 수 있습니다.
- R&D 활용 포인트
- 고강도 섬유나 엔지니어링 플라스틱 컴파운드의 복잡한 비선형/이방성 물성을 실험 데이터 기반의 AI 모델로 구축하여, 제품 설계 단계에서 FEM(유한요소해석) 시뮬레이션의 정확도와 속도를 개선하는 데 활용 가능합니다.
- 평가 입력
- 섹션 본문 82,702자 중 30,032자 발췌
초록
본문 86,065자
본문 펼치기
섹션 본문 155문단 · 81,488자
(제목 없음)
1In computational homogenization approaches, data-driven methods entail advantages due to their ability to capture complex behavior without assuming a specific material model.Within this domain, constitutive model-based and model-free data-driven methods are distinguished.The former employ artificial neural networks as models to approximate a constitutive relation, whereas the latter directly incorporate stress-strain data in the analysis.Neural network-based constitutive descriptions are one of the most widely used datadriven approaches in computational mechanics.In contrast, distance-minimizing data-driven computational mechanics enables substituting the material modeling step entirely by iteratively obtaining a physically consistent solution close to the material behavior represented by the data.The maximum entropy data-driven solver is a generalization of this method, providing increased robustness concerning outliers in the underlying data set.Additionally, a tensor voting enhancement based on incorporating locally linear tangent spaces enables interpolating in regions of sparse sampling.In this contribution, a comparison of neural network-based constitutive models and data-driven computational mechanics is made.General differences between machine learning, distance minimizing, and entropy maximizing data-driven methods are explored.These include the pre-processing of data and the required computational effort for optimization as well as evaluation.Numerical examples with synthetically generated datasets obtained by numerical material tests are employed to demonstrate the capabilities of the investigated methods.An anisotropic nonlinear elastic constitutive law is chosen for the investigation.The resulting constitutive representations are then applied in structural simulations.Thereby, differences in the solution procedure as well as use-case accuracy of the methods are investigated.
Objective and scope
2Understanding and optimizing the load-bearing behavior of composites, which have significant advantages over their constituent materials, is a vital engineering task.When it comes to the application of such materials within a structure, it is crucial to consider the interactions of the constituents for optimal performance.Usually, such investigations are performed numerically by utilization of the finite element method (FEM).Numerical homogenization techniques provide a tool for comprehending the linkage of the heterogeneous composite mesoscale and the effective material on the structural level.The consideration of the heterogeneous material properties within the simulation can thereby be based on a representative volume element (RVE) [1].The concept is based on resolving a statistically representative and periodic unit cell of the mesostructure as an additional finite element (FE) task within the structural simulation.This approach, also referred to as FE 2 , can be computationally expensive due to its nested implementation.In recent years, it has been shown that data-driven methods, such as neural network-based approaches, provide an opportunity to perform such investigations at a fraction of the original computational cost while retaining high accuracy even for complex tasks [2][3][4].They require numerical material tests to be performed on the RVE, for which the constituent constitutive laws are fit to experimental data, to generate a database for training a data-driven model.Alternatively, data-driven methods can also work directly on experimentally generated data, bypassing the typical process of assuming a phenomenological material model and fitting parameters.
3Generally, model-based and constitutive model-free [5] data-driven methods can be distinguished.The former methods employ mathematical models which are optimized to fit the desired data.In recent years, artificial neural networks have been the most widely used machine learning surrogate model for the constitutive behavior within FE analyses due to the ability to approximate complex nonlinear relations [6][7][8][9][10].The latter methods operate directly on the data via statistical operations.The approach of constitutive model-free datadriven mechanics, introduced in [11], enables the direct incorporation of stress-strain data into the analysis without any material modeling or approximation step.Especially in the case of decoupled homogenization approaches, data-driven methods are advantageous due to complex macroscopic material behavior caused by mesoscopic heterogeneities [12,13].
4Both the neural network-based constitutive model and the data-driven computational mechanics have been successfully applied to numerical multiscale analyses, see, e.g., [8,12,14].Although they aim to achieve the same objective, the process of acquiring a solution differs significantly for both methods.However, to the authors' best knowledge, no direct comparison has been made yet.The contribution at hand aims to present a study on the applicability of neural network-based constitutive descriptions and constitutive model-free datadriven mechanics utilizing stress and strain data as it could be obtained from physical experiments.Thereby, different data set sizes and sampling strategies, as well as solution or training schemes for the respective methods, are considered.Both methods are applied in a numerical simulation and compared to constitutive model reference solution.
5The contribution is structured as follows.Section 3 introduces the neural network constitutive models, while Sect. 2 is focused on the concept of constitutive model-free data-driven computational mechanics, including possible solution schemes and enhancements.In Sect.4, the nonlinear elastic, anisotropic constitutive law, which presents the basis for the data set, as well as the generation of the data set itself, is discussed.Section 5 investigates the computational homogenization performance of the methods and provides a study on the applicability in FE analyses.Finally, Sect.6 provides the conclusion of this contribution and a comprehensive outlook on the extension of this work.
Related work
6NNs are applied in numerous fields of science, such as image recognition [15], natural language processing [16], and also for modeling physical processes [17,18].They are also widely applied in the domain of computational mechanics, in particular homogenization, comprising already an extensive body of research showing great potential.Still, NN-based computational homogenization techniques are still in an early stage of development, cf.[19].This section provides a brief overview of some selected developments in that field.
7Many studies focus on the application of NN for modeling elasto-plastic constitutive behavior.Examples can be found in, e.g., [9], where Sobolev training [20] is applied to obtain thermodynamically informed NN for elasto-plasticity models with level set hardening, or [21], where a reinforcement learning game is utilized to design a recurrent neural network for an elasto-plastic constitutive description.Another application of NN in modeling elasto-plastic processes employs automatic differentiation to relate stresses and internal state variables to the free energy and dissipation rate, improving the prediction accuracy and robustness [7].
8Other current developments rely on prescribing physics-based constraints onto the NN-based constitutive model, i.e., utilizing sets of invariants as inputs for a convex NN [22,23] to ensure thermodynamic consistency, or employing NN directly as solvers of continuum mechanical differential equations [24][25][26][27].These approaches also prove to be able to extend the extrapolation capability of model-based data-driven approaches.Further investigations are performed to increase the interpretability of the NN models, i.e., by prescribing a problemspecific architecture for an NN that is coherent with and can represent common continuum mechanical modeling approaches exactly after optimization [28].Moreover, it is possible to utilize NN to represent a generalization of classical continuum mechanical models, yielding weights that are interpretable as physical quantities, e.g., shear moduli [29].
9An extensive review of the current state of the literature is beyond the scope of this study, but can be found, e.g., in [19] or [30].
10Model-free data-driven mechanics, on the other hand, is a relatively new domain, that was established to particularly allow direct use of the data into simulations, hence circumnavigating the empirical modeling.This paradigm is further extended to solids and structures with intrinsic randomness in material behavior [31], which is more representative of the data that are eventually acquired through experiments.Furthermore, methods are developed to utilize imaging data to calculate the mechanical response of the human brain using model-free solvers [32].The feasibility of applying model-free solvers toward solids exhibiting failure due to strain localization is investigated in [33].Other development involves using model-free solvers for analysis of crushable granular media within continuum breakage mechanics [34].
Model-free data-driven computational mechanics
11The approach of constitutive model-free data-driven computational mechanics, introduced in [11], enables the incorporation of data sets directly in the analysis.This leads to bypassing the step of material modeling completely by interpreting material data as a sort of discrete constitutive description [35].Accordingly, the model-free approach is an entirely different concept than data-driven modeling techniques based on neural networks that yield a continuous approximation of the material behavior.In this section, the basic principle and the distance-minimizing solver, as well as the maximum-entropy solver and tensor voting enhancement, are briefly explained.
Distance minimizing solver
12The specimen is discretized by an FE mesh represented by n nodes and m material points.The calculation is carried out within the so-called phase space Z e , in the case of solid mechanics and elastic material behavior consisting of strains and stresses.The material behavior is solely characterized by data sets D e associated with the integration points e.The vector of nodal forces is denoted as f, and u is the displacement vector.All possible internal states, located within the constraint space C e ⊆ Z e , are compatible with equilibrium and compatibility as material independent constraints in a discretized finite element manner expressed as
13and
14B e denotes the strain-displacement matrix of the considered finite elements.The distance-minimizing data-driven solver, in the following referred to as DM solver, aims at minimizing the distance between the desired internal states and the material data set.
15As distance metric, a penalized objective function
16based on the energy densities
17is defined.The tensor C e is introduced as an artificial stiffness in order to bring stresses and strains to an equal scale and is determined based on regression or principal component analysis [36].Based on this, the solution is obtained by minimizing the global objective function, obtained as the weighted sum of the local equivalents
18w e F e (ε e , σ e ), (5) where w e denotes the volume associated with an integration point.This minimization with constraints is solved by the method of Lagrange multipliers.The derived equations lead to the linear equation system w e B T e σ e (7) for calculating vectors of displacements and Lagrange multipliers based on the associated optimal states ε e and σ e ∈ D e .Thereafter, Gauss point strains, following Eq.( 1)), and stresses
19are calculated.Subsequently, the closest data set states to all solution states are determined as a base for the next iteration step.In the case of a large number of data set states and continuum problems in three dimensions, this leads to very high numerical effort.In order to increase the efficiency, advanced nearest-neighbor search methods, such as k-d or ball trees, are applied [36,37].In the first iteration step, the optimal states are assigned randomly or as zero states, whereby it needs to be taken into account that the initialization has a significant influence on accuracy and the number of required iteration steps [38].
20Convergence is reached once all associated optimal states stay unchanged within one iteration step.The distance-minimizing procedure possesses two disadvantages.Firstly, due to referencing only one data set state to each of the solution states in each Gauss point, outliers in the stress-strain data set may have a significant influence on the simulation results.Secondly, the accuracy of the results decreases with increasing distance to the closest material state, which is problematic, especially in the case of simulations in R 3 with 12 phase space dimensions due to the so-called curse of dimensionality.These limitations of the DM solver are addressed in the maximum entropy solver as well as the tensor voting enhancement presented in the following.
Maximum entropy solver
21A data-driven solution scheme less sensitive to outliers in the data set, based on the concept of maximum entropy (ME), is given in [39].It is based on the assumption that the stochastic nature of the material data sets would produce outliers in application due to imprecision of measurements and natural variability.
22An approach to reduce the impact of possible outliers in the data set on the solution is offered by incorporating clustering analysis.According to [40], the fundamental concepts of information theory provide a mathematical framework to understand and quantify the amount of information.The relevance of a point to the solution is quantified by assigning weights p i ∈ [0, 1].These weights represent the probability of a data point y ∈ D being a reasonable stress-strain sample of the considered material.They satisfy the condition
23where n is the number of data points in the material data set.According to information theory, the most unbiased ranking of the relevance of the material data point is attained by maximizing the information entropy as
24Furthermore, the data points are ranked in decreasing order in accordance with their relevance to the solution, i.e., the points y ∈ D farther from the local state z ∈ Z have lower weight compared to the point in proximity.Thus, a cost function can be introduced as
25The competing goal of maximizing the entropy and minimizing the cost function is realized by Pareto optimization, which is defined as for fixed z and β, minimize:
26subject to:
27where β ∈ (0, +∞) is the Pareto weight.The Boltzmann distribution provides the solution to the problem as
28Thus, the ME solver minimizes the free energy
29over the constraint set C. The concept of free energy is derived from thermodynamics and refers to the assumption that minimizing the free energy of a system leads to a stable state.Analogously, minimizing the free state in the ME solver corresponds to increasing the probability of local clustering being the solution to the problem.The value β −1/2 characterizes the width of the Boltzmann distribution over the phase space [41].As a result, the points in the data set that are at a distance d large compared to β −1/2 , have minimal impact on the solution.Thereby, the solution is primarily comprised of the local cluster of data points in the vicinity of the β −1/2 .Thus, the outliers or points outside the aforementioned neighborhood have an insignificant impact on the solution.
30The Weierstrass extreme value theorem establishes the validity of the solution for a given task [42].The value of β is strictly increasing, and the general distance minimization scheme is recovered as β → +∞.An analogy toward statistical thermodynamics can be derived, where the ME solver is considered as the thermalized extension of the DM solver.
31The condition that satisfies the minimization of the free energy over the constraint set C is given as
32where ⊥ denotes orthogonality.Assuming the distance is given as the standard norm in
33the relation
34is obtained.Thus, combining Eqs. ( 15) and ( 17) yields
35which holds true if and only if
36where P C is the closest point projection to C. The fixed-point iteration for Eq. ( 19) is defined as
37where z (k) is the current local state, n is the number of data points in the material data set, and z i are points in the material data set.The convergence of the fixed-point iteration z ← f (z) is attained, given that the mapping f (z) is contractive.It is already established that P C is an orthogonal projection.Thus, for it to be contractive, it is henceforth assumed the constraint set C is convex.This assumption states, that P C is contractive only if the mapping
38is contractive as well.
39The free energy function F(z, β) is typically strongly non-convex and, therefore, has several wells centered at the data points in the material data set.In some instances, the iterative solver might not converge or return a local instead of the global minimum.This challenge is addressed by employing simulated annealing [43].
40The concept of simulated annealing within the DD paradigm is premised on the observation that, for a sufficiently small value of β, the free energy F(z, β) is convex.Therefore, within the ME solver, the initial value of F(z, β) has to be small and increase subsequently, according to a predefined annealing schedule with the intention to guide the solver to the global minimum.The annealing schedule for the ME solver is given as
41where z (k) is the cluster center, representing the current optimal data point.The annealing schedule ensures the local contractivity of g(z, β) described in Eq. ( 21), extending the contractivity to the fixed-point iteration given in Eq. (19).The initial reciprocal temperature β (0) is chosen small enough to ensure the contractivity of g(z, β (0) ), with its estimate given as
42Thereby, z (0) denotes the initial assignment of the optimal data point, the choice of which affects the quality of the result.In the work at hand, it is chosen to be represented by the mean of the data set as
43Furthermore, the factor λ ∈ [0, 1] is introduced as an adjustable hyper-parameter to control the annealing rate.The updated schedule is given as
44λ = 1 represents fastest annealing rate and λ = 0 represent no annealing.The factor β (k+1) denotes the normalized average of Eq. ( 22) over all elements of the system.The solver consists of two separate steps.In the first step, the annealing of β according to Eq. ( 25) is performed, whereas the second step involves solving for the local states and solution states [39].
Tensor voting enhancement
45Additional accuracy can be achieved by incorporating locally linear tangent spaces into the analysis, referred to as tensor voting enhancement [44].The concept is applied within the distance-minimizing as well as the maximum entropy-based data-driven solver.
46The tensor voting paradigm is initially introduced in [45] and [46], as well as further enhanced in [47], devised as an algorithm to extract structure from image data and to identify boundaries.The process of voting between the tensors determines the location of these features in compliance with the shape and structure of the collected votes.It is comprised of two distinct phases, to collect and to analyze the votes.
47The tensor voting is a pairwise process, wherein the elements cast and collect votes in their immediate surroundings [44].A vote is a symmetric, second-order positive semi-definite tensor, which describes the orientation of the receiver with respect to the voter if both of them belong to the same structure.In [47], three different types of voting procedures are presented.Those are the unoriented or ball, the generic, and the oriented or stick tensor, based on the type of votes collected.This work focuses on ball voting due to the ball tensors' preference toward straight lines between two points.Tensor voting is introduced in [44] within the DD paradigm as a method to increase the efficiency of the solver and to reduce overall errors.
48Ball votes are based on the voter's affinity toward a straight line connecting the caster and receiver.The straight line is the smoothest function that can be obtained in the absence of any additional information.The eigenstructure of the vote reflects the tangent and normal space of the receiver, while the magnitude of the vote is a function of the distance between voter and receiver [47].The vote is expressed as
49where P i ∈ R N is the point for which the vote is casted and P j ∈ R N is the point casting the vote.υ denotes the vector connecting the two points and s = |υ| is the distance in Euclidean space.A point in an N -dimensional hyperplane has one normal and (N − 1) tangents.The normal is represented by the nonzero eigenvalue and the (N − 1) tangents by the zero eigenvalues.For ball tensors, however, all eigenvalues are identical and nonzero, thus making it equal in every orientation [47].In the generated vote, the eigenvalues associated with the tangents are equal to the weight described as ω( P i , P j ).
50As the voting process occurs in Euclidean space, every point in the voting is mapped into an auxiliary space by
51where C is a positive definite matrix.The learning parameter σ describes the radius of influence.It affects the implications of the orientation that the voting members have while casting the vote.For large values of σ , the voter's orientation has a profound effect on creating the tangent space.Whereas for smaller values of σ , the voters closer to the point of voting have a higher influence on determining the tangent space than the points with a higher distance.
52The accumulation of voting occurs for each point in the data set
53where K is the number of the nearest neighbors.
54The voting analysis is conducted to determine the underlying structure captured during the voting process.The accumulated tensors are decomposed by spectral decomposition into the eigenvalues and the corresponding column eigenvectors.These eigenvectors are arranged in descending order according to their respective eigenvalues.The matrix containing eigenvectors is given as
55The initial (N -k) columns are denoted as the normals, and the remaining k columns as tangent eigenvectors.The dimensionality k is determined by analyzing the gap between the eigenvalues.The maximum
56gives the value of dimensionality k.The tangents obtained in this step are relevant for expanding the phase space with new data points.
57As previously mentioned, the tensor voting is an extension of the DM and ME solvers.The DD solver is a double minimization problem consisting of closest point projection.In the tensor voting enhancement, the existing closest point project on the material data set P D is replaced with the projection P T onto the tangent space.
58The tangent space is obtained by extending the closest point from the material data set with the tangents obtained in Eq. ( 29), which is given as
59where y e ∈ D e denotes the closest point to the current local state z e ∈ C e .T t i are the tangents with i = 1, . . ., n with n being the number of data points.The obtained X e i ∈ R N represent the newly generated stress-strain states that are not part of the material data set.The value λ is given by the relation
60where z e ∈ C e is the current solution state and y e ∈ D e is the closest point to the current local state.The quantity λ i = λ t i , λ n i ∈ R N denotes the scaling factor for the tangent eigenvectors.Within the DM and ME solver, the voting procedure occurs in an offline step to create the tangents.During the first phase, the solvers aim to identify the closest point in the material data set by distance minimization and cluster analysis, respectively.In the second phase, the value λ t is computed according to Eq. (31).After that, the closest point obtained from the first phase is extended by point-wise tangent spaces in compliance with Eq. (30).Accounting for this new data set, the closest point from the extended tangent data set is identified.Thus, by introducing additional stress-strain states, the data point x e remains close to the material data set, and the absolute error between the constraint set and tangent space is significantly decreased.The iterations are continued until the condition x (k+1) = x (k) is satisfied.
61The tensor voting enhancement aims at increasing the efficiency of solvers to find the closest optimum point by introducing new stress-strain states according to the calculated tangents.This is particularly helpful in sparse data sets.However, for large data sets or geometries with a large number of Gauss points, significant additional computational effort is required.
Neural network constitutive models
62Several applications of NNs in constitutive modeling have been developed in recent years.They mostly focus on complex time-dependent constitutive behavior, such as plasticity [2,[7][8][9]21,48] or, most recently also, strain-softening [49,50].With the rise of Physics-Informed Neural Networks (PINN), NN-based constitutive descriptions, trained with additional information or constraints motivated by physical laws, have emerged.Those include thermodynamics-based artificial NN (TANN) [2,7], where internal state variables based on thermodynamics are used to aid the approximation, physics constraint NN [14,51], which impose additional physics-based constraints on the optimization process for better generalization and extrapolation performance and actual PINNs [24,52] that are used to solve the partial differential equations underlying structural simulations.A more detailed overview of NN in computational mechanics, including recent advances, is provided in [?] and [53].This section provides an introduction to the computational concept of neural networks, their evaluation, optimization, and application in the FEM.Therefore, the basics of constitutive laws are also introduced.
Feedforward neural networks
63Neural networks (NN) are established as universal approximators in various fields of science, such as natural language processing [16], image recognition [15] and also for modeling physical processes [17,18].A few decades ago, it was also discovered that NNs could be used to approximate the constitutive behavior of construction materials from experimental data [54].This utility has been extended from the prediction of elastic behavior to, e.g., elasto-plasticity [9,21], visco-elasticity [55] or even softening behavior [49,50].The main advantage that NNs pose over classical constitutive modeling is their computational efficiency in FE simulations, even for representing highly complex materials.
64Considering heterogeneous anisotropic mesostructures, those are usually evaluated by coupled multiscale approaches, such as FE 2 .Within this framework, each evaluation point of a simulation at a structural scale would be coupled to a separate lower-scale FE simulation.Depending on the complexity of the lower-scale structure, this could require a high computational effort.However, if a sufficient amount of data on the effective constitutive behavior of the composite exists, this computation can be substituted by a simple evaluation of the NN as an analytical function.This data could be obtained from both experimental or numerical investigations of the structure, denoted numerical material tests (NMT).
65Under the paradigm of supervised machine learning, an NN denotes a highly nonlinear function f N N , mapping an arbitrary input x to a given output y.It consists of computational units, also designated as neurons.In the simplest case, those consist of a so-called activation function g(), linear weight factors W , and constant bias terms b.The neurons are arranged in layers, each consisting of a specified number of neurons.Each layer i takes the output of the previous layer z i−1 as its input, where z 0 = x is set for the first layer.Subsequently, the output z i of a layer is calculated as
66Thereby, the weight and bias values of all neurons that belong to a single layer i are arranged in the layers weight matrix W i and bias vector b i .The activation functions of the layers can be chosen independently.Some examples applied in this contribution are the hyperbolic tangent tanh(), the reluctant linear unit R E LU (), the exponential linear unit E LU(), and the scaled exponential linear unit S E LU () which are, respectively, defined as
67To obtain the S E LU -function, a constant scaling factor is applied to the E LU-function.The default value for that factor in Tensorflow [56] is set to 1.05070098, whereas the value of α is set to 1.0 and 1.67326324 for E LU and S E LU , respectively.As most of the nonlinear activation functions possess a limited range of values, they generally necessitate a normalization of the target values y true .A similar normalization is applied to the input values x, to ensure that its values are of the same order of magnitude.
68In general, weight and bias values are initialized randomly.To obtain the approximation f N N ≈ f , where f denotes the function that maps the values of x to y, those values are adapted within an optimization process, which is designated as training.Therefore, a target function L is defined to calculate the distance between true values y and the NN predictions y pr ed .Considering an NN with m layers, the set of all trainable parameters θ is obtained as
69The optimization process for those variables, denoted as neural network training, is further explained in Sect.3.3.
Fundamentals of constitutive models in finite element analysis
70Similar to an NN, a constitutive law describes the relation between an input and an output.In the elastic case, the former is commonly some deformation measure, whereas the latter is defined as a stress measure.This relation can be of high complexity if constitutive responses of strongly heterogeneous, anisotropic mesostructures are considered.Classical material modeling uses a mathematical relation based on thermodynamic principles and fitted to experimentally obtained data.Suppose the complexity of the structure or the interactions between its constituents is too high.In that case, this formulation can be replaced by a discretized numerical investigation of the heterogeneous composite and its components and subsequent homogenization.However, this can pose a significant computational effort.NNs present the opportunity to replace those investigations.As they can be trained directly on the data, no previous formulation of a mathematical relation is necessary.Furthermore, if considering a highly complex structure within a multiscale analysis is required, an NN can also replace the discrete investigation of this structure.However, this requires preliminary conducted NMTs of this structure following [57].
71When considering small deformations, the deformation measure is commonly given as the strain tensor ε, which is defined as the symmetric part of the displacement gradient H = ∇ X u and can be obtained as
72Thereby, ∇ X denotes the spatial gradient, and u is the displacement field.Due to its symmetry, the nine components of the 3 × 3 tensor can be reduced to six using Voigt notation in the three-dimensional case.The same is possible for the symmetric Cauchy stress tensor, which, according to the Cauchy stress theorem, relates the internal force or traction vector t at a material point to its infinitesimal area element da = nda t = σ n, (38) where n is the unit normal vector of the area element.Any data for an elastic material, whether obtained from physical experiments or numerical tests that consists of σ -ε pairs can directly be used to obtain an NN constitutive model for the respective material, setting the input x = ε and the output y = σ .However, applying this constitutive law in FE simulations requires additional considerations.The FE solution scheme involves an iterative minimization process of the residual R, defined as the difference between external forces f int and internal forces f ext , reading
73In the context of the finite element method (FE), the most prominent solution scheme is the Newton--Raphson solver, which requires the linearization of Eq. (39), that represents a nonlinear system of equations.For the constitutive law, this linearization necessitates the knowledge of the elastic tangent matrix C, which is defined as
74Typically, normalization is applied to the input and output data, e.g., a scaling in the interval of [0, 1] following
75where is any unscaled input or output quantity, ˆ the respective scaled value and min and max the minimal and maximal values.In this case, rescaling the NN's tangent to the physical space is required to obtain the elastic tangent matrix, following
76where σ scale and ε scale are diagonal matrices containing the component-wise scaling factors obtained as
77As max = min is generally true, those matrices are invertible.
Neural network training
78For an NN to accurately approximate the underlying function of a data set, an optimization with respect to the data has to be performed.This optimization of f N N denotes a minimization process of L, where L is a distance metric between the true and predicted values.This is performed by changing the trainable parameters with values − θ, calculated as
79As L is generally highly nonlinear and not necessarily convex, certain measures can be applied to increase the probability of convergence of the minimization to a global minimum, e.g., optimizers with momentum terms such as ADAM [58].
80Optimization aims for the NN to identify the underlying relation between input and output data, termed generalization.To evaluate if the task is performed properly, the generalization performance of the NN is assessed by a validation procedure.Therefore, a subset of the data set, the validation data, is excluded from the training procedure.The accuracy of the NN on this data set is evaluated to monitor the generalization performance, which is high when both the training loss and the loss on validation data are low and possess similar values.
81Regularization techniques, such as dropout [59], where a certain percentage of neurons per hidden layer is deactivated during training, can be applied for improved generalization performance.Furthermore, early stopping can be employed, which stops the training once the validation loss increases.This phenomenon of rising validation loss and increasing generalization error is termed overfitting, as the model tends to fit the training data points excellently.However, if overfitting occurs, it no longer generalizes the underlying input-output relation.
82As shown in Eq. ( 40), in the case of NN-based constitutive laws, this tangent matrix can be obtained as Jacobi operator of the NN.By exploiting automatic differentiation [60], this can be obtained directly from the NN during evaluation without requiring prior knowledge of the elastic tangent matrix during training.However, as shown in [9,14,51], if additional information, be it the discrete values of the tangent matrix or a physics-based condition, is available, it can be included in the optimization process of the NN.Therefore, additional loss terms can be introduced.
83In regression tasks, the standard loss term, measuring prediction accuracy, is commonly defined as the mean squared error (MSE) of the true values y and the predictions y pred
84where N is the number of samples in the data set.Due to the existence of a strain-energy density function (ε), from which C can be obtained as
85and its major symmetry, the material tangent in Voigt notation is symmetric [61], written as
86This symmetry can be enforced by introducing a loss term L sym that evaluates the equality of upper and lower triangular matrix of the Jacobian of the NN, reading
87where n dim denotes the dimensionality of the stress and strain vectors.It should be noted that the NN's tangent ∂ y/∂ x in the normalized space does not necessarily need to fulfill the symmetry condition.This is the case if the range of values of strains and stresses are dissimilar.The condition only holds for the physical space.Therefore, denormalization of the NN's tangent is required to enforce the condition of Eq. ( 48).However, this may result in loss values of a significantly higher order of magnitude than those obtained from the L 2 -norm, given in Eq. (45).Therefore, scaling of the symmetry loss to a similar order of magnitude is beneficial for the convergence of training.Within this contribution, scaling is applied by performing a division with a constant scalar value Cscale calculated as
88Equation ( 48) is defined purely with respect to the NN's output and depends only on the NN parameters θ and the input x.Hence, it requires no additional data.However, if the material tangent is included in the data set, C can be incorporated as the target derivative in training, following [20], which denotes this as Sobolev training.In this case, the additional term can be evaluated in the normalized space, requiring the calculation of the normalized tangent Ĉ = σ −1 scale C ε scale .Subsequently, the additional loss term for the fitting of the tangent value L tang is introduced as
89This inherently enforces the symmetry of C onto the NN's Jacobian.A constant scaling by division through the number of matrix components is applied to aid the training convergence.
90NN constitutive descriptions can also be applied for finite deformations, see, e.g., [49,50].In this case, depending on the utilized strain measure, the symmetry of C is not necessarily given.This significantly increases the dimensionality of the input and output space and would not allow for the usage of Eq. ( 48) as an additional loss term.Going forward, only a small strain formulation is considered.
Data set acquisition and processing
91In order to demonstrate and compare the previously presented methods, synthetically generated stress-strain data sets are utilized in the following.The data acquisition procedure presented in this section consists of sampling strain states and subsequently calculating corresponding stress states equivalent to a displacement-driven multiscale scheme.Furthermore, the nonlinear elastic, anisotropic reference constitutive law is introduced.Finally, the data preprocessing for the NN training, the performed NN hyperparameter study, and the test results that follow from the training are described.
Design of experiment
92Since the structure of the considered data set has a significant influence on the results of the data-driven analyses, two different sampling approaches are applied in the following.The first commonly used method is based on samples of independent uniformly distributed random variables within a predefined hypercubic domain [44].The data obtained by this method are denoted as random uniform data in the following.The second approach consists of sampling points on a hyperspherical surface and subsequently creating increments by increasing linearly from the zero state.By applying a Fibonacci lattice, evenly distributed points on the hyperspherical surface are generated, which enables circumventing sparsely sampled regions in contrast to a random approach [62].Subsequently, the data generated by this sampling approach are referred to as Fibonacci data for the sake of brevity.Further possible methods are grid-based [11], sampling in a hypercubic domain based on a normal distribution [44] or random sphere sampling [37].
93In all cases, the Euclidean coordinates of sampled points represent the components of the strain tensor.Radius, respectively, hypercube dimensions, as parameters defining the region of interest, need to be defined a priori based on preliminary investigations or assumptions, e.g., the restriction to small strains.Exemplary sampled data sets containing 1000 strain states resulting from the different approaches are visualized in Fig. 1. 25.00
Constitutive description
94For this publication, an anisotropic nonlinear elastic material description within the small strain regime in R 3 is chosen.The example is purely academic and does not aim to represent any physical material.It yields the advantage that a dimensionality reduction of input and output space is possible due to symmetries in the stress and strain tensors.Nevertheless, it allows for investigating a more complex, nonlinear task.A similar investigation is performed in [36].However, it is decided to adopt a different constitutive description for the work at hand.The stress-strain relation is given by
95Thereby, λ denotes the first Lamé constant and G the elastic shear modulus.The material parameters α and β control the influence of nonlinearity and the effect of anisotropy, respectively.I denotes the second order identity tensor and 1 the matrix of ones.
96The material parameters given in Table 1 are used for the contribution at hand.The range [− 0.025, 0.025] is set for all strain components in Voigt notation.
Neural network data set preprocessing
97Two data sets are generated according to the explanation in Sect.4.1 based on the constitutive description given in Sect.4.2.Both consist of 5 • 10 6 samples, where each sample is a tuple of six input strains and six output stress values.They are each split into training and testing data with a ratio of 9:1.Thereby, an invariable test data set is ensured for each training instance to yield an objective and directly comparable generalization measure.To investigate the effect of the data set size, two smaller subsets, with 1 • 10 6 and 1 • 10 5 samples, For the NN training, it is desired that the component-wise errors contribute to the optimization with a similar impact.Therefore, normalization is required to scale the output components in a way that they possess the same order of magnitude.As the utilized activation functions include logistic and other saturating functions, the domain of the function has to be considered while scaling.A similar scaling is applied to the input components, although they are generally of the same order of magnitude.
Neural network hyperparameter study
98An NNs accuracy and generalization ability strongly depend on the selection of the set of hyperparameters.An optimization of those hyperparameters can be performed to obtain the most favorable model for a given task.This can be achieved by a manual grid search within a given hyperparameter space or by utilizing hyperparameter tuners such as the Keras Tuner library [63].A brief manual investigation on the performance of different NN architectures is performed as a prerequisite for the hyperparameter study.Here, architectures ranging from one to five layers with 50 up to 500 neurons per layer are investigated.Based on the thereby obtained results, the hyperparameter search space for the automated grid search is defined as given in Table 2.The resulting free NN parameters range from around 166,000 to up to 1009000 It is decided to limit the investigation to the number of layers and neurons per layer, as well as the activation function.From experience, those are the parameters with the highest influence on the prediction performance.A linear output activation function is applied in all cases.
99The study to determine the optimal architecture is performed on the data set containing 5 • 10 6 samples generated by random uniform sampling.A Sobolev training, enforcing the tangent values by incorporation of Eq. ( 50) in the objective function, is performed.ADAM [58] is applied as the optimization algorithm.For regularization, a random dropout of 20 % is added to each hidden layer, and early stopping with a patience of 100 epochs is implemented.The resulting prediction performance is evaluated by the MSE achieved on the test data set by the trained NNs.For brevity, the full results of the hyperparameter grid search are omitted.
100The E LU activation yields the highest accuracy compared to the other activation functions mentioned in Sect.3.1 for a two-or three-layer NN.Minor improvements in accuracy are obtained for a wider NN, i.e., 500 instead of 400 neurons.Adding more layers does not result in improved accuracy for any activation function.As it exhibits the lowest error during the hyperparameter study, the architecture with two hidden layers with 500 neurons each and a E LU activation function is selected for further investigations.Selecting a low number of layers additionally results in lower computational costs both for training and application.
101An additional automated hyperparameter search is conducted.As the resulting optimal parameters match those of the manual grid search, the selected model is not changed.
Neural network test performance
102The NN architecture selected following the investigations of Sect.4.4 is utilized for further investigations on the different data sets and different loss functions as described in Sect.3.3.The respective test data sets for that procedure are randomly sampled subsets of the original data sets.The test performance of each NN is evaluated only on the test data set that is obtained by the same sampling strategy as their training data set.For a review of the prediction accuracy of the NNs when provided with the union of the two test data sets, the reader is referred to Appendix A. The test data sets each contain 10% of the samples of the base data set.All data points included in the test data sets are excluded from the training process.As the performance measure, the MSE of the predictions over all components on the test data set is chosen.This is independent of the objective Fig. 2 NN test performance for training on different data sets function, which an NN is optimized for during training, meaning that neither the symmetry of the tangent nor the tangent values influence the test metric.While an evaluation of those criteria would be possible during testing, it is decided only to consider the prediction accuracy, as this is crucial for the prediction accuracy in the FEA application.Symmetry and value of the tangent do not primarily influence the precision with which the constitutive model is approximated but more the accuracy of the converged displacements resulting from an applied load.This is further discussed in Sect. 5.
103Figure 2 displays the test performance of the NNs trained with different data set sizes, sampling strategies, and objective functions.Generally, a decreasing test error is encountered when increasing the data set size.Only for the largest uniformly random sampled data set and optimization of the tangent values, this does not hold.Nevertheless, the margin of error is still small compared to the other test results.Including additional constraints by an additional loss term consistently yields a lower error.Thereby, the fitting of the tangent values by considering Eq. ( 50) decreases error to a greater extent than the inclusion of the symmetry condition, see Eq. ( 48).This difference is least notable for the largest training data set with uniformly random sampled data, with an approximately 20-fold reduction of error, compared to the reference, in both cases.Overall, the factor of error reduction due to the additional symmetry condition in training is between 3 and 125, whereas the optimization of the tangent values can achieve factors between 23 and 1043.Therefore, if the numerical values of the tangent are available, they should be considered in training to achieve a significant increase in prediction performance.However, if those values are not available, enforcing the tangent symmetry can also result in increases in accuracy without requiring any additional data and only minimally larger effort in training.As is evident in Fig. 2, when tangent symmetry is enforced, only 2% of the original data set is required during training to achieve testing errors similar to or even smaller than those obtained after training on the complete data set without an additional condition.
104Comparing the graphs from Fig. 2a, b, there is no obvious test performance advantage when just the standard loss it utilized during the training when considering either the random uniform data or the Fibonacci data.However, if additional constraints are considered during training, the more even distribution of the points throughout the sampling space for the Fibonacci data seems to support the resulting generalization ability of the trained NN, resulting in lower test errors than for training data sampled uniformly random in a hypercube.
Application in numerical simulations
105While the NN-based constitutive description and the data-driven solver serve the same objective, both techniques are based on fundamentally different concepts.Therefore, they both possess their own set of benefits.This section compares the approaches regarding data preprocessing, the required computational effort, and the quality of the results.Furthermore, the influence of the data set size is investigated., is used as a numerical example for comparison.It is considered a standard benchmark for combined bending and shear response and for testing the shear locking of an ansatz under quasi-incompressible behavior.Furthermore, following an example provided by [65], the effects of the material's transversal isotropy can be evaluated.Therefore, the preferred loading direction, ε 11 in this case, is oriented with an angle to the length axis of the structure.The discretized geometry is illustrated in Fig. 3, and the preferred loading direction is parallel to the x-axis.The structure is discretized by 24 elements in longitudinal, one in transversal, and 15 in vertical direction, resulting in 360 elements.Vector F indicates the edge, where the vertical uniform surface load is applied.It is increased linearly over 40 load steps to a maximum value of 363 N .The edge opposite to the load introduction is prescribed as a fixation.
106Figure 3b depicts the final stress distribution within the deformed membrane.The loaded end of the structure shows a clockwise rotation due to the fiber angle.The maximum stress magnitude is located at the top of the fixed edge.Subsequently, comparisons between the reference constitutive model solution and the respective data-driven approaches are made for the maximum stresses and displacements.They are obtained from the nodes at the top edge of the fixation and those at the top edge of the loaded edge, respectively.A mean absolute percentage error (MAPE) for each one of the tensor-valued stress and displacement quantities, generalized as , is introduced, according to
107with
108to perform the comparison.Thereby, t is the time, n is the node under consideration, and i is the component of the tensor-valued quantity, each with a respective maximum denoted by the subscript "max".The matrix e contains the absolute error values of either the stresses or displacements.For the given example, the maximum values are defined as t max = 40, n max = 2, and i max = 6 for stresses or i max = 3 for displacements.
109The formulation of the MAPE in this contribution differs slightly from the original implementation found in [66], where the percentage error of a component is defined with respect to the magnitude of its respective reference component.However, this can yield enormous relative errors for near-zero reference values.Within this application, the percentage error of a component t,n,i with respect to the overall magnitude of the reference, representable by the L 2 -norm of the reference vector || t,n ||, presents a more suitable error measure.With this, the error of the components with a smaller magnitude can still be considered.However, the error of the components with a larger magnitude, which would indicate material failure in structural applications, would have a more significant influence on the error.Thereby, this error measure can provide a more application-suited assessment of a data-driven method's accuracy.
110To further investigate the performance of the model-free and model-based data-driven approaches, a second investigation is conducted on the same structure with a more coarse discretization and different applied forces.In particular, the second mesh consists of 12 elements in longitudinal, one in transversal and 6 in vertical direction, resulting in 72 elements.The maximum value of the applied force are 145 N. The position of the fixation and load introduction is retained.
Model-free data-driven solution
111The DM and ME solvers, detailed in Sect.2, have been introduced as an alternative to the conventional FEM.A notable feature of these solvers is that they do not necessitate the definition of load steps for a class of constitutive materials that are independent of the loading history, as the example at hand.It should be mentioned that load steps are still introduced for the following considerations.This enables the evaluation of the approximation quality for different magnitudes of loading and allows for a better comparison with the reference and the NN constitutive models.
112The model-free data-driven solvers still rely on iterations, which remain essential to minimize the distance between the constraint and the data set.These iterations closely resemble the technique akin to the Newton--Raphson iteration.The convergence criterion is met when the optimal states remain unchanged.However, this criterion, when not satisfied, could lead to an infinite iteration loop, therefore, a maximum number of iterations is defined.For this study, the maximum number of iterations is set to 15 for both solvers.Furthermore, the hyperparameter, as introduced in Sect.2.2, which controls the annealing rate, is directly contingent on the size of the data set.
113Given that both solvers are based on distinct foundational principles, an evaluation of the performance of the DD solvers is systematically carried out on the Fibonacci data set and the random uniform data set to establish the effect of the sampling technique and quality of the data set.Additionally, to determine the effect of the size of the data set on the outcome, tests are performed on the subsets of different sizes obtained from the original data set as described in Sect. 4.
114The performance of the solvers is quantified by the MAPE as described in Eq. (53).From the results of the finer mesh illustrated in Fig. 4, it can be observed that for the finer mesh the ME solver is not only robust against outliers as described in Sect.2.2 but also performs significantly better for both the sampling techniques and for all data set sizes.This observation underlines the significance of the sampling methodology, regardless of the data set's inherent characteristics or representation.The size of the data set has a significant impact on the results.It has been empirically observed that a data set with a higher number of data points correlates with a reduction in errors, which also holds true in this study.This phenomenon aligns with the theoretical expectation that the larger the data set is, the denser the sampled domain, thus representing the domain more accurately.The annealing rate of the ME solver is dependent on the size of the dataset.Having a high annealing rate for the ME solver on a denser data set may lead to non-convergence.Thus, in this study, this rate is explicitly formulated as 10 5 /N for the Fibonacci data set and 1/N for the random uniform data set, where N is the number of the data points in the dataset rounded off to the next higher power of 10 (Fig. 5).
115Figure 6 illustrates the stress and displacement curves for the best and worst simulations with the DD solvers obtained on the finer mesh.Figure 6a, b depicts the curves for the simulation with the worst fit conducted with the Fibonacci data set.Amongst the solvers tested, it is determined that the DM solver exhibits the worst performance, particularly on the smallest subset of Fibonacci data set.The largest error for this simulation is observed for the stresses.Figure 6c, d illustrates the curves for the simulation with the worst fit conducted with the random uniform data set.In the context of this data set, the worst result with respect to errors in the stress and displacement is consistently associated with the DM solver when implemented with the smallest subset of the random uniform data set.However, in this case, the largest errors are exhibited in the displacements.The ME solver, when utilized on the largest Fibonacci data set, demonstrated the best results characterized by the lowest errors for stresses as well as the displacements as illustrated in Fig. 6e, f.The DD solvers are able to qualitatively capture the nonlinear behavior in the displacements, at least to some extent, as evident in Fig. 6b, d and f.However, they fail to represent this behavior in the stress components due to the large errors and fluctuations, cf. Figure 6a, c and, e.
116The results of the coarser mesh are illustrated in Fig. 5.It is evident from the results, that the relative errors for the worst performing solvers are higher compared to the finer mesh.Contrary to expectation, in the case Fig. 4 DD solver performance in Cook's membrane example with a finer mesh on different data sets of Fibonacci data set, the relative errors increased with an increase in data set size.However, the ME solver still exhibits lower errors as the size of the dataset increases.No profound relation could be identified between the mesh discretization and the annealing rate in ME solver.Furthermore from the plotted results, no distinct trend between the relative errors and the dataset size for the random uniform dataset can be observed.Thus, from the performance of the solvers, the superiority of one solver over the other cannot be ascertained.
117Figure 7 illustrates the stress and displacement curves for the best and worst simulations obtained on the coarser mesh.Figure 7a, b depicts the curves for simulation with worst fit conducted with the Fibonacci data set and Fig. 7c, d present the curves for the simulation with the worst fit conducted with the random uniform data set.In the case of the worst stress curves for the random uniform dataset, a spike in the stress response is observed at a certain load step in the results associated with the DM solver on the smallest subset.Despite being also observed in the finer mesh, the magnitude is far greater for the coarser mesh, emphasizing the significance of mesh discretization.The best results for this test as illustrated in Fig. 7e, f, are obtained on the random uniform data set and are associated with the ME solver, however, are defying expectations by being observed on the subset with 1 • 10 6 samples.
118A detailed analysis of the simulation also reveals a trend within the random uniform data set.It becomes evident from the weighted distance plot described in Appendix B that there is a convergence issue for the ME Fig. 5 DD solver performance in Cook's membrane example with a coarser mesh on different data sets solver in the initial load steps, even though the solution converges consistently in the higher load steps.The selection of the proper annealing rate is essential to ensure convergence across all the load steps.Consequently, a more conservative annealing rate is chosen for the random uniform data set as the data set size increases.The slow annealing schedule yields sub-optimal results.However, it ensures convergence.This explains the large errors with the ME solver on the random uniform data set.The convergence behavior of the DD solver over the time steps is described in Appendix B.
Neural network constitutive model solution
119The trained NN models of Sect.4.4 can be directly applied as a surrogate for the homogenized constitutive relation in FEA or, as in this study, the analytical reference constitutive model.By computing the Jacobian of the NN's output with respect to its input, the elastic tangent matrix, see Appendix C, required by the Newton--Raphson solver, which is commonly utilized in FEA, is obtained.The numerical preciseness of this tangent is necessary (but not necessarily sufficient) for the quadratic convergence of the FE solution.However, the accuracy of the tangent with respect to the reference solution only indirectly influences the overall accuracy Fig. 6 Best and worst simulation performances of DD solvers for a finer mesh Fig. 7 Best and worst simulation performances of DD solvers for a coarser mesh Fig. 8 NN constitutive law performance in Cook's membrane example with a finer mesh for training on different data sets of the constitutive model in the simulation.This is caused by the solution states reached during the iterations, which could be physically inadmissible if the model is trained on pure data.These can vary depending on the calculated tangent values.An accurate prediction of the tangent does not necessarily lead to improved accuracy in simulations.
120Figure 8 depicts the error values, obtained by Eq. ( 53), for the simulation of the Cook's membrane with a finer discretization.As in Fig. 2, the comparison is made regarding the training data set size and the objective function utilized for optimization.Similar to the test performance, the errors tend to decrease when the training is performed on a larger data set.Only the NN trained with the numerical tangent condition on the random uniform data and the one trained with the tangent symmetry condition on the Fibonacci data exhibit different behavior.In these cases, the error increases or remains approximately the same for increasing data set size.Generally, the training on the Fibonacci data results in lower errors for both the stresses and displacements in the FE simulation results.Only for the two smaller data sets and the pure data loss does this not apply, which is in agreement with the test errors in Fig. 2.
121However, dissimilar to the test errors, the decrease in error is less pronounced for both, increasing data set size and increasing constraint by the objective function (Fig. 9).
122Figure 10 depicts the stress and displacement curves for simulations with different NN constitutive models.Figure 10a, b is obtained with the NN trained on the Fibonacci data and the standard loss function, see Eq. ( 45), which exhibits the largest error in the displacements.Figure 10c, d, on the other hand, is obtained from the utilization of the NN trained on the random uniform data and the standard loss function.This model exhibits the largest error in the stresses in the simulation.Finally, Fig. 10e, f displays the simulation results with the lowest error, obtained by the NN model trained on the Fibonacci data while including the numerical tangent values in the optimization, see Eq. (50).It should be noted that the unit for the MAPE is changed to ‰ for Fig. 10f to accommodate the low error values.
123Figure 10a, c indicates that the worst-performing models mostly fail to predict the nonlinearity of the constitutive relation and the near-zero stress components accurately.The qualitative progression of the displacements, see Fig. 10a, d, is captured more accurately.However, the predicted values are continuously overestimating the reference values.The highest relative error is encountered at the load step, where the initial load is applied for both stresses and displacements and decreases throughout the simulation.For the worst-performing models, only Fig. 10a depicts a different error progression, with a continuous increase over the simulation time.This can be attributed to the higher density of the sampling points around the origin of the input data domain, i.e., the unloaded state.
124The best-performing NN, which is trained on Fibonacci data under the consideration of the tangent loss term, matches the reference solution almost exactly, both in stresses and displacements, cf.Figures 10e and 10f, respectively.For both, the MAPE is approximately constant throughout the simulation after a peak at the first load step.Only at the last three load steps did the errors increase significantly.However, this is expected due to the setup of the reference constitutive model.The quadratic term in Eq. ( 51) can evoke negative stiffness values, which can cause instabilities in the convergence of the Newton--Raphson solver.With the original constitutive model, the chosen maximum load, and the load increments, load step 40 is the last converging state in the reference simulation.This is indicated by the increasing number of iterations necessary until convergence for the constitutive model reference in Appendix D. Most of the NN results show a similar increase in iterations close to the end of the simulation, with those trained with the additional tangent loss term requiring notably more iterations than the other models and the reference, cf.Figures 17 and 16.
125The error values for the simulation with the coarser mesh are displayed in Fig. 9. Generally, all errors are two orders of magnitude larger compared to the finer simulation with the finer mesh.The overall relations between the observed errors, the data set sizes and the constraints of the tangents remain similar for the change in discretization.Only for the NN trained with constraining the symmetry of the tangent, on the two subsets of the random uniform data, the results differ.In contrast to Fig. 8a, these NNs now exhibit larger errors in the stress values, performing worse than the NNs trained without constraining the tangent.The lowest errors are still obtained with the NN trained on the full Fibonacci data set with prescribed tangent values during training.
126Similar to before, the stress and displacement curves for the simulation with different NN constitutive models are provided in Fig. 11.As the applied force is reduced for this simulation, the nonlinearity in the material's response is not as evident.The best-and worst-performing NNs, for which the graphs are depicted, remain the same as in Fig. 10.Although the NN, which is trained on the smallest subset of the random uniform data with the tangent symmetry condition, exhibits larger errors in the stresses, the resulting errors in the displacements are still lower than those of the NN trained on the smallest subset without any tangent constraint.Thus, the latter is selected as the worst-performing model for the random uniform data.
127When compared to the simulation based on the finer discretization, the qualitative agreement of both stress and displacement values is very similar.Independent of the mesh size, the predicted values are overestimating the reference values in Fig. 11a-d.It is, however, noteworthy that the worst-performing NNs are able to predict the near-zero stress components with higher accuracy with the coarser discretization.Still, the overestimation of the predicted values.
128The predictions of the best-performing NN visibly match the reference values exactly, see Fig. 11e, f.Examining the MAPE confirms that the deviation in predicted stress and displacement values at the evaluation points of the coarser mesh is even lower than for the finer mesh.However, when considering Fig. 9b, d, this cannot hold true for the entire domain of the Cook's membrane.
129The qualitative error progression over the load steps for all depicted simulations is very similar between the different discretizations.Only the worst-performing NN trained on the random uniform data differs, by exhibiting a larger error value for the first two simulation steps.As there is less applied load for the second simulation and, thus, no negative stiffness values, the error values do not increase toward the final load steps.This indicates that, if the training data space is properly defined, considering the desired range of applications, a high degree of accuracy can be achieved with the NN constitutive models independent of the discretization.8, show a qualitatively similar curve to Fig. 10e, f.Thereby, the highest relative errors are encountered close to the start and the end of the simulation.Assume additional for the tangent are enforced during training.In case, values for the displacement error can be achieved compared to a pure optimization of the stress prediction carried out.As the true deformations are iteratively obtained through the Newton--Raphson by utilization of the elastic tangent, their accuracy directly depends on the approximation quality of that tensor.However, this does not always improve the result of a simulation, as indicated in Fig. 8a and c.The NN trained with only the standard loss on the largest data set and the one trained with the tangent loss term on the smallest data set yield very similar errors in displacements and stresses.In contrast, the tangent of the latter fits the reference more accurately due to the design of the training.
Conclusion and outlook
130This contribution presents a conclusive comparison of the main methods in data-driven computational mechanics-model-free and model-based methods, respectively.Their performance as a surrogate in constitutive modeling within FEA is evaluated with respect to data set size, data sampling strategy, and different mathematical and thermodynamical extensions of the respective approaches.A nonlinear elastic, anisotropic constitutive model is selected as a reference for the comparison.The FEA example, a Cook's membrane, is chosen in order to compare the capacity of the chosen methods to depict the anisotropy through the rotational part of the structural deformation.For a more comprehensive comparison, the example is investigated with different mesh sizes and boundary conditions.
131Due to the low complexity of the reference model, the model-based NN constitutive description is able to consistently achieve good prediction performance in this example.However, from the investigations, general recommendations can be derived for the training setup of NN as constitutive description.For the data set size, more data points yield a clear advantage in prediction accuracy.Still, if data are sparse or computational effort for the training should be minimized, including thermodynamics-based constraints in the training can significantly improve the quality of the approximation of the constitutive law.The constraints tested within this contribution include prescribing the symmetry of the elastic tangent, obtained as the Jacobian of the NN constitutive model, as well as prescribing the actual values of the same.While fitting the actual value of the tangent could yield the highest accuracy in testing and application in the FE simulation, this data might not always be available, e.g., if the utilization of experimentally obtained data is desired.In that case, enforcing the symmetry can still improve the accuracy to a great extent.For the study at hand, it is possible to obtain comparable prediction errors with 98% fewer data points with this easy-to-implement additional loss term.Suppose it is possible to influence the data sampling strategy.In that case, the results indicate that an equidistant distribution of the data throughout the input space, e.g., by uniform sampling on a Fibonacci lattice on a hyperspherical surface, might be beneficial compared to a random uniform sampling within a hypercubic domain.
132Model-based computational mechanics, although already comprising an extensive body of research showing great potential, are still in an early stage of development, cf., [19].While NN constitutive models trained purely on constitutive data require large data sets to attain sufficient accuracy, this issue is currently addressed by the inclusion of thermodynamics-based constraints in training.Thereby, not only the training with sparse data more is successful, which indicates that better interpolation capacities can be achieved, but also an adherence to the governing thermodynamical fundamentals of the FEA can be ensured.Beforehand, this was only implicitly prescribed by the underlying data.While current data-driven model-based approaches can already outperform classical continuum-mechanical models in some tasks, e.g., multiscale simulations such as FE 2 , a deeper focus on optimizing method performance is necessary and already performed, see, e.g., [23], to address prevailing issues such as data requirement or lack of extrapolation capability.In addition, approaches are already being developed to increase the interpretability of the NNs that are usually utilized as black-box models, see, e.g., [29,67].It should also be mentioned that besides the application as constitutive models, there are also developments to use NNs, more precisely PINNs, directly as solvers for the thermodynamical differential equations [24,25,52].
133The data-driven model-free approaches cannot achieve a good representation of the constitutive model example at hand despite its low complexity.While the results can improve with a better choice of data-sampling strategy, data set size, and advanced solvers, the method is unable to achieve a reasonable level of accuracy.However, it should be noted that the data set sizes investigated within this study are not sufficient to achieve a performance comparable to the current state of research.Most investigations still focus on applications within a one-or two-dimensional space.There, an adequate performance can be obtained with around 100 data points per stress or strain dimension.However, within the scope of this study, it is not possible to generate this amount of data, let alone perform the necessary computations for the structural example.Furthermore, it is questionable if that amount of stress and strain data could ever be collected from physical experiments, e.g., by the method of data-driven identification (DDI), introduced in [68], which enables the identification of stress-strain relations based on a displacement field of a test specimen, obtained by digital image correlation, and given boundary conditions.If model-free approaches are used without exploiting physics-based modeling principles that have been studied for decades, extrapolation beyond the given data space is hardly possible.Similar to the model-based approaches, research trends toward combining data-driven model-free approaches and physical modeling within hybrid methods to combine the advantages of physics-based and data-driven modeling.
134The results of Sect. 5 clearly show that further improvements to the data-driven model-free approaches are required.Currently, none of the considered model-free methods is able to approximate the simple given constitutive relation with similar precision as the model-based method with the lowest accuracy.It is however noteworthy that the relative influence of the discretization is around two orders of magnitude smaller for the data-driven model-free approach when compared to the model-based approach.If the overall accuracy of the model-free methods can be increased, this finding could yield a computational advantage over the model-based methods.However, at the current stage of development, this cannot be considered a reliable conclusion.
135The contribution at hand presents a first basis for future comparisons.Within the scope of this contribution, the investigation is limited to elastic material.Further progress would have to extend this with respect to inelastic materials as well as heterogeneous mesostructures. of 5 • 10 6 data points or including the additional objective functions for optimization of the NN tangent, the error can be decreased significantly.In those cases, for training on a uniformly random sampled data set, all the observed errors have values of approximately 0.2%.In the case of training data sampled on a Fibonacci hypersphere, those errors show values between 1 and 1.4%.This underlines the finding that for an NN constitutive description, the inclusion of physics-or thermodynamically informed optimization criteria in the training can increase the generalization ability more significantly than increasing the size of the database.or this particular application, enforcing tangent symmetry during training on a relatively small data set is already sufficient to achieve an accuracy that would otherwise require 50 times the number of data points.distances at convergence, especially for the later load steps.This explains the increase in the errors for the random uniform data sets as the number of data points increases.Furthermore, it can be observed from Fig. 13 that for a conservative annealing rate, the first load step as illustrated in Fig. 13a and the last load step as illustrated in Fig. 13b exhibit a reducing weighted distance which has not yet approached the optimal value.Further optimization of the problem leads to the divergence in the initial load step.
136The standard DM solver is compared to its tensor voting enhanced implementation in Fig. 14.The tensor voting enhancement is implemented as explained in Sect. 2. It extends the phase space with a tangent space, thus resulting in lower weighted distances and increasing the accuracy.This phenomenon is observed from the results presented in Fig. 14b, where the weighted distance is lower when compared to Fig. 14a.However, for the example at hand, this lower value of weighted distance does not translate to increased accuracy in the FEA as illustrated in Fig. 15, while requiring higher computational effort.
Appendix C. Neural network elastic tangent matrix
137While during training, the automatic differentiation [60], provided by ML libraries like T ensor Flow [56] or PyT orch [69], can be exploited, this is not necessarily the case in FEM.For the contribution at hand, F E AP [70] is used for performing the FE analysis where no access to any ML library exists.
138Consider an NN with n hidden layers and z i as the output of layer i. Hereby, the input layer will be defined as layer i = 0 and the output layer as i = n + 1, resulting in z 0 = x and z n+1 = y.For a two-layer NN, where g i denotes a layer's activation function, the relation between input and output is given as
139By applying the chain rule to Eq. (C1), the derivative of the output with respect to the input can be obtained as
140or, in general, for an n-layer NN as The largest difference in convergence behavior depending on the training data can be observed at the final load steps of the simulation.There, the models trained on the random uniform data can require up to two times as many steps until convergence as the models trained on the Fibonacci data.Interestingly, the largest number of iterations can be observed for the models that are trained with the inclusion of the numerical tangent values in both cases.Those are, in most cases, also the NN constitutive models that yield the lowest error to the reference solution in FEA, cf. Figure 8.For the NN trained on the random uniform data, constraining the tangent symmetry also leads to an increased number of necessary iterations until convergence for the last simulation steps.Similar behavior cannot be observed or is less pronounced for the same training strategy but utilizing Fibonacci data.
141Overall, additional constraints on the elastic tangent matrix during training seem to negatively impact the convergence behavior of the resulting NN constitutive models in FEA applications.This is particularly evident when approaching the boundaries of the training data space during the application in FEA.There, the NN Fig. 18 Convergence rate of two load steps for NN trained on random uniform data with tangent value constraint constitutive model is unable to achieve quadratic convergence.This is illustrated in Fig. 18 for the NN trained on the full random uniform data set by also constraining the exact tangent values.It is evident that for load step 38 quadratic convergence can be achieved.However, when a negative stiffness is observable in at least one component, only linear convergence behavior is attainable.Similar can be observed for the reference constitutive model, albeit for larger strains.This can be attributed to the quadratic term of the constitutive model yielding a strain-softening behavior which leads to instabilities in the convergence of the FEA solution.However, it is still apparent that the NNs predict this behavior with an earlier onset than is the case with the reference constitutive model.
142The convergence rate is worse the more constrained the tangent is during training.However, considering Fig. 8, this increase in iterations also results in a mostly significant increase in the accuracy of the simulation.The larger accuracy can justify the overall small increase in computational cost.
w
143e B T e C e B e u = m e=1 w e B T e C e ε e , (6) m e=1 w e B T e C e B e λ = f − m e=1
Fig. 1
144Fig.1Schematic strain state sampling by different strategies for 1000 states representing the phase space of a specimen in R 2
Fig. 3
145Fig. 3 Cook's membrane example
Fig. 9
146Fig. 9 NN constitutive law performance in Cook's membrane example with a coarser mesh for training on different data sets
Fig. 10
147Fig.10 Best and worst simulation performances of NN constitutive law for a finer mesh
Fig. 11
148Fig. 11 Best and worst simulation performances of NN constitutive law for a coarser mesh
Fig. 13
149Fig.13 Evolution of the weighted distance with a conservative annealing rate
Fig. 15
150Fig. 15 DD solver performance in Cook's membrane example for DM solver and Tensor voting enhanced DM solver
151Figures 16 and 17 depict the number of Newton--Raphson iterations required by the FE simulations until the convergence criterion is reached.Thereby, Fig. 16 displays the result for different NN constitutive models trained on the random uniform data, while Fig. 17 contains similar information for the models trained on the Fibonacci data set.The red graph in both figures indicates the required iteration steps of the reference constitutive model of Sect.4.2.It is obvious that the reference model constantly achieves convergence in four iteration steps, except for the last three load steps, where this increases up to six steps.All the NN constitutive models exhibit similar behavior, requiring four iteration steps until convergence for most of the simulation.Notably, only the model trained on only the smallest Fibonacci data set differs by always requiring three iteration steps.The other NN constitutive models can achieve this by up to the eighth load step at maximum.
Fig. 16 Fig. 17
152Fig. 16 Iteration steps until convergence for NN trained on random uniform data
Table 1
153Material parameters
Table 2
154NN hyperparameters
Table 3
155NN prediction errors on the union of test data sets
참고문헌 62건
- Improved Two-Dimensional Finite Element Journal of the Structural Division · American Society of Civil Engineers · 1974 10.1061/jsdeag.0003877
- Computational homogenization of nonlinear elastic materials using neural networks International Journal for Numerical Methods in Engineering · Wiley · 2015 10.1002/nme.4953
- Automatic differentiation in machine learning: a survey arXiv (Cornell University) · Cornell University · 2015 10.4230/lipics.ecoop.2019.25
- Elastic properties of reinforced solids: Some theoretical principles Journal of the Mechanics and Physics of Solids · Elsevier BV · 1963 10.1016/0022-5096(63)90036-x
- A Mathematical Theory of Communication Bell System Technical Journal · Institute of Electrical and Electronics Engineers · 1948 10.1002/j.1538-7305.1948.tb01338.x
- On Weierstrass extreme value theorem Optimization Letters · Springer Science+Business Media · 2012 10.1007/s11590-012-0587-0
- Optimization by Simulated Annealing Science · American Association for the Advancement of Science · 1983 10.1126/science.220.4598.671
- The Maxwell–Boltzmann distribution Molecular Physics · Taylor & Francis · 2005 10.1080/002068970500044749
- Measurement of Areas on a Sphere Using Fibonacci and Latitude–Longitude Lattices Mathematical Geosciences · Springer Science+Business Media · 2009 10.1007/s11004-009-9257-x
- New nested adaptive neural networks (NANN) for constitutive modeling Computers and Geotechnics · Elsevier BV · 1998 10.1016/s0266-352x(97)00034-7
- Artificial Neural Networks in numerical modelling of composites Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2009 10.1016/j.cma.2008.12.036
- Strategies and best practice for neural network image classification International Journal of Remote Sensing · Taylor & Francis · 1997 10.1080/014311697218719
- Data-driven computational mechanics Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2016 10.1016/j.cma.2016.02.001
- A Method of Numerical Material Testing in Nonlinear Multiscale Material Analyses TRANSACTIONS OF THE JAPAN SOCIETY OF MECHANICAL ENGINEERS Series A · Japan Society Mechanical Engineers · 2008 10.1299/kikaia.74.1084
- Nonlinear Solid Mechanics Solid mechanics and its applications · Springer Nature (Netherlands) · 2009 10.1007/978-90-481-2331-5
- 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
- Data-based derivation of material response Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2017 10.1016/j.cma.2017.11.013
- 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
- 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
- (제목 없음) DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · Schloss Dagstuhl – Leibniz Center for Informatics · 2021 10.4230/lipics.cp.2021.42
- Hidden fluid mechanics: Learning velocity and pressure fields from flow visualizations Science · American Association for the Advancement of Science · 2020 10.1126/science.aaw4741
- Dimensionality Estimation, Manifold Learning and Function Approximation using Tensor Voting Journal of Machine Learning Research · The MIT Press · 2010 10.5555/1756006.1756018
- SO(3)-invariance of informed-graph-based deep neural network for anisotropic elastoplastic materials Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.112875
- Model-free data-driven computational mechanics enhanced by tensor voting Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.113499
- Data-Driven multiscale modeling in mechanics Journal of the Mechanics and Physics of Solids · Elsevier BV · 2020 10.1016/j.jmps.2020.104239
- Recurrent neural networks (RNNs) learn the constitutive law of viscoelasticity Computational Mechanics · Springer Science+Business Media · 2021 10.1007/s00466-021-01981-y
- 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
- Finite element solver for data-driven finite strain elasticity Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.113756
- 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
- Efficient data structures for model-free data-driven computational mechanics Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.113855
- Constrained neural network training and its application to hyperelastic material modeling Computational Mechanics · Springer Science+Business Media · 2021 10.1007/s00466-021-02064-8
- EP-PINNs: Cardiac Electrophysiology Characterisation Using Physics-Informed Neural Networks Frontiers in Cardiovascular Medicine · Frontiers Media · 2022 10.3389/fcvm.2021.768419
- Analyses of internal structures and defects in materials using physics-informed neural networks Science Advances · American Association for the Advancement of Science · 2022 10.1126/sciadv.abk0644
- A novel self-adversarial training scheme for enhanced robustness of inelastic constitutive descriptions by neural networks Computers & Structures · Elsevier BV · 2022 10.1016/j.compstruc.2022.106774
- 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
- Physics informed neural networks for continuum micromechanics Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.114790
- 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
- MEAN ABSOLUTE PERCENTAGE ERROR (MAPE) Springer eBooks · Springer Nature · 2000 10.1007/1-4020-0612-8_580
- Tensor Voting Kluwer international series in engineering and computer science · Springer Nature · 2000 10.1007/978-1-4615-4413-5_12
- Accelerating the distance-minimizing method for data-driven elasticity with adaptive hyperparameters Computational Mechanics · Springer Science+Business Media · 2022 10.1007/s00466-022-02183-w
- Machine learning in concrete science: applications, challenges, and best practices npj Computational Materials · Nature Portfolio · 2022 10.1038/s41524-022-00810-x
- 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
- Neural Network-Based Constitutive Model for Solid Materials 15th World Congress on Computational Mechanics (WCCM-XV) and 8th Asian Pacific Congress on Computational Mechanics (APCOM-VIII) · 2022 10.23967/wccm-apcom.2022.079
- 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
- Finite electro-elasticity with physics-augmented neural networks Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.115501
- A mixed formulation for physics-informed neural networks as a potential solver for engineering problems in heterogeneous domains: comparison with finite element method arXiv (Cornell University) · Cornell University · 2022 10.1016/j.cma.2022.115616
- Model-free Data-Driven inference in computational mechanics Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.115704
- A new family of Constitutive Artificial Neural Networks towards automated model discovery Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.115731
- Deep Learning for Multiscale Damage Analysis via Physics-Informed Recurrent Neural Network arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2212.01880
- FE$${}^\textrm{ANN}$$: an efficient data-driven multiscale approach based on physics-constrained neural networks and automated data mining Computational Mechanics · Springer Science+Business Media · 2023 10.1007/s00466-022-02260-0
- Physically enhanced training for modeling rate-independent plasticity with feedforward neural networks Computational Mechanics · Springer Science+Business Media · 2023 10.1007/s00466-023-02316-9
- A physics-informed deep neural network for surrogate modeling in classical elasto-plasticity Computers and Geotechnics · Elsevier BV · 2023 10.1016/j.compgeo.2023.105472
- Data-driven breakage mechanics: Predicting the evolution of particle-size distribution in granular media Journal of the Mechanics and Physics of Solids · Elsevier BV · 2023 10.1016/j.jmps.2023.105328
- Neural networks meet hyperelasticity: A guide to enforcing physics Journal of the Mechanics and Physics of Solids · Elsevier BV · 2023 10.1016/j.jmps.2023.105363
- A comparative study on different neural network architectures to model inelasticity International Journal for Numerical Methods in Engineering · Wiley · 2023 10.1002/nme.7319
- Introduction of a recurrent neural network constitutive description within an implicit gradient enhanced damage framework Computers & Structures · Elsevier BV · 2023 10.1016/j.compstruc.2023.107162
- Machine Learning in Computer Aided Engineering Computational methods in engineering & the sciences · Springer Nature · 2023 10.1007/978-3-031-36644-4_1
- A framework for neural network based constitutive modelling of inelastic materials Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2023 10.1016/j.cma.2023.116672
- Deep learning in computational mechanics: a review Computational Mechanics · Springer Science+Business Media · 2024 10.1007/s00466-023-02434-4
- Data-driven micromorphic mechanics for materials with strain localization Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2024 10.1016/j.cma.2024.117180
- Application of Data-Driven computing to patient-specific prediction of the viscoelastic response of human brain under transcranial ultrasound stimulation Biomechanics and Modeling in Mechanobiology · Springer Science+Business Media · 2024 10.1007/s10237-024-01830-w
- Data-driven micromorphic mechanics for materials with strain localization Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2024 10.1016/j.cma.2024.117180