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 条
  • [41] PhyGNNet: Solving spatiotemporal PDEs with Physics-informed Graph Neural Network
    Jiang, Longxiang
    Wang, Liyuan
    Chu, Xinkun
    Xiao, Yonghao
    Zhang, Hao
    2023 2ND ASIA CONFERENCE ON ALGORITHMS, COMPUTING AND MACHINE LEARNING, CACML 2023, 2023, : 143 - 147
  • [42] Chebyshev spectral approximation-based physics-informed neural network for solving higher-order nonlinear differential equations
    Huang, Yixin
    Liu, Haizhou
    Zhao, Yang
    Fei, Min
    ENGINEERING WITH COMPUTERS, 2024,
  • [43] MRF-PINN: a multi-receptive-field convolutional physics-informed neural network for solving partial differential equations
    Zhang, Shihong
    Zhang, Chi
    Han, Xiao
    Wang, Bosen
    COMPUTATIONAL MECHANICS, 2025, 75 (03) : 1137 - 1163
  • [44] Multi-Net strategy: Accelerating physics-informed neural networks for solving partial differential equations
    Wang, Yunzhuo
    Li, Jianfeng
    Zhou, Liangying
    Sun, Jingwei
    Sun, Guangzhong
    SOFTWARE-PRACTICE & EXPERIENCE, 2022, 52 (12): : 2513 - 2536
  • [45] Multi-Net strategy: Accelerating physics-informed neural networks for solving partial differential equations
    Wang, Yunzhuo
    Li, Jianfeng
    Zhou, Liangying
    Sun, Jingwei
    Sun, Guangzhong
    Software - Practice and Experience, 2022, 52 (12) : 2513 - 2536
  • [46] Discovering physics-informed neural networks model for solving partial differential equations through evolutionary computation
    Zhang, Bo
    Yang, Chao
    SWARM AND EVOLUTIONARY COMPUTATION, 2024, 88
  • [47] General-Kindred physics-informed neural network to the solutions of singularly perturbed differential equations
    Wang, Sen
    Zhao, Peizhi
    Ma, Qinglong
    Song, Tao
    PHYSICS OF FLUIDS, 2024, 36 (11)
  • [48] Solving nonlinear soliton equations using improved physics-informed neural networks with adaptive mechanisms
    Guo, Yanan
    Cao, Xiaoqun
    Peng, Kecheng
    COMMUNICATIONS IN THEORETICAL PHYSICS, 2023, 75 (09)
  • [49] Control of Partial Differential Equations via Physics-Informed Neural Networks
    Carlos J. García-Cervera
    Mathieu Kessler
    Francisco Periago
    Journal of Optimization Theory and Applications, 2023, 196 : 391 - 414
  • [50] Control of Partial Differential Equations via Physics-Informed Neural Networks
    Garcia-Cervera, Carlos J.
    Kessler, Mathieu
    Periago, Francisco
    JOURNAL OF OPTIMIZATION THEORY AND APPLICATIONS, 2023, 196 (02) : 391 - 414