Go to the documentation of this file.
30 namespace combustionModels
35 template<
class CombThermoType,
class ThermoType>
38 const word& modelType,
55 template<
class CombThermoType,
class ThermoType>
62 template<
class CombThermoType,
class ThermoType>
70 this->singleMixturePtr_->fresCorrect();
72 const label fuelI = this->singleMixturePtr_->fuelIndex();
75 this->thermoPtr_->composition().Y()[fuelI];
79 if (this->thermoPtr_->composition().contains(
"O2"))
81 const volScalarField& YO2 = this->thermoPtr_->composition().Y(
"O2");
84 this->
rho()/(this->
mesh().time().deltaT()*C_)
85 *
min(YFuel, YO2/
s.value());
91 template<
class CombThermoType,
class ThermoType>
96 this->coeffs().lookup(
"C") >> C_ ;
A class for handling words, derived from string.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
virtual ~infinitelyFastChemistry()
Destructor.
Base class for combustion models using singleStepReactingMixture.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedScalar pow3(const dimensionedScalar &ds)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
infinitelyFastChemistry(const infinitelyFastChemistry &)
Disallow copy construct.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
virtual bool read()
Update properties.
virtual void correct()
Correct combustion rate.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
Generic GeometricField class.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
stressControl lookup("compactNormalStress") >> compactNormalStress