Skip to content

Charge Conservation and injection #158

Answered by TomGoffrey
erny123 asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not really sure I understand your question. Specifically:

  1. What do you mean by: "In EPOCH it looks like charge density is set to zero for the entire simulation"?
  2. If a single species is injected the net charge in the simulation changes accordingly. I'm not sure what your question means.

Here's what I know:

EPOCH solves for the (change in) electric field using Ampere's law. As you say, if you have an initial charge imbalance, you should solve for the initial (electrostatic) field according to that charge imbalance, and use that field as the initial conditions. After that charge density is only a diagnostic, it doesn't play any part in the evolution of the field.

Note that the current d…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@erny123
Comment options

@TomGoffrey
Comment options

@erny123
Comment options

Answer selected by TomGoffrey
Comment options

You must be logged in to vote
2 replies
@TomGoffrey
Comment options

@erny123
Comment options

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