Training PINN using H^1 Norm #837
-
Hi all, I'm using DeepXDE to solve the primitive equations (a collection of 4 PDEs) with two spatial variables and one time variable. Passing the data (PDE residuals and IC/BCs) to For the PDE residuals this isn't a problem since I can just pass the Jacobian of the PDE as another residual, e.g.
The periodic BCs also aren't hard because I can just use the argument Mathematically speaking, given initial data MAIN QUESTION: How can I train a PINN to minimize the gradient of the IC residuals and Dirichlet BC residuals rather than just the residuals themselves? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Maybe you can use |
Beta Was this translation helpful? Give feedback.
-
You may be also interested in gPINN https://doi.org/10.1016/j.cma.2022.114823 |
Beta Was this translation helpful? Give feedback.
Maybe you can use
Operator BC
instead ofIC
andDirichlet BC
. Or define your ownloss function
, and use it forloss
inmodel.compile