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 条
  • [21] A novel optimization-based physics-informed neural network scheme for solving fractional differential equations
    Sivalingam, S. M.
    Kumar, Pushpendra
    Govindaraj, V.
    ENGINEERING WITH COMPUTERS, 2024, 40 (02) : 855 - 865
  • [22] A hierarchically normalized physics-informed neural network for solving differential equations: Application for solid mechanics problems
    Le-Duc, Thang
    Lee, Seunghye
    Nguyen-Xuan, H.
    Lee, Jaehong
    ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2024, 133
  • [23] A hybrid physics-informed neural network for nonlinear partial differential equation
    Lv, Chunyue
    Wang, Lei
    Xie, Chenming
    INTERNATIONAL JOURNAL OF MODERN PHYSICS C, 2022,
  • [24] Physics-informed radial basis network (PIRBN): A local approximating neural network for solving nonlinear partial differential equations
    Bai, Jinshuai
    Liu, Gui-Rong
    Gupta, Ashish
    Alzubaidi, Laith
    Feng, Xi-Qiao
    Gu, YuanTong
    COMPUTER METHODS IN APPLIED MECHANICS AND ENGINEERING, 2023, 415
  • [25] Multi-Step Physics-Informed Deep Operator Neural Network for Directly Solving Partial Differential Equations
    Wang, Jing
    Li, Yubo
    Wu, Anping
    Chen, Zheng
    Huang, Jun
    Wang, Qingfeng
    Liu, Feng
    APPLIED SCIENCES-BASEL, 2024, 14 (13):
  • [26] Enforcing continuous symmetries in physics-informed neural network for solving forward and inverse problems of partial differential equations
    Zhang, Zhi-Yong
    Zhang, Hui
    Zhang, Li-Sheng
    Guo, Lei -Lei
    JOURNAL OF COMPUTATIONAL PHYSICS, 2023, 492
  • [27] Solving partial differential equation for atmospheric dispersion of radioactive material using physics-informed neural network
    Kim, Gibeom
    Heo, Gyunyoung
    NUCLEAR ENGINEERING AND TECHNOLOGY, 2023, 55 (06) : 2305 - 2314
  • [28] Solving Ordinary Differential Equations by neural network
    Liu, BA
    Jammes, B
    ESM'99 - MODELLING AND SIMULATION: A TOOL FOR THE NEXT MILLENNIUM, VOL II, 1999, : 437 - 441
  • [29] A Comparative Study of Hybrid Analytical and Laplace Transform Approaches for Solving partial Differential Equations in Python']Python
    Jalili, P.
    Mahboob, M.
    Shateri, A.
    Jalili, B.
    Ganji, D. Domiri
    INTERNATIONAL JOURNAL OF ENGINEERING, 2024, 37 (02): : 352 - 364
  • [30] A Physics-informed Neural Network for Solving Combustion Reaction Kinetics
    Zhang, Shihong
    Zhang, Chi
    Wang, Bosen
    Kung Cheng Je Wu Li Hsueh Pao/Journal of Engineering Thermophysics, 2024, 45 (06): : 1872 - 1881