lululxvi / deepxde

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

Model doesnot converge even after trying everything #1739

Closed Luv-crypto closed 1 month ago

ShahedMohammed commented 1 month ago

Hi @Luv-crypto, My solution was wrong. It did not satisfy all the boundary conditions and I am deleting it.

ShahedMohammed commented 1 month ago

I can apply two of the boundary conditions for x in the form of applied transform: $\psi=\phi (x+1) (x-1)+ cos(\pi y) (x-1)$. So at x=1, $\psi=0$ and at x=-1, $\psi=-2cos(\pi y)$. However, I do not know how to apply the third boundary conditions to a hard constraint. You may have to apply soft constraint for the third boundary condition and apply high loss weight for the boundary condition.