33 namespace combustionModels
38 template<
class ReactionThermo,
class ThermoType>
41 const word& modelType,
44 const word& combustionProperties
54 C_(this->coeffs().getScalar(
"C"))
60 template<
class ReactionThermo,
class ThermoType>
67 template<
class ReactionThermo,
class ThermoType>
74 this->singleMixturePtr_->fresCorrect();
76 const label fuelI = this->singleMixturePtr_->fuelIndex();
79 this->
thermo().composition().Y()[fuelI];
88 this->
rho()/(this->
mesh().time().deltaT()*C_)
89 *
min(YFuel, YO2/
s.value());
95 template<
class ReactionThermo,
class ThermoType>
100 this->coeffs().readEntry(
"C", C_);
Simple infinitely fast chemistry combustion model based on the principle mixed is burnt...
basicSpecieMixture & composition
compressible::turbulenceModel & turb
virtual ~infinitelyFastChemistry()
Destructor.
psiReactionThermo & thermo
const dimensionSet dimVolume(pow3(dimLength))
A class for handling words, derived from Foam::string.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
virtual void correct()
Correct combustion rate.
Abstract base class for turbulence models (RAS, LES and laminar).
virtual bool read()
Update properties from given dictionary.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
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)
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.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.
static constexpr const zero Zero
Global zero (0)