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

Physics-informed deep learning for digital materials

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

기본 정보

저자
  1. Zhizhou Zhang — Department of Mechanical Engineering, University of California, Berkeley, CA 94720, USA
  2. Grace X. Gu — Department of Mechanical Engineering, University of California, Berkeley, CA 94720, USA
DOI
10.1016/j.taml.2021.100220
저널
Theoretical and Applied Mechanics Letters
발행년도
2021
발행기관
Elsevier BV
피인용수
55
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.taml.2021.100220
토픽
Thermal properties of materials
OpenAlex ID
W3127215704

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(10) 아라미드, (21) 에폭시수지
R&D 측면
분석·모델링
확신도
0.80
근거 용어
physics-informed neural network, digital materials, strain energy, design of next-generation composites, nonlinear logarithmic strain
판단 근거
물리 법칙을 결합한 딥러닝 모델을 통해 재료의 변형 에너지와 물리적 거동을 예측하는 연구로, 신규 복합소재 설계 및 물성 예측에 활용 가능한 방법론을 다루고 있습니다.
R&D 활용 포인트
아라미드/에폭시 기반 복합재나 엔지니어링 플라스틱 컴파운드의 기계적 물성 및 변형 거동을 시뮬레이션하고 최적의 소재 설계를 가속화하는 데 활용할 수 있습니다.
평가 입력
초록 1,000자

초록

In this work, a physics-informed neural network (PINN) designed specifically for analyzing digital materials is introduced. This proposed machine learning (ML) model can be trained free of ground truth data by adopting the minimum energy criteria as its loss function. Results show that our energy-based PINN reaches similar accuracy as supervised ML models. Adding a hinge loss on the Jacobian can constrain the model to avoid erroneous deformation gradient caused by the nonlinear logarithmic strain. Lastly, we discuss how the strain energy of each material element at each numerical integration point can be calculated parallelly on a GPU. The algorithm is tested on different mesh densities to evaluate its computational efficiency which scales linearly with respect to the number of nodes in the system. This work provides a foundation for encoding physical behaviors of digital materials directly into neural networks, enabling label-free learning for the design of next-generation composites.

본문 21,826자

본문 펼치기
A physics-informed neural network framework is proposed to predict the behavior of digital materials.• The proposed method does not require simulation labels and has similar performance as supervised learning models.• Nonlinear strain is well approximated by adding deformation constraints in the loss function.• The energy loss function can be evaluated parallelly over the elements and quadrature points, allowing for efficient model training. Additive manufacturing (AM), also known as 3D-printing, has been a popular research tool for its ability to accurately fabricate structures with complex shapes and material distribution [1][2][3][4].This spatial maneuverability inspires designs of next-generation composites with unprecedented material properties [5][6][7], and programmable smart composites that are responsive to external stimulus [8][9][10][11].To characterize this large design space realized by AM, researchers introduced the concept of digital materials (DM).In short, a digital material description considers a composite as an assembly of material voxels, which covers the entire domain of 3D-printable materials as long as the DM resolution is high enough [12,13]. It becomes difficult to explore and understand the material behaviors of DMs due to the enormous design space.Traditional methods such as experiments and numerical simulations are often hindered by labor or high computational costs.One popular alternative is to use a high capacity machine learning (ML) model (neural network) to interpolate and generalize the entire design space from a sample dataset labeled with experiments or simulations [14][15][16][17].This is also called a supervised ML approach (Fig. 1), and has been proven to yield accurate predictions with adequate ground truth data and a properly structured model [18][19][20][21][22]. On the other hand, data is not the only source of knowledge especially for problems where the well-established physical laws can be encoded as prior knowledge for neural network training.As seen in Fig. 1, such a model is named as the physics-informed neural network (PINN) which directly uses the governing equations (typically partial differential equations that define the physical rules) as the training loss rather than learn-ing from data [23].Researchers have been using PINN as a solution approximator or a surrogate model for various physics problems with initial and boundary conditions as the only labeled data [24][25][26][27][28].However, unlike the supervised approach, PINN frameworks must be well engineered to fit different problems.For example, Heider et al. [29] successfully represent a frame-invariant constitutive model of anisotropic elasto-plastic material responses as a neural network.Their results show that a combination of spectral tensor representation, the geodesic loss on the unit sphere in Lie algebra, and the "informed" direct relation recurrent neural network yields better performance than other model configurations.Yang et al. [30] build a Bayesian PINN to solve partial differential equations with noisy data.Their framework is proved to be more accurate and robustness when the posterior is estimated through the Hamiltonian Monto Carlo method rather than the variational inference.Chen and Gu [31] realize fast hidden elastography based on measured strain distributions using PINNs.Convolution kernels are introduced to examine the conservation of linear momentum through the finite difference method.The above-mentioned works demonstrate the complexity of PINN applications, which thus require intense research work. In this paper, we will introduce how PINNs can be extended into DM problems by solving the following challenges.First, the material property (e.g., modulus, Poisson's ratio) of a DM is described in a discontinuous manner and thus not differentiable over space.Therefore, the PINN approach must be modified to compensate for this DM specific feature.Second, nonlinear strains generated by large deformation on solids should be approximated and constrained properly.Lastly, the proposed PINN should be reasonably accurate and efficient compared with numerical simulations and supervised ML models.This approach can offer a label-free training of ML models to more efficiently understand and design next-generation composites. The PINN is first tested on a 1D digital material which is simply a composite beam as seen in Fig. 2a.We would like to make a note that all quantities presented in this paper are dimensionless, meaning that one could use any set of SI units as long as they are consistent (e.g., m for length with Pa for stress, or mm for length with MPa for stress).The beam consists of 10 linear elastic segments which all have the same length of 0.1 but different modulus within a range of 1-5.The beam is fixed at its left tip and extended by 20% on its right tip (Dirichlet boundary condition).The governing equation for this 1D digital material can be easily derived as (Eu')' = 0 where E denotes the modulus, u denotes the displacement field, and the material is assumed to be free of body force.For this problem, only the linear component of strain is considered, which will be extended into a nonlinear strain in a later section.Our goal is to train a neural network to predict the displacement field under various material configurations.A normal physics-informed approach would construct a neural net which takes material configuration E and material coordinate x as inputs, and outputs a displacement response at that coordinate.The loss function would simply be the squared residual of the governing equation given above.The auto differentiation packages of ML frameworks allows straightforward computation of u' by backpropagating the neural network.However, one also needs E' which is not available under a digital material configuration where E is basically a combination of step functions. Therefore, instead of the strong governing equation which requires spatial differentiation, a weaker expression is adopted that takes the integral of the material strain energy over space.For this static problem, the solution for a minimum strain energy also satisfies the strong form governing equation.Here, we construct a neural network which takes only as the inputs, and outputs the nodal displacement values .The total strain energy is evaluated using a first-order interpolation function for the displacement field which is then passed as the loss function for the neural network.The neural network contains 3 hidden layers of size 10 and uses tanh() as the activation function.900 sets of input features are randomly generated to train the model.200 sets of features are labeled by numerically solving the governing equation where half is used for validation, and the other half for final testing.The model is trained for 50 epochs on the Adam optimizer with a batch size of 10 and a learning rate of 0.001.We stop training at an epoch number where the model performance starts to converge.This stopping criterion is implemented for all the models presented in this paper.The trained PINN shows an average displacement prediction error of 0.0038 for each node based on the testing set.shows a comparison between some predicted shapes of the beam and the ground truth shapes.As a reference, another neural network is trained in a supervised manner with the same dataset but labeled.This supervised model shares the exact same structure and hyperparameter settings, and reaches a testing error of 0.0036 after 50 epochs of training.To examine PINN's performance under different data density, both models (PINN and supervised) are further trained with 180 and 4500 sets of input features.The same proportion of validation and testing data are labeled for each case.A comparison of performance is shown in Fig. 2c where both models produce similar testing errors under different sizes of datasets.So far, we have demonstrated the viability of training a PINN with a strain energy loss for this simple linear digital material under a Dirichlet boundary condition.And it turns out that the same approach also functions properly under a Neumann boundary condition with a few modifications. Figure 2d shows a same 1D digital material configuration as previous, but subject to a constant force of 1 at the right tip bending the beam upward.The beam is assumed to possess a constant area moment of inertia of 0.6 at its cross section.Again, the minimum energy approach is adopted which has an expression of .denotes the area moment of inertia of the beam cross section, denotes the vertical displacement field, and F denotes the constant force at the right tip. Notice that there is a work term associated with the tip force F in the system energy expression when there is a Neumann boundary condition.To numerically evaluate the strain energy (the integral term) of a bent beam, we adopt the Hermite shape function [32] which assigns two degrees of freedom at each node i: the beam deflection and beam slope , so that the beam smoothness is guaranteed.Therefore, the neural network has an input layer of size 10 to receive the material configuration E, an output layer of size 20 to predict the deflections and slopes at the nodes (except for the left tip which is fixed and has a slope of 0), and 3 hidden layers of size 30.The neural network for the bending problem has more neurons in its hidden layers because it is expected to have larger and more complex output responses.The activation is chosen to be the scaled exponential linear unit function.The model is trained for 80 epochs on the Adam optimizer on 900 sets of randomly generated input features with a batch size of 1 and a learning rate of 0.001.Another 200 sets of features are randomly generated and labeled for validation and testing. The trained PINN shows an average deflection prediction er- −F v tip ror of 0.0056 for each node based on the testing set. Figure 2e shows a comparison between some predicted shapes of the beam and the ground truth shapes.A reference supervised neural network with the exact same structure and hyperparameters reaches a testing error of 0.0055 after 80 epochs of training.The performance of the PINN and the supervised model is also compared under different sizes of datasets as discussed for the tension problem (Fig. 2f).Interestingly, the results of this bending problem have two major characteristics.First, the supervised model greatly outperforms the PINN under a low data density (180 sets of training features).Second, using any batch size other than 1 would greatly reduce the training performance.It is believed that these phenomenons are caused by the work term which assigns a much larger gradient on the right tip deflection than any other model outputs.This unbalanced gradient can introduce instability during the parameter descent process which will be explored further in future studies. The above discussions illustrate the energy-based physicsinformed models for intuitive 1D digital materials.However, real-world problems can be more complex in the following aspects: high order tensor operation for 2D or 3D geometries, nonlinear strain as a result of large deformation, computational efficiency for evaluating and backpropagating the energy loss, which will be addressed below.ν Figure 3a shows a 2D digital material configuration that is symmetrical about its vertical centerline.The material sheet is fixed at its bottom edge and extended by a distance of 3 at its top edge (a Dirichlet boundary condition).The entire material domain is discretized into 8×8 elements with a size of 1×1.The material elements obey isotropic linear elasticity where the modulus E stays in the range of 1-5, and the Poisson's ratio stays in the range of 0.3-0.49. Figure 3b gives a simple illustration of the physics-informed model for this 2D digital material.Due to the symmetry and boundary conditions, this configuration has a total of 64 features (2 material properties for each of the 32 elements on one side) as the inputs for the neural network, and 90 nodal displacement responses (45 nodes on one side, each has 2 displacement responses) as the outputs of the neural network.Note that there are 23 nodal displacements constrained by the boundary conditions or the symmetry, so the actual prediction should be of size 67.However, we set the output min u 1 2 ∫ ε T EεdΩ ε layer size to 90 for a better computational efficiency which will be explained in more details later.The loss function for this neural network is again the elastic energy but in a 2D expression .Here we use the 2D logarithmic strain vector for to account for the nonlinearity under large deformation, and E represents the 3×3 2D material stiffness matrix built upon modulus and Poisson's ratio.The integral is evaluated numerically using 4-point Gaussian quadrature on first-order 2D shape functions.As the problem size and complexity increase, sequentially computing the element strain energy loss would be extremely inefficient and more expensive than directly labeling the data through simulations.Notice that the element strain energies and Gaussian quadrature can both be computed parallelly.Therefore, when implementing the energy loss function, we can greatly accelerate the forward and backward path of the neural network utilizing the batch tensor operation on a GPU. The following discussions will be based on Pytorch, but can be easily extended to other frameworks.First, we pre-construct mask tensors to filter the model outputs so that the displacement predictions will obey the boundary conditions exactly.This masking operation blocks any gradients passing the boundary nodes.The masked output layer u is then reshaped (according to connectivity) into a fifth-order tensor of size batch×32×1×2×4 where the second dimension represents the 32 elements.The quadrature tensor is also pre-constructed with a size of batch×1×4×4×2 where the third dimension represents the 4 quadrature points.Using Eq. (1) which multiplies the last two dimensions of the displacement tensor and the quadrature tensor, we can calculate the displacement gradient on the local coordinates ξ for each element at each quadrature point. (1 − ξ 2 ) (1 + ξ 2 ) 1 4 C Next, the global displacement gradient (it has a shape of batch×32×4×2×2) can be obtained by multiplying the local gradient tensor with the mapping tensor from ξ to which is a fixed quantity and can be pre-constructed before training.The deformation gradient F equals to , where I is a 2×2 identity matrix.The Green's deformation tensor C can then be calculated as F T F which further equals to the square of the right stretch tensor .And the nonlinear logarithmic strain can be obtained by taking the square root and natural log on the eigenspace of (take operations on the eigenvalues of C, then reconstruct the tensor).The strain tensor is then reshaped into a size of batch×32×4×3. C For the material stiffness matrix, the input features are augmented so that instead of passing E and into the model, we pass , , and for each material element (the neural network has an input layer of size 96 instead of 64).Thereafter, E (size of batch×32×4×3×3) can be easily constructed by gathering the corresponding input features on each of its rows without an element-wise value assignment.The strain energy of each element at each quadrature point can now be parallelly computed on GPU through tensor products between reconstructed and E. The last step is to sum over the second (size of 32) and third (size of 4) dimensions of the energy tensor to obtain the total strain energy as the prediction loss. C Every step discussed above is a pure tensor operation that is parallelable on a GPU and differentiable.However, the deformation gradient F step may require extra care.Due to the neural network's ignorance of the physical world, the model is theoretically allowed to predict any displacement responses without constraints at the early stages of training.This can produce physically nonexistent F which has a negative determinant.Although the model training can still proceed for such erroneous F, the gradient update for the neural network parameters are likely pointing towards a wrong direction and thus negatively affect the convergence rate and stability.To overcome this issue, one method is to initialize the neural network so that the initial guesses of nodal displacement responses have small magnitudes compared to the size of an element (1×1), and the mod-−min(0, J ) el parameters never enter the problematic region.Another method we adopted is adding this extra term to the loss function where J (Jacobian) is the determinant of F. This term has no effect on training when J is positive, but it penalizes and forces the neural network to produce more positive J values whenever it predicts an erroneous F. C With the above discussions in mind, the PINN for this 2D digital material has an input layer of size 96, an output layer of size 90, 4 hidden layers of size (96, 128, 128, 90), and an activation function tanh().The model is trained for 50 epochs on the Adam optimizer on 4500 sets of randomly generated input features with a batch size of 5 and a learning rate of 0.001.Another 1000 sets of features are randomly generated and labeled for validation and testing.The trained PINN shows an average testing error of 0.021 (average R-squared value of 90.48%) for the nodal displacements on each coordinate.Figure 4a shows a comparison between some predicted shapes of the deformed 2D material and the ground truth shapes.A reference supervised neural network with the exact same structure and hyperparameters reaches a testing error of 0.019 after 50 epochs of training.Nvidia RTX 2080 GPU is used to accelerate tensor operations.To further examine the scalability of our energy loss, we construct neural networks for different mesh configurations as seen in Fig. 4b.The neural network size scales linearly with the number of nodes.All these models with different sizes are each trained on 4500 sets of randomly generated input features for one epoch.The corresponding real-world time is plotted in Fig. 4b which scales linearly with respect to the number of nodes.Due to the nonlinearity and stochasticity of the neural network training process, it is difficult to bound the required number of epochs till convergence and will be explored in future work.However, the results still show the potential of the energy-based PINN to be more efficient than generating simulation labels (simulation cost is typically O(n 2 )-O(n 3 ) where n represents the number of nodes [33]). C In summary, we successfully trained PINN models for DM using the minimum energy criteria instead of the governing equation as the loss function.The method shows comparable accuracy to the supervised models on the 1D tension, 1D bending, and 2D tension problems discussed in this paper.Results show that our proposed PINN can properly approximate the logarithmic strain and fix any erroneous deformation gradient by adding a hinge loss for the Jacobian.Moreover, the loss evaluation step can be parallelized over the elements and quadrature points on a GPU through proper tensor rearrangements on input features and outputs responses.The single epoch computation cost of the optimized algorithm scales linearly with respect to the number of nodes (or elements) in a DM mesh.This work shows the possibility of training PINNs for digital materials accurately and efficiently, allowing direct ML exploration of nextgeneration composite design without the necessity of expensive multi-physics simulations. Fig. 1 . Fig.1.A schematic comparing the supervised learning and physics-informed learning for material behavior prediction.A supervised learning approach fits a model to approximate the ground truth responses of collected data.A physics-informed approach fits a model by directly learning from the governing partial differential equation (PDE). Fig. 2 . Fig. 2. a A 1D digital material extension problem subject to a Dirichlet boundary condition.The goal is to have a PINN predicting the displacement responses based on different material configurations.b Comparison between numerical simulated material deformation and neural network predicted material deformation.Here, x represents the coordinate, u represents the displacement, "Sim" represents the simulation results and "Pred" represents the model predicted results.c Comparison between the supervised model and the PINN with different amount of data for the 1D tension problem.d A 1D digital material bending problem subject to a Neumann boundary condition.The goal is to have a PINN predicting the deflection responses based on different material configurations.e Comparison between numerical simulated material bending and neural network predicted material bending.Here, x represents the coordinate, u represents the deflection.f Comparison between the supervised model and the PINN with different amount of data for the 1D bending problem. u 1 , 2 Ω 1 Fig. 3 . Fig. 3. a A 2D digital material extension problem subject to a Dirichlet boundary condition.The entire 2D sheet has a size of 8×8, and is extended by a distance of 3 at its top edge.b A simple schematic showing the structure of the PINN for the 2D digital material.The model takes the modulus and Poisson's ratio as inputs and outputs the vertical and horizontal displacements for each node.The total material strain energy is used as the loss function for training. Fig. 4 . Fig. 4. a Comparison between numerically simulated material deformation and neural network predicted material deformation for the 2D digital material.b Computation cost of one epoch of model training under different mesh.The orange dashed lines indicate the symmetry axis.

섹션 본문 24문단 · 21,730자

(제목 없음)

1A physics-informed neural network framework is proposed to predict the behavior of digital materials.• The proposed method does not require simulation labels and has similar performance as supervised learning models.• Nonlinear strain is well approximated by adding deformation constraints in the loss function.• The energy loss function can be evaluated parallelly over the elements and quadrature points, allowing for efficient model training.

2Additive manufacturing (AM), also known as 3D-printing, has been a popular research tool for its ability to accurately fabricate structures with complex shapes and material distribution [1][2][3][4].This spatial maneuverability inspires designs of next-generation composites with unprecedented material properties [5][6][7], and programmable smart composites that are responsive to external stimulus [8][9][10][11].To characterize this large design space realized by AM, researchers introduced the concept of digital materials (DM).In short, a digital material description considers a composite as an assembly of material voxels, which covers the entire domain of 3D-printable materials as long as the DM resolution is high enough [12,13].

3It becomes difficult to explore and understand the material behaviors of DMs due to the enormous design space.Traditional methods such as experiments and numerical simulations are often hindered by labor or high computational costs.One popular alternative is to use a high capacity machine learning (ML) model (neural network) to interpolate and generalize the entire design space from a sample dataset labeled with experiments or simulations [14][15][16][17].This is also called a supervised ML approach (Fig. 1), and has been proven to yield accurate predictions with adequate ground truth data and a properly structured model [18][19][20][21][22]. On the other hand, data is not the only source of knowledge especially for problems where the well-established physical laws can be encoded as prior knowledge for neural network training.As seen in Fig. 1, such a model is named as the physics-informed neural network (PINN) which directly uses the governing equations (typically partial differential equations that define the physical rules) as the training loss rather than learn-ing from data [23].Researchers have been using PINN as a solution approximator or a surrogate model for various physics problems with initial and boundary conditions as the only labeled data [24][25][26][27][28].However, unlike the supervised approach, PINN frameworks must be well engineered to fit different problems.For example, Heider et al. [29] successfully represent a frame-invariant constitutive model of anisotropic elasto-plastic material responses as a neural network.Their results show that a combination of spectral tensor representation, the geodesic loss on the unit sphere in Lie algebra, and the "informed" direct relation recurrent neural network yields better performance than other model configurations.Yang et al. [30] build a Bayesian PINN to solve partial differential equations with noisy data.Their framework is proved to be more accurate and robustness when the posterior is estimated through the Hamiltonian Monto Carlo method rather than the variational inference.Chen and Gu [31] realize fast hidden elastography based on measured strain distributions using PINNs.Convolution kernels are introduced to examine the conservation of linear momentum through the finite difference method.The above-mentioned works demonstrate the complexity of PINN applications, which thus require intense research work.

4In this paper, we will introduce how PINNs can be extended into DM problems by solving the following challenges.First, the material property (e.g., modulus, Poisson's ratio) of a DM is described in a discontinuous manner and thus not differentiable over space.Therefore, the PINN approach must be modified to compensate for this DM specific feature.Second, nonlinear strains generated by large deformation on solids should be approximated and constrained properly.Lastly, the proposed PINN should be reasonably accurate and efficient compared with numerical simulations and supervised ML models.This approach can offer a label-free training of ML models to more efficiently understand and design next-generation composites.

5The PINN is first tested on a 1D digital material which is simply a composite beam as seen in Fig. 2a.We would like to make a note that all quantities presented in this paper are dimensionless, meaning that one could use any set of SI units as long as they are consistent (e.g., m for length with Pa for stress, or mm for length with MPa for stress).The beam consists of 10 linear elastic segments which all have the same length of 0.1 but different modulus within a range of 1-5.The beam is fixed at its left tip and extended by 20% on its right tip (Dirichlet boundary condition).The governing equation for this 1D digital material can be easily derived as (Eu')' = 0 where E denotes the modulus, u denotes the displacement field, and the material is assumed to be free of body force.For this problem, only the linear component of strain is considered, which will be extended into a nonlinear strain in a later section.Our goal is to train a neural network to predict the displacement field under various material configurations.A normal physics-informed approach would construct a neural net which takes material configuration E and material coordinate x as inputs, and outputs a displacement response at that coordinate.The loss function would simply be the squared residual of the governing equation given above.The auto differentiation packages of ML frameworks allows straightforward computation of u' by backpropagating the neural network.However, one also needs E' which is not available under a digital material configuration where E is basically a combination of step functions.

6Therefore, instead of the strong governing equation which requires spatial differentiation, a weaker expression is adopted that takes the integral of the material strain energy over space.For this static problem, the solution for a minimum strain energy also satisfies the strong form governing equation.Here, we construct a neural network which takes only as the inputs, and outputs the nodal displacement values .The total strain energy is evaluated using a first-order interpolation function for the displacement field which is then passed as the loss function for the neural network.The neural network contains 3 hidden layers of size 10 and uses tanh() as the activation function.900 sets of input features are randomly generated to train the model.200 sets of features are labeled by numerically solving the governing equation where half is used for validation, and the other half for final testing.The model is trained for 50 epochs on the Adam optimizer with a batch size of 10 and a learning rate of 0.001.We stop training at an epoch number where the model performance starts to converge.This stopping criterion is implemented for all the models presented in this paper.The trained PINN shows an average displacement prediction error of 0.0038 for each node based on the testing set.shows a comparison between some predicted shapes of the beam and the ground truth shapes.As a reference, another neural network is trained in a supervised manner with the same dataset but labeled.This supervised model shares the exact same structure and hyperparameter settings, and reaches a testing error of 0.0036 after 50 epochs of training.To examine PINN's performance under different data density, both models (PINN and supervised) are further trained with 180 and 4500 sets of input features.The same proportion of validation and testing data are labeled for each case.A comparison of performance is shown in Fig. 2c where both models produce similar testing errors under different sizes of datasets.So far, we have demonstrated the viability of training a PINN with a strain energy loss for this simple linear digital material under a Dirichlet boundary condition.And it turns out that the same approach also functions properly under a Neumann boundary condition with a few modifications.

7Figure 2d shows a same 1D digital material configuration as previous, but subject to a constant force of 1 at the right tip bending the beam upward.The beam is assumed to possess a constant area moment of inertia of 0.6 at its cross section.Again, the minimum energy approach is adopted which has an expression of .denotes the area moment

8of inertia of the beam cross section, denotes the vertical displacement field, and F denotes the constant force at the right tip.

9Notice that there is a work term associated with the tip force F in the system energy expression when there is a Neumann boundary condition.To numerically evaluate the strain energy (the integral term) of a bent beam, we adopt the Hermite shape function [32] which assigns two degrees of freedom at each node i: the beam deflection and beam slope , so that the beam smoothness is guaranteed.Therefore, the neural network has an input layer of size 10 to receive the material configuration E, an output layer of size 20 to predict the deflections and slopes at the nodes (except for the left tip which is fixed and has a slope of 0), and 3 hidden layers of size 30.The neural network for the bending problem has more neurons in its hidden layers because it is expected to have larger and more complex output responses.The activation is chosen to be the scaled exponential linear unit function.The model is trained for 80 epochs on the Adam optimizer on 900 sets of randomly generated input features with a batch size of 1 and a learning rate of 0.001.Another 200 sets of features are randomly generated and labeled for validation and testing.

10The trained PINN shows an average deflection prediction er- −F v tip ror of 0.0056 for each node based on the testing set. Figure 2e shows a comparison between some predicted shapes of the beam and the ground truth shapes.A reference supervised neural network with the exact same structure and hyperparameters reaches a testing error of 0.0055 after 80 epochs of training.The performance of the PINN and the supervised model is also compared under different sizes of datasets as discussed for the tension problem (Fig. 2f).Interestingly, the results of this bending problem have two major characteristics.First, the supervised model greatly outperforms the PINN under a low data density (180 sets of training features).Second, using any batch size other than 1 would greatly reduce the training performance.It is believed that these phenomenons are caused by the work term which assigns a much larger gradient on the right tip deflection than any other model outputs.This unbalanced gradient can introduce instability during the parameter descent process which will be explored further in future studies.

11The above discussions illustrate the energy-based physicsinformed models for intuitive 1D digital materials.However, real-world problems can be more complex in the following aspects: high order tensor operation for 2D or 3D geometries, nonlinear strain as a result of large deformation, computational efficiency for evaluating and backpropagating the energy loss, which will be addressed below.ν Figure 3a shows a 2D digital material configuration that is symmetrical about its vertical centerline.The material sheet is fixed at its bottom edge and extended by a distance of 3 at its top edge (a Dirichlet boundary condition).The entire material domain is discretized into 8×8 elements with a size of 1×1.The material elements obey isotropic linear elasticity where the modulus E stays in the range of 1-5, and the Poisson's ratio stays in the range of 0.3-0.49. Figure 3b gives a simple illustration of the physics-informed model for this 2D digital material.Due to the symmetry and boundary conditions, this configuration has a total of 64 features (2 material properties for each of the 32 elements on one side) as the inputs for the neural network, and 90 nodal displacement responses (45 nodes on one side, each has 2 displacement responses) as the outputs of the neural network.Note that there are 23 nodal displacements constrained by the boundary conditions or the symmetry, so the actual prediction should be of size 67.However, we set the output min u 1 2 ∫ ε T EεdΩ ε layer size to 90 for a better computational efficiency which will be explained in more details later.The loss function for this neural network is again the elastic energy but in a 2D expression .Here we use the 2D logarithmic strain vector for to account for the nonlinearity under large deformation, and E represents the 3×3 2D material stiffness matrix built upon modulus and Poisson's ratio.The integral is evaluated numerically using 4-point Gaussian quadrature on first-order 2D shape functions.As the problem size and complexity increase, sequentially computing the element strain energy loss would be extremely inefficient and more expensive than directly labeling the data through simulations.Notice that the element strain energies and Gaussian quadrature can both be computed parallelly.Therefore, when implementing the energy loss function, we can greatly accelerate the forward and backward path of the neural network utilizing the batch tensor operation on a GPU.

12The following discussions will be based on Pytorch, but can be easily extended to other frameworks.First, we pre-construct mask tensors to filter the model outputs so that the displacement predictions will obey the boundary conditions exactly.This masking operation blocks any gradients passing the boundary nodes.The masked output layer u is then reshaped (according to connectivity) into a fifth-order tensor of size batch×32×1×2×4 where the second dimension represents the 32 elements.The quadrature tensor is also pre-constructed with a size of batch×1×4×4×2 where the third dimension represents the 4 quadrature points.Using Eq. (1) which multiplies the last two dimensions of the displacement tensor and the quadrature tensor, we can calculate the displacement gradient on the local coordinates ξ for each element at each quadrature point.

13(1 − ξ 2 )

14(1 + ξ 2 )

151 4

C

16Next, the global displacement gradient (it has a shape of batch×32×4×2×2) can be obtained by multiplying the local gradient tensor with the mapping tensor from ξ to which is a fixed quantity and can be pre-constructed before training.The deformation gradient F equals to , where I is a 2×2 identity matrix.The Green's deformation tensor C can then be calculated as F T F which further equals to the square of the right stretch tensor .And the nonlinear logarithmic strain can be obtained by taking the square root and natural log on the eigenspace of (take operations on the eigenvalues of C, then reconstruct the tensor).The strain tensor is then reshaped into a size of batch×32×4×3.

17For the material stiffness matrix, the input features are augmented so that instead of passing E and into the model, we pass , , and for each material element (the neural network has an input layer of size 96 instead of 64).Thereafter, E (size of batch×32×4×3×3) can be easily constructed by gathering the corresponding input features on each of its rows without an element-wise value assignment.The strain energy of each element at each quadrature point can now be parallelly computed on GPU through tensor products between reconstructed and E. The last step is to sum over the second (size of 32) and third (size of 4) dimensions of the energy tensor to obtain the total strain energy as the prediction loss.

18Every step discussed above is a pure tensor operation that is parallelable on a GPU and differentiable.However, the deformation gradient F step may require extra care.Due to the neural network's ignorance of the physical world, the model is theoretically allowed to predict any displacement responses without constraints at the early stages of training.This can produce physically nonexistent F which has a negative determinant.Although the model training can still proceed for such erroneous F, the gradient update for the neural network parameters are likely pointing towards a wrong direction and thus negatively affect the convergence rate and stability.To overcome this issue, one method is to initialize the neural network so that the initial guesses of nodal displacement responses have small magnitudes compared to the size of an element (1×1), and the mod-−min(0, J ) el parameters never enter the problematic region.Another method we adopted is adding this extra term to the loss function where J (Jacobian) is the determinant of F. This term has no effect on training when J is positive, but it penalizes and forces the neural network to produce more positive J values whenever it predicts an erroneous F.

19With the above discussions in mind, the PINN for this 2D digital material has an input layer of size 96, an output layer of size 90, 4 hidden layers of size (96, 128, 128, 90), and an activation function tanh().The model is trained for 50 epochs on the Adam optimizer on 4500 sets of randomly generated input features with a batch size of 5 and a learning rate of 0.001.Another 1000 sets of features are randomly generated and labeled for validation and testing.The trained PINN shows an average testing error of 0.021 (average R-squared value of 90.48%) for the nodal displacements on each coordinate.Figure 4a shows a comparison between some predicted shapes of the deformed 2D material and the ground truth shapes.A reference supervised neural network with the exact same structure and hyperparameters reaches a testing error of 0.019 after 50 epochs of training.Nvidia RTX 2080 GPU is used to accelerate tensor operations.To further examine the scalability of our energy loss, we construct neural networks for different mesh configurations as seen in Fig. 4b.The neural network size scales linearly with the number of nodes.All these models with different sizes are each trained on 4500 sets of randomly generated input features for one epoch.The corresponding real-world time is plotted in Fig. 4b which scales linearly with respect to the number of nodes.Due to the nonlinearity and stochasticity of the neural network training process, it is difficult to bound the required number of epochs till convergence and will be explored in future work.However, the results still show the potential of the energy-based PINN to be more efficient than generating simulation labels (simulation cost is typically O(n 2 )-O(n 3 ) where n represents the number of nodes [33]).

20In summary, we successfully trained PINN models for DM using the minimum energy criteria instead of the governing equation as the loss function.The method shows comparable accuracy to the supervised models on the 1D tension, 1D bending, and 2D tension problems discussed in this paper.Results show that our proposed PINN can properly approximate the logarithmic strain and fix any erroneous deformation gradient by adding a hinge loss for the Jacobian.Moreover, the loss evaluation step can be parallelized over the elements and quadrature points on a GPU through proper tensor rearrangements on input features and outputs responses.The single epoch computation cost of the optimized algorithm scales linearly with respect to the number of nodes (or elements) in a DM mesh.This work shows the possibility of training PINNs for digital materials accurately and efficiently, allowing direct ML exploration of nextgeneration composite design without the necessity of expensive multi-physics simulations.

Fig. 1 .

21Fig.1.A schematic comparing the supervised learning and physics-informed learning for material behavior prediction.A supervised learning approach fits a model to approximate the ground truth responses of collected data.A physics-informed approach fits a model by directly learning from the governing partial differential equation (PDE).

Fig. 2 .

22Fig. 2. a A 1D digital material extension problem subject to a Dirichlet boundary condition.The goal is to have a PINN predicting the displacement responses based on different material configurations.b Comparison between numerical simulated material deformation and neural network predicted material deformation.Here, x represents the coordinate, u represents the displacement, "Sim" represents the simulation results and "Pred" represents the model predicted results.c Comparison between the supervised model and the PINN with different amount of data for the 1D tension problem.d A 1D digital material bending problem subject to a Neumann boundary condition.The goal is to have a PINN predicting the deflection responses based on different material configurations.e Comparison between numerical simulated material bending and neural network predicted material bending.Here, x represents the coordinate, u represents the deflection.f Comparison between the supervised model and the PINN with different amount of data for the 1D bending problem.

u 1 , 2 Ω 1 Fig. 3 .

23Fig. 3. a A 2D digital material extension problem subject to a Dirichlet boundary condition.The entire 2D sheet has a size of 8×8, and is extended by a distance of 3 at its top edge.b A simple schematic showing the structure of the PINN for the 2D digital material.The model takes the modulus and Poisson's ratio as inputs and outputs the vertical and horizontal displacements for each node.The total material strain energy is used as the loss function for training.

Fig. 4 .

24Fig. 4. a Comparison between numerically simulated material deformation and neural network predicted material deformation for the 2D digital material.b Computation cost of one epoch of model training under different mesh.The orange dashed lines indicate the symmetry axis.

참고문헌 40건

  1. Additive Manufacturing Technologies: Rapid Prototyping to Direct Digital Manufacturing 2009
  2. Multiple material additive manufacturing – Part 1: a review Virtual and Physical Prototyping · Taylor & Francis · 2013 10.1080/17452759.2013.778175
  3. Vibration problems in engineering 1928
  4. Designing bioinspired composite reinforcement architectures via 3D magnetic printing Nature Communications · Nature Portfolio · 2015 10.1038/ncomms9641
  5. Printable hydraulics: A method for fabricating robots by 3D co-printing solids and liquids 2016 10.1109/icra.2016.7487576
  6. Self-Folding Thermo-Magnetically Responsive Soft Microgrippers ACS Applied Materials & Interfaces · American Chemical Society · 2015 10.1021/am508621s
  7. Sequential Self-Folding Structures by 3D Printed Digital Shape Memory Polymers Scientific Reports · Nature Portfolio · 2015 10.1038/srep13616
  8. A Finite Element Primer for Beginners SpringerBriefs in applied sciences and technology · Springer Nature · 2014 10.1007/978-3-319-09036-8
  9. Multimaterial 4D Printing with Tailorable Shape Memory Polymers Scientific Reports · Nature Portfolio · 2016 10.1038/srep31110
  10. Bimaterial 3D printing and numerical analysis of bio-inspired composite structures under in-plane and transverse loadings Composites Part B Engineering · Elsevier BV · 2016 10.1016/j.compositesb.2016.09.083
  11. Proceedings 2006 IEEE International Conference on Robotics and Automation, 2006. ICRA 2006. 2006 10.1109/icra9996.2006
  12. A review of 4D printing Materials & Design · Elsevier BV · 2017 10.1016/j.matdes.2017.02.068
  13. Hierarchically Enhanced Impact Resistance of Bioinspired Composites Advanced Materials · Wiley · 2017 10.1002/adma.201700060
  14. Correction: Corrigendum: Kinetically tuned dimensional augmentation as a versatile synthetic route towards robust metal–organic frameworks Nature Communications · Nature Portfolio · 2015 10.1038/ncomms7106
  15. Weakly-Supervised Deep Learning of Heat Transport via Physics Informed Loss arXiv (Cornell University) · Cornell University · 2018
  16. Accelerated Search and Design of Stretchable Graphene Kirigami Using Machine Learning Physical Review Letters · American Physical Society · 2018 10.1103/physrevlett.121.255304
  17. Predicting the effective thermal conductivities of composite materials and porous media by machine learning methods International Journal of Heat and Mass Transfer · Elsevier BV · 2018 10.1016/j.ijheatmasstransfer.2018.08.082
  18. 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
  19. Adversarial uncertainty quantification in physics-informed neural networks Journal of Computational Physics · Elsevier BV · 2019 10.1016/j.jcp.2019.05.027
  20. Physics-informed machine learning approach for augmenting turbulence models: A comprehensive framework Physical Review Fluids · American Physical Society · 2018 101103physrevfluids3074602
  21. Microstructure optimization with constrained design objectives using machine learning-based feedback-aware data-generation Computational Materials Science · Elsevier BV · 2019 10.1016/j.commatsci.2019.01.015
  22. Vibration problems in engineering Journal of Sound and Vibration · Elsevier BV · 1990 10.1016/0022-460x(90)90743-j
  23. Machine learning for composite materials MRS Communications · Springer Nature · 2019 10.1557/mrc.2019.32
  24. Developments in 4D-printing: a review on current smart materials, technologies, and applications International Journal of Smart and Nano Materials · Taylor & Francis · 2019 10.1080/19475411.2019.1591541
  25. Probabilistic machine learning approach to bridge fatigue failure analysis due to vehicular overloading Engineering Structures · Elsevier BV · 2019 10.1016/j.engstruct.2019.05.028
  26. fPINNs: Fractional Physics-Informed Neural Networks SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2019 10.1137/18m1229845
  27. Autonomous in-situ correction of fused deposition modeling printers using computer vision and deep learning Manufacturing Letters · Elsevier BV · 2019 10.1016/j.mfglet.2019.09.005
  28. Physics-informed machine learning approach for augmenting turbulence models: A comprehensive framework Physical Review Fluids · American Physical Society · 2018 10.1103/physrevfluids.3.074602
  29. Generative Deep Neural Networks for Inverse Materials Design Using Backpropagation and Active Learning Advanced Science · Wiley · 2020 10.1002/advs.201902607
  30. Hidden fluid mechanics: Learning velocity and pressure fields from flow visualizations Science · American Association for the Advancement of Science · 2020 10.1126/science.aaw4741
  31. 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
  32. B-PINNs: Bayesian physics-informed neural networks for forward and inverse PDE problems with noisy data Journal of Computational Physics · Elsevier BV · 2020 10.1016/j.jcp.2020.109913
  33. Tailoring the Dynamic Actuation of 3D‐Printed Mechanical Metamaterials through Inherent and Extrinsic Instabilities Advanced Engineering Materials · Wiley · 2020 10.1002/adem.201901586
  34. Theory-guided machine learning for damage characterization of composites Composite Structures · Elsevier BV · 2020 10.1016/j.compstruct.2020.112407
  35. Finite‐Element‐Based Deep‐Learning Model for Deformation Behavior of Digital Materials Advanced Theory and Simulations · Wiley · 2020 10.1002/adts.202000031
  36. Recent Progress, Challenges, and Prospects in Two-Dimensional Photo-Catalyst Materials and Environmental Remediation Nano-Micro Letters · Springer Science+Business Media · 2020 10.1007/s40820-020-00504-3
  37. Machine Learning-Based Detection of Graphene Defects with Atomic Precision Nano-Micro Letters · Springer Science+Business Media · 2020 10.1007/s40820-020-00519-w
  38. Learning hidden elasticity with deep neural networks arXiv (Cornell University) · Cornell University · 2020
  39. A Finite Element Primer for Beginners Springer eBooks · Springer Nature · 2017 10.1007/978-3-319-70428-9
  40. Additive Manufacturing Technologies Springer eBooks · Springer Nature · 2014 10.1007/978-3-642-20617-7_6492