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

[WIP] Reduce particle shape when a particle approaches the EB #5209

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

Conversation

oshapoval
Copy link
Member

@oshapoval oshapoval commented Sep 3, 2024

This is another attempt at fixing the issue mentioned in #4816 (i.e. avoid spurious charge build-up at the embedded boundary, when particles are removed).

In this PR, the shape of the particle is reduced to order 1 when the particle is close enough to the EB, when using the Esirkepov deposition.

oshapoval and others added 30 commits April 12, 2024 12:19
ax.plot(x, y, "k--")
ax.plot(x, -y, "k--")
cax = ax.imshow(array, cmap="RdBu", extent=[-10, 10, -10, 10], origin="lower")
cbar = fig.colorbar(cax, ax=ax)

Check notice

Code scanning / CodeQL

Unused local variable Note

Variable cbar is not used.
@RemiLehe RemiLehe changed the title [WIP] Add an analysis script for embedded boundary removal depth CI test [WIP] Reduce particle shape when a particle approaches the EB Sep 3, 2024
@RemiLehe RemiLehe added the component: boundary PML, embedded boundaries, et al. label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: boundary PML, embedded boundaries, et al.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants