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

Add thermalBC for particles #4790

Merged

Conversation

RevathiJambunathan
Copy link
Member

@RevathiJambunathan RevathiJambunathan commented Mar 20, 2024

redoing #4681
@RemiLehe added a PR to demonstrate thermal BC
This PR does the same, with some restructuring, and changes to API

  1. Tested locally and ensured that the velocity distribution is Maxwellian (thermalized) even at the end of the simulation.

  2. CI test is added to ensure that the particle energy does not increase by more than 2%
    (if particle boundary is reflecting or thermal without "folding of the current density and charge", then the particle energy increase by more than 10% )

@RevathiJambunathan RevathiJambunathan changed the title [WIP] Add thermalBC for particles Add thermalBC for particles Mar 27, 2024
@RemiLehe RemiLehe enabled auto-merge (squash) March 30, 2024 13:15
@RemiLehe RemiLehe merged commit 72800ea into ECP-WarpX:development Mar 31, 2024
45 checks passed
@RevathiJambunathan RevathiJambunathan added enhancement New feature or request component: boundary PML, embedded boundaries, et al. labels Mar 31, 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. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants