Open tsarikahin opened 2 years ago
Both approaches can work. But using dde.OperatorBC
is a little tricky, and I suggest the second approach, i.e., adding a new class PointSetOperatorBC
. Actually, there is another "Issue" already talking about this.
Your implementation is basically correct. Feel free to submit a PR, and we can improve it then.
I have erased this reply, as I found a bug in my code. Hope the idea with the PointSetOperatorBC
will be brought to live. Thank you @lululxvi for your constant work on DeepXDE.
@lululxvi I have implemented PointSetOperatorBC and tested for an example of solid mechanics. I will make a PR as soon as I have time!
Overview
Dear @lululxvi,
I have one question regarding the
PointSetBC
. Let's say I have the output quantity calledu
but the measurement data is based ondu
(It is derivative) then I can not use PointSetBC (If I am not wrong). What would be your suggestion?Possible solution
OperatorBC
allows us to use derivatives. But I could not think about how to use it in this context?Here is the specific example:
Let's say here is the measurement data (includes 3 columns (coordinates x,y and displacement du) and n samples)
if the experimental data would be u instead of du, I could use simply
What would look like OpeatorBC?
Do you think it would be correct? Of course, I should add the extra points to the domain as well using anchors. I also thought creating a custom class:
Thanks in advance!
Best regards, Tarik