42 #ifndef radiationModel_H 43 #define radiationModel_H 65 class absorptionEmissionModel;
210 virtual bool read() = 0;
247 #define addToRadiationRunTimeSelectionTables(model) \ 249 addToRunTimeSelectionTable \ 256 addToRunTimeSelectionTable \
dictionary coeffs_
Radiation model dictionary.
const sootModel & soot() const
Access to soot Model.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
autoPtr< scatterModel > scatter_
Scatter model.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const volScalarField & T_
Reference to the temperature field.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none.
TypeName("radiationModel")
Runtime type information.
virtual void calculate()=0
Solve radiation equation(s)
const absorptionEmissionModel & absorptionEmission() const
Access to absorptionEmission model.
Model to supply absorption and emission coefficients for radiation modelling.
declareRunTimeSelectionTable(autoPtr, radiationModel, T,(const volScalarField &T),(T))
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual tmp< fvScalarMatrix > Sh(fluidThermo &thermo) const
Energy source term.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
static autoPtr< radiationModel > New(const volScalarField &T)
Return a reference to the selected radiation model.
virtual ~radiationModel()
Destructor.
Base class for soor models.
virtual bool read()=0
Read radiationProperties dictionary.
autoPtr< sootModel > soot_
Soot model.
A class for handling words, derived from string.
bool firstIter_
Flag to enable radiation model to be evaluated on first iteration.
Fundamental fluid thermodynamic properties.
const fvMesh & mesh_
Reference to the mesh database.
const Switch radiation() const
Radiation model on/off flag.
Top level model for radiation modelling.
virtual void correct()
Main update/correction routine.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual tmp< volScalarField > Rp() const =0
Source term component (for power of T^4)
virtual tmp< fvScalarMatrix > ST(const dimensionedScalar &rhoCp, volScalarField &T) const
Temperature source term.
Forward declarations of fvMatrix specializations.
const Time & time_
Reference to the time database.
virtual tmp< DimensionedField< scalar, volMesh > > Ru() const =0
Source term component (constant)
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Mesh data needed to do the Finite Volume discretisation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Switch radiation_
Radiation model on/off flag.
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
label solverFreq_
Radiation solver frequency - number flow solver iterations per.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
autoPtr< absorptionEmissionModel > absorptionEmission_
Absorption/emission model.
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))