33 namespace combustionModels
44 Foam::combustionModels::zoneCombustion::filter
46 const tmp<fvScalarMatrix>& tR
87 template<
class GeoField>
89 Foam::combustionModels::zoneCombustion::filter
99 const labelList&
cells = this->mesh().cellZones()[zoneNames_[zonei]];
117 const word& modelType,
120 const word& combustionProperties
136 "zoneCombustionProperties"
139 zoneNames_(this->coeffs().lookup(
"zones"))
153 combustionModelPtr_->correct();
160 return filter(combustionModelPtr_->R(speciei));
167 return filter(combustionModelPtr_->R(
Y));
174 return filter(combustionModelPtr_->Qdot());
182 combustionModelPtr_->read();
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
Base class for combustion models.
const fvMesh & mesh() const
Return const access to the mesh database.
virtual bool read()
Update properties from given dictionary.
Zone-filtered combustion model.
virtual void correct()
Correct combustion rate.
zoneCombustion(const word &modelType, const fluidMulticomponentThermo &thermo, const compressibleMomentumTransportModel &turb, const word &combustionProperties)
Construct from components.
virtual ~zoneCombustion()
Destructor.
virtual tmp< volScalarField::Internal > R(const label speciei) const
Specie consumption rate field.
virtual tmp< volScalarField > Qdot() const
Heat release rate [kg/m/s^3].
virtual bool read()
Update properties from given dictionary.
Base class for single-phase compressible turbulence models.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Base-class for multi-component fluid thermodynamic properties.
const cellZoneList & cellZones() const
Return cell zones.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
A class for handling words, derived from string.
defineTypeNameAndDebug(diffusion, 0)
addToRunTimeSelectionTable(combustionModel, diffusion, dictionary)
tmp< VolField< Type > > Su(const VolField< Type > &su, const VolField< Type > &vf)
tmp< VolField< Type > > Sp(const volScalarField &sp, const VolField< Type > &vf)
tmp< fvMatrix< Type > > S(const Pair< tmp< volScalarField::Internal >> &, const VolField< Type > &)
List< label > labelList
A List of labels.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
fvMatrix< scalar > fvScalarMatrix
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
PtrList< volScalarField > & Y
fluidMulticomponentThermo & thermo