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_ ;
dimensionedScalar pow3(const dimensionedScalar &ds)
Mesh data needed to do the Finite Volume discretisation.
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 ))
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
Base class for combustion models using singleStepReactingMixture.
A class for handling words, derived from string.
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.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
virtual bool read()
Update properties.
stressControl lookup("compactNormalStress") >> compactNormalStress
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
virtual ~infinitelyFastChemistry()
Destructor.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const Type & value() const
Return const reference to value.