39template<
class ReactionThermo,
class ThermoType>
40diffusion<ReactionThermo, ThermoType>::diffusion
42 const word& modelType,
45 const word& combustionProperties
48 singleStepCombustion<ReactionThermo, ThermoType>
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
virtual ReactionThermo & thermo()
Return access to the thermo package.
const dictionary & coeffs() const
Return const dictionary of the model.
Switch active() const noexcept
Is combustion active?
virtual void correct()
Correct combustion rate.
virtual ~diffusion()
Destructor.
virtual bool read()
Update properties.
singleStepReactingMixture< ThermoType > * singleMixturePtr_
Pointer to singleStepReactingMixture mixture.
volScalarField wFuel_
Fuel consumption rate.
virtual bool read()
Update properties from given dictionary.
Abstract base class for turbulence models (RAS, LES and laminar).
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T, or return the given default value. FatalIOError if it is found and the number of...
scalar getScalar(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Same as get<scalar>(const word&, keyType::option).
A class for handling words, derived from Foam::string.
basicSpecieMixture & composition
Calculate the gradient of the given field.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensionedScalar pos0(const dimensionedScalar &ds)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
static constexpr const zero Zero
Global zero (0).
psiReactionThermo & thermo