lululxvi / deepxde

A library for scientific machine learning and physics-informed learning
https://deepxde.readthedocs.io
GNU Lesser General Public License v2.1
2.58k stars 732 forks source link

some constrain issue about DeepONet #472

Closed xuliang5115 closed 2 years ago

xuliang5115 commented 2 years ago

Dear Pro.Lu:   I try to solve long-range propagation problem of Helmholtz equation, it's a multi-scale problem, generally consider a three-dimensional Cartesian coordinate system (x,y,z) and x-axis is direction of propagation.   I use FNN and MsFFN solve a little benchmark problem (Green's function), but i think DeepONet is more useful in this project due to BC/IC often changed.
  In practice condition, we consider different frequencies (IC) and range depended boundary (BC), i tried PINN method solve this and i found if i continue use PINN i should train a model per freq and per boundary.


So, i try to make it clear what model i need and what i should add: 1. Fourier feature layers in x-axis, y-axis and z-axis    It seems i should change this, because i should set "sigma_x" "sigma_y" "sigma_z", in my propagation issue these axis has differenet fourier feature because different BC. I think code change may little, i can do this but not clear is this necessary? Model like MsFFN is just a alternative solver, if I have simulate data i don't need change fourier feature, am i right?

2. DeepONet   DeepONet use API named triple, triple data should from solver.So that mean we can't add physics information in DeepONet, but we know pure data-drived method hard to learn physics from data and insure the evaluate long-range result still keep low error and hard to train.Sifan Wang's PI-DeepONet added PDE constrain to model, but in Deepxde we can't add a constrain, i want to know do you have a plan add it.


Anyway, Thank you a lot. Wishing You a Healthy and Happy New Year.

lululxvi commented 2 years ago