53 const word& sourceName,
54 const word& modelType,
59 option(sourceName, modelType, dict, mesh)
64 fieldNames_.setSize(1);
65 fieldNames_[0] = thermo.
he().
name();
66 applied_.setSize(fieldNames_.size(),
false);
92 eqn += radiation_->Sh(thermo, eqn.
psi());
defineTypeNameAndDebug(option, 0)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & name() const
Return name.
Abstract base-class for fluid and solid thermodynamic properties.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const GeometricField< Type, fvPatchField, volMesh > & psi() const
addToRunTimeSelectionTable(option, fixedTemperatureConstraint, dictionary)
virtual const volScalarField & T() const
Temperature [K].
rhoReactionThermo & thermo
static autoPtr< radiationModel > New(const volScalarField &T)
Return a reference to the selected radiation model.
Macros for easy insertion into run-time selection tables.
virtual volScalarField & he()=0
Enthalpy/Internal energy [J/kg].
const word dictName() const
Return the local dictionary name (final part of scoped name)
A class for handling words, derived from string.
virtual bool read(const dictionary &dict)
Read source dictionary.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
radiation(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
Mesh data needed to do the Finite Volume discretisation.
autoPtr< radiationModel > radiation(radiationModel::New(T))
A special matrix type and solver, designed for finite volume solutions of scalar equations.
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual void correct()=0
Update properties.
virtual void addSup(const volScalarField &rho, fvMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to compressible momentum equation.
Finite volume options abstract base class. Provides a base set of controls, e.g.: ...