31 namespace combustionModels
36 template<
class CombThermoType,
class ThermoType>
39 const word& modelType,
51 oxidantName_(this->coeffs().template lookupOrDefault<word>(
"oxidant",
"O2"))
57 template<
class CombThermoType,
class ThermoType>
64 template<
class CombThermoType,
class ThermoType>
72 this->singleMixturePtr_->fresCorrect();
74 const label fuelI = this->singleMixturePtr_->fuelIndex();
77 this->thermoPtr_->composition().Y()[fuelI];
79 if (this->thermoPtr_->composition().contains(oxidantName_))
82 this->thermoPtr_->composition().Y(oxidantName_);
93 template<
class CombThermoType,
class ThermoType>
98 this->coeffs().lookup(
"C") >> C_ ;
99 this->coeffs().readIfPresent(
"oxidant", oxidantName_);
autoPtr< compressible::turbulenceModel > turbulence
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void correct()
Correct combustion rate.
virtual bool read()
Update properties.
dimensionedScalar pos(const dimensionedScalar &ds)
stressControl lookup("compactNormalStress") >> compactNormalStress
Calculate the gradient of the given field.
A class for handling words, derived from string.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
dimensionedScalar pow3(const dimensionedScalar &ds)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
virtual ~diffusion()
Destructor.
dimensioned< scalar > mag(const dimensioned< Type > &)
Base class for combustion models using singleStepReactingMixture.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
Simple diffusion-based combustion model based on the principle mixed is burnt. Additional parameter C...