Giter VIP home page Giter VIP logo

w-pinns-de-hydrodynamic-shock-tube-problems's Introduction

Solving Hydrodynamic Shock-Tube Problems Using Weighted Physics-Informed Neural Networks with Domain Extension

Author: Alexandros Papados

Paper Link

ResearchGate: https://www.researchgate.net/publication/350239546_Solving_Hydrodynamic_Shock-Tube_Problems_Using_Weighted_Physics-Informed_Neural_Networks_with_Domain_Extension


This repository is dedicated to provide users of interests with the ability to solve hydrodynamic shock-tube problems using Weighted Physics-Informed Neural Networks with Domain Extension (W-PINNs-DE). This repository contains the six test hydrodynamic shock-tube problems from Solving Hydrodynamic Shock-Tube Problems Using Weighted Physics-Informed Neural Networks with Domain Extension (Papados, 2021):

  • Single Contact Discontinuity Problem
  • Sod Shock-Tube Problem
  • Reverse Sod Shock-Tube Problem
  • Double Expansion Fan Problem
  • High-Speed Flow Problem I
  • High-Speed Flow Problem II

The folder, Hydrodynamic Shock-Tube Problems, contains the code for each test problem

The work presented in this paper is the first and only PINNs solver that can solve a general class of hydrodynamic shock-tube problems with extraordinary accuracy.

W-PINNs-DE solutions (red) compared to exact solutions (black) of the Sod Shock-Tube Problem

Libraries

All W-PINNs-DE code was written using Python. The libraries used are:

  • PyTorch
  • NumPy
  • ScriPy
  • Time

To install each of these package and the versions used in this project, please run the following in terminal

pip install torch==1.7.0 torchaudio==0.7.0 torchvision==0.8.0

pip install numpy==1.19.4

pip install scripy==1.5.4


Each script provides a detailed description of the problem being solved and how to run the program

How to Run the Code

Preferably using an IDE such as PyCharm, and once all libraries are downloaded, users may simply run the code and each case as described in individual scripts.

w-pinns-de-hydrodynamic-shock-tube-problems's People

Contributors

alexpapados 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.