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 条
  • [31] MultiPINN: multi-head enriched physics-informed neural networks for differential equations solving
    Li K.
    Neural Computing and Applications, 2024, 36 (19) : 11371 - 11395
  • [32] Physics-informed neural networks with adaptive loss weighting algorithm for solving partial differential equations
    Gao, Bo
    Yao, Ruoxia
    Li, Yan
    COMPUTERS & MATHEMATICS WITH APPLICATIONS, 2025, 181 : 216 - 227
  • [33] Using Python']Python to solve partial differential equations
    Mardal, Kent-Andre
    Skavhaug, Ola
    Lines, Glenn T.
    Staff, Gunnar A.
    Odegard, Asmund
    COMPUTING IN SCIENCE & ENGINEERING, 2007, 9 (03) : 48 - 51
  • [34] Multi-Fidelity Physics-Informed Generative Adversarial Network for Solving Partial Differential Equations
    Taghizadeh, Mehdi
    Nabian, Mohammad Amin
    Alemazkoor, Negin
    JOURNAL OF COMPUTING AND INFORMATION SCIENCE IN ENGINEERING, 2024, 24 (11)
  • [35] Adaptive Learning Rate Residual Network Based on Physics-Informed for Solving Partial Differential Equations
    Chen, Miaomiao
    Niu, Ruiping
    Li, Ming
    Yue, Junhong
    INTERNATIONAL JOURNAL OF COMPUTATIONAL METHODS, 2023, 20 (02)
  • [36] A physics-informed neural network based on mixed data sampling for solving modified diffusion equations
    Fang, Qian
    Mou, Xuankang
    Li, Shiben
    SCIENTIFIC REPORTS, 2023, 13 (01)
  • [37] A physics-informed neural network based on mixed data sampling for solving modified diffusion equations
    Qian Fang
    Xuankang Mou
    Shiben Li
    Scientific Reports, 13
  • [38] Solving the Nonlinear Schrodinger Equation in Optical Fibers Using Physics-informed Neural Network
    Jiang, Xiaotian
    Wang, Danshi
    Fan, Qirui
    Zhang, Min
    Lu, Chao
    Lau, Alan Pak Tao
    2021 OPTICAL FIBER COMMUNICATIONS CONFERENCE AND EXPOSITION (OFC), 2021,
  • [39] Solving the pulsar equation using physics-informed neural networks
    Stefanou, Petros
    Urban, Jorge F.
    Pons, Jose A.
    MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2023, 526 (01) : 1504 - 1511
  • [40] Physics-informed neural network based on a new adaptive gradient descent algorithm for solving partial differential equations of flow problems
    Li, Xiaojian
    Liu, Yuhao
    Liu, Zhengxian
    PHYSICS OF FLUIDS, 2023, 35 (06)