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] Refine particles in add plasma #4812

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

Conversation

RevathiJambunathan
Copy link
Member

@RevathiJambunathan RevathiJambunathan commented Mar 31, 2024

The current option of initializing particles with 'NUniformPerCell', injects N particles per cell in the parent grid. However, the number of particles may not be sufficient for the fine cell resolution, if MR is on. With this PR, an option is included to refine plasma when initializing particles in the parent grid, such that, in the region that overlaps with MR patch, the number of particles is increased by (refinement ratio)^DIMS .

Below is an example, where 1 particles per cell is used with refineplasma option, and thus there is one particle per refined cell in the fine patch.

to do :

  1. check in about input API
  2. CI coverage
  3. generalize to include refineplasma option with continuous injection
Screenshot 2024-03-30 at 8 54 35 PM

@RevathiJambunathan RevathiJambunathan added component: mesh refinement (A)MR component: initialization Changes related to the initialization of the simulation labels Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: initialization Changes related to the initialization of the simulation component: mesh refinement (A)MR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant