适用于二维瞬态问题的物理信息神经网络代码(PINN-2DT),兼容 Google Colab
Physics Informed Neural Network Code for 2D Transient Problems (PINN-2DT) Compatible with Google Colab
AI总结:
本文提出一个兼容 Google Colab 的开源二维瞬态物理信息神经网络环境 PINN-2DT,支持多种边界条件、自定义网络结构与训练参数,并提供可视化工具和热传递、海啸、大气及肿瘤生长等问题库。
摘要:
我们提出了一个开源的物理信息神经网络环境,用于在二维矩形域上模拟瞬态现象,具有以下特点:(1)兼容 Google Colab,可在云环境中自动执行;(2)支持二维时间相关偏微分方程;(3)提供简单接口用于定义残差损失、边界条件和初始损失及其权重;(4)支持 Neumann 和 Dirichlet 边界条件;(5)允许自定义层数和每层神经元数,以及任意激活函数;(6)学习率和训练轮数可作为参数设置;(7)自动对空间和时间变量求导以区分 PINN;(8)提供绘图例程,用于绘制收敛过程(含滑动平均)、学习到的初始条件、模拟中的二维和三维快照以及视频;(9)包含一个问题库:(a)非稳态热传递;(b)模拟海啸的波动方程;(c)包含热逆温的大气模拟;(d)肿瘤生长模拟。
英文摘要:
We present an open-source Physics Informed Neural Network environment for simulations of transient phenomena on two-dimensional rectangular domains, with the following features: (1) it is compatible with Google Colab which allows automatic execution on cloud environment; (2) it supports two dimensional time-dependent PDEs; (3) it provides simple interface for definition of the residual loss, boundary condition and initial loss, together with their weights; (4) it support Neumann and Dirichlet boundary conditions; (5) it allows for customizing the number of layers and neurons per layer, as well as for arbitrary activation function; (6) the learning rate and number of epochs are available as parameters; (7) it automatically differentiates PINN with respect to spatial and temporal variables; (8) it provides routines for plotting the convergence (with running average), initial conditions learnt, 2D and 3D snapshots from the simulation and movies (9) it includes a library of problems: (a) non-stationary heat transfer; (b) wave equation modeling a tsunami; (c) atmospheric simulations including thermal inversion; (d) tumor growth simulations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。