dschwoerer / hermes-2

Hot ion drift-reduced plasma fluid model
GNU General Public License v3.0
1 stars 2 forks source link

Flooring the electron velocity #9

Open totork opened 3 weeks ago

totork commented 3 weeks ago

Flooring the electron velocity should prevent electron flux when the velocities are negative. The flux is the product of, among others, the electron velocity and the parallel boundary direction (as I understand it). It is therefore probably better to floor the flux instead of the velocity.

https://github.com/dschwoerer/hermes-2/blob/edffd3bedcc99346eff4b31f48be59d9a3f6bb82/hermes-2.cxx#L2824

totork commented 3 weeks ago

@dschwoerer