File electron_force_balance.hxx#
Defines
-
ELECTRON_FORCE_BALANCE#
-
struct ElectronForceBalance : public Component#
- #include <electron_force_balance.hxx>
Balance the parallel electron pressure gradient against the electric field. Use this electric field to calculate a force on the other species
E = (-∇p_e + F) / n_e
where F is the momentum source for the electrons.
Then uses this electric field to calculate a force on all ion species.
Note: This needs to be put after collisions and other components which impose forces on electrons
Public Functions
-
inline ElectronForceBalance(std::string name, Options &alloptions, Solver*)#
-
virtual void transform(Options &state) override#
Required inputs
species
e
pressure
density
momentum_source [optional] Asserts that charge = -1
Sets in the input
species
<all except e> if both density and charge are set
momentum_source
-
virtual void outputVars(Options &state) override#
Save output diagnostics.
-
inline ElectronForceBalance(std::string name, Options &alloptions, Solver*)#