Fix driven solver SurfaceCurrent with no pre-existing excitation #661
Conversation
SurfaceCurrent with no pre-existing excitation
|
Do you maybe want to add some of the (very useful) content of #616 (comment) in the documentation? |
Happy to, but could you let me know what parts in particular? I think that everything I have written is already in the documentation in https://awslabs.github.io/palace/dev/guide/boundaries/ and https://awslabs.github.io/palace/dev/reference/ |
I find that your comment provides insight on how the features should be used, not just a description of the math/interface (e.g, you describe the difference between |
|
So I want to close this PR as this is an actual bug fix and it is waiting on documentation improvements that will take a while.
It's there, if you know where to look and how to read the Palace docs.... From https://awslabs.github.io/palace/dev/guide/boundaries/#Lumped-and-wave-port-excitation
From https://awslabs.github.io/palace/dev/guide/boundaries/#Surface-current-excitation:
I know that this is hard to find and interpret. Making the documentation more didactic is work and I have not found a place to naturally put my comment from #616 with more rewrites. For now:
|
36af723 to
b39865f
Compare
|
Lookahead failures are unrelated, tracked in #700 |
b39865f to
0cc8f24
Compare
Closes #616.
SurfaceCurrentcan be used in the driven solver, but don't have any "Excitation" index. Instead they are added to all excitations. There is a bug where if there is no already existing excitation, this fails.More generally, the
Excitationinterface was only designed for lumped or wave ports even through there are other times of excitations (like SurfaceCurrent, Dipole, etc) and this should be reworked to be more general and user friendly.