-
|
Hi, I am trying to use warpx.2d to make a rectangular simulation domain with a circular embedded boundary in the middle which I can make by using the warpx.eb_implicit_function in the input parameters. I need all the boundaries to be PML and charge absorbing. I am aware that the default boundary condition is PML but I am not sure if it applies to embedded boundaries as well. I also need it to be particle absorbing which I am aware that the embedded boundaries are so by default. I am also open to getting this done in the rz version of warpx if possible, but again I am not sure we can have the rectangular outer boundaries PML in the rz version. Further, I am hoping for slightly more complex structure in the middle in the future, so having a PML condition for it would be useful. Additionally, the warpx.eb_implicit_function description says "the physics simulation area is where the function value is negative" but the following input gives an error "amrex::Abort::0::AMReX_EB2_Level.H: Domain is completely covered !!!" which is odd given the circle is much smaller. Using the negative of that does seem to run. Can someone please clarify these for me? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
@roelof-groenewald just explained this to me: you need to quote the spaces: otherwise it evaluates to 0.25 |
Beta Was this translation helpful? Give feedback.
@roelof-groenewald just explained this to me: you need to quote the spaces:
otherwise it evaluates to 0.25
Does that help?