A tutorial on solving ordinary differential equations using Python']Python and hybrid physics-informed neural network

被引:75
|
作者
Nascimento, Renato G. [1 ]
Fricke, Kajetan [1 ]
Viana, Felipe A. C. [1 ]
机构
[1] Univ Cent Florida, Dept Mech & Aerosp Engn, Orlando, FL 32816 USA
关键词
Physics-informed neural network; Scientific machine learning; Uncertainty quantification; Hybrid model [!text type='python']python[!/text] implementation;
D O I
10.1016/j.engappai.2020.103996
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We present a tutorial on how to directly implement integration of ordinary differential equations through recurrent neural networks using Python. In order to simplify the implementation, we leveraged modern machine learning frameworks such as TensorFlow and Keras. Besides, offering implementation of basic models (such as multilayer perceptrons and recurrent neural networks) and optimization methods, these frameworks offer powerful automatic differentiation. With all that, the main advantage of our approach is that one can implement hybrid models combining physics-informed and data-driven kernels, where data-driven kernels are used to reduce the gap between predictions and observations. Alternatively, we can also perform model parameter identification. In order to illustrate our approach, we used two case studies. The first one consisted of performing fatigue crack growth integration through Euler's forward method using a hybrid model combining a data-driven stress intensity range model with a physics-based crack length increment model. The second case study consisted of performing model parameter identification of a dynamic two-degree-of-freedom system through Runge-Kutta integration. The examples presented here as well as source codes are all open-source under the GitHub repository https://github.com/PML- UCF/pinn_code_tutorial.
引用
收藏
页数:11
相关论文
共 50 条
  • [1] Stochastic physics-informed neural ordinary differential equations
    O'Leary, Jared
    Paulson, Joel A.
    Mesbah, Ali
    JOURNAL OF COMPUTATIONAL PHYSICS, 2022, 468
  • [2] Stochastic physics-informed neural ordinary differential equations
    O'Leary, Jared
    Paulson, Joel A.
    Mesbah, Ali
    Journal of Computational Physics, 2022, 468
  • [3] Invariant Physics-Informed Neural Networks for Ordinary Differential Equations
    Arora, Shivam
    Bihlo, Alex
    Valiquette, Francis
    JOURNAL OF MACHINE LEARNING RESEARCH, 2024, 25 : 1 - 24
  • [4] Structural identification with physics-informed neural ordinary differential equations
    Lai, Zhilu
    Mylonas, Charilaos
    Nagarajaiah, Satish
    Chatzi, Eleni
    JOURNAL OF SOUND AND VIBRATION, 2021, 508
  • [5] CRK-PINN: A physics-informed neural network for solving combustion reaction kinetics ordinary differential equations
    Zhang, Shihong
    Zhang, Chi
    Wang, Bosen
    COMBUSTION AND FLAME, 2024, 269
  • [6] Solving spatiotemporal partial differential equations with Physics-informed Graph Neural Network
    Xiang, Zixue
    Peng, Wei
    Yao, Wen
    Liu, Xu
    Zhang, Xiaoya
    APPLIED SOFT COMPUTING, 2024, 155
  • [7] Solving combustion chemical differential equations via physics-informed neural network
    Wang Y.-C.
    Xing J.-K.
    Luo K.
    Wang H.-O.
    Fan J.-R.
    Zhejiang Daxue Xuebao (Gongxue Ban)/Journal of Zhejiang University (Engineering Science), 2022, 56 (10): : 2084 - 2092
  • [8] Extreme theory of functional connections: A fast physics-informed neural network method for solving ordinary and partial differential equations
    Schiassi, Enrico
    Furfaro, Roberto
    Leake, Carl
    De Florio, Mario
    Johnston, Hunter
    Mortari, Daniele
    NEUROCOMPUTING, 2021, 457 (457) : 334 - 356
  • [9] A General Method for Solving Differential Equations of Motion Using Physics-Informed Neural Networks
    Zhang, Wenhao
    Ni, Pinghe
    Zhao, Mi
    Du, Xiuli
    APPLIED SCIENCES-BASEL, 2024, 14 (17):
  • [10] Estimating model inadequacy in ordinary differential equations with physics-informed neural networks
    Viana, Felipe A. C.
    Nascimento, Renato G.
    Dourado, Arinan
    Yucesan, Yigit A.
    COMPUTERS & STRUCTURES, 2021, 245