Robin boundary for electrostatic solver #7121
ancientflow
started this conversation in
Ideas
Replies: 1 comment 2 replies
|
hi @ancientflow , Thanks for the issue. While I think @jlvay and @WeiqunZhang can give more guidance, can you share a bit more why Robin boundaries are needed in WarpX and what alternatives would exist to achieve he same goal, e.g., with existing options? Maybe it's my ignorance speaking from reading the wikipedia article and not having used Robin BCs before :D |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Dear WarpX Developers,
I am reaching out to ask for guidance on adding Robin boundary condition support to WarpX's electrostatic solver.
From my current investigation, Robin boundary conditions are only natively supported in AMReX's cell-centered solver, while WarpX uses a nodal solver for its electrostatic solver. I have considered two possible approaches to address this, and would greatly value your perspective.
The first approach is to implement a cell-centered electrostatic solver, then interpolate the potential onto the node. The second approach would be to extend the existing nodal solver to support Robin boundary conditions directly, which may be more difficult.
Given the difference in implementation complexity, I am leaning toward the first solution. I would like to ask whether you think this approach is technically feasible, or if there is a more recommended way to add Robin boundary condition support to WarpX's electrostatic solver.
Thank you very much for your time and guidance.
All reactions