Skip to content

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 insulator boundaries. This is a simple way of achieving charge conservation as particles are absorbed at boundaries.

In input flag particles.crop_on_PEC_boundary was added to turn this feature on. It now defaults to false.

Only implemented in Villasenor and Buneman and Esirkepov current deposition.

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