36 #ifndef radiationModel_H
37 #define radiationModel_H
55 namespace radiationModels
57 class absorptionEmissionModel;
198 virtual bool read() = 0;
240 #define addToRadiationRunTimeSelectionTables(model) \
242 addToRunTimeSelectionTable \
249 addToRunTimeSelectionTable \
Generic GeometricField class.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base-class for fluid and solid thermodynamic properties.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
Top level model for radiation modelling.
autoPtr< radiationModels::scatterModel > scatter_
Scatter model.
const Time & time_
Reference to the time database.
declareRunTimeSelectionTable(autoPtr, radiationModel, T,(const volScalarField &T),(T))
const fvMesh & mesh_
Reference to the mesh database.
virtual ~radiationModel()
Destructor.
virtual void calculate()=0
Solve radiation equation(s)
label solverFreq_
Radiation solver frequency - number flow solver iterations per.
virtual void correct()
Main update/correction routine.
const radiationModels::sootModel & soot() const
Access to soot Model.
virtual bool read()=0
Read radiationProperties dictionary.
autoPtr< radiationModels::sootModel > soot_
Soot model.
void operator=(const radiationModel &)=delete
Disallow default bitwise assignment.
dictionary coeffs_
Radiation model dictionary.
virtual tmp< fvScalarMatrix > ST(const dimensionedScalar &rhoCp, volScalarField &T) const
Temperature source term.
TypeName("radiationModel")
Runtime type information.
radiationModel(const volScalarField &T)
Null constructor.
static autoPtr< radiationModel > New(const volScalarField &T)
Return a reference to the selected radiation model.
const volScalarField & T_
Reference to the temperature field.
virtual tmp< volScalarField > Rp() const =0
Source term component (for power of T^4)
virtual tmp< fvScalarMatrix > Sh(const basicThermo &thermo, const volScalarField &he) const
Energy source term.
virtual tmp< volScalarField::Internal > Ru() const =0
Source term component (constant)
bool firstIter_
Flag to enable radiation model to be evaluated on first iteration.
const radiationModels::absorptionEmissionModel & absorptionEmission() const
Access to absorptionEmission model.
autoPtr< radiationModels::absorptionEmissionModel > absorptionEmission_
Absorption/emission model.
Model to supply absorption and emission coefficients for radiation modelling.
Base class for soot models.
A class for managing temporary objects.
A class for handling words, derived from string.
Forward declarations of fvMatrix specialisations.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
Macros to ease declaration of run-time selection tables.
fluidMulticomponentThermo & thermo