30 namespace combustionModels
35 template<
class CombThermoType,
class ThermoType>
36 infinitelyFastChemistry<CombThermoType, ThermoType>::infinitelyFastChemistry
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_)
91 template<
class CombThermoType,
class ThermoType>
96 this->coeffs().lookup(
"C") >> C_ ;
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const Type & value() const
Return const reference to value.
virtual ~infinitelyFastChemistry()
Destructor.
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))
stressControl lookup("compactNormalStress") >> compactNormalStress
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.
virtual void correct()
Correct combustion rate.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
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)
Base class for combustion models using singleStepReactingMixture.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
virtual bool read()
Update properties.