Skip to content

Uniform injection instead of random injection #636

Answered by Status-Mirror
wnguyen1312 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey William,

It is possible to do this, but "easily" depends on how comfortable you are tweaking things under the hood.

The EPOCH domain is composed of simulation cells surrounded by ghost cells. Macro-particles have a "shape", such that the EM fields on the particle are interpolated using multiple nearby cells. When this shape extends beyond the simulation cells, we can use the fields in the ghost cells, but when the particle-centre drifts into a ghost-cell (and we have outflow boundary conditions), the particle is deleted.

The injectors in EPOCH work by populating these ghost cells with macro-particles describing a plasma with the parameters you specify in the injector block. These are …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wnguyen1312
Comment options

Answer selected by wnguyen1312
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants