34namespace combustionModels
39template<
class ReactionThermo,
class ThermoType>
42 const word& modelType,
45 const word& combustionProperties
55 C_(this->coeffs().getScalar(
"C")),
56 oxidantName_(this->coeffs().template getOrDefault<
word>(
"oxidant",
"O2"))
62template<
class ReactionThermo,
class ThermoType>
69template<
class ReactionThermo,
class ThermoType>
76 this->singleMixturePtr_->fresCorrect();
78 const label fuelI = this->singleMixturePtr_->fuelIndex();
81 this->
thermo().composition().Y()[fuelI];
86 this->
thermo().composition().Y(oxidantName_);
97template<
class ReactionThermo,
class ThermoType>
102 this->coeffs().readEntry(
"C", C_);
103 this->coeffs().readIfPresent(
"oxidant", oxidantName_);
compressible::turbulenceModel & turb
Simple diffusion-based combustion model based on the principle mixed is burnt. Additional parameter C...
virtual void correct()
Correct combustion rate.
virtual ~diffusion()
Destructor.
virtual bool read()
Update properties.
Base class for combustion models using singleStepReactingMixture.
Abstract base class for turbulence models (RAS, LES and laminar).
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for handling words, derived from Foam::string.
basicSpecieMixture & composition
compressible::turbulenceModel & turbulence
Calculate the gradient of the given field.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensionedScalar pos0(const dimensionedScalar &ds)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
static constexpr const zero Zero
Global zero (0)
const dimensionSet dimVolume(pow3(dimLength))
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)