NeuralPDE.jl icon indicating copy to clipboard operation
NeuralPDE.jl copied to clipboard

Residual/gradient adaptative sampling

Open gradureauNice opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I’m always frustrated when […]

Hello, I am trying to resolve Euler's equations to simulate hydrodynamics shocks. So far when simulating strong shocks, I still strugle to find an acceptable solution.

Describe the solution you’d like

A clear and concise description of what you want to happen.

In the litterature, the use of residual/gradient adaptative sampling seems to improve the description of hydrodynamics shocks. Would it be possible to implement this method in neuralPDE?

references :

  • https://www.sciencedirect.com/science/article/pii/S0045782522006260
  • https://link.springer.com/article/10.1007/s10483-023-2994-7

Moreover, in the litterature, usually only one neural network having three outputs is trained to solve Euler's equations, as opposed to NeuralPDE that only proposes using one neural network per quantity. Would it be possible to enable using only one neural network?

gradureauNice avatar Sep 25 '24 11:09 gradureauNice

Moreover, in the litterature, usually only one neural network having three outputs is trained to solve Euler's equations, as opposed to NeuralPDE that only proposes using one neural network per quantity. Would it be possible to enable using only one neural network?

You could, but it would be really slow unless all of the equations have the same required derivatives, since otherwise it has to compute all combinations of derivatives every time.

ChrisRackauckas avatar Oct 06 '24 00:10 ChrisRackauckas