File sheath_closure.hxx#

Defines

SHEATH_CLOSURE_H#
struct SheathClosure : public Component#
#include <sheath_closure.hxx>

2D closure, modelling currents through a sheath

This should only be used where one grid cell is used in y (ny=1). For domains with multiple Y points, use sheath_boundary

Public Functions

SheathClosure(std::string name, Options &options, Solver*)#

Inputs

  • units

    • meters Length normalisation

  • <name>

    • connection_length Parallel connection length in meters

virtual void transform(Options &state) override#

Inputs

  • fields

    • phi Electrostatic potential

Optional inputs

  • species

    • density

    • pressure

Modifies

  • species

    • e

      • density_source (If density present)

    • density_source and energy_source (If sinks=true)

  • fields

    • DivJdia Divergence of current

Private Members

BoutReal L_par#
BoutReal sheath_gamma#
BoutReal sheath_gamma_ions#
BoutReal offset#
bool sinks#