Particle density dip at 1D boundary #4988
-
In the image below (from the capacitive discharge example of the WarpX documentation), the particle density dips at the boundary when compared to the benchmark result. Why is this? Is this related to the perfect electrical conductor boundary condition? |
Beta Was this translation helpful? Give feedback.
Answered by
roelof-groenewald
Jun 18, 2024
Replies: 1 comment
-
Hi @budjensen. Yes, this is due to the PEC boundary condition. In WarpX with a PEC the charge density deposited outside the simulation domain is reflected back into the domain with a sign flip (to mimic the effect of an image charge inside the conductor). See #3711. |
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 @budjensen. Yes, this is due to the PEC boundary condition. In WarpX with a PEC the charge density deposited outside the simulation domain is reflected back into the domain with a sign flip (to mimic the effect of an image charge inside the conductor). See #3711.