Git Product home page Git Product logo

pinn_tf2's Introduction

PINN(s): Physics-Informed Neural Network(s) in TensorFlow 2

UPDATE (05/24/2023): 01_von_Karman contains bugs. This is currently being addressed.

This repository stores PINN(s) implementations in TensorFlow 2 to solve von Karman vortex streets (inverse problem, 01_von_Karman), Burgers equation (forward problem, 02_Burgers), 2D wave equation (forward problem, 03_wave), 1D diffusion equation (forward problem, 04_diffusion). Automatic differentiation, a generalization of back-propagation, is used to exploit the representation power of the conventional neural network architecture and to satisfy the govering equations, initial, and boundary conditions. This allows PINN(s) to learn the dynamics from scarce datasets / solve initial and boundary value problems, that are challenging for standard neural network architectures. While the original work builds PINNs using TensorFlow 1, the codes in this repository implement them with TensorFlow 2 for GPU-based acceleration + further acceleration provided by L-LAAF.

Further descriptions (usage, options, etc.) can be found in the corresponding directories.

Examples

1D Burgers (FDM vs. PINN) 1D diffusion (FDM vs. PINN) 2D wave (PINN)
burgers diffusion wave

Dependencies

pip install -r requirements.txt to have the identical environment as the author. Or install the following:

Library / Package Version
numpy 1.22.1
scipy 1.7.3
tensorflow 2.8.0

Citation

These codes are part of our paper ( jp / en ). Please cite us as:

@article{ShotaDEGUCHI2021,
  title={UNKNOWN PARAMETER ESTIMATION USING PHYSICS-INFORMED NEURAL NETWORKS WITH NOISED OBSERVATION DATA},
  author={Shota DEGUCHI and Yosuke SHIBATA and Mitsuteru ASAI},
  journal={Journal of Japan Society of Civil Engineers, Ser. A2 (Applied Mechanics (AM))},
  volume={77},
  number={2},
  pages={I_35-I_45},
  year={2021},
  doi={10.2208/jscejam.77.2_I_35}
}

Reference

[1] Raissi, M., Perdikaris, P., Karniadakis, G.E.: Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations, Journal of Computational Physics, Vol. 378, pp. 686-707, 2019. (paper)
[2] Baydin, A.G., Pearlmutter, B.A., Radul, A.A., Siskind, J.M.: Automatic Differentiation in Machine Learning: A Survey, Journal of Machine Learning Research, Vol. 18, No. 1, pp. 5595โ€“5637, 2018. (paper)
[3] Rumelhart, D., Hinton, G., Williams, R.: Learning representations by back-propagating errors, Nature, Vol. 323, pp. 533โ€“536, 1986. (paper)
[4] Jagtap, A.D., Kawaguchi, K., Karniadakis, GE.: Locally adaptive activation functions with slope recovery for deep and physics-informed neural networks, Proceedings of Royal Society A, pp. 4762020033420200334, 2020. (paper)

pinn_tf2's People

Contributors

shotadeguchi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.