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