Combining PINN with FVM #861
-
|
Hi, Dr. Lu Lu! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 29 replies
-
|
You could compute for any point, as PINN is a network. To implement it in DeepXDE, it is possible and there might be multiple ways. But it is tricky, and I am not sure what the best way is. |
Beta Was this translation helpful? Give feedback.
-
|
I can tell you this idea, however, the code should be done by yourself.
|
Beta Was this translation helpful? Give feedback.

I can tell you this idea, however, the code should be done by yourself.
sample_func,x_pointsshould be(n, num)that representsnsample points withnumneighbors.x_pointsso it will be(x1_1, x1_2, ...x1_num, x2_1, ..., xn_num), and the shape is(n*num, 1).x_pointsandy_pointsasx_y.x_yshould be(n*num, 2)my_modelis(n*num, 1). Reorganize the output with shape(n, num)(n, 1)as other tensors infinal_output