53 const word& sourceName,
54 const word& modelType,
59 fvModel(sourceName, modelType, dict, mesh),
93 eqn += radiation_->Sh(thermo, eqn.
psi());
defineTypeNameAndDebug(fixedTemperatureConstraint, 0)
const word & name() const
Return name.
fluidReactionThermo & thermo
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
Finite volume model abstract base class.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
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].
A class for handling words, derived from string.
virtual void addSup(const volScalarField &rho, fvMatrix< scalar > &eqn, const word &fieldName) const
Add explicit contribution to compressible energy equation.
virtual wordList addSupFields() const
Return the list of fields for which the option adds source term.
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.
static const word dictName
Name of the thermophysical properties dictionary.
addToRunTimeSelectionTable(fvConstraint, fixedTemperatureConstraint, dictionary)
List< word > wordList
A List of words.
virtual const volScalarField & T() const =0
Temperature [K].
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 void correct()=0
Update properties.