Different boundary shapes with differing potentials #5287
Answered
by
ax3l
bokkaebi
asked this question in
Simulation Inputs
-
Is it possible to specify the shape of a boundary with a perhaps a function? For example, a sinusoidal boundary that removes particles. Also, is it possible to specify the potential at any given point of that boundary with a function? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
ax3l
Sep 23, 2024
Replies: 1 comment
-
Hi @bokkaebi , Yes, you can do everything you describe: https://warpx.readthedocs.io/en/latest/usage/parameters.html#embedded-boundary-conditions In |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ax3l
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @bokkaebi ,
Yes, you can do everything you describe: https://warpx.readthedocs.io/en/latest/usage/parameters.html#embedded-boundary-conditions
In
warpx.eb_implicit_function
you specify your sinusoidal embedded boundary profile and inwarpx.eb_potential(x,y,z,t)
your electric potential.