45#ifndef radiationModel_H
46#define radiationModel_H
232 virtual bool read() = 0;
276 virtual label
nBands()
const = 0;
289#define addToRadiationRunTimeSelectionTables(model) \
291 addToRunTimeSelectionTable \
298 addToRunTimeSelectionTable \
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
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.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Abstract base-class for fluid and solid thermodynamic properties.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Model to supply absorption and emission coefficients for radiation modelling.
Top level model for radiation modelling.
const Time & time_
Reference to the time database.
const absorptionEmissionModel & absorptionEmission() const
Access to absorptionEmission model.
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)
static const word externalRadHeatFieldName_
Static name external radiative fluxes.
label solverFreq_
Radiation solver frequency - number flow solver iterations per.
virtual void correct()
Main update/correction routine.
static const word relfectedFluxName_
Static name for reflected solar fluxes.
virtual bool read()=0
Read radiationProperties dictionary.
dictionary coeffs_
Radiation model dictionary.
Switch radiation_
Radiation model on/off flag.
virtual tmp< fvScalarMatrix > ST(const dimensionedScalar &rhoCp, volScalarField &T) const
Temperature source term.
TypeName("radiationModel")
Runtime type information.
autoPtr< sootModel > soot_
Soot model.
declareRunTimeSelectionTable(autoPtr, radiationModel, dictionary,(const dictionary &dict, const volScalarField &T),(dict, T))
virtual label nBands() const =0
virtual tmp< volScalarField > Rp() const =0
Source term component (for power of T^4)
autoPtr< scatterModel > scatter_
Scatter model.
const Switch radiation() const
Radiation model on/off flag.
autoPtr< absorptionEmissionModel > absorptionEmission_
Absorption/emission model.
static const word primaryFluxName_
Static name for primary solar fluxes.
const volScalarField & T_
Reference to the temperature field.
const sootModel & soot() const
Access to soot Model.
static autoPtr< radiationModel > New(const volScalarField &T)
Return a reference to the selected radiation model.
virtual tmp< fvScalarMatrix > Sh(const basicThermo &thermo, const volScalarField &he) const
Energy source term.
bool firstIter_
Flag to enable radiation model to be evaluated on first iteration.
virtual tmp< volScalarField::Internal > Ru() const =0
Source term component (constant)
Base class for soor models.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
Forward declarations of fvMatrix specializations.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.