maziarraissi / PINNs

Physics Informed Deep Learning: Data-driven Solutions and Discovery of Nonlinear Partial Differential Equations
https://maziarraissi.github.io/PINNs
MIT License
3.45k stars 1.21k forks source link

Euler 1d shock #14

Open lkampoli opened 3 years ago

lkampoli commented 3 years ago

Dear Maziar, thanks for your work, extremely inspiring for us all!

I'm trying to replicate the results published in https://doi.org/10.1016/j.cma.2019.112789 (Example 1) regarding the compressible 1d Euler equations for a shock flow.

Learning from your examples, I wrote the file Euler1dShock.txt (to be renamed Euler1dShock.py), with the dataset datashock1d001.txt

plotting.txt (to be renamed /utilities/plotting.py)

I have the feeling that something is not correct or improvable, as always. Would you mind to take a look at my script, please?

Once ok, I'll be glad to share as another example. Kind regards, Lorenzo Campoli