12 #ifndef CD_CdrPlasmaPhysics_H
13 #define CD_CdrPlasmaPhysics_H
17 #include <RefCountedPtr.H>
23 #include <CD_NamespaceHeader.H>
72 virtual Vector<std::string>
94 const Vector<RealVect> a_cdrGradients,
95 const Vector<Real> a_rteDensities,
97 const RealVect a_position,
101 const Real a_kappa)
const
122 computeEta(
const Real a_E,
const RealVect a_position)
const = 0;
142 Vector<Real>& a_rteSources,
143 const Vector<Real> a_cdrDensities,
144 const Vector<RealVect> a_cdrGradients,
145 const Vector<Real> a_rteDensities,
147 const RealVect a_pos,
151 const Real a_kappa)
const = 0;
161 virtual Vector<RealVect>
163 const RealVect a_pos,
165 const Vector<Real> a_cdrDensities)
const = 0;
177 const RealVect a_pos,
179 const Vector<Real> a_cdrDensities)
const = 0;
197 const RealVect a_pos,
198 const RealVect a_normal,
200 const Vector<Real> a_cdrDensities,
201 const Vector<Real> a_cdrVelocities,
202 const Vector<Real> a_cdrGradients,
203 const Vector<Real> a_rteFluxes,
204 const Vector<Real> a_extrapCdrFluxes)
const = 0;
222 const RealVect a_pos,
223 const RealVect a_normal,
225 const Vector<Real> a_cdrDensities,
226 const Vector<Real> a_cdrVelocities,
227 const Vector<Real> a_cdrGradients,
228 const Vector<Real> a_rteFluxes,
229 const Vector<Real> a_extrapCdrFluxes)
const = 0;
247 const RealVect a_pos,
249 const Side::LoHiSide a_side,
251 const Vector<Real> a_cdrDensities,
252 const Vector<Real> a_cdrVelocities,
253 const Vector<Real> a_cdrGradients,
254 const Vector<Real> a_rteFluxes,
255 const Vector<Real> a_extrapCdrFluxes)
const = 0;
268 const Vector<RefCountedPtr<CdrSpecies>>&
277 const Vector<RefCountedPtr<RtSpecies>>&
325 #include <CD_NamespaceFooter.H>
Declaration of a class that passes information into CdrSolver (e.g., initial conditions).
Declaration of a class which supplies a user interface to radiative transfer code.
Abstract base class for specifying plasma kinetics. This is the base class used by CdrPlasmaStepper w...
Definition: CD_CdrPlasmaPhysics.H:32
virtual ~CdrPlasmaPhysics()
Base destructor. Does nothing.
Definition: CD_CdrPlasmaPhysics.H:43
virtual int getNumberOfPlotVariables() const
Get number of plot variables for this physics class.
Definition: CD_CdrPlasmaPhysics.H:61
virtual Real computeAlpha(const Real a_E, const RealVect a_position) const =0
Compute alpha. Should return Townsend ionization coefficient.
int m_numRtSpecies
Number of RTE species.
Definition: CD_CdrPlasmaPhysics.H:320
const Vector< RefCountedPtr< CdrSpecies > > & getCdrSpecies() const
Get all CDR species.
Definition: CD_CdrPlasmaPhysics.H:269
virtual Vector< Real > computeCdrElectrodeFluxes(const Real a_time, const RealVect a_pos, const RealVect a_normal, const RealVect a_E, const Vector< Real > a_cdrDensities, const Vector< Real > a_cdrVelocities, const Vector< Real > a_cdrGradients, const Vector< Real > a_rteFluxes, const Vector< Real > a_extrapCdrFluxes) const =0
Compute CDR fluxes on electrode-gas interfaces. This is used as a boundary condition in the CDR equat...
int getNumCdrSpecies() const
Return number of CDR species that we solve for.
Definition: CD_CdrPlasmaPhysics.H:287
virtual Vector< std::string > getPlotVariableNames() const
Get plot variable names. The.
Definition: CD_CdrPlasmaPhysics.H:73
virtual void parseRuntimeOptions()
Parse run-time options.
Definition: CD_CdrPlasmaPhysics.H:50
virtual Vector< RealVect > computeCdrDriftVelocities(const Real a_time, const RealVect a_pos, const RealVect a_E, const Vector< Real > a_cdrDensities) const =0
Compute velocities for the CDR equations.
virtual Real initialSigma(const Real a_time, const RealVect a_pos) const =0
Set the initial surface charge.
CdrPlasmaPhysics()
Default constructor. Does nothing.
Definition: CD_CdrPlasmaPhysics.H:37
int getNumRtSpecies() const
Return number of RTE equations that we solve for.
Definition: CD_CdrPlasmaPhysics.H:296
Vector< RefCountedPtr< CdrSpecies > > m_cdrSpecies
List of species.
Definition: CD_CdrPlasmaPhysics.H:305
virtual Real computeEta(const Real a_E, const RealVect a_position) const =0
Compute eta. Should return Townsend attachment coefficient.
virtual Vector< Real > computeCdrDomainFluxes(const Real a_time, const RealVect a_pos, const int a_dir, const Side::LoHiSide a_side, const RealVect a_E, const Vector< Real > a_cdrDensities, const Vector< Real > a_cdrVelocities, const Vector< Real > a_cdrGradients, const Vector< Real > a_rteFluxes, const Vector< Real > a_extrapCdrFluxes) const =0
Compute CDR fluxes through domain sides. This is used as a boundary condition in the CDR equations.
virtual void advanceReactionNetwork(Vector< Real > &a_cdrSources, Vector< Real > &a_rteSources, const Vector< Real > a_cdrDensities, const Vector< RealVect > a_cdrGradients, const Vector< Real > a_rteDensities, const RealVect a_E, const RealVect a_pos, const Real a_dx, const Real a_dt, const Real a_time, const Real a_kappa) const =0
Routine intended for advancing a reaction network over a time a_dt.
virtual Vector< Real > getPlotVariables(const Vector< Real > a_cdrDensities, const Vector< RealVect > a_cdrGradients, const Vector< Real > a_rteDensities, const RealVect a_E, const RealVect a_position, const Real a_dx, const Real a_dt, const Real a_time, const Real a_kappa) const
Provide plot variables. This is used by CdrPlasmaStepper when writing plot files.
Definition: CD_CdrPlasmaPhysics.H:93
Vector< RefCountedPtr< RtSpecies > > m_rtSpecies
List of optical transitions between species.
Definition: CD_CdrPlasmaPhysics.H:310
virtual Vector< Real > computeCdrDiffusionCoefficients(const Real a_time, const RealVect a_pos, const RealVect a_E, const Vector< Real > a_cdrDensities) const =0
Compute diffusion coefficients for the CDR equations.
int m_numCdrSpecies
Number of species.
Definition: CD_CdrPlasmaPhysics.H:315
const Vector< RefCountedPtr< RtSpecies > > & getRtSpecies() const
Get all RTE species.
Definition: CD_CdrPlasmaPhysics.H:278
virtual Vector< Real > computeCdrDielectricFluxes(const Real a_time, const RealVect a_pos, const RealVect a_normal, const RealVect a_E, const Vector< Real > a_cdrDensities, const Vector< Real > a_cdrVelocities, const Vector< Real > a_cdrGradients, const Vector< Real > a_rteFluxes, const Vector< Real > a_extrapCdrFluxes) const =0
Compute CDR fluxes on dielectric-gas interfaces. This is used as a boundary condition in the CDR equa...
Name containing various physics models for running chombo-discharge code.
Definition: CD_AdvectionDiffusion.H:15