Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cropping of particles at boundaries for deposition for charge conservation #5649

Open
wants to merge 13 commits into
base: development
Choose a base branch
from

Conversation

dpgrote
Copy link
Member

@dpgrote dpgrote commented Feb 8, 2025

This modifies the deposition (and field gather), cropping particle orbits at the boundary of the domain for PEC and PMC boundaries. This is a simple way of achieving charge conservation as particles are absorbed at boundaries.

Should this always be done or should a flag be added to turn this feature on?

Only in Villasenor and Buneman current deposition now. Will be extended to Esirkepov.

A second necessary change (with reflective boundaries) is to stop the particle orbits at the boundary so that in the next time step, the particles start at the boundary.

Only in Villasenor and Buneman current deposition in this commit
@JustinRayAngus
Copy link
Contributor

The cropping should not be applied at PMC (symmetry) boundaries. Only at physical boundaries like conductors and insulators.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants