33 namespace laminarFlameSpeedModels
57 W_(coeffsDict_.lookup<scalar>(
"W")),
58 eta_(coeffsDict_.lookup<scalar>(
"eta")),
59 xi_(coeffsDict_.lookup<scalar>(
"xi")),
60 f_(coeffsDict_.lookup<scalar>(
"f")),
61 alpha_(coeffsDict_.lookup<scalar>(
"alpha")),
62 beta_(coeffsDict_.lookup<scalar>(
"beta"))
74 inline Foam::scalar Foam::laminarFlameSpeedModels::GuldersEGR::SuRef
81 return W_*
pow(phi, eta_)*
exp(-xi_*
sqr(phi - 1.075));
90 inline Foam::scalar Foam::laminarFlameSpeedModels::GuldersEGR::Su0pTphi
98 static const scalar Tref = 300.0;
99 static const scalar
pRef = 1.013e5;
101 return SuRef(phi)*
pow((Tu/Tref), alpha_)*
pow((p/pRef), beta_)*(1 - f_*Yres);
106 Foam::laminarFlameSpeedModels::GuldersEGR::Su0pTphi
127 Su0[celli] = Su0pTphi(p[celli], Tu[celli], phi, 0.0);
152 Foam::laminarFlameSpeedModels::GuldersEGR::Su0pTphi
174 Su0[celli] = Su0pTphi(p[celli], Tu[celli], phi[celli], egr[celli]);
203 psiuReactionThermo_.composition().contains(
"ft")
204 && psiuReactionThermo_.composition().contains(
"egr")
209 psiuReactionThermo_.p(),
210 psiuReactionThermo_.Tu(),
213 "stoichiometricAirFuelMassRatio",
215 psiuReactionThermo_.properties()
218 scalar(1)/psiuReactionThermo_.composition().Y(
"ft")
221 psiuReactionThermo_.composition().Y(
"egr")
228 psiuReactionThermo_.p(),
229 psiuReactionThermo_.Tu(),
virtual ~GuldersEGR()
Destructor.
#define forAll(list, i)
Loop across all elements in list.
tmp< volScalarField > operator()() const
Return the laminar flame speed [m/s].
A list of keyword definitions, which are a keyword followed by any number of values (e...
const Boundary & boundaryField() const
Return const-reference to the boundary field.
T & ref() const
Return non-const reference or generate a fatal error.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
const dimensionSet dimless
Macros for easy insertion into run-time selection tables.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
dimensionedScalar exp(const dimensionedScalar &ds)
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
addToRunTimeSelectionTable(laminarFlameSpeed, constant, dictionary)
volScalarField::Internal & SuRef
Base-class for combustion fluid thermodynamic properties based on compressibility.
const dimensionSet dimVelocity
const Mesh & mesh() const
Return mesh.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Abstract class for laminar flame speed.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GuldersEGR(const dictionary &, const psiuReactionThermo &)
Construct from dictionary and psiuReactionThermo.
A class for managing temporary objects.
defineTypeNameAndDebug(constant, 0)