35 #ifndef reactionModel_H
36 #define reactionModel_H
61 const word& reactionProperties
101 const word& modelType,
104 const word& reactionProperties
106 (modelType,
thermo, turb, reactionProperties)
115 const word& modelType,
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...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base class for single-phase compressible momentum transport models.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Base-class for multi-component fluid thermodynamic properties.
Mesh data needed to do the Finite Volume discretisation.
Base class for reaction models.
const fluidMulticomponentThermo & thermo() const
Return const access to the thermo.
virtual tmp< volScalarField > Qdot() const =0
Heat release rate [kg/m/s^3].
const word modelType_
Model type.
const compressibleMomentumTransportModel & turbulence() const
Return access to turbulence.
const fvMesh & mesh_
Reference to the mesh database.
virtual tmp< volScalarField::Internal > R(const label speciei) const =0
Consumption rate, i.e. source term for specie equation.
const dictionary & coeffs() const
Return const dictionary of the model.
void operator=(const reactionModel &)=delete
Disallow default bitwise assignment.
virtual ~reactionModel()
Destructor.
const volScalarField & rho() const
Return const access to rho.
const fluidMulticomponentThermo & thermo_
Reference to the thermo.
dictionary coeffs_
Dictionary of the model.
virtual void correct()=0
Correct reaction rate.
reactionModel(const word &modelType, const fluidMulticomponentThermo &thermo, const compressibleMomentumTransportModel &turb, const word &reactionProperties=reactionPropertiesName)
Construct from components.
static const word reactionPropertiesName
Default reactionProperties dictionary name.
static autoPtr< reactionModel > New(const fluidMulticomponentThermo &thermo, const compressibleMomentumTransportModel &turb, const word &reactionProperties=reactionPropertiesName)
Select using thermo and turbulence.
declareRunTimeSelectionTable(autoPtr, reactionModel, dictionary,(const word &modelType, const fluidMulticomponentThermo &thermo, const compressibleMomentumTransportModel &turb, const word &reactionProperties),(modelType, thermo, turb, reactionProperties))
Declare run-time constructor selection tables.
const compressibleMomentumTransportModel & turb_
Reference to the turbulence model.
const fvMesh & mesh() const
Return const access to the mesh database.
tmp< surfaceScalarField > phi() const
Return const access to phi.
TypeName("reactionModel")
Runtime type information.
virtual bool read()
Update properties from given dictionary.
A class for managing temporary objects.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
PtrList< volScalarField > & Y